[INFO] fetching crate migrant_lib 0.34.0... [INFO] checking migrant_lib-0.34.0 against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] extracting crate migrant_lib 0.34.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate migrant_lib 0.34.0 on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate migrant_lib 0.34.0 [INFO] finished tweaking crates.io crate migrant_lib 0.34.0 [INFO] tweaked toml for crates.io crate migrant_lib 0.34.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate migrant_lib 0.34.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ahash v0.8.3 [INFO] [stderr] Downloaded postgres-native-tls v0.5.0 [INFO] [stderr] Downloaded frunk_proc_macros_impl v0.1.0 [INFO] [stderr] Downloaded twox-hash v1.6.2 [INFO] [stderr] Downloaded crossbeam-queue v0.3.3 [INFO] [stderr] Downloaded frunk_derives v0.4.0 [INFO] [stderr] Downloaded postgres v0.19.2 [INFO] [stderr] Downloaded lru v0.7.2 [INFO] [stderr] Downloaded wyz v0.4.0 [INFO] [stderr] Downloaded subprocess v0.2.8 [INFO] [stderr] Downloaded lexical-util v0.8.1 [INFO] [stderr] Downloaded lexical-write-float v0.8.2 [INFO] [stderr] Downloaded rusqlite v0.29.0 [INFO] [stderr] Downloaded rust_decimal v1.19.0 [INFO] [stderr] Downloaded mysql_common v0.28.0 [INFO] [stderr] Downloaded mysql v22.0.0 [INFO] [stderr] Downloaded lexical-write-integer v0.8.0 [INFO] [stderr] Downloaded bindgen v0.58.1 [INFO] [stderr] Downloaded bitvec v0.22.3 [INFO] [stderr] Downloaded lexical-parse-float v0.8.2 [INFO] [stderr] Downloaded time v0.3.5 [INFO] [stderr] Downloaded postgres-protocol v0.6.3 [INFO] [stderr] Downloaded tokio-util v0.6.9 [INFO] [stderr] Downloaded tokio-postgres v0.7.5 [INFO] [stderr] Downloaded lexical v6.0.1 [INFO] [stderr] Downloaded md-5 v0.10.0 [INFO] [stderr] Downloaded bigdecimal v0.3.0 [INFO] [stderr] Downloaded cmake v0.1.48 [INFO] [stderr] Downloaded frunk_core v0.4.0 [INFO] [stderr] Downloaded frunk v0.4.0 [INFO] [stderr] Downloaded lexical-core v0.8.2 [INFO] [stderr] Downloaded fastrand v1.6.0 [INFO] [stderr] Downloaded tokio v1.15.0 [INFO] [stderr] Downloaded siphasher v0.3.7 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.0 [INFO] [stderr] Downloaded frunk_proc_macros v0.1.0 [INFO] [stderr] Downloaded lexical-parse-integer v0.8.0 [INFO] [stderr] Downloaded postgres-types v0.2.2 [INFO] [stderr] Downloaded io-enum v1.0.1 [INFO] [stderr] Downloaded funty v1.2.0 [INFO] [stderr] Downloaded sha2 v0.10.1 [INFO] [stderr] Downloaded libz-sys v1.1.3 [INFO] [stderr] Downloaded libsqlite3-sys v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ca671a326b0b64d22fe5e5761ea4e230d72748d63e1673d60e0ab891423a0a1 [INFO] running `Command { std: "docker" "start" "-a" "3ca671a326b0b64d22fe5e5761ea4e230d72748d63e1673d60e0ab891423a0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ca671a326b0b64d22fe5e5761ea4e230d72748d63e1673d60e0ab891423a0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ca671a326b0b64d22fe5e5761ea4e230d72748d63e1673d60e0ab891423a0a1", kill_on_drop: false }` [INFO] [stdout] 3ca671a326b0b64d22fe5e5761ea4e230d72748d63e1673d60e0ab891423a0a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef681fd884336b1025da6c324b8f65ee21ed1a94857e61fdf553cf9e90f04b77 [INFO] running `Command { std: "docker" "start" "-a" "ef681fd884336b1025da6c324b8f65ee21ed1a94857e61fdf553cf9e90f04b77", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking migrant_lib v0.34.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/drivers/mysql.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/drivers/pg.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/drivers/sqlite.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/drivers/sqlite.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/drivers/mysql.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/drivers/pg.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/drivers/sqlite.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/drivers/sqlite.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn can_connect(conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn migration_table_exists(conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn migration_setup(conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn select_migrations(conn_str: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn insert_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/mysql.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn insert_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn remove_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/mysql.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn remove_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn run_migration(conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/drivers/mysql.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn run_migration(conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn run_migration_str(conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/drivers/mysql.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn run_migration_str(conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn can_connect(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn can_connect(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn migration_table_exists(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn migration_table_exists(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn migration_setup(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn migration_setup(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn select_migrations(cert: Option<&Path>, conn_str: &str) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn select_migrations(cert: Option<&Path>, conn_str: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/pg.rs:25:70 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/pg.rs:28:70 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:31:47 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/drivers/pg.rs:31:63 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/drivers/pg.rs:34:67 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/drivers/sqlite.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn create_file_if_missing(path: &Path) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn migration_table_exists(db_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn migration_setup(db_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn select_migrations(db_path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn insert_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/sqlite.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn insert_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn remove_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/sqlite.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn remove_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run_migration(db_path: &Path, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/drivers/sqlite.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run_migration(db_path: &Path, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn run_migration_str(db_path: &Path, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/drivers/sqlite.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn run_migration_str(db_path: &Path, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn can_connect(conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn migration_table_exists(conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn migration_setup(conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn select_migrations(conn_str: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn insert_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/mysql.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn insert_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn remove_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/mysql.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn remove_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn run_migration(conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/drivers/mysql.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn run_migration(conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn run_migration_str(conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/drivers/mysql.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn run_migration_str(conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn can_connect(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn can_connect(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn migration_table_exists(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn migration_table_exists(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn migration_setup(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn migration_setup(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn select_migrations(cert: Option<&Path>, conn_str: &str) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn select_migrations(cert: Option<&Path>, conn_str: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/pg.rs:25:70 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/pg.rs:28:70 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:31:47 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/drivers/pg.rs:31:63 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/drivers/pg.rs:34:67 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/drivers/sqlite.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn create_file_if_missing(path: &Path) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn migration_table_exists(db_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn migration_setup(db_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn select_migrations(db_path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn insert_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/sqlite.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn insert_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn remove_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/sqlite.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn remove_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run_migration(db_path: &Path, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/drivers/sqlite.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run_migration(db_path: &Path, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn run_migration_str(db_path: &Path, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/drivers/sqlite.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn run_migration_str(db_path: &Path, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CREATE_TABLE` is never used [INFO] [stdout] --> src/drivers/mod.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub static CREATE_TABLE: &str = "create table __migrant_migrations(tag text unique);"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MYSQL_CREATE_TABLE` is never used [INFO] [stdout] --> src/drivers/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub static MYSQL_CREATE_TABLE: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GET_MIGRATIONS` is never used [INFO] [stdout] --> src/drivers/mod.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub static GET_MIGRATIONS: &str = "select tag from __migrant_migrations;"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SQLITE_MIGRATION_TABLE_EXISTS` is never used [INFO] [stdout] --> src/drivers/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub static SQLITE_MIGRATION_TABLE_EXISTS: &str = "select exists(select 1 from sqlite_master where type = 'table' and name = '__migran... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PG_MIGRATION_TABLE_EXISTS` is never used [INFO] [stdout] --> src/drivers/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub static PG_MIGRATION_TABLE_EXISTS: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MYSQL_MIGRATION_TABLE_EXISTS` is never used [INFO] [stdout] --> src/drivers/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub static MYSQL_MIGRATION_TABLE_EXISTS: &str = "select exists(select 1 from information_schema.tables where table_name='__migrant_mi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CREATE_TABLE` is never used [INFO] [stdout] --> src/drivers/mod.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub static CREATE_TABLE: &str = "create table __migrant_migrations(tag text unique);"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MYSQL_CREATE_TABLE` is never used [INFO] [stdout] --> src/drivers/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub static MYSQL_CREATE_TABLE: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GET_MIGRATIONS` is never used [INFO] [stdout] --> src/drivers/mod.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub static GET_MIGRATIONS: &str = "select tag from __migrant_migrations;"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SQLITE_MIGRATION_TABLE_EXISTS` is never used [INFO] [stdout] --> src/drivers/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub static SQLITE_MIGRATION_TABLE_EXISTS: &str = "select exists(select 1 from sqlite_master where type = 'table' and name = '__migran... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PG_MIGRATION_TABLE_EXISTS` is never used [INFO] [stdout] --> src/drivers/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub static PG_MIGRATION_TABLE_EXISTS: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MYSQL_MIGRATION_TABLE_EXISTS` is never used [INFO] [stdout] --> src/drivers/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub static MYSQL_MIGRATION_TABLE_EXISTS: &str = "select exists(select 1 from information_schema.tables where table_name='__migrant_mi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.09s [INFO] running `Command { std: "docker" "inspect" "ef681fd884336b1025da6c324b8f65ee21ed1a94857e61fdf553cf9e90f04b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef681fd884336b1025da6c324b8f65ee21ed1a94857e61fdf553cf9e90f04b77", kill_on_drop: false }` [INFO] [stdout] ef681fd884336b1025da6c324b8f65ee21ed1a94857e61fdf553cf9e90f04b77 [INFO] checking migrant_lib-0.34.0 against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] extracting crate migrant_lib 0.34.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate migrant_lib 0.34.0 on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate migrant_lib 0.34.0 [INFO] finished tweaking crates.io crate migrant_lib 0.34.0 [INFO] tweaked toml for crates.io crate migrant_lib 0.34.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate migrant_lib 0.34.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f14ea77e35721e5dbd297bba637e688130faecb2e4a4454f2e6d290c93e0bb83 [INFO] running `Command { std: "docker" "start" "-a" "f14ea77e35721e5dbd297bba637e688130faecb2e4a4454f2e6d290c93e0bb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f14ea77e35721e5dbd297bba637e688130faecb2e4a4454f2e6d290c93e0bb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f14ea77e35721e5dbd297bba637e688130faecb2e4a4454f2e6d290c93e0bb83", kill_on_drop: false }` [INFO] [stdout] f14ea77e35721e5dbd297bba637e688130faecb2e4a4454f2e6d290c93e0bb83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c92573b502c544b2258862d2ec114a782d379cb88e541604bd68b5f0d6e5f55c [INFO] running `Command { std: "docker" "start" "-a" "c92573b502c544b2258862d2ec114a782d379cb88e541604bd68b5f0d6e5f55c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking migrant_lib v0.34.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/drivers/mysql.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/drivers/pg.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/drivers/sqlite.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/drivers/sqlite.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/drivers/mysql.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/drivers/pg.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/drivers/sqlite.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/drivers/sqlite.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn can_connect(conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn migration_table_exists(conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn migration_setup(conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn select_migrations(conn_str: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn insert_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/mysql.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn insert_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn remove_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/mysql.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn remove_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn run_migration(conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/drivers/mysql.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn run_migration(conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn run_migration_str(conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/drivers/mysql.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn run_migration_str(conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn can_connect(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn can_connect(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn migration_table_exists(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn migration_table_exists(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn migration_setup(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn migration_setup(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn select_migrations(cert: Option<&Path>, conn_str: &str) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn select_migrations(cert: Option<&Path>, conn_str: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/pg.rs:25:70 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/pg.rs:28:70 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:31:47 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/drivers/pg.rs:31:63 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/drivers/pg.rs:34:67 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/drivers/sqlite.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn create_file_if_missing(path: &Path) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn migration_table_exists(db_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn migration_setup(db_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn select_migrations(db_path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn insert_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/sqlite.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn insert_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn remove_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/sqlite.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn remove_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run_migration(db_path: &Path, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/drivers/sqlite.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run_migration(db_path: &Path, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn run_migration_str(db_path: &Path, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/drivers/sqlite.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn run_migration_str(db_path: &Path, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn can_connect(conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn migration_table_exists(conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn migration_setup(conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn select_migrations(conn_str: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn insert_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/mysql.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn insert_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn remove_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/mysql.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn remove_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn run_migration(conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/drivers/mysql.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn run_migration(conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/mysql.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn run_migration_str(conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/drivers/mysql.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn run_migration_str(conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn can_connect(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn can_connect(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn migration_table_exists(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn migration_table_exists(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn migration_setup(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn migration_setup(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn select_migrations(cert: Option<&Path>, conn_str: &str) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn select_migrations(cert: Option<&Path>, conn_str: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/pg.rs:25:70 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/pg.rs:28:70 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:31:47 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/drivers/pg.rs:31:63 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/drivers/pg.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_str` [INFO] [stdout] --> src/drivers/pg.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/drivers/pg.rs:34:67 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/drivers/sqlite.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn create_file_if_missing(path: &Path) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn migration_table_exists(db_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn migration_setup(db_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn select_migrations(db_path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn insert_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/sqlite.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn insert_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn remove_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/drivers/sqlite.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn remove_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run_migration(db_path: &Path, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/drivers/sqlite.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run_migration(db_path: &Path, filename: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_path` [INFO] [stdout] --> src/drivers/sqlite.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn run_migration_str(db_path: &Path, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/drivers/sqlite.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn run_migration_str(db_path: &Path, stmt: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CREATE_TABLE` is never used [INFO] [stdout] --> src/drivers/mod.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub static CREATE_TABLE: &str = "create table __migrant_migrations(tag text unique);"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MYSQL_CREATE_TABLE` is never used [INFO] [stdout] --> src/drivers/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub static MYSQL_CREATE_TABLE: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GET_MIGRATIONS` is never used [INFO] [stdout] --> src/drivers/mod.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub static GET_MIGRATIONS: &str = "select tag from __migrant_migrations;"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SQLITE_MIGRATION_TABLE_EXISTS` is never used [INFO] [stdout] --> src/drivers/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub static SQLITE_MIGRATION_TABLE_EXISTS: &str = "select exists(select 1 from sqlite_master where type = 'table' and name = '__migran... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PG_MIGRATION_TABLE_EXISTS` is never used [INFO] [stdout] --> src/drivers/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub static PG_MIGRATION_TABLE_EXISTS: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MYSQL_MIGRATION_TABLE_EXISTS` is never used [INFO] [stdout] --> src/drivers/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub static MYSQL_MIGRATION_TABLE_EXISTS: &str = "select exists(select 1 from information_schema.tables where table_name='__migrant_mi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CREATE_TABLE` is never used [INFO] [stdout] --> src/drivers/mod.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub static CREATE_TABLE: &str = "create table __migrant_migrations(tag text unique);"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MYSQL_CREATE_TABLE` is never used [INFO] [stdout] --> src/drivers/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub static MYSQL_CREATE_TABLE: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GET_MIGRATIONS` is never used [INFO] [stdout] --> src/drivers/mod.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub static GET_MIGRATIONS: &str = "select tag from __migrant_migrations;"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SQLITE_MIGRATION_TABLE_EXISTS` is never used [INFO] [stdout] --> src/drivers/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub static SQLITE_MIGRATION_TABLE_EXISTS: &str = "select exists(select 1 from sqlite_master where type = 'table' and name = '__migran... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PG_MIGRATION_TABLE_EXISTS` is never used [INFO] [stdout] --> src/drivers/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub static PG_MIGRATION_TABLE_EXISTS: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MYSQL_MIGRATION_TABLE_EXISTS` is never used [INFO] [stdout] --> src/drivers/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub static MYSQL_MIGRATION_TABLE_EXISTS: &str = "select exists(select 1 from information_schema.tables where table_name='__migrant_mi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.72s [INFO] running `Command { std: "docker" "inspect" "c92573b502c544b2258862d2ec114a782d379cb88e541604bd68b5f0d6e5f55c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c92573b502c544b2258862d2ec114a782d379cb88e541604bd68b5f0d6e5f55c", kill_on_drop: false }` [INFO] [stdout] c92573b502c544b2258862d2ec114a782d379cb88e541604bd68b5f0d6e5f55c