[INFO] fetching crate sqlx-build-trust-postgres 0.7.9... [INFO] testing sqlx-build-trust-postgres-0.7.9 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate sqlx-build-trust-postgres 0.7.9 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate sqlx-build-trust-postgres 0.7.9 [INFO] finished tweaking crates.io crate sqlx-build-trust-postgres 0.7.9 [INFO] tweaked toml for crates.io crate sqlx-build-trust-postgres 0.7.9 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sqlx-build-trust-postgres 0.7.9 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 197 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bigdecimal v0.3.1 (available: v0.4.8) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding etcetera v0.8.0 (available: v0.10.0) [INFO] [stderr] Adding ipnetwork v0.20.0 (available: v0.21.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e80bf175eff4be0a4b13b6411f347794d456c83e68f7a846826cec986bd00703 [INFO] running `Command { std: "docker" "start" "-a" "e80bf175eff4be0a4b13b6411f347794d456c83e68f7a846826cec986bd00703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e80bf175eff4be0a4b13b6411f347794d456c83e68f7a846826cec986bd00703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e80bf175eff4be0a4b13b6411f347794d456c83e68f7a846826cec986bd00703", kill_on_drop: false }` [INFO] [stdout] e80bf175eff4be0a4b13b6411f347794d456c83e68f7a846826cec986bd00703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36a11c3d047facec4d5b862dc7fd4881463acd5fcfe5ee9655b0e14df14aad1e [INFO] running `Command { std: "docker" "start" "-a" "36a11c3d047facec4d5b862dc7fd4881463acd5fcfe5ee9655b0e14df14aad1e", kill_on_drop: false }` [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling sqlx-build-trust-core v0.7.9 [INFO] [stderr] Compiling sqlx-build-trust-postgres v0.7.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `_rt-tokio` [INFO] [stdout] --> src/copy.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #[cfg(feature = "_rt-tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `any`, `bigdecimal`, `bit-vec`, `chrono`, `ipnetwork`, `json`, `mac_address`, `migrate`, `offline`, `rust_decimal`, `time`, and `uuid` [INFO] [stdout] = help: consider adding `_rt-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `_rt-tokio` [INFO] [stdout] --> src/copy.rs:234:27 [INFO] [stdout] | [INFO] [stdout] 234 | #[cfg(not(feature = "_rt-tokio"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `any`, `bigdecimal`, `bit-vec`, `chrono`, `ipnetwork`, `json`, `mac_address`, `migrate`, `offline`, `rust_decimal`, `time`, and `uuid` [INFO] [stdout] = help: consider adding `_rt-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/connection/executor.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / async fn prepare( [INFO] [stdout] 24 | | conn: &mut PgConnection, [INFO] [stdout] 25 | | sql: &str, [INFO] [stdout] 26 | | parameters: &[PgTypeInfo], [INFO] [stdout] 27 | | metadata: Option>, [INFO] [stdout] 28 | | ) -> Result<(Oid, Arc), Error> { [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stdout] --> src/connection/executor.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | .recv_expect(MessageFormat::ParseComplete) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 66 | let _: () = conn [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | pub async fn abort(mut self, msg: impl Into) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | ... .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 280 | .recv_expect::<()>(MessageFormat::ReadyForQuery) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | pub async fn finish(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 314 | .recv_expect::<()>(MessageFormat::ReadyForQuery) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 331 | / async fn pg_begin_copy_out<'c, C: DerefMut + Send + 'c>( [INFO] [stdout] 332 | | mut conn: C, [INFO] [stdout] 333 | | statement: &str, [INFO] [stdout] 334 | | ) -> Result>> { [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:350:33 [INFO] [stdout] | [INFO] [stdout] 350 | conn.stream.recv_expect(MessageFormat::CommandComplete).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 350 ~ conn.stream.recv_expect::<()>(MessageFormat::CommandComplete).await?; [INFO] [stdout] 351 ~ conn.stream.recv_expect::<()>(MessageFormat::ReadyForQuery).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PgPoolCopyExt` is never used [INFO] [stdout] --> src/copy.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait PgPoolCopyExt { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufGuard` is never constructed [INFO] [stdout] --> src/copy.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | struct BufGuard<'s>(&'s mut Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flush` is never constructed [INFO] [stdout] --> src/message/flush.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Flush; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_type_size`, `type_modifier`, and `format` are never read [INFO] [stdout] --> src/message/row_description.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub data_type_size: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub type_modifier: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub format: i16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-build-trust-postgres v0.7.9 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "36a11c3d047facec4d5b862dc7fd4881463acd5fcfe5ee9655b0e14df14aad1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36a11c3d047facec4d5b862dc7fd4881463acd5fcfe5ee9655b0e14df14aad1e", kill_on_drop: false }` [INFO] [stdout] 36a11c3d047facec4d5b862dc7fd4881463acd5fcfe5ee9655b0e14df14aad1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c582205c966b8f41b3171e476d4f06fec7699495295562ea1777a440ef72fe4 [INFO] running `Command { std: "docker" "start" "-a" "0c582205c966b8f41b3171e476d4f06fec7699495295562ea1777a440ef72fe4", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `_rt-tokio` [INFO] [stdout] --> src/copy.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #[cfg(feature = "_rt-tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `any`, `bigdecimal`, `bit-vec`, `chrono`, `ipnetwork`, `json`, `mac_address`, `migrate`, `offline`, `rust_decimal`, `time`, and `uuid` [INFO] [stdout] = help: consider adding `_rt-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `_rt-tokio` [INFO] [stdout] --> src/copy.rs:234:27 [INFO] [stdout] | [INFO] [stdout] 234 | #[cfg(not(feature = "_rt-tokio"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `any`, `bigdecimal`, `bit-vec`, `chrono`, `ipnetwork`, `json`, `mac_address`, `migrate`, `offline`, `rust_decimal`, `time`, and `uuid` [INFO] [stdout] = help: consider adding `_rt-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/connection/executor.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / async fn prepare( [INFO] [stdout] 24 | | conn: &mut PgConnection, [INFO] [stdout] 25 | | sql: &str, [INFO] [stdout] 26 | | parameters: &[PgTypeInfo], [INFO] [stdout] 27 | | metadata: Option>, [INFO] [stdout] 28 | | ) -> Result<(Oid, Arc), Error> { [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stdout] --> src/connection/executor.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | .recv_expect(MessageFormat::ParseComplete) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 66 | let _: () = conn [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | pub async fn abort(mut self, msg: impl Into) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | ... .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 280 | .recv_expect::<()>(MessageFormat::ReadyForQuery) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | pub async fn finish(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 314 | .recv_expect::<()>(MessageFormat::ReadyForQuery) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 331 | / async fn pg_begin_copy_out<'c, C: DerefMut + Send + 'c>( [INFO] [stdout] 332 | | mut conn: C, [INFO] [stdout] 333 | | statement: &str, [INFO] [stdout] 334 | | ) -> Result>> { [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:350:33 [INFO] [stdout] | [INFO] [stdout] 350 | conn.stream.recv_expect(MessageFormat::CommandComplete).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 350 ~ conn.stream.recv_expect::<()>(MessageFormat::CommandComplete).await?; [INFO] [stdout] 351 ~ conn.stream.recv_expect::<()>(MessageFormat::ReadyForQuery).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PgPoolCopyExt` is never used [INFO] [stdout] --> src/copy.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait PgPoolCopyExt { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufGuard` is never constructed [INFO] [stdout] --> src/copy.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | struct BufGuard<'s>(&'s mut Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flush` is never constructed [INFO] [stdout] --> src/message/flush.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Flush; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_type_size`, `type_modifier`, and `format` are never read [INFO] [stdout] --> src/message/row_description.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub data_type_size: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub type_modifier: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub format: i16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sqlx-build-trust-postgres v0.7.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `_rt-tokio` [INFO] [stdout] --> src/copy.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #[cfg(feature = "_rt-tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `any`, `bigdecimal`, `bit-vec`, `chrono`, `ipnetwork`, `json`, `mac_address`, `migrate`, `offline`, `rust_decimal`, `time`, and `uuid` [INFO] [stdout] = help: consider adding `_rt-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `_rt-tokio` [INFO] [stdout] --> src/copy.rs:234:27 [INFO] [stdout] | [INFO] [stdout] 234 | #[cfg(not(feature = "_rt-tokio"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `any`, `bigdecimal`, `bit-vec`, `chrono`, `ipnetwork`, `json`, `mac_address`, `migrate`, `offline`, `rust_decimal`, `time`, and `uuid` [INFO] [stdout] = help: consider adding `_rt-tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/connection/executor.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / async fn prepare( [INFO] [stdout] 24 | | conn: &mut PgConnection, [INFO] [stdout] 25 | | sql: &str, [INFO] [stdout] 26 | | parameters: &[PgTypeInfo], [INFO] [stdout] 27 | | metadata: Option>, [INFO] [stdout] 28 | | ) -> Result<(Oid, Arc), Error> { [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stdout] --> src/connection/executor.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | .recv_expect(MessageFormat::ParseComplete) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 66 | let _: () = conn [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | pub async fn abort(mut self, msg: impl Into) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | ... .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 280 | .recv_expect::<()>(MessageFormat::ReadyForQuery) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | pub async fn finish(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 314 | .recv_expect::<()>(MessageFormat::ReadyForQuery) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 331 | / async fn pg_begin_copy_out<'c, C: DerefMut + Send + 'c>( [INFO] [stdout] 332 | | mut conn: C, [INFO] [stdout] 333 | | statement: &str, [INFO] [stdout] 334 | | ) -> Result>> { [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:350:33 [INFO] [stdout] | [INFO] [stdout] 350 | conn.stream.recv_expect(MessageFormat::CommandComplete).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 350 ~ conn.stream.recv_expect::<()>(MessageFormat::CommandComplete).await?; [INFO] [stdout] 351 ~ conn.stream.recv_expect::<()>(MessageFormat::ReadyForQuery).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PgPoolCopyExt` is never used [INFO] [stdout] --> src/copy.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait PgPoolCopyExt { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufGuard` is never constructed [INFO] [stdout] --> src/copy.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | struct BufGuard<'s>(&'s mut Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flush` is never constructed [INFO] [stdout] --> src/message/flush.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Flush; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_type_size`, `type_modifier`, and `format` are never read [INFO] [stdout] --> src/message/row_description.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub data_type_size: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub type_modifier: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub format: i16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.69s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-build-trust-postgres v0.7.9 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "0c582205c966b8f41b3171e476d4f06fec7699495295562ea1777a440ef72fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c582205c966b8f41b3171e476d4f06fec7699495295562ea1777a440ef72fe4", kill_on_drop: false }` [INFO] [stdout] 0c582205c966b8f41b3171e476d4f06fec7699495295562ea1777a440ef72fe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9d0505eeed40d69cc821d683cff90ea301b0e29f6a8826cd457d40587b4cacc2 [INFO] running `Command { std: "docker" "start" "-a" "9d0505eeed40d69cc821d683cff90ea301b0e29f6a8826cd457d40587b4cacc2", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `_rt-tokio` [INFO] [stderr] --> src/copy.rs:232:23 [INFO] [stderr] | [INFO] [stderr] 232 | #[cfg(feature = "_rt-tokio")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `any`, `bigdecimal`, `bit-vec`, `chrono`, `ipnetwork`, `json`, `mac_address`, `migrate`, `offline`, `rust_decimal`, `time`, and `uuid` [INFO] [stderr] = help: consider adding `_rt-tokio` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `_rt-tokio` [INFO] [stderr] --> src/copy.rs:234:27 [INFO] [stderr] | [INFO] [stderr] 234 | #[cfg(not(feature = "_rt-tokio"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `any`, `bigdecimal`, `bit-vec`, `chrono`, `ipnetwork`, `json`, `mac_address`, `migrate`, `offline`, `rust_decimal`, `time`, and `uuid` [INFO] [stderr] = help: consider adding `_rt-tokio` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/connection/executor.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / async fn prepare( [INFO] [stderr] 24 | | conn: &mut PgConnection, [INFO] [stderr] 25 | | sql: &str, [INFO] [stderr] 26 | | parameters: &[PgTypeInfo], [INFO] [stderr] 27 | | metadata: Option>, [INFO] [stderr] 28 | | ) -> Result<(Oid, Arc), Error> { [INFO] [stderr] | |___________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stderr] --> src/connection/executor.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | .recv_expect(MessageFormat::ParseComplete) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 66 | let _: () = conn [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/copy.rs:262:5 [INFO] [stderr] | [INFO] [stderr] 262 | pub async fn abort(mut self, msg: impl Into) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stderr] --> src/copy.rs:280:30 [INFO] [stderr] | [INFO] [stderr] 280 | ... .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 280 | .recv_expect::<()>(MessageFormat::ReadyForQuery) [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/copy.rs:294:5 [INFO] [stderr] | [INFO] [stderr] 294 | pub async fn finish(mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stderr] --> src/copy.rs:314:14 [INFO] [stderr] | [INFO] [stderr] 314 | .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 314 | .recv_expect::<()>(MessageFormat::ReadyForQuery) [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/copy.rs:331:1 [INFO] [stderr] | [INFO] [stderr] 331 | / async fn pg_begin_copy_out<'c, C: DerefMut + Send + 'c>( [INFO] [stderr] 332 | | mut conn: C, [INFO] [stderr] 333 | | statement: &str, [INFO] [stderr] 334 | | ) -> Result>> { [INFO] [stderr] | |_________________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: sqlx_core::io::Decode<'_>` will fail [INFO] [stderr] --> src/copy.rs:350:33 [INFO] [stderr] | [INFO] [stderr] 350 | conn.stream.recv_expect(MessageFormat::CommandComplete).await?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 350 ~ conn.stream.recv_expect::<()>(MessageFormat::CommandComplete).await?; [INFO] [stderr] 351 ~ conn.stream.recv_expect::<()>(MessageFormat::ReadyForQuery).await?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait `PgPoolCopyExt` is never used [INFO] [stderr] --> src/copy.rs:68:11 [INFO] [stderr] | [INFO] [stderr] 68 | pub trait PgPoolCopyExt { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `BufGuard` is never constructed [INFO] [stderr] --> src/copy.rs:215:16 [INFO] [stderr] | [INFO] [stderr] 215 | struct BufGuard<'s>(&'s mut Vec); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Flush` is never constructed [INFO] [stderr] --> src/message/flush.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Flush; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `data_type_size`, `type_modifier`, and `format` are never read [INFO] [stderr] --> src/message/row_description.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Field { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 30 | pub data_type_size: i16, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | pub type_modifier: i32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub format: i16, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `sqlx-build-trust-postgres` (lib) generated 10 warnings (run `cargo fix --lib -p sqlx-build-trust-postgres` to apply 4 suggestions) [INFO] [stderr] warning: `sqlx-build-trust-postgres` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-build-trust-postgres v0.7.9 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sqlx_build_trust_postgres-9acbea793e294ca4) [INFO] [stdout] running 59 tests [INFO] [stdout] test listener::test_build_listen_all_query_with_multiple_channels ... ok [INFO] [stdout] test connection::stream::tests::test_parse_server_version_num ... ok [INFO] [stdout] test connection::describe::explain_parsing ... ok [INFO] [stdout] test message::data_row::test_decode_data_row ... ok [INFO] [stdout] test message::command_complete::test_decode_command_complete_for_begin ... ok [INFO] [stdout] test message::command_complete::test_decode_command_complete_for_insert ... ok [INFO] [stdout] test message::command_complete::test_decode_command_complete_for_update ... 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 listener::test_build_listen_all_query_with_single_channel ... ok [INFO] [stdout] test message::parameter_description::test_decode_empty_parameter_description ... ok [INFO] [stdout] test message::parameter_status::test_decode_empty_parameter_status ... ok [INFO] [stdout] test message::parameter_description::test_decode_parameter_description ... ok [INFO] [stdout] test message::parse::test_encode_parse ... 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::password::test_encode_clear_password ... ok [INFO] [stdout] test message::response::test_decode_error_response ... ok [INFO] [stdout] test message::password::test_encode_md5_password ... ok [INFO] [stdout] test message::query::test_encode_query ... ok [INFO] [stdout] test message::backend_key_data::test_decode_backend_key_data ... ok [INFO] [stdout] test message::ready_for_query::test_decode_ready_for_query ... 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::ssl_request::test_encode_ssl_request ... ok [INFO] [stdout] test message::startup::test_encode_startup ... ok [INFO] [stdout] test options::parse::it_parses_application_name_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_dbname_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_host_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_hostaddr_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_libpq_options_correctly ... ok [INFO] [stdout] test options::parse::it_parses_password_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_password_with_non_ascii_chars_correctly ... ok [INFO] [stdout] test options::parse::it_parses_port_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_returns_the_parsed_url_when_host ... ok [INFO] [stdout] test options::parse::it_parses_socket_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_socket_correctly_percent_encoded ... ok [INFO] [stdout] test options::parse::it_parses_socket_correctly_with_username_percent_encoded ... ok [INFO] [stdout] test options::parse::it_parses_sqlx_options_correctly ... ok [INFO] [stdout] test options::parse::it_parses_user_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_username_with_at_sign_correctly ... ok [INFO] [stdout] test options::parse::it_returns_the_parsed_url_when_socket ... ok [INFO] [stdout] test options::pgpass::tests::test_find_next_field ... ok [INFO] [stdout] test options::pgpass::tests::test_load_password_from_line ... ok [INFO] [stdout] test options::pgpass::tests::test_load_password_from_reader ... ok [INFO] [stdout] test options::test_options_formatting ... ok [INFO] [stdout] test types::money::tests::adding_works ... ok [INFO] [stdout] test types::interval::test_encode_interval ... ok [INFO] [stdout] test types::interval::test_pginterval_std ... ok [INFO] [stdout] test types::money::tests::add_assign_works ... ok [INFO] [stdout] test types::money::tests::default_value ... 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_overflow_panics - should panic ... ok [INFO] [stderr] Doc-tests sqlx_build_trust_postgres [INFO] [stdout] test types::money::tests::add_assign_overflow_panics - should panic ... ok [INFO] [stdout] test types::money::tests::sub_overflow_panics - should panic ... ok [INFO] [stdout] test types::money::tests::sub_assign_overflow_panics - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 59 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test src/advisory_lock.rs - advisory_lock::PgAdvisoryLock::new (line 100) ... FAILED [INFO] [stdout] test src/listener.rs - listener::PgListener::recv (line 190) - compile ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_application_name (line 627) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::database (line 269) ... FAILED [INFO] [stdout] test src/listener.rs - listener::PgListener::try_recv (line 221) - compile ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::application_name (line 432) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_database (line 600) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_socket (line 572) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::extra_float_digits (line 479) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_options (line 641) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_ssl_mode (line 614) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_username (line 586) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions (line 60) - compile ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_port (line 558) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::get_host (line 544) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::host (line 198) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::port (line 214) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_client_key (line 363) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::options (line 499) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::new (line 132) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_client_cert_from_pem (line 341) ... FAILED [INFO] [stdout] test src/types/array.rs - types::array::PgHasArrayType (line 22) ... ignored [INFO] [stdout] test src/types/array.rs - types::array::PgHasArrayType (line 35) ... ignored [INFO] [stdout] test src/types/array.rs - types::array::PgHasArrayType (line 44) ... ignored [INFO] [stdout] test src/types/citext.rs - types::citext::PgCiText (line 27) ... ignored [INFO] [stdout] test src/types/lquery.rs - types::lquery::PgLQuery (line 48) ... ignored [INFO] [stdout] test src/types/ltree.rs - types::ltree::PgLTree (line 84) ... ignored [INFO] [stdout] test src/types/mod.rs - types (line 165) ... ignored [INFO] [stdout] test src/types/mod.rs - types (line 190) ... ignored [INFO] [stdout] test src/types/mod.rs - types (line 200) ... ignored [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::password (line 254) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_root_cert (line 305) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_client_cert (line 321) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_root_cert_from_pem (line 405) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_client_key_from_pem (line 383) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::ssl_mode (line 289) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::PgConnectOptions::username (line 240) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/advisory_lock.rs - advisory_lock::PgAdvisoryLock::new (line 100) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `sqlx_core` [INFO] [stdout] --> src/advisory_lock.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate sqlx_core as sqlx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/listener.rs - listener::PgListener::recv (line 190) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx_core` [INFO] [stdout] --> src/listener.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::PgListener; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_core`, use `cargo add sqlx_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx_core` [INFO] [stdout] --> src/listener.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx_core::error::Error; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_core`, use `cargo add sqlx_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `_rt` [INFO] [stdout] --> src/listener.rs:194:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "_rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `any`, `bigdecimal`, `bit-vec`, `chrono`, `ipnetwork`, `json`, `mac_address`, `migrate`, `offline`, `rust_decimal`, `time`, and `uuid` [INFO] [stdout] = help: consider adding `_rt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [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::get_application_name (line 627) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:628:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::database (line 269) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/listener.rs - listener::PgListener::try_recv (line 221) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx_core` [INFO] [stdout] --> src/listener.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::postgres::PgListener; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_core`, use `cargo add sqlx_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx_core` [INFO] [stdout] --> src/listener.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx_core::error::Error; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_core`, use `cargo add sqlx_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `_rt` [INFO] [stdout] --> src/listener.rs:225:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "_rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `any`, `bigdecimal`, `bit-vec`, `chrono`, `ipnetwork`, `json`, `mac_address`, `migrate`, `offline`, `rust_decimal`, `time`, and `uuid` [INFO] [stdout] = help: consider adding `_rt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [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 432) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::get_database (line 600) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:601:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::get_socket (line 572) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:573:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::extra_float_digits (line 479) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::get_options (line 641) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::get_ssl_mode (line 614) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:615:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::{PgConnectOptions, PgSslMode}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::get_username (line 586) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions (line 60) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/options/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::postgres::{PgConnectOptions, PgConnection, PgPool, PgSslMode}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/options/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Connection, ConnectOptions}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/options/mod.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example() -> sqlx::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::get_port (line 558) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::get_host (line 544) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:545:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::host (line 198) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::port (line 214) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::ssl_client_key (line 363) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::{PgSslMode, PgConnectOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::options (line 499) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::new (line 132) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::ssl_client_cert_from_pem (line 341) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::{PgSslMode, PgConnectOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::password (line 254) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::ssl_root_cert (line 305) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::{PgSslMode, PgConnectOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::ssl_client_cert (line 321) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::{PgSslMode, PgConnectOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::ssl_root_cert_from_pem (line 405) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::{PgSslMode, PgConnectOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::ssl_client_key_from_pem (line 383) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::{PgSslMode, PgConnectOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::ssl_mode (line 289) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::{PgSslMode, PgConnectOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::PgConnectOptions::username (line 240) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sqlx_postgres` [INFO] [stdout] --> src/options/mod.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_postgres::PgConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sqlx_postgres` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx_postgres`, use `cargo add sqlx_postgres` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/advisory_lock.rs - advisory_lock::PgAdvisoryLock::new (line 100) [INFO] [stdout] src/listener.rs - listener::PgListener::recv (line 190) [INFO] [stdout] src/listener.rs - listener::PgListener::try_recv (line 221) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions (line 60) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::application_name (line 432) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::database (line 269) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::extra_float_digits (line 479) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::get_application_name (line 627) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::get_database (line 600) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::get_host (line 544) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::get_options (line 641) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::get_port (line 558) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::get_socket (line 572) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::get_ssl_mode (line 614) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::get_username (line 586) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::host (line 198) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::new (line 132) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::options (line 499) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::password (line 254) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::port (line 214) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::ssl_client_cert (line 321) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::ssl_client_cert_from_pem (line 341) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::ssl_client_key (line 363) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::ssl_client_key_from_pem (line 383) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::ssl_mode (line 289) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::ssl_root_cert (line 305) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::ssl_root_cert_from_pem (line 405) [INFO] [stdout] src/options/mod.rs - options::PgConnectOptions::username (line 240) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 28 failed; 9 ignored; 0 measured; 0 filtered out; finished in 1.88s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9d0505eeed40d69cc821d683cff90ea301b0e29f6a8826cd457d40587b4cacc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d0505eeed40d69cc821d683cff90ea301b0e29f6a8826cd457d40587b4cacc2", kill_on_drop: false }` [INFO] [stdout] 9d0505eeed40d69cc821d683cff90ea301b0e29f6a8826cd457d40587b4cacc2