[INFO] fetching crate cdbc-pg 0.1.22... [INFO] testing cdbc-pg-0.1.22 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cdbc-pg 0.1.22 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate cdbc-pg 0.1.22 [INFO] finished tweaking crates.io crate cdbc-pg 0.1.22 [INFO] tweaked toml for crates.io crate cdbc-pg 0.1.22 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cdbc-pg 0.1.22 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 211 packages to latest compatible versions [INFO] [stderr] Adding atoi v0.4.0 (available: v2.0.0) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bigdecimal v0.2.2 (available: v0.4.8) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.1) [INFO] [stderr] Adding dirs v4.0.0 (available: v6.0.0) [INFO] [stderr] Adding hashlink v0.7.0 (available: v0.10.0) [INFO] [stderr] Adding hmac v0.11.0 (available: v0.12.1) [INFO] [stderr] Adding ipnetwork v0.17.0 (available: v0.21.1) [INFO] [stderr] Adding md-5 v0.9.1 (available: v0.10.6) [INFO] [stderr] Adding num-bigint v0.3.3 (available: v0.4.6) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding sha-1 v0.9.8 (available: v0.10.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.9) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.17.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cdbc-macro v0.1.23 [INFO] [stderr] Downloaded ipnetwork v0.17.0 [INFO] [stderr] Downloaded mac_address v1.1.8 [INFO] [stderr] Downloaded cdbc v0.1.23 [INFO] [stderr] Downloaded bigdecimal v0.2.2 [INFO] [stderr] Downloaded mco v0.1.48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 813e64cd9cf6d42219573d37529acf5bf3e4f70155dc43d6879ba5a8fcee8cd5 [INFO] running `Command { std: "docker" "start" "-a" "813e64cd9cf6d42219573d37529acf5bf3e4f70155dc43d6879ba5a8fcee8cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "813e64cd9cf6d42219573d37529acf5bf3e4f70155dc43d6879ba5a8fcee8cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "813e64cd9cf6d42219573d37529acf5bf3e4f70155dc43d6879ba5a8fcee8cd5", kill_on_drop: false }` [INFO] [stdout] 813e64cd9cf6d42219573d37529acf5bf3e4f70155dc43d6879ba5a8fcee8cd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e8d7dde415ea9b563eca6c66bab910375ce653b4b963016a5350d03516282a0d [INFO] running `Command { std: "docker" "start" "-a" "e8d7dde415ea9b563eca6c66bab910375ce653b4b963016a5350d03516282a0d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling generator v0.7.5 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling cdbc-macro v0.1.23 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling mco v0.1.48 [INFO] [stderr] Compiling cdbc v0.1.23 [INFO] [stderr] Compiling cdbc-pg v0.1.22 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `borrow::Cow` [INFO] [stdout] --> src/connection/executor.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{borrow::Cow, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `err_end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cdbc-0.1.23/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/index.crates.io-1949cf8c6b5b557f/cdbc-0.1.23/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] [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: unexpected `cfg` condition value: `native-tls` [INFO] [stdout] --> src/connection/tls.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "native-tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `_tls-native-tls`, `all-types`, `base64`, `bigdecimal`, `bigdecimal_`, `bit-vec`, `chrono`, `decimal`, `default`, `dirs`, `hmac`, `ipnetwork`, `ipnetwork_`, `json`, `libc`, `mac_address`, `md-5`, `num-bigint`, `offline`, `postgres`, `rand`, `rust_decimal`, `serde`, `serde_json`, `sha-1`, `sha2`, `time`, `uuid`, and `whoami` [INFO] [stdout] = help: consider adding `native-tls` 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: `native-tls` [INFO] [stdout] --> src/connection/tls.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | if !cfg!(feature = "native-tls") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `_tls-native-tls`, `all-types`, `base64`, `bigdecimal`, `bigdecimal_`, `bit-vec`, `chrono`, `decimal`, `default`, `dirs`, `hmac`, `ipnetwork`, `ipnetwork_`, `json`, `libc`, `mac_address`, `md-5`, `num-bigint`, `offline`, `postgres`, `rand`, `rust_decimal`, `serde`, `serde_json`, `sha-1`, `sha2`, `time`, `uuid`, and `whoami` [INFO] [stdout] = help: consider adding `native-tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unused import: `flush::Flush` [INFO] [stdout] --> src/message/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub use flush::Flush; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/statement.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/connection/executor.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / fn prepare( [INFO] [stdout] 19 | | conn: &mut PgConnection, [INFO] [stdout] 20 | | sql: &str, [INFO] [stdout] 21 | | parameters: &[PgTypeInfo], [INFO] [stdout] 22 | | metadata: Option>, [INFO] [stdout] 23 | | ) -> Result<(u32, 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stdout] --> src/connection/executor.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | .recv_expect(MessageFormat::ParseComplete) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 61 | let _: () = conn [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | pub 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:257:30 [INFO] [stdout] | [INFO] [stdout] 257 | ... .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 257 | .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:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | pub 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 284 | .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:301:1 [INFO] [stdout] | [INFO] [stdout] 301 | / fn pg_begin_copy_out<'c, C: DerefMut + Send + 'c>( [INFO] [stdout] 302 | | mut conn: C, [INFO] [stdout] 303 | | statement: &str, [INFO] [stdout] 304 | | ) -> 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | conn.stream.recv_expect(MessageFormat::CommandComplete)?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 320 ~ conn.stream.recv_expect::<()>(MessageFormat::CommandComplete)?; [INFO] [stdout] 321 ~ conn.stream.recv_expect::<()>(MessageFormat::ReadyForQuery)?; [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: trait `CopyRaw` is never used [INFO] [stdout] --> src/copy.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait CopyRaw{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] = note: `Flush` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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:29:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub data_type_size: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub type_modifier: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | 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] [stdout] warning: method `fetch_socket` is never used [INFO] [stdout] --> src/options/mod.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 98 | impl PgConnectOptions { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 367 | pub(crate) fn fetch_socket(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [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: `#[warn(unused_must_use)]` on by default [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:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cdbc-pg v0.1.22 (/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 1` [INFO] running `Command { std: "docker" "inspect" "e8d7dde415ea9b563eca6c66bab910375ce653b4b963016a5350d03516282a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d7dde415ea9b563eca6c66bab910375ce653b4b963016a5350d03516282a0d", kill_on_drop: false }` [INFO] [stdout] e8d7dde415ea9b563eca6c66bab910375ce653b4b963016a5350d03516282a0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a2469c5addb39e0990f2a215e25f8d6e3af0a62612e7839d212f89c2e1207d79 [INFO] running `Command { std: "docker" "start" "-a" "a2469c5addb39e0990f2a215e25f8d6e3af0a62612e7839d212f89c2e1207d79", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `borrow::Cow` [INFO] [stdout] --> src/connection/executor.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{borrow::Cow, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `err_end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cdbc-0.1.23/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/index.crates.io-1949cf8c6b5b557f/cdbc-0.1.23/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] [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] [stderr] Compiling cdbc-pg v0.1.22 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `native-tls` [INFO] [stdout] --> src/connection/tls.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "native-tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `_tls-native-tls`, `all-types`, `base64`, `bigdecimal`, `bigdecimal_`, `bit-vec`, `chrono`, `decimal`, `default`, `dirs`, `hmac`, `ipnetwork`, `ipnetwork_`, `json`, `libc`, `mac_address`, `md-5`, `num-bigint`, `offline`, `postgres`, `rand`, `rust_decimal`, `serde`, `serde_json`, `sha-1`, `sha2`, `time`, `uuid`, and `whoami` [INFO] [stdout] = help: consider adding `native-tls` 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: `native-tls` [INFO] [stdout] --> src/connection/tls.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | if !cfg!(feature = "native-tls") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `_tls-native-tls`, `all-types`, `base64`, `bigdecimal`, `bigdecimal_`, `bit-vec`, `chrono`, `decimal`, `default`, `dirs`, `hmac`, `ipnetwork`, `ipnetwork_`, `json`, `libc`, `mac_address`, `md-5`, `num-bigint`, `offline`, `postgres`, `rand`, `rust_decimal`, `serde`, `serde_json`, `sha-1`, `sha2`, `time`, `uuid`, and `whoami` [INFO] [stdout] = help: consider adding `native-tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unused import: `flush::Flush` [INFO] [stdout] --> src/message/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub use flush::Flush; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/statement.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/connection/executor.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / fn prepare( [INFO] [stdout] 19 | | conn: &mut PgConnection, [INFO] [stdout] 20 | | sql: &str, [INFO] [stdout] 21 | | parameters: &[PgTypeInfo], [INFO] [stdout] 22 | | metadata: Option>, [INFO] [stdout] 23 | | ) -> Result<(u32, 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stdout] --> src/connection/executor.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | .recv_expect(MessageFormat::ParseComplete) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 61 | let _: () = conn [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | pub 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:257:30 [INFO] [stdout] | [INFO] [stdout] 257 | ... .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 257 | .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:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | pub 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 284 | .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:301:1 [INFO] [stdout] | [INFO] [stdout] 301 | / fn pg_begin_copy_out<'c, C: DerefMut + Send + 'c>( [INFO] [stdout] 302 | | mut conn: C, [INFO] [stdout] 303 | | statement: &str, [INFO] [stdout] 304 | | ) -> 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | conn.stream.recv_expect(MessageFormat::CommandComplete)?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 320 ~ conn.stream.recv_expect::<()>(MessageFormat::CommandComplete)?; [INFO] [stdout] 321 ~ conn.stream.recv_expect::<()>(MessageFormat::ReadyForQuery)?; [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: trait `CopyRaw` is never used [INFO] [stdout] --> src/copy.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait CopyRaw{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] = note: `Flush` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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:29:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub data_type_size: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub type_modifier: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | 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] [stdout] warning: method `fetch_socket` is never used [INFO] [stdout] --> src/options/mod.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 98 | impl PgConnectOptions { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 367 | pub(crate) fn fetch_socket(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [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: `#[warn(unused_must_use)]` on by default [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:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | 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: 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: 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 import: `borrow::Cow` [INFO] [stdout] --> src/connection/executor.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{borrow::Cow, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `err_end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cdbc-0.1.23/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/index.crates.io-1949cf8c6b5b557f/cdbc-0.1.23/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] [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: unexpected `cfg` condition value: `native-tls` [INFO] [stdout] --> src/connection/tls.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "native-tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `_tls-native-tls`, `all-types`, `base64`, `bigdecimal`, `bigdecimal_`, `bit-vec`, `chrono`, `decimal`, `default`, `dirs`, `hmac`, `ipnetwork`, `ipnetwork_`, `json`, `libc`, `mac_address`, `md-5`, `num-bigint`, `offline`, `postgres`, `rand`, `rust_decimal`, `serde`, `serde_json`, `sha-1`, `sha2`, `time`, `uuid`, and `whoami` [INFO] [stdout] = help: consider adding `native-tls` 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: `native-tls` [INFO] [stdout] --> src/connection/tls.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | if !cfg!(feature = "native-tls") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `_tls-native-tls`, `all-types`, `base64`, `bigdecimal`, `bigdecimal_`, `bit-vec`, `chrono`, `decimal`, `default`, `dirs`, `hmac`, `ipnetwork`, `ipnetwork_`, `json`, `libc`, `mac_address`, `md-5`, `num-bigint`, `offline`, `postgres`, `rand`, `rust_decimal`, `serde`, `serde_json`, `sha-1`, `sha2`, `time`, `uuid`, and `whoami` [INFO] [stdout] = help: consider adding `native-tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unused import: `flush::Flush` [INFO] [stdout] --> src/message/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub use flush::Flush; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/statement.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/connection/executor.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / fn prepare( [INFO] [stdout] 19 | | conn: &mut PgConnection, [INFO] [stdout] 20 | | sql: &str, [INFO] [stdout] 21 | | parameters: &[PgTypeInfo], [INFO] [stdout] 22 | | metadata: Option>, [INFO] [stdout] 23 | | ) -> Result<(u32, 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stdout] --> src/connection/executor.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | .recv_expect(MessageFormat::ParseComplete) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 61 | let _: () = conn [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/copy.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | pub 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:257:30 [INFO] [stdout] | [INFO] [stdout] 257 | ... .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 257 | .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:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | pub 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 284 | .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:301:1 [INFO] [stdout] | [INFO] [stdout] 301 | / fn pg_begin_copy_out<'c, C: DerefMut + Send + 'c>( [INFO] [stdout] 302 | | mut conn: C, [INFO] [stdout] 303 | | statement: &str, [INFO] [stdout] 304 | | ) -> 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stdout] --> src/copy.rs:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | conn.stream.recv_expect(MessageFormat::CommandComplete)?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 320 ~ conn.stream.recv_expect::<()>(MessageFormat::CommandComplete)?; [INFO] [stdout] 321 ~ conn.stream.recv_expect::<()>(MessageFormat::ReadyForQuery)?; [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: trait `CopyRaw` is never used [INFO] [stdout] --> src/copy.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait CopyRaw{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] = note: `Flush` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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:29:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub data_type_size: i16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub type_modifier: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | 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] [stdout] warning: method `fetch_socket` is never used [INFO] [stdout] --> src/options/mod.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 98 | impl PgConnectOptions { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 367 | pub(crate) fn fetch_socket(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [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: `#[warn(unused_must_use)]` on by default [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:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cdbc-pg v0.1.22 (/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 2` [INFO] running `Command { std: "docker" "inspect" "a2469c5addb39e0990f2a215e25f8d6e3af0a62612e7839d212f89c2e1207d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2469c5addb39e0990f2a215e25f8d6e3af0a62612e7839d212f89c2e1207d79", kill_on_drop: false }` [INFO] [stdout] a2469c5addb39e0990f2a215e25f8d6e3af0a62612e7839d212f89c2e1207d79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a1d81e12050867d55daa123dd3adc7e43aae1541e7341e66cea685bd98baa69a [INFO] running `Command { std: "docker" "start" "-a" "a1d81e12050867d55daa123dd3adc7e43aae1541e7341e66cea685bd98baa69a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `borrow::Cow` [INFO] [stderr] --> src/connection/executor.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | use std::{borrow::Cow, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `err_end` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cdbc-0.1.23/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/index.crates.io-1949cf8c6b5b557f/cdbc-0.1.23/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] 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: unexpected `cfg` condition value: `native-tls` [INFO] [stderr] --> src/connection/tls.rs:71:11 [INFO] [stderr] | [INFO] [stderr] 71 | #[cfg(feature = "native-tls")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `_tls-native-tls`, `all-types`, `base64`, `bigdecimal`, `bigdecimal_`, `bit-vec`, `chrono`, `decimal`, `default`, `dirs`, `hmac`, `ipnetwork`, `ipnetwork_`, `json`, `libc`, `mac_address`, `md-5`, `num-bigint`, `offline`, `postgres`, `rand`, `rust_decimal`, `serde`, `serde_json`, `sha-1`, `sha2`, `time`, `uuid`, and `whoami` [INFO] [stderr] = help: consider adding `native-tls` 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: `native-tls` [INFO] [stderr] --> src/connection/tls.rs:68:14 [INFO] [stderr] | [INFO] [stderr] 68 | if !cfg!(feature = "native-tls") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `_tls-native-tls`, `all-types`, `base64`, `bigdecimal`, `bigdecimal_`, `bit-vec`, `chrono`, `decimal`, `default`, `dirs`, `hmac`, `ipnetwork`, `ipnetwork_`, `json`, `libc`, `mac_address`, `md-5`, `num-bigint`, `offline`, `postgres`, `rand`, `rust_decimal`, `serde`, `serde_json`, `sha-1`, `sha2`, `time`, `uuid`, and `whoami` [INFO] [stderr] = help: consider adding `native-tls` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [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: unused import: `flush::Flush` [INFO] [stderr] --> src/message/mod.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | pub use flush::Flush; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/statement.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/connection/executor.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / fn prepare( [INFO] [stderr] 19 | | conn: &mut PgConnection, [INFO] [stderr] 20 | | sql: &str, [INFO] [stderr] 21 | | parameters: &[PgTypeInfo], [INFO] [stderr] 22 | | metadata: Option>, [INFO] [stderr] 23 | | ) -> Result<(u32, 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stderr] --> src/connection/executor.rs:63:10 [INFO] [stderr] | [INFO] [stderr] 63 | .recv_expect(MessageFormat::ParseComplete) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 61 | let _: () = conn [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/copy.rs:239:5 [INFO] [stderr] | [INFO] [stderr] 239 | pub 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stderr] --> src/copy.rs:257:30 [INFO] [stderr] | [INFO] [stderr] 257 | ... .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 257 | .recv_expect::<()>(MessageFormat::ReadyForQuery) [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/copy.rs:271:5 [INFO] [stderr] | [INFO] [stderr] 271 | pub 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stderr] --> src/copy.rs:284:14 [INFO] [stderr] | [INFO] [stderr] 284 | .recv_expect(MessageFormat::ReadyForQuery) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 284 | .recv_expect::<()>(MessageFormat::ReadyForQuery) [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/copy.rs:301:1 [INFO] [stderr] | [INFO] [stderr] 301 | / fn pg_begin_copy_out<'c, C: DerefMut + Send + 'c>( [INFO] [stderr] 302 | | mut conn: C, [INFO] [stderr] 303 | | statement: &str, [INFO] [stderr] 304 | | ) -> 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 `!: cdbc::io::Decode<'_>` will fail [INFO] [stderr] --> src/copy.rs:320:33 [INFO] [stderr] | [INFO] [stderr] 320 | conn.stream.recv_expect(MessageFormat::CommandComplete)?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 320 ~ conn.stream.recv_expect::<()>(MessageFormat::CommandComplete)?; [INFO] [stderr] 321 ~ conn.stream.recv_expect::<()>(MessageFormat::ReadyForQuery)?; [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: trait `CopyRaw` is never used [INFO] [stderr] --> src/copy.rs:61:11 [INFO] [stderr] | [INFO] [stderr] 61 | pub trait CopyRaw{ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [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] = note: `Flush` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `data_type_size`, `type_modifier`, and `format` are never read [INFO] [stderr] --> src/message/row_description.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Field { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 29 | pub data_type_size: i16, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub type_modifier: i32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | 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: method `fetch_socket` is never used [INFO] [stderr] --> src/options/mod.rs:367:19 [INFO] [stderr] | [INFO] [stderr] 98 | impl PgConnectOptions { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 367 | pub(crate) fn fetch_socket(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [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: `#[warn(unused_must_use)]` on by default [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:347:17 [INFO] [stderr] | [INFO] [stderr] 347 | 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: 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: 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: `cdbc-pg` (lib) generated 26 warnings (run `cargo fix --lib -p cdbc-pg` to apply 11 suggestions) [INFO] [stderr] warning: `cdbc-pg` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cdbc-pg v0.1.22 (/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 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cdbc_pg-5dc438c4394186ef) [INFO] [stdout] [INFO] [stdout] running 52 tests [INFO] [stdout] test listener::test_build_listen_all_query_with_multiple_channels ... ok [INFO] [stdout] test listener::test_build_listen_all_query_with_single_channel ... ok [INFO] [stdout] test message::backend_key_data::test_decode_backend_key_data ... ok [INFO] [stdout] test connection::stream::tests::test_parse_server_version_num ... 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::data_row::test_decode_data_row ... ok [INFO] [stdout] test message::command_complete::test_decode_command_complete_for_update ... 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::pgpass::tests::test_load_password_from_line ... ok [INFO] [stdout] test options::pgpass::tests::test_find_next_field ... ok [INFO] [stdout] test types::interval::test_encode_interval ... ok [INFO] [stdout] test types::interval::test_pginterval_std ... ok [INFO] [stdout] test types::interval::test_pginterval_time ... 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 options::parse::it_parses_username_with_at_sign_correctly ... ok [INFO] [stdout] test types::money::tests::subtracting_works ... 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::parse::it_parses_port_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_socket_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_user_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_hostaddr_correctly_from_parameter ... ok [INFO] [stdout] test options::parse::it_parses_dbname_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_socket_correctly_with_username_percent_encoded ... 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.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a1d81e12050867d55daa123dd3adc7e43aae1541e7341e66cea685bd98baa69a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1d81e12050867d55daa123dd3adc7e43aae1541e7341e66cea685bd98baa69a", kill_on_drop: false }` [INFO] [stdout] a1d81e12050867d55daa123dd3adc7e43aae1541e7341e66cea685bd98baa69a