[INFO] fetching crate rsdbc-postgres 0.0.1... [INFO] building rsdbc-postgres-0.0.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rsdbc-postgres 0.0.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rsdbc-postgres 0.0.1 [INFO] finished tweaking crates.io crate rsdbc-postgres 0.0.1 [INFO] tweaked toml for crates.io crate rsdbc-postgres 0.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsdbc-postgres 0.0.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 198 packages to latest compatible versions [INFO] [stderr] Adding sqlparser v0.12.0 (available: v0.59.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding tracing-subscriber v0.2.25 (available: v0.3.20) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rsdbc-core v0.0.1 [INFO] [stderr] Downloaded postgres-native-tls v0.5.2 [INFO] [stderr] Downloaded sqlparser v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d6563e476c4ea503ebf02f2e9a09395efee20f2e4f564319aabb2b0c7934b28 [INFO] running `Command { std: "docker" "start" "-a" "3d6563e476c4ea503ebf02f2e9a09395efee20f2e4f564319aabb2b0c7934b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d6563e476c4ea503ebf02f2e9a09395efee20f2e4f564319aabb2b0c7934b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d6563e476c4ea503ebf02f2e9a09395efee20f2e4f564319aabb2b0c7934b28", kill_on_drop: false }` [INFO] [stdout] 3d6563e476c4ea503ebf02f2e9a09395efee20f2e4f564319aabb2b0c7934b28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bad75baeee641f69001da702a699544cdca239d39c3c1150e18382ad15dff9e9 [INFO] running `Command { std: "docker" "start" "-a" "bad75baeee641f69001da702a699544cdca239d39c3c1150e18382ad15dff9e9", kill_on_drop: false }` [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling sqlparser v0.12.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling postgres-protocol v0.6.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling postgres-types v0.2.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-postgres v0.7.14 [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.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling rsdbc-core v0.0.1 [INFO] [stderr] Compiling postgres-native-tls v0.5.2 [INFO] [stderr] Compiling postgres v0.19.11 [INFO] [stderr] Compiling rsdbc-postgres v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::future::BoxFuture` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::future::BoxFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoTls` [INFO] [stdout] --> src/lib.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_postgres::{Client, NoTls}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_postgres::config::SslMode` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_postgres::config::SslMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Certificate` and `TlsConnector` [INFO] [stdout] --> src/lib.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use native_tls::{Certificate, TlsConnector}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `postgres_native_tls::MakeTlsConnector` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use postgres_native_tls::MakeTlsConnector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::time` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing_subscriber::fmt::time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rsdbc_core::error::RsdbcErrors` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rsdbc_core::error::RsdbcErrors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:374:65 [INFO] [stdout] | [INFO] [stdout] 374 | fn connect(&self) -> Pin>> + Send>> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - fn connect(&self) -> Pin>> + Send>> { [INFO] [stdout] 374 + fn connect(&self) -> Pin>> + Send>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:304:36 [INFO] [stdout] | [INFO] [stdout] 304 | fn create_savepoint(&mut self, name: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/lib.rs:308:36 [INFO] [stdout] | [INFO] [stdout] 308 | fn create_statement(&mut self, sql: &str) -> Result + '_>> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:326:37 [INFO] [stdout] | [INFO] [stdout] 326 | fn release_savepoint(&mut self, name: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:334:53 [INFO] [stdout] | [INFO] [stdout] 334 | fn rollback_transaction_to_savepoint(&mut self, name: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commit` [INFO] [stdout] --> src/lib.rs:338:31 [INFO] [stdout] | [INFO] [stdout] 338 | fn auto_commit(&mut self, commit: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_commit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isolation_level` [INFO] [stdout] --> src/lib.rs:342:51 [INFO] [stdout] | [INFO] [stdout] 342 | fn set_transaction_isolation_level(&mut self, isolation_level: IsolationLevel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_isolation_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/lib.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | let query = self.client.simple_query("SELECT 1"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/lib.rs:346:28 [INFO] [stdout] | [INFO] [stdout] 346 | fn validate(&mut self, depth: ValidationDepth) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_factory_options` [INFO] [stdout] --> src/lib.rs:418:15 [INFO] [stdout] | [INFO] [stdout] 418 | fn create(connection_factory_options: ConnectionFactoryOptions) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_factory_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attribute` [INFO] [stdout] --> src/lib.rs:484:29 [INFO] [stdout] | [INFO] [stdout] 484 | fn get_attribute(&self, attribute: &str) -> OptionValue { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_rsdbc_err` is never used [INFO] [stdout] --> src/lib.rs:426:4 [INFO] [stdout] | [INFO] [stdout] 426 | fn to_rsdbc_err(e: postgres::error::Error) -> rsdbc_core::error::RsdbcErrors { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deferrable`, `non_deferrable`, `isolation_level`, `read_only`, and `read_write` are never used [INFO] [stdout] --> src/lib.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 454 | impl PostgresTransactionDefinition { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] 455 | [INFO] [stdout] 456 | fn deferrable(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | fn non_deferrable(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | fn isolation_level(&mut self, isolation_level: IsolationLevel) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | fn read_only(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | fn read_write(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.24s [INFO] running `Command { std: "docker" "inspect" "bad75baeee641f69001da702a699544cdca239d39c3c1150e18382ad15dff9e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad75baeee641f69001da702a699544cdca239d39c3c1150e18382ad15dff9e9", kill_on_drop: false }` [INFO] [stdout] bad75baeee641f69001da702a699544cdca239d39c3c1150e18382ad15dff9e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac375bbc73d1af5644d13ab8eb84fe9fa7209ad91928ec559612c96c20568907 [INFO] running `Command { std: "docker" "start" "-a" "ac375bbc73d1af5644d13ab8eb84fe9fa7209ad91928ec559612c96c20568907", kill_on_drop: false }` [INFO] [stderr] Compiling rsdbc-postgres v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::future::BoxFuture` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::future::BoxFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoTls` [INFO] [stdout] --> src/lib.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_postgres::{Client, NoTls}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_postgres::config::SslMode` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_postgres::config::SslMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Certificate` and `TlsConnector` [INFO] [stdout] --> src/lib.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use native_tls::{Certificate, TlsConnector}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `postgres_native_tls::MakeTlsConnector` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use postgres_native_tls::MakeTlsConnector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::time` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing_subscriber::fmt::time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rsdbc_core::error::RsdbcErrors` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rsdbc_core::error::RsdbcErrors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:374:65 [INFO] [stdout] | [INFO] [stdout] 374 | fn connect(&self) -> Pin>> + Send>> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - fn connect(&self) -> Pin>> + Send>> { [INFO] [stdout] 374 + fn connect(&self) -> Pin>> + Send>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:304:36 [INFO] [stdout] | [INFO] [stdout] 304 | fn create_savepoint(&mut self, name: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/lib.rs:308:36 [INFO] [stdout] | [INFO] [stdout] 308 | fn create_statement(&mut self, sql: &str) -> Result + '_>> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:326:37 [INFO] [stdout] | [INFO] [stdout] 326 | fn release_savepoint(&mut self, name: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:334:53 [INFO] [stdout] | [INFO] [stdout] 334 | fn rollback_transaction_to_savepoint(&mut self, name: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commit` [INFO] [stdout] --> src/lib.rs:338:31 [INFO] [stdout] | [INFO] [stdout] 338 | fn auto_commit(&mut self, commit: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_commit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isolation_level` [INFO] [stdout] --> src/lib.rs:342:51 [INFO] [stdout] | [INFO] [stdout] 342 | fn set_transaction_isolation_level(&mut self, isolation_level: IsolationLevel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_isolation_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/lib.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | let query = self.client.simple_query("SELECT 1"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/lib.rs:346:28 [INFO] [stdout] | [INFO] [stdout] 346 | fn validate(&mut self, depth: ValidationDepth) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_factory_options` [INFO] [stdout] --> src/lib.rs:418:15 [INFO] [stdout] | [INFO] [stdout] 418 | fn create(connection_factory_options: ConnectionFactoryOptions) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_factory_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attribute` [INFO] [stdout] --> src/lib.rs:484:29 [INFO] [stdout] | [INFO] [stdout] 484 | fn get_attribute(&self, attribute: &str) -> OptionValue { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_rsdbc_err` is never used [INFO] [stdout] --> src/lib.rs:426:4 [INFO] [stdout] | [INFO] [stdout] 426 | fn to_rsdbc_err(e: postgres::error::Error) -> rsdbc_core::error::RsdbcErrors { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deferrable`, `non_deferrable`, `isolation_level`, `read_only`, and `read_write` are never used [INFO] [stdout] --> src/lib.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 454 | impl PostgresTransactionDefinition { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] 455 | [INFO] [stdout] 456 | fn deferrable(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | fn non_deferrable(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | fn isolation_level(&mut self, isolation_level: IsolationLevel) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | fn read_only(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | fn read_write(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::BoxFuture` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::future::BoxFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoTls` [INFO] [stdout] --> src/lib.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_postgres::{Client, NoTls}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_postgres::config::SslMode` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_postgres::config::SslMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Certificate` and `TlsConnector` [INFO] [stdout] --> src/lib.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use native_tls::{Certificate, TlsConnector}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `postgres_native_tls::MakeTlsConnector` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use postgres_native_tls::MakeTlsConnector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::time` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing_subscriber::fmt::time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rsdbc_core::error::RsdbcErrors` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rsdbc_core::error::RsdbcErrors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:374:65 [INFO] [stdout] | [INFO] [stdout] 374 | fn connect(&self) -> Pin>> + Send>> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - fn connect(&self) -> Pin>> + Send>> { [INFO] [stdout] 374 + fn connect(&self) -> Pin>> + Send>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:304:36 [INFO] [stdout] | [INFO] [stdout] 304 | fn create_savepoint(&mut self, name: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/lib.rs:308:36 [INFO] [stdout] | [INFO] [stdout] 308 | fn create_statement(&mut self, sql: &str) -> Result + '_>> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:326:37 [INFO] [stdout] | [INFO] [stdout] 326 | fn release_savepoint(&mut self, name: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:334:53 [INFO] [stdout] | [INFO] [stdout] 334 | fn rollback_transaction_to_savepoint(&mut self, name: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commit` [INFO] [stdout] --> src/lib.rs:338:31 [INFO] [stdout] | [INFO] [stdout] 338 | fn auto_commit(&mut self, commit: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_commit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isolation_level` [INFO] [stdout] --> src/lib.rs:342:51 [INFO] [stdout] | [INFO] [stdout] 342 | fn set_transaction_isolation_level(&mut self, isolation_level: IsolationLevel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_isolation_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/lib.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | let query = self.client.simple_query("SELECT 1"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/lib.rs:346:28 [INFO] [stdout] | [INFO] [stdout] 346 | fn validate(&mut self, depth: ValidationDepth) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_factory_options` [INFO] [stdout] --> src/lib.rs:418:15 [INFO] [stdout] | [INFO] [stdout] 418 | fn create(connection_factory_options: ConnectionFactoryOptions) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_factory_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attribute` [INFO] [stdout] --> src/lib.rs:484:29 [INFO] [stdout] | [INFO] [stdout] 484 | fn get_attribute(&self, attribute: &str) -> OptionValue { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_rsdbc_err` is never used [INFO] [stdout] --> src/lib.rs:426:4 [INFO] [stdout] | [INFO] [stdout] 426 | fn to_rsdbc_err(e: postgres::error::Error) -> rsdbc_core::error::RsdbcErrors { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deferrable`, `non_deferrable`, `isolation_level`, `read_only`, and `read_write` are never used [INFO] [stdout] --> src/lib.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 454 | impl PostgresTransactionDefinition { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] 455 | [INFO] [stdout] 456 | fn deferrable(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | fn non_deferrable(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | fn isolation_level(&mut self, isolation_level: IsolationLevel) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | fn read_only(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | fn read_write(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "ac375bbc73d1af5644d13ab8eb84fe9fa7209ad91928ec559612c96c20568907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac375bbc73d1af5644d13ab8eb84fe9fa7209ad91928ec559612c96c20568907", kill_on_drop: false }` [INFO] [stdout] ac375bbc73d1af5644d13ab8eb84fe9fa7209ad91928ec559612c96c20568907