[INFO] fetching crate rsdbc-postgres 0.0.1... [INFO] building rsdbc-postgres-0.0.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rsdbc-postgres 0.0.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsdbc-postgres 0.0.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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.17) [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-types v0.2.10 [INFO] [stderr] Downloaded phf_shared v0.13.1 [INFO] [stderr] Downloaded postgres-protocol v0.6.9 [INFO] [stderr] Downloaded sqlparser v0.12.0 [INFO] [stderr] Downloaded postgres v0.19.11 [INFO] [stderr] Downloaded phf v0.13.1 [INFO] [stderr] Downloaded tokio-postgres v0.7.14 [INFO] [stderr] Downloaded postgres-native-tls v0.5.2 [INFO] [stderr] Downloaded rsdbc-core v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f77f277e0e857fcdf13f2be5e1d29cc6dfc53fee8d39dd83485fc34b521dcc57 [INFO] running `Command { std: "docker" "start" "-a" "f77f277e0e857fcdf13f2be5e1d29cc6dfc53fee8d39dd83485fc34b521dcc57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f77f277e0e857fcdf13f2be5e1d29cc6dfc53fee8d39dd83485fc34b521dcc57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f77f277e0e857fcdf13f2be5e1d29cc6dfc53fee8d39dd83485fc34b521dcc57", kill_on_drop: false }` [INFO] [stdout] f77f277e0e857fcdf13f2be5e1d29cc6dfc53fee8d39dd83485fc34b521dcc57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a5b97c13c74d928c2b72be24fd8c5524f0fa1cb13fe6fca0e46c7b9c58ed907 [INFO] running `Command { std: "docker" "start" "-a" "7a5b97c13c74d928c2b72be24fd8c5524f0fa1cb13fe6fca0e46c7b9c58ed907", kill_on_drop: false }` [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rand_chacha v0.9.0 [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 openssl v0.10.73 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling sqlparser v0.12.0 [INFO] [stderr] Compiling postgres-protocol v0.6.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling postgres-types v0.2.10 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tokio-postgres v0.7.14 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rsdbc-core v0.0.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.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.02s [INFO] running `Command { std: "docker" "inspect" "7a5b97c13c74d928c2b72be24fd8c5524f0fa1cb13fe6fca0e46c7b9c58ed907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a5b97c13c74d928c2b72be24fd8c5524f0fa1cb13fe6fca0e46c7b9c58ed907", kill_on_drop: false }` [INFO] [stdout] 7a5b97c13c74d928c2b72be24fd8c5524f0fa1cb13fe6fca0e46c7b9c58ed907 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3158582f43c8f8f98626c91c24ae094490719325301abf33016bffab7f2cc601 [INFO] running `Command { std: "docker" "start" "-a" "3158582f43c8f8f98626c91c24ae094490719325301abf33016bffab7f2cc601", 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 1.09s [INFO] running `Command { std: "docker" "inspect" "3158582f43c8f8f98626c91c24ae094490719325301abf33016bffab7f2cc601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3158582f43c8f8f98626c91c24ae094490719325301abf33016bffab7f2cc601", kill_on_drop: false }` [INFO] [stdout] 3158582f43c8f8f98626c91c24ae094490719325301abf33016bffab7f2cc601