[INFO] fetching crate rsdbc-sqlite 0.0.1... [INFO] testing rsdbc-sqlite-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rsdbc-sqlite 0.0.1 into /workspace/builds/worker-1-tc1/source [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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsdbc-sqlite 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 115 packages to latest compatible versions [INFO] [stderr] Adding rusqlite v0.26.3 (available: v0.36.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding tracing-subscriber v0.2.25 (available: v0.3.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rsdbc-core v0.0.1 [INFO] [stderr] Downloaded rusqlite v0.26.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d36f262c772fe746279144462ff7acc3891199be5f702b845bbd65bbb1f74305 [INFO] running `Command { std: "docker" "start" "-a" "d36f262c772fe746279144462ff7acc3891199be5f702b845bbd65bbb1f74305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d36f262c772fe746279144462ff7acc3891199be5f702b845bbd65bbb1f74305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d36f262c772fe746279144462ff7acc3891199be5f702b845bbd65bbb1f74305", kill_on_drop: false }` [INFO] [stdout] d36f262c772fe746279144462ff7acc3891199be5f702b845bbd65bbb1f74305 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fc53a0e48a78a4a77160201144ae754b8fafbb507c46f2ac54525ed2a71cdf2f [INFO] running `Command { std: "docker" "start" "-a" "fc53a0e48a78a4a77160201144ae754b8fafbb507c46f2ac54525ed2a71cdf2f", kill_on_drop: false }` [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling 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` and `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` and `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` and `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/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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: function `to_rsdbc_err` is never used [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: method `drop` is never used [INFO] [stdout] --> src/lib.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl SqliteConnection { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | fn drop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stmt` is never read [INFO] [stdout] --> src/lib.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct SqliteStatement<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 258 | stmt: rusqlite::Statement<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqliteResultSet` is never constructed [INFO] [stdout] --> src/lib.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | struct SqliteResultSet<'stmt> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqliteDatabaseMetadata` is never constructed [INFO] [stdout] --> src/lib.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | struct SqliteDatabaseMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_rsdbc_type` is never used [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: method `as_str` is never used [INFO] [stdout] --> src/options/auto_vacuum.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SqliteAutoVacuum { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/options/journal_mode.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl SqliteJournalMode { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/options/locking_mode.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SqliteLockingMode { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/options/synchronous.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SqliteSynchronous { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RO`, `RWC`, and `MEMORY` are never constructed [INFO] [stdout] --> src/options/mode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 7 | RO, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | RW, [INFO] [stdout] 9 | RWC, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | MEMORY, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/options/mode.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl Mode { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.55s [INFO] running `Command { std: "docker" "inspect" "fc53a0e48a78a4a77160201144ae754b8fafbb507c46f2ac54525ed2a71cdf2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc53a0e48a78a4a77160201144ae754b8fafbb507c46f2ac54525ed2a71cdf2f", kill_on_drop: false }` [INFO] [stdout] fc53a0e48a78a4a77160201144ae754b8fafbb507c46f2ac54525ed2a71cdf2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 085d791c1c710fa63b61fe8043e14f76843ac7dd939e2cede90e15323a21e0d2 [INFO] running `Command { std: "docker" "start" "-a" "085d791c1c710fa63b61fe8043e14f76843ac7dd939e2cede90e15323a21e0d2", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `SqliteConnection` and `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` and `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` and `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/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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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] [stderr] Compiling rsdbc-sqlite v0.0.1 (/opt/rustwide/workdir) [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: function `to_rsdbc_err` is never used [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: method `drop` is never used [INFO] [stdout] --> src/lib.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl SqliteConnection { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | fn drop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stmt` is never read [INFO] [stdout] --> src/lib.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct SqliteStatement<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 258 | stmt: rusqlite::Statement<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqliteResultSet` is never constructed [INFO] [stdout] --> src/lib.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | struct SqliteResultSet<'stmt> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqliteDatabaseMetadata` is never constructed [INFO] [stdout] --> src/lib.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | struct SqliteDatabaseMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_rsdbc_type` is never used [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: method `as_str` is never used [INFO] [stdout] --> src/options/auto_vacuum.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SqliteAutoVacuum { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/options/journal_mode.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl SqliteJournalMode { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/options/locking_mode.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SqliteLockingMode { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/options/synchronous.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SqliteSynchronous { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RO`, `RWC`, and `MEMORY` are never constructed [INFO] [stdout] --> src/options/mode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 7 | RO, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | RW, [INFO] [stdout] 9 | RWC, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | MEMORY, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/options/mode.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl Mode { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SqliteConnection` and `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` and `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` and `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] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `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] [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] [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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: function `to_rsdbc_err` is never used [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: method `drop` is never used [INFO] [stdout] --> src/lib.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl SqliteConnection { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | fn drop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stmt` is never read [INFO] [stdout] --> src/lib.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct SqliteStatement<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 258 | stmt: rusqlite::Statement<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqliteResultSet` is never constructed [INFO] [stdout] --> src/lib.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | struct SqliteResultSet<'stmt> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqliteDatabaseMetadata` is never constructed [INFO] [stdout] --> src/lib.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | struct SqliteDatabaseMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_rsdbc_type` is never used [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: method `as_str` is never used [INFO] [stdout] --> src/options/auto_vacuum.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SqliteAutoVacuum { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/options/journal_mode.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl SqliteJournalMode { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/options/locking_mode.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SqliteLockingMode { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/options/synchronous.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SqliteSynchronous { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RO`, `RWC`, and `MEMORY` are never constructed [INFO] [stdout] --> src/options/mode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 7 | RO, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | RW, [INFO] [stdout] 9 | RWC, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | MEMORY, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/options/mode.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl Mode { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "085d791c1c710fa63b61fe8043e14f76843ac7dd939e2cede90e15323a21e0d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "085d791c1c710fa63b61fe8043e14f76843ac7dd939e2cede90e15323a21e0d2", kill_on_drop: false }` [INFO] [stdout] 085d791c1c710fa63b61fe8043e14f76843ac7dd939e2cede90e15323a21e0d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dbe78d2a7efe8eae1f61c444057f93e362d815eb5ebc3347c1cb3c1f2165da75 [INFO] running `Command { std: "docker" "start" "-a" "dbe78d2a7efe8eae1f61c444057f93e362d815eb5ebc3347c1cb3c1f2165da75", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `SqliteConnection` and `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` and `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` and `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/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] = note: `#[warn(unused_variables)]` on by default [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: 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] 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: function `to_rsdbc_err` is never used [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: method `drop` is never used [INFO] [stderr] --> src/lib.rs:98:8 [INFO] [stderr] | [INFO] [stderr] 85 | impl SqliteConnection { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 98 | fn drop(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `stmt` is never read [INFO] [stderr] --> src/lib.rs:258:5 [INFO] [stderr] | [INFO] [stderr] 257 | pub struct SqliteStatement<'a> { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 258 | stmt: rusqlite::Statement<'a>, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SqliteResultSet` is never constructed [INFO] [stderr] --> src/lib.rs:295:8 [INFO] [stderr] | [INFO] [stderr] 295 | struct SqliteResultSet<'stmt> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SqliteDatabaseMetadata` is never constructed [INFO] [stderr] --> src/lib.rs:299:8 [INFO] [stderr] | [INFO] [stderr] 299 | struct SqliteDatabaseMetadata { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `to_rsdbc_type` is never used [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: method `as_str` is never used [INFO] [stderr] --> src/options/auto_vacuum.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 11 | impl SqliteAutoVacuum { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/options/journal_mode.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 14 | impl SqliteJournalMode { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] 15 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/options/locking_mode.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 11 | impl SqliteLockingMode { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/options/synchronous.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 11 | impl SqliteSynchronous { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] 12 | pub(crate) fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `RO`, `RWC`, and `MEMORY` are never constructed [INFO] [stderr] --> src/options/mode.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum Mode { [INFO] [stderr] | ---- variants in this enum [INFO] [stderr] 7 | RO, [INFO] [stderr] | ^^ [INFO] [stderr] 8 | RW, [INFO] [stderr] 9 | RWC, [INFO] [stderr] | ^^^ [INFO] [stderr] 10 | MEMORY, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Mode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/options/mode.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 14 | impl Mode { [INFO] [stderr] | --------- method in this implementation [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] warning: unused imports: `collections::HashMap` and `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] 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] warning: `rsdbc-sqlite` (lib) generated 56 warnings (run `cargo fix --lib -p rsdbc-sqlite` to apply 13 suggestions) [INFO] [stderr] warning: `rsdbc-sqlite` (lib test) generated 59 warnings (56 duplicates) (run `cargo fix --lib -p rsdbc-sqlite --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rsdbc_sqlite-43891afffd6c425d) [INFO] [stdout] running 5 tests [INFO] [stdout] test options::parse::from_str ... ok [INFO] [stdout] test options::parse::parse_read_only ... ok [INFO] [stdout] test options::parse::parse_shared_in_memory ... ok [INFO] [stdout] test tests::execute_query ... ok [INFO] [stdout] test options::parse::parse_in_memory ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dbe78d2a7efe8eae1f61c444057f93e362d815eb5ebc3347c1cb3c1f2165da75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbe78d2a7efe8eae1f61c444057f93e362d815eb5ebc3347c1cb3c1f2165da75", kill_on_drop: false }` [INFO] [stdout] dbe78d2a7efe8eae1f61c444057f93e362d815eb5ebc3347c1cb3c1f2165da75