[INFO] fetching crate rsdbc-sqlite 0.0.1... [INFO] testing rsdbc-sqlite-0.0.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate rsdbc-sqlite 0.0.1 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate rsdbc-sqlite 0.0.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rsdbc-sqlite 0.0.1 [INFO] finished tweaking crates.io crate rsdbc-sqlite 0.0.1 [INFO] tweaked toml for crates.io crate rsdbc-sqlite 0.0.1 written to /workspace/builds/worker-20/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bffe0dd9e9ad741c36e87ec2e08da3c30da009e6662664db5440ee4297c8ece [INFO] running `Command { std: "docker" "start" "-a" "6bffe0dd9e9ad741c36e87ec2e08da3c30da009e6662664db5440ee4297c8ece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bffe0dd9e9ad741c36e87ec2e08da3c30da009e6662664db5440ee4297c8ece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bffe0dd9e9ad741c36e87ec2e08da3c30da009e6662664db5440ee4297c8ece", kill_on_drop: false }` [INFO] [stdout] 6bffe0dd9e9ad741c36e87ec2e08da3c30da009e6662664db5440ee4297c8ece [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0b59dc772f2b8bfb6542b37a3d7380876d0e05e7f016790710d3ffc8da41884 [INFO] running `Command { std: "docker" "start" "-a" "d0b59dc772f2b8bfb6542b37a3d7380876d0e05e7f016790710d3ffc8da41884", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling rsdbc-core v0.0.1 [INFO] [stderr] Compiling rusqlite v0.26.3 [INFO] [stderr] Compiling rsdbc-sqlite v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SqliteConnection`, `to_rsdbc_err` [INFO] [stdout] --> src/options/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::{SqliteConnection, to_rsdbc_err}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::BoxFuture` [INFO] [stdout] --> src/options/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use futures::future::BoxFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection`, `OpenFlags` [INFO] [stdout] --> src/options/mod.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | use rusqlite::{Connection, OpenFlags}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/options/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::params` [INFO] [stdout] --> src/options/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rusqlite::params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/options/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectionFactoryOptions` [INFO] [stdout] --> src/options/mod.rs:28:76 [INFO] [stdout] | [INFO] [stdout] 28 | use rsdbc_core::connection::{ConnectionFactory, ConnectionFactoryMetadata, ConnectionFactoryOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rsdbc_core::error::RsdbcErrors` [INFO] [stdout] --> src/options/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use rsdbc_core::error::RsdbcErrors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionBehavior` [INFO] [stdout] --> src/lib.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use rusqlite::{Rows, TransactionBehavior}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::connection::SqliteConnectionMetadata` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::connection::SqliteConnectionMetadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::Error as RusqliteError` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rusqlite::Error as RusqliteError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/lib.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | 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:212:37 [INFO] [stdout] | [INFO] [stdout] 212 | 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:224:53 [INFO] [stdout] | [INFO] [stdout] 224 | 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:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | 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:237:51 [INFO] [stdout] | [INFO] [stdout] 237 | 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: `depth` [INFO] [stdout] --> src/lib.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 245 | 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: `index` [INFO] [stdout] --> src/lib.rs:266:33 [INFO] [stdout] | [INFO] [stdout] 266 | fn bind_index(&mut self, index: u32, value: T) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:266:45 [INFO] [stdout] | [INFO] [stdout] 266 | fn bind_index(&mut self, index: u32, value: T) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:270:32 [INFO] [stdout] | [INFO] [stdout] 270 | fn bind_name(&mut self, name: &str, value: T) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:270:44 [INFO] [stdout] | [INFO] [stdout] 270 | fn bind_name(&mut self, name: &str, value: T) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lib.rs:274:35 [INFO] [stdout] | [INFO] [stdout] 274 | fn bind_null_index(&mut self, index: u32) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:278:34 [INFO] [stdout] | [INFO] [stdout] 278 | fn bind_null_name(&mut self, name: &str) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/lib.rs:286:43 [INFO] [stdout] | [INFO] [stdout] 286 | fn return_generated_values(&mut self, columns: &[&str]) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/lib.rs:290:30 [INFO] [stdout] | [INFO] [stdout] 290 | fn fetch_size(&mut self, rows: u32) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 316 | fn get_bool(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:320:22 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_i8(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | fn get_i16(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:328:23 [INFO] [stdout] | [INFO] [stdout] 328 | fn get_i32(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | fn get_i64(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:336:23 [INFO] [stdout] | [INFO] [stdout] 336 | fn get_f32(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:340:23 [INFO] [stdout] | [INFO] [stdout] 340 | fn get_f64(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:344:26 [INFO] [stdout] | [INFO] [stdout] 344 | fn get_string(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | fn get_bytes(&self, i: u64) -> Result>> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/connection.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | fn create_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: `sql` [INFO] [stdout] --> src/connection.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | fn create_statement(&mut self, sql: &str) -> rsdbc_core::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/connection.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | 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/connection.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 54 | 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/connection.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | 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/connection.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | 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: `depth` [INFO] [stdout] --> src/connection.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | 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: function is never used: `to_rsdbc_err` [INFO] [stdout] --> src/lib.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn to_rsdbc_err(e: rusqlite::Error) -> rsdbc_core::error::RsdbcErrors { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drop` [INFO] [stdout] --> src/lib.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn drop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stmt` [INFO] [stdout] --> src/lib.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | stmt: rusqlite::Statement<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rows` [INFO] [stdout] --> src/lib.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | rows: Rows<'stmt>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_rsdbc_type` [INFO] [stdout] --> src/lib.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_rsdbc_type(t: Option<&str>) -> rsdbc_core::DataType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/auto_vacuum.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/journal_mode.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/locking_mode.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/synchronous.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RO` [INFO] [stdout] --> src/options/mode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | RO, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/options/mode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RWC` [INFO] [stdout] --> src/options/mode.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | RWC, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/options/mode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MEMORY` [INFO] [stdout] --> src/options/mode.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | MEMORY, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/options/mode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/mode.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.34s [INFO] running `Command { std: "docker" "inspect" "d0b59dc772f2b8bfb6542b37a3d7380876d0e05e7f016790710d3ffc8da41884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b59dc772f2b8bfb6542b37a3d7380876d0e05e7f016790710d3ffc8da41884", kill_on_drop: false }` [INFO] [stdout] d0b59dc772f2b8bfb6542b37a3d7380876d0e05e7f016790710d3ffc8da41884 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d42eb60ebb5404358a7d404b0dd720c3d4fdb3c9d5d6080690332090500b7896 [INFO] running `Command { std: "docker" "start" "-a" "d42eb60ebb5404358a7d404b0dd720c3d4fdb3c9d5d6080690332090500b7896", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `SqliteConnection`, `to_rsdbc_err` [INFO] [stdout] --> src/options/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::{SqliteConnection, to_rsdbc_err}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::BoxFuture` [INFO] [stdout] --> src/options/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use futures::future::BoxFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection`, `OpenFlags` [INFO] [stdout] --> src/options/mod.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | use rusqlite::{Connection, OpenFlags}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/options/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::params` [INFO] [stdout] --> src/options/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rusqlite::params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/options/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectionFactoryOptions` [INFO] [stdout] --> src/options/mod.rs:28:76 [INFO] [stdout] | [INFO] [stdout] 28 | use rsdbc_core::connection::{ConnectionFactory, ConnectionFactoryMetadata, ConnectionFactoryOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rsdbc_core::error::RsdbcErrors` [INFO] [stdout] --> src/options/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use rsdbc_core::error::RsdbcErrors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionBehavior` [INFO] [stdout] --> src/lib.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use rusqlite::{Rows, TransactionBehavior}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::connection::SqliteConnectionMetadata` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::connection::SqliteConnectionMetadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::Error as RusqliteError` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rusqlite::Error as RusqliteError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/lib.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | 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:212:37 [INFO] [stdout] | [INFO] [stdout] 212 | 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:224:53 [INFO] [stdout] | [INFO] [stdout] 224 | 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:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | 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:237:51 [INFO] [stdout] | [INFO] [stdout] 237 | 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: `depth` [INFO] [stdout] --> src/lib.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 245 | 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: `index` [INFO] [stdout] --> src/lib.rs:266:33 [INFO] [stdout] | [INFO] [stdout] 266 | fn bind_index(&mut self, index: u32, value: T) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:266:45 [INFO] [stdout] | [INFO] [stdout] 266 | fn bind_index(&mut self, index: u32, value: T) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:270:32 [INFO] [stdout] | [INFO] [stdout] 270 | fn bind_name(&mut self, name: &str, value: T) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:270:44 [INFO] [stdout] | [INFO] [stdout] 270 | fn bind_name(&mut self, name: &str, value: T) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lib.rs:274:35 [INFO] [stdout] | [INFO] [stdout] 274 | fn bind_null_index(&mut self, index: u32) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:278:34 [INFO] [stdout] | [INFO] [stdout] 278 | fn bind_null_name(&mut self, name: &str) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/lib.rs:286:43 [INFO] [stdout] | [INFO] [stdout] 286 | fn return_generated_values(&mut self, columns: &[&str]) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/lib.rs:290:30 [INFO] [stdout] | [INFO] [stdout] 290 | fn fetch_size(&mut self, rows: u32) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 316 | fn get_bool(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:320:22 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_i8(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | fn get_i16(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:328:23 [INFO] [stdout] | [INFO] [stdout] 328 | fn get_i32(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | fn get_i64(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:336:23 [INFO] [stdout] | [INFO] [stdout] 336 | fn get_f32(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:340:23 [INFO] [stdout] | [INFO] [stdout] 340 | fn get_f64(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:344:26 [INFO] [stdout] | [INFO] [stdout] 344 | fn get_string(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | fn get_bytes(&self, i: u64) -> Result>> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/connection.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | fn create_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: `sql` [INFO] [stdout] --> src/connection.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | fn create_statement(&mut self, sql: &str) -> rsdbc_core::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/connection.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | 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/connection.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 54 | 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/connection.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | 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/connection.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | 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: `depth` [INFO] [stdout] --> src/connection.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | 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: function is never used: `to_rsdbc_err` [INFO] [stdout] --> src/lib.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn to_rsdbc_err(e: rusqlite::Error) -> rsdbc_core::error::RsdbcErrors { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drop` [INFO] [stdout] --> src/lib.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn drop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stmt` [INFO] [stdout] --> src/lib.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | stmt: rusqlite::Statement<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rows` [INFO] [stdout] --> src/lib.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | rows: Rows<'stmt>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_rsdbc_type` [INFO] [stdout] --> src/lib.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_rsdbc_type(t: Option<&str>) -> rsdbc_core::DataType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/auto_vacuum.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/journal_mode.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/locking_mode.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/synchronous.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RO` [INFO] [stdout] --> src/options/mode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | RO, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/options/mode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RWC` [INFO] [stdout] --> src/options/mode.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | RWC, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/options/mode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MEMORY` [INFO] [stdout] --> src/options/mode.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | MEMORY, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/options/mode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/mode.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rsdbc-sqlite v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SqliteConnection`, `to_rsdbc_err` [INFO] [stdout] --> src/options/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::{SqliteConnection, to_rsdbc_err}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::BoxFuture` [INFO] [stdout] --> src/options/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use futures::future::BoxFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection`, `OpenFlags` [INFO] [stdout] --> src/options/mod.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | use rusqlite::{Connection, OpenFlags}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/options/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::params` [INFO] [stdout] --> src/options/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rusqlite::params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/options/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectionFactoryOptions` [INFO] [stdout] --> src/options/mod.rs:28:76 [INFO] [stdout] | [INFO] [stdout] 28 | use rsdbc_core::connection::{ConnectionFactory, ConnectionFactoryMetadata, ConnectionFactoryOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rsdbc_core::error::RsdbcErrors` [INFO] [stdout] --> src/options/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use rsdbc_core::error::RsdbcErrors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionBehavior` [INFO] [stdout] --> src/lib.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use rusqlite::{Rows, TransactionBehavior}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::connection::SqliteConnectionMetadata` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::connection::SqliteConnectionMetadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::Error as RusqliteError` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rusqlite::Error as RusqliteError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `sync::Arc` [INFO] [stdout] --> src/lib.rs:387:15 [INFO] [stdout] | [INFO] [stdout] 387 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::options::SqliteConnectOptions` [INFO] [stdout] --> src/lib.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | use crate::options::SqliteConnectOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/lib.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | 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:212:37 [INFO] [stdout] | [INFO] [stdout] 212 | 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:224:53 [INFO] [stdout] | [INFO] [stdout] 224 | 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:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | 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:237:51 [INFO] [stdout] | [INFO] [stdout] 237 | 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: `depth` [INFO] [stdout] --> src/lib.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 245 | 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: `index` [INFO] [stdout] --> src/lib.rs:266:33 [INFO] [stdout] | [INFO] [stdout] 266 | fn bind_index(&mut self, index: u32, value: T) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:266:45 [INFO] [stdout] | [INFO] [stdout] 266 | fn bind_index(&mut self, index: u32, value: T) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:270:32 [INFO] [stdout] | [INFO] [stdout] 270 | fn bind_name(&mut self, name: &str, value: T) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:270:44 [INFO] [stdout] | [INFO] [stdout] 270 | fn bind_name(&mut self, name: &str, value: T) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lib.rs:274:35 [INFO] [stdout] | [INFO] [stdout] 274 | fn bind_null_index(&mut self, index: u32) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:278:34 [INFO] [stdout] | [INFO] [stdout] 278 | fn bind_null_name(&mut self, name: &str) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/lib.rs:286:43 [INFO] [stdout] | [INFO] [stdout] 286 | fn return_generated_values(&mut self, columns: &[&str]) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/lib.rs:290:30 [INFO] [stdout] | [INFO] [stdout] 290 | fn fetch_size(&mut self, rows: u32) -> &mut Self where Self: Sized { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 316 | fn get_bool(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:320:22 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_i8(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | fn get_i16(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:328:23 [INFO] [stdout] | [INFO] [stdout] 328 | fn get_i32(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | fn get_i64(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:336:23 [INFO] [stdout] | [INFO] [stdout] 336 | fn get_f32(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:340:23 [INFO] [stdout] | [INFO] [stdout] 340 | fn get_f64(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:344:26 [INFO] [stdout] | [INFO] [stdout] 344 | fn get_string(&self, i: u64) -> Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | fn get_bytes(&self, i: u64) -> Result>> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/connection.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | fn create_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: `sql` [INFO] [stdout] --> src/connection.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | fn create_statement(&mut self, sql: &str) -> rsdbc_core::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/connection.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | 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/connection.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 54 | 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/connection.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | 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/connection.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | 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: `depth` [INFO] [stdout] --> src/connection.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | 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: function is never used: `to_rsdbc_err` [INFO] [stdout] --> src/lib.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn to_rsdbc_err(e: rusqlite::Error) -> rsdbc_core::error::RsdbcErrors { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drop` [INFO] [stdout] --> src/lib.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn drop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stmt` [INFO] [stdout] --> src/lib.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | stmt: rusqlite::Statement<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rows` [INFO] [stdout] --> src/lib.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | rows: Rows<'stmt>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_rsdbc_type` [INFO] [stdout] --> src/lib.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | fn to_rsdbc_type(t: Option<&str>) -> rsdbc_core::DataType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/auto_vacuum.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/journal_mode.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/locking_mode.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/synchronous.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RO` [INFO] [stdout] --> src/options/mode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | RO, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/options/mode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RWC` [INFO] [stdout] --> src/options/mode.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | RWC, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/options/mode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MEMORY` [INFO] [stdout] --> src/options/mode.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | MEMORY, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/options/mode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/options/mode.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.74s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rsdbc_sqlite-3fae3d69264c53fd) [INFO] running `Command { std: "docker" "inspect" "d42eb60ebb5404358a7d404b0dd720c3d4fdb3c9d5d6080690332090500b7896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d42eb60ebb5404358a7d404b0dd720c3d4fdb3c9d5d6080690332090500b7896", kill_on_drop: false }` [INFO] [stdout] d42eb60ebb5404358a7d404b0dd720c3d4fdb3c9d5d6080690332090500b7896 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf3c008790d810bd6dd3a272fae25f0cf2050c1e907397de2860c6d16eb076c2 [INFO] running `Command { std: "docker" "start" "-a" "bf3c008790d810bd6dd3a272fae25f0cf2050c1e907397de2860c6d16eb076c2", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `SqliteConnection`, `to_rsdbc_err` [INFO] [stderr] --> src/options/mod.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use crate::{SqliteConnection, to_rsdbc_err}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::future::BoxFuture` [INFO] [stderr] --> src/options/mod.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use futures::future::BoxFuture; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Connection`, `OpenFlags` [INFO] [stderr] --> src/options/mod.rs:24:16 [INFO] [stderr] | [INFO] [stderr] 24 | use rusqlite::{Connection, OpenFlags}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc`, `Mutex` [INFO] [stderr] --> src/options/mod.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | use std::sync::{Arc, Mutex}; [INFO] [stderr] | ^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rusqlite::params` [INFO] [stderr] --> src/options/mod.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use rusqlite::params; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/options/mod.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ConnectionFactoryOptions` [INFO] [stderr] --> src/options/mod.rs:28:76 [INFO] [stderr] | [INFO] [stderr] 28 | use rsdbc_core::connection::{ConnectionFactory, ConnectionFactoryMetadata, ConnectionFactoryOptions}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rsdbc_core::error::RsdbcErrors` [INFO] [stderr] --> src/options/mod.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use rsdbc_core::error::RsdbcErrors; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TransactionBehavior` [INFO] [stderr] --> src/lib.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | use rusqlite::{Rows, TransactionBehavior}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::connection::SqliteConnectionMetadata` [INFO] [stderr] --> src/lib.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::connection::SqliteConnectionMetadata; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rusqlite::Error as RusqliteError` [INFO] [stderr] --> src/lib.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use rusqlite::Error as RusqliteError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/lib.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/lib.rs:151:36 [INFO] [stderr] | [INFO] [stderr] 151 | fn create_savepoint(&mut self, name: &str) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sql` [INFO] [stderr] --> src/lib.rs:161:36 [INFO] [stderr] | [INFO] [stderr] 161 | fn create_statement(&mut self, sql: &str) -> Result + '_>> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/lib.rs:212:37 [INFO] [stderr] | [INFO] [stderr] 212 | fn release_savepoint(&mut self, name: &str) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/lib.rs:224:53 [INFO] [stderr] | [INFO] [stderr] 224 | fn rollback_transaction_to_savepoint(&mut self, name: String) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `commit` [INFO] [stderr] --> src/lib.rs:228:31 [INFO] [stderr] | [INFO] [stderr] 228 | fn auto_commit(&mut self, commit: bool) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_commit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `isolation_level` [INFO] [stderr] --> src/lib.rs:237:51 [INFO] [stderr] | [INFO] [stderr] 237 | fn set_transaction_isolation_level(&mut self, isolation_level: IsolationLevel) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_isolation_level` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `depth` [INFO] [stderr] --> src/lib.rs:245:28 [INFO] [stderr] | [INFO] [stderr] 245 | fn validate(&mut self, depth: ValidationDepth) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/lib.rs:266:33 [INFO] [stderr] | [INFO] [stderr] 266 | fn bind_index(&mut self, index: u32, value: T) -> &mut Self where Self: Sized { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/lib.rs:266:45 [INFO] [stderr] | [INFO] [stderr] 266 | fn bind_index(&mut self, index: u32, value: T) -> &mut Self where Self: Sized { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/lib.rs:270:32 [INFO] [stderr] | [INFO] [stderr] 270 | fn bind_name(&mut self, name: &str, value: T) -> &mut Self where Self: Sized { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/lib.rs:270:44 [INFO] [stderr] | [INFO] [stderr] 270 | fn bind_name(&mut self, name: &str, value: T) -> &mut Self where Self: Sized { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/lib.rs:274:35 [INFO] [stderr] | [INFO] [stderr] 274 | fn bind_null_index(&mut self, index: u32) -> &mut Self where Self: Sized { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/lib.rs:278:34 [INFO] [stderr] | [INFO] [stderr] 278 | fn bind_null_name(&mut self, name: &str) -> &mut Self where Self: Sized { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `columns` [INFO] [stderr] --> src/lib.rs:286:43 [INFO] [stderr] | [INFO] [stderr] 286 | fn return_generated_values(&mut self, columns: &[&str]) -> &mut Self where Self: Sized { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rows` [INFO] [stderr] --> src/lib.rs:290:30 [INFO] [stderr] | [INFO] [stderr] 290 | fn fetch_size(&mut self, rows: u32) -> &mut Self where Self: Sized { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:316:24 [INFO] [stderr] | [INFO] [stderr] 316 | fn get_bool(&self, i: u64) -> Result> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:320:22 [INFO] [stderr] | [INFO] [stderr] 320 | fn get_i8(&self, i: u64) -> Result> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:324:23 [INFO] [stderr] | [INFO] [stderr] 324 | fn get_i16(&self, i: u64) -> Result> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:328:23 [INFO] [stderr] | [INFO] [stderr] 328 | fn get_i32(&self, i: u64) -> Result> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:332:23 [INFO] [stderr] | [INFO] [stderr] 332 | fn get_i64(&self, i: u64) -> Result> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:336:23 [INFO] [stderr] | [INFO] [stderr] 336 | fn get_f32(&self, i: u64) -> Result> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:340:23 [INFO] [stderr] | [INFO] [stderr] 340 | fn get_f64(&self, i: u64) -> Result> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:344:26 [INFO] [stderr] | [INFO] [stderr] 344 | fn get_string(&self, i: u64) -> Result> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:348:25 [INFO] [stderr] | [INFO] [stderr] 348 | fn get_bytes(&self, i: u64) -> Result>> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/connection.rs:26:36 [INFO] [stderr] | [INFO] [stderr] 26 | fn create_savepoint(&mut self, name: &str) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sql` [INFO] [stderr] --> src/connection.rs:30:36 [INFO] [stderr] | [INFO] [stderr] 30 | fn create_statement(&mut self, sql: &str) -> rsdbc_core::Result + '_>> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/connection.rs:46:37 [INFO] [stderr] | [INFO] [stderr] 46 | fn release_savepoint(&mut self, name: &str) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/connection.rs:54:53 [INFO] [stderr] | [INFO] [stderr] 54 | fn rollback_transaction_to_savepoint(&mut self, name: String) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `commit` [INFO] [stderr] --> src/connection.rs:58:31 [INFO] [stderr] | [INFO] [stderr] 58 | fn auto_commit(&mut self, commit: bool) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_commit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `isolation_level` [INFO] [stderr] --> src/connection.rs:62:51 [INFO] [stderr] | [INFO] [stderr] 62 | fn set_transaction_isolation_level(&mut self, isolation_level: IsolationLevel) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_isolation_level` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `depth` [INFO] [stderr] --> src/connection.rs:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | fn validate(&mut self, depth: ValidationDepth) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `to_rsdbc_err` [INFO] [stderr] --> src/lib.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | fn to_rsdbc_err(e: rusqlite::Error) -> rsdbc_core::error::RsdbcErrors { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `drop` [INFO] [stderr] --> src/lib.rs:98:8 [INFO] [stderr] | [INFO] [stderr] 98 | fn drop(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `stmt` [INFO] [stderr] --> src/lib.rs:258:5 [INFO] [stderr] | [INFO] [stderr] 258 | stmt: rusqlite::Statement<'a>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rows` [INFO] [stderr] --> src/lib.rs:296:5 [INFO] [stderr] | [INFO] [stderr] 296 | rows: Rows<'stmt>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `to_rsdbc_type` [INFO] [stderr] --> src/lib.rs:353:4 [INFO] [stderr] | [INFO] [stderr] 353 | fn to_rsdbc_type(t: Option<&str>) -> rsdbc_core::DataType { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_str` [INFO] [stderr] --> src/options/auto_vacuum.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_str` [INFO] [stderr] --> src/options/journal_mode.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_str` [INFO] [stderr] --> src/options/locking_mode.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_str` [INFO] [stderr] --> src/options/synchronous.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RO` [INFO] [stderr] --> src/options/mode.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | RO, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/options/mode.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RWC` [INFO] [stderr] --> src/options/mode.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | RWC, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/options/mode.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MEMORY` [INFO] [stderr] --> src/options/mode.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | MEMORY, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/options/mode.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_str` [INFO] [stderr] --> src/options/mode.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/lib.rs:386:9 [INFO] [stderr] | [INFO] [stderr] 386 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/lib.rs:385:1 [INFO] [stderr] | [INFO] [stderr] 385 | mod tests { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `collections::HashMap`, `sync::Arc` [INFO] [stderr] --> src/lib.rs:387:15 [INFO] [stderr] | [INFO] [stderr] 387 | use std::{collections::HashMap, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/lib.rs:385:1 [INFO] [stderr] | [INFO] [stderr] 385 | mod tests { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::options::SqliteConnectOptions` [INFO] [stderr] --> src/lib.rs:388:9 [INFO] [stderr] | [INFO] [stderr] 388 | use crate::options::SqliteConnectOptions; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/lib.rs:385:1 [INFO] [stderr] | [INFO] [stderr] 385 | mod tests { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rsdbc-sqlite` (lib) generated 57 warnings [INFO] [stderr] warning: `rsdbc-sqlite` (lib test) generated 60 warnings (57 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rsdbc_sqlite-3fae3d69264c53fd) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test options::parse::from_str ... ok [INFO] [stdout] test options::parse::parse_in_memory ... ok [INFO] [stdout] test options::parse::parse_shared_in_memory ... ok [INFO] [stdout] test options::parse::parse_read_only ... ok [INFO] [stdout] test tests::execute_query ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rsdbc-sqlite [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bf3c008790d810bd6dd3a272fae25f0cf2050c1e907397de2860c6d16eb076c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf3c008790d810bd6dd3a272fae25f0cf2050c1e907397de2860c6d16eb076c2", kill_on_drop: false }` [INFO] [stdout] bf3c008790d810bd6dd3a272fae25f0cf2050c1e907397de2860c6d16eb076c2