[INFO] fetching crate cdbc-pg 0.1.14... [INFO] testing cdbc-pg-0.1.14 against 1.59.0 for beta-1.60-1 [INFO] extracting crate cdbc-pg 0.1.14 into /workspace/builds/worker-24/source [INFO] validating manifest of crates.io crate cdbc-pg 0.1.14 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cdbc-pg 0.1.14 [INFO] finished tweaking crates.io crate cdbc-pg 0.1.14 [INFO] tweaked toml for crates.io crate cdbc-pg 0.1.14 written to /workspace/builds/worker-24/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a04db8ce3d25ec8eb8400a3e3003f2537e57bf20f8a7e4ba8258047d4f03f0ae [INFO] running `Command { std: "docker" "start" "-a" "a04db8ce3d25ec8eb8400a3e3003f2537e57bf20f8a7e4ba8258047d4f03f0ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a04db8ce3d25ec8eb8400a3e3003f2537e57bf20f8a7e4ba8258047d4f03f0ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a04db8ce3d25ec8eb8400a3e3003f2537e57bf20f8a7e4ba8258047d4f03f0ae", kill_on_drop: false }` [INFO] [stdout] a04db8ce3d25ec8eb8400a3e3003f2537e57bf20f8a7e4ba8258047d4f03f0ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 242ff744b960a6d7515a0218b6878c54613964ffa97a70f824f1777300254ff5 [INFO] running `Command { std: "docker" "start" "-a" "242ff744b960a6d7515a0218b6878c54613964ffa97a70f824f1777300254ff5", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling mco-gen v0.1.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling mco v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling nix v0.21.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling cdbc-macro v0.1.3 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cdbc v0.1.21 [INFO] [stderr] Compiling cdbc-pg v0.1.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `err_end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.21/src/io/chan_stream.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | macro_rules! err_end { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.21/src/io/chan_stream.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | macro_rules! end { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Notice` [INFO] [stdout] --> src/connection/stream.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::message::{Message, MessageFormat, Notice, Notification, ParameterStatus}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PgSeverity` [INFO] [stdout] --> src/connection/stream.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{PgConnectOptions, PgDatabaseError, PgSeverity}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Receiver` [INFO] [stdout] --> src/connection/stream.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use mco::std::sync::channel::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mco::std::sync::channel` [INFO] [stdout] --> src/listener.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use mco::std::sync::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/message/response.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_invalid_certs` [INFO] [stdout] --> src/connection/tls.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let accept_invalid_certs = !matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_certs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_invalid_hostnames` [INFO] [stdout] --> src/connection/tls.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let accept_invalid_hostnames = !matches!(options.ssl_mode, PgSslMode::VerifyFull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_hostnames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_socket` [INFO] [stdout] --> src/options/mod.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | pub(crate) fn fetch_socket(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/copy.rs:317:44 [INFO] [stdout] | [INFO] [stdout] 317 | MessageFormat::CopyData => r#yield!(msg.decode::>()?.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/listener.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | r#yield!(self.recv()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:276:25 [INFO] [stdout] | [INFO] [stdout] 276 | / r#yield!(Either::Left(PgQueryResult { [INFO] [stdout] 277 | | rows_affected: cc.rows_affected(), [INFO] [stdout] 278 | | })); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:307:25 [INFO] [stdout] | [INFO] [stdout] 307 | r#yield!(Either::Right(row)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | r#yield!(v); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.04s [INFO] running `Command { std: "docker" "inspect" "242ff744b960a6d7515a0218b6878c54613964ffa97a70f824f1777300254ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "242ff744b960a6d7515a0218b6878c54613964ffa97a70f824f1777300254ff5", kill_on_drop: false }` [INFO] [stdout] 242ff744b960a6d7515a0218b6878c54613964ffa97a70f824f1777300254ff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69b8040b8b5e8dc2d25f7bab28e1caa09591bf8d76652515cd9ecd2a2a044335 [INFO] running `Command { std: "docker" "start" "-a" "69b8040b8b5e8dc2d25f7bab28e1caa09591bf8d76652515cd9ecd2a2a044335", kill_on_drop: false }` [INFO] [stderr] Compiling cdbc-pg v0.1.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `err_end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.21/src/io/chan_stream.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | macro_rules! err_end { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.21/src/io/chan_stream.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | macro_rules! end { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Notice` [INFO] [stdout] --> src/connection/stream.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::message::{Message, MessageFormat, Notice, Notification, ParameterStatus}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PgSeverity` [INFO] [stdout] --> src/connection/stream.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{PgConnectOptions, PgDatabaseError, PgSeverity}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Receiver` [INFO] [stdout] --> src/connection/stream.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use mco::std::sync::channel::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mco::std::sync::channel` [INFO] [stdout] --> src/listener.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use mco::std::sync::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/message/response.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_invalid_certs` [INFO] [stdout] --> src/connection/tls.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let accept_invalid_certs = !matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_certs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_invalid_hostnames` [INFO] [stdout] --> src/connection/tls.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let accept_invalid_hostnames = !matches!(options.ssl_mode, PgSslMode::VerifyFull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_hostnames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_socket` [INFO] [stdout] --> src/options/mod.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | pub(crate) fn fetch_socket(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/copy.rs:317:44 [INFO] [stdout] | [INFO] [stdout] 317 | MessageFormat::CopyData => r#yield!(msg.decode::>()?.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/listener.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | r#yield!(self.recv()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:276:25 [INFO] [stdout] | [INFO] [stdout] 276 | / r#yield!(Either::Left(PgQueryResult { [INFO] [stdout] 277 | | rows_affected: cc.rows_affected(), [INFO] [stdout] 278 | | })); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:307:25 [INFO] [stdout] | [INFO] [stdout] 307 | r#yield!(Either::Right(row)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | r#yield!(v); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `err_end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.21/src/io/chan_stream.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | macro_rules! err_end { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.21/src/io/chan_stream.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | macro_rules! end { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Notice` [INFO] [stdout] --> src/connection/stream.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::message::{Message, MessageFormat, Notice, Notification, ParameterStatus}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PgSeverity` [INFO] [stdout] --> src/connection/stream.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{PgConnectOptions, PgDatabaseError, PgSeverity}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Receiver` [INFO] [stdout] --> src/connection/stream.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use mco::std::sync::channel::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mco::std::sync::channel` [INFO] [stdout] --> src/listener.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use mco::std::sync::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/message/response.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_invalid_certs` [INFO] [stdout] --> src/connection/tls.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let accept_invalid_certs = !matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_certs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_invalid_hostnames` [INFO] [stdout] --> src/connection/tls.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let accept_invalid_hostnames = !matches!(options.ssl_mode, PgSslMode::VerifyFull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_hostnames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_socket` [INFO] [stdout] --> src/options/mod.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | pub(crate) fn fetch_socket(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/copy.rs:317:44 [INFO] [stdout] | [INFO] [stdout] 317 | MessageFormat::CopyData => r#yield!(msg.decode::>()?.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/listener.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | r#yield!(self.recv()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:276:25 [INFO] [stdout] | [INFO] [stdout] 276 | / r#yield!(Either::Left(PgQueryResult { [INFO] [stdout] 277 | | rows_affected: cc.rows_affected(), [INFO] [stdout] 278 | | })); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:307:25 [INFO] [stdout] | [INFO] [stdout] 307 | r#yield!(Either::Right(row)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | r#yield!(v); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.41s [INFO] running `Command { std: "docker" "inspect" "69b8040b8b5e8dc2d25f7bab28e1caa09591bf8d76652515cd9ecd2a2a044335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69b8040b8b5e8dc2d25f7bab28e1caa09591bf8d76652515cd9ecd2a2a044335", kill_on_drop: false }` [INFO] [stdout] 69b8040b8b5e8dc2d25f7bab28e1caa09591bf8d76652515cd9ecd2a2a044335 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 329e7e57b97ea1bd3713fddd3719198499a2dda578831c0d4f8b15e5fdb6f625 [INFO] running `Command { std: "docker" "start" "-a" "329e7e57b97ea1bd3713fddd3719198499a2dda578831c0d4f8b15e5fdb6f625", kill_on_drop: false }` [INFO] [stderr] warning: unused macro definition: `err_end` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.21/src/io/chan_stream.rs:108:26 [INFO] [stderr] | [INFO] [stderr] 108 | macro_rules! err_end { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `end` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.21/src/io/chan_stream.rs:115:26 [INFO] [stderr] | [INFO] [stderr] 115 | macro_rules! end { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Notice` [INFO] [stderr] --> src/connection/stream.rs:9:46 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::message::{Message, MessageFormat, Notice, Notification, ParameterStatus}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `PgSeverity` [INFO] [stderr] --> src/connection/stream.rs:10:48 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::{PgConnectOptions, PgDatabaseError, PgSeverity}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Receiver` [INFO] [stderr] --> src/connection/stream.rs:11:31 [INFO] [stderr] | [INFO] [stderr] 11 | use mco::std::sync::channel::{Receiver, Sender}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mco::std::sync::channel` [INFO] [stderr] --> src/listener.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use mco::std::sync::channel; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `TryInto` is imported redundantly [INFO] [stderr] --> src/message/response.rs:134:17 [INFO] [stderr] | [INFO] [stderr] 134 | use std::convert::TryInto; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `accept_invalid_certs` [INFO] [stderr] --> src/connection/tls.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | let accept_invalid_certs = !matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_certs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `accept_invalid_hostnames` [INFO] [stderr] --> src/connection/tls.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | let accept_invalid_hostnames = !matches!(options.ssl_mode, PgSslMode::VerifyFull); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_hostnames` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fetch_socket` [INFO] [stderr] --> src/options/mod.rs:367:19 [INFO] [stderr] | [INFO] [stderr] 367 | pub(crate) fn fetch_socket(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/copy.rs:317:44 [INFO] [stderr] | [INFO] [stderr] 317 | MessageFormat::CopyData => r#yield!(msg.decode::>()?.0), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/listener.rs:255:17 [INFO] [stderr] | [INFO] [stderr] 255 | r#yield!(self.recv()?); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/connection/executor.rs:276:25 [INFO] [stderr] | [INFO] [stderr] 276 | / r#yield!(Either::Left(PgQueryResult { [INFO] [stderr] 277 | | rows_affected: cc.rows_affected(), [INFO] [stderr] 278 | | })); [INFO] [stderr] | |___________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/connection/executor.rs:307:25 [INFO] [stderr] | [INFO] [stderr] 307 | r#yield!(Either::Right(row)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/connection/executor.rs:348:17 [INFO] [stderr] | [INFO] [stderr] 348 | r#yield!(v); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `cdbc-pg` (lib) generated 15 warnings [INFO] [stderr] warning: `cdbc-pg` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cdbc_pg-6e63e0fdb1abcdc0) [INFO] [stdout] [INFO] [stdout] running 52 tests [INFO] [stdout] test connection::stream::tests::test_parse_server_version_num ... ok [INFO] [stdout] test listener::test_build_listen_all_query_with_multiple_channels ... ok [INFO] [stdout] test message::backend_key_data::test_decode_backend_key_data ... ok [INFO] [stdout] test message::command_complete::test_decode_command_complete_for_begin ... ok [INFO] [stdout] test listener::test_build_listen_all_query_with_single_channel ... ok [INFO] [stdout] test message::command_complete::test_decode_command_complete_for_update ... ok [INFO] [stdout] test message::command_complete::test_decode_command_complete_for_insert ... ok [INFO] [stdout] test message::data_row::test_decode_data_row ... ok [INFO] [stdout] test message::describe::test_encode_describe_portal ... ok [INFO] [stdout] test message::describe::test_encode_describe_statement ... ok [INFO] [stdout] test message::describe::test_encode_describe_unnamed_portal ... ok [INFO] [stdout] test message::describe::test_encode_describe_unnamed_statement ... ok [INFO] [stdout] test message::execute::test_encode_execute ... ok [INFO] [stdout] test message::notification::test_decode_notification_response ... ok [INFO] [stdout] test message::parameter_description::test_decode_empty_parameter_description ... ok [INFO] [stdout] test message::parameter_description::test_decode_parameter_description ... ok [INFO] [stdout] test message::parameter_status::test_decode_empty_parameter_status ... ok [INFO] [stdout] test message::parameter_status::test_decode_parameter_status ... ok [INFO] [stdout] test message::parameter_status::test_decode_parameter_status_response ... ok [INFO] [stdout] test message::parse::test_encode_parse ... ok [INFO] [stdout] test message::password::test_encode_clear_password ... ok [INFO] [stdout] test message::password::test_encode_md5_password ... ok [INFO] [stdout] test message::query::test_encode_query ... ok [INFO] [stdout] test message::ready_for_query::test_decode_ready_for_query ... ok [INFO] [stdout] test message::response::test_decode_error_response ... ok [INFO] [stdout] test message::ssl_request::test_encode_ssl_request ... ok [INFO] [stdout] test message::startup::test_encode_startup ... ok [INFO] [stdout] test options::parse::it_parses_dbname_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_hostaddr_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_application_name_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_host_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_socket_correctly_percent_encoded ... ok [INFO] [stdout] test options::parse::it_parses_password_with_non_ascii_chars_correctly ... ok [INFO] [stdout] test options::parse::it_parses_password_correctly_from_parameter ... ok [INFO] [stdout] test options::pgpass::tests::test_load_password_from_line ... ok [INFO] [stdout] test types::interval::test_encode_interval ... ok [INFO] [stdout] test options::parse::it_parses_username_with_at_sign_correctly ... ok [INFO] [stdout] test options::parse::it_parses_port_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_socket_correctly_from_parameter ... ok [INFO] [stdout] test options::pgpass::tests::test_find_next_field ... ok [INFO] [stdout] test types::interval::test_pginterval_std ... ok [INFO] [stdout] test types::interval::test_pginterval_time ... ok [INFO] [stdout] test options::parse::it_parses_user_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_socket_correctly_with_username_percent_encoded ... ok [INFO] [stdout] test types::money::tests::add_assign_works ... ok [INFO] [stdout] test types::money::tests::adding_works ... ok [INFO] [stdout] test types::money::tests::sub_assign_works ... ok [INFO] [stdout] test types::money::tests::subtracting_works ... ok [INFO] [stdout] test types::money::tests::add_assign_overflow_panics - should panic ... ok [INFO] [stdout] test types::money::tests::add_overflow_panics - should panic ... ok [INFO] [stdout] test types::money::tests::sub_assign_overflow_panics - should panic ... ok [INFO] [stdout] test types::money::tests::sub_overflow_panics - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 52 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests cdbc-pg [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/types/mod.rs - types (line 119) ... ignored [INFO] [stdout] test src/types/mod.rs - types (line 144) ... ignored [INFO] [stdout] test src/types/mod.rs - types (line 154) ... ignored [INFO] [stdout] test src/listener.rs - listener::PgListener::recv (line 150) - compile ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions (line 54) - compile ... FAILED [INFO] [stdout] test src/listener.rs - listener::PgListener::try_recv (line 181) - compile ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::new (line 115) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::username (line 219) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::password (line 233) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_root_cert (line 284) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::options (line 341) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_root_cert_from_pem (line 300) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::database (line 248) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_mode (line 268) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::host (line 177) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::application_name (line 327) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::port (line 193) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/listener.rs - listener::PgListener::recv (line 150) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/listener.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::PgListener; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/listener.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx_core::error::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions (line 54) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx_core::error::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::connection::{Connection, ConnectOptions}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx_core::postgres::{PgConnectOptions, PgConnection, PgSslMode}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/listener.rs - listener::PgListener::try_recv (line 181) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/listener.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::PgListener; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/listener.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx_core::error::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::new (line 115) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectOptions` [INFO] [stdout] --> src/options/mod.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = PgConnectOptions::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_pg::PgConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::username (line 219) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectOptions` [INFO] [stdout] --> src/options/mod.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = PgConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_pg::PgConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::password (line 233) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectOptions` [INFO] [stdout] --> src/options/mod.rs:235:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = PgConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_pg::PgConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::ssl_root_cert (line 284) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::{PgSslMode, PgConnectOptions}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgSslMode` [INFO] [stdout] --> src/options/mod.rs:288:15 [INFO] [stdout] | [INFO] [stdout] 6 | .ssl_mode(PgSslMode::VerifyCa) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PgSslMode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectOptions` [INFO] [stdout] --> src/options/mod.rs:286:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = PgConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_pg::PgConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::options (line 341) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectOptions` [INFO] [stdout] --> src/options/mod.rs:343:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = PgConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_pg::PgConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::ssl_root_cert_from_pem (line 300) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::{PgSslMode, PgConnectOptions}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgSslMode` [INFO] [stdout] --> src/options/mod.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 6 | .ssl_mode(PgSslMode::VerifyCa) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PgSslMode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectOptions` [INFO] [stdout] --> src/options/mod.rs:302:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = PgConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_pg::PgConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::database (line 248) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectOptions` [INFO] [stdout] --> src/options/mod.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = PgConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_pg::PgConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::ssl_mode (line 268) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::{PgSslMode, PgConnectOptions}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgSslMode` [INFO] [stdout] --> src/options/mod.rs:271:15 [INFO] [stdout] | [INFO] [stdout] 5 | .ssl_mode(PgSslMode::Require); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PgSslMode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectOptions` [INFO] [stdout] --> src/options/mod.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = PgConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_pg::PgConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::host (line 177) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectOptions` [INFO] [stdout] --> src/options/mod.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = PgConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_pg::PgConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::application_name (line 327) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectOptions` [INFO] [stdout] --> src/options/mod.rs:329:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = PgConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_pg::PgConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::port (line 193) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectOptions` [INFO] [stdout] --> src/options/mod.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = PgConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_pg::PgConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/listener.rs - listener::PgListener::recv (line 150) [INFO] [stdout] src/listener.rs - listener::PgListener::try_recv (line 181) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions (line 54) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::application_name (line 327) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::database (line 248) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::host (line 177) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::new (line 115) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::options (line 341) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::password (line 233) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::port (line 193) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::ssl_mode (line 268) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::ssl_root_cert (line 284) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::ssl_root_cert_from_pem (line 300) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::username (line 219) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "329e7e57b97ea1bd3713fddd3719198499a2dda578831c0d4f8b15e5fdb6f625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "329e7e57b97ea1bd3713fddd3719198499a2dda578831c0d4f8b15e5fdb6f625", kill_on_drop: false }` [INFO] [stdout] 329e7e57b97ea1bd3713fddd3719198499a2dda578831c0d4f8b15e5fdb6f625