[INFO] fetching crate migrant_lib 0.34.0... [INFO] testing migrant_lib-0.34.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate migrant_lib 0.34.0 into /workspace/builds/worker-2-tc1/source [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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate migrant_lib 0.34.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-protocol v0.6.3 [INFO] [stderr] Downloaded md-5 v0.10.0 [INFO] [stderr] Downloaded postgres v0.19.2 [INFO] [stderr] Downloaded hmac v0.12.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.5 [INFO] [stderr] Downloaded lexical-parse-integer v0.8.0 [INFO] [stderr] Downloaded lexical-core v0.8.2 [INFO] [stderr] Downloaded lexical-write-integer v0.8.0 [INFO] [stderr] Downloaded lexical-util v0.8.1 [INFO] [stderr] Downloaded lexical-write-float v0.8.2 [INFO] [stderr] Downloaded mysql v22.0.0 [INFO] [stderr] Downloaded mysql_common v0.28.0 [INFO] [stderr] Downloaded lexical-parse-float v0.8.2 [INFO] [stderr] Downloaded time v0.3.5 [INFO] [stderr] Downloaded lexical v6.0.1 [INFO] [stderr] Downloaded postgres-types v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b1e55a89eeb1219a7cc6d9425d0f8caf284016e824d30c40a41ab6f6066b948 [INFO] running `Command { std: "docker" "start" "-a" "7b1e55a89eeb1219a7cc6d9425d0f8caf284016e824d30c40a41ab6f6066b948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b1e55a89eeb1219a7cc6d9425d0f8caf284016e824d30c40a41ab6f6066b948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b1e55a89eeb1219a7cc6d9425d0f8caf284016e824d30c40a41ab6f6066b948", kill_on_drop: false }` [INFO] [stdout] 7b1e55a89eeb1219a7cc6d9425d0f8caf284016e824d30c40a41ab6f6066b948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d0c93c659187cda5cef1f99cbad419469ea977afbcd16a3aa57d67e3373f4fd [INFO] running `Command { std: "docker" "start" "-a" "3d0c93c659187cda5cef1f99cbad419469ea977afbcd16a3aa57d67e3373f4fd", kill_on_drop: false }` [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 num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / error_chain! { [INFO] [stdout] 21 | | foreign_links { [INFO] [stdout] 22 | | Io(std::io::Error); [INFO] [stdout] 23 | | StringUtf8Error(std::string::FromUtf8Error); [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/migratable.rs:19:69 [INFO] [stdout] | [INFO] [stdout] 19 | fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] 19 + fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/migratable.rs:25:71 [INFO] [stdout] | [INFO] [stdout] 25 | fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] 25 + fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/migration.rs:406:42 [INFO] [stdout] | [INFO] [stdout] 406 | ) -> std::result::Result<(), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 406 - ) -> std::result::Result<(), Box> { [INFO] [stdout] 406 + ) -> std::result::Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/migration.rs:419:42 [INFO] [stdout] | [INFO] [stdout] 419 | ) -> std::result::Result<(), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 419 - ) -> std::result::Result<(), Box> { [INFO] [stdout] 419 + ) -> std::result::Result<(), Box> { [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.95s [INFO] running `Command { std: "docker" "inspect" "3d0c93c659187cda5cef1f99cbad419469ea977afbcd16a3aa57d67e3373f4fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d0c93c659187cda5cef1f99cbad419469ea977afbcd16a3aa57d67e3373f4fd", kill_on_drop: false }` [INFO] [stdout] 3d0c93c659187cda5cef1f99cbad419469ea977afbcd16a3aa57d67e3373f4fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3847d03fec9401701995da529d14114c597fb47bf94c873ca146b4ecc96e068a [INFO] running `Command { std: "docker" "start" "-a" "3847d03fec9401701995da529d14114c597fb47bf94c873ca146b4ecc96e068a", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / error_chain! { [INFO] [stdout] 21 | | foreign_links { [INFO] [stdout] 22 | | Io(std::io::Error); [INFO] [stdout] 23 | | StringUtf8Error(std::string::FromUtf8Error); [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/migratable.rs:19:69 [INFO] [stdout] | [INFO] [stdout] 19 | fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] 19 + fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/migratable.rs:25:71 [INFO] [stdout] | [INFO] [stdout] 25 | fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] 25 + fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/migration.rs:406:42 [INFO] [stdout] | [INFO] [stdout] 406 | ) -> std::result::Result<(), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 406 - ) -> std::result::Result<(), Box> { [INFO] [stdout] 406 + ) -> std::result::Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/migration.rs:419:42 [INFO] [stdout] | [INFO] [stdout] 419 | ) -> std::result::Result<(), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 419 - ) -> std::result::Result<(), Box> { [INFO] [stdout] 419 + ) -> std::result::Result<(), Box> { [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / error_chain! { [INFO] [stdout] 21 | | foreign_links { [INFO] [stdout] 22 | | Io(std::io::Error); [INFO] [stdout] 23 | | StringUtf8Error(std::string::FromUtf8Error); [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/migratable.rs:19:69 [INFO] [stdout] | [INFO] [stdout] 19 | fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] 19 + fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/migratable.rs:25:71 [INFO] [stdout] | [INFO] [stdout] 25 | fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] 25 + fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/migration.rs:406:42 [INFO] [stdout] | [INFO] [stdout] 406 | ) -> std::result::Result<(), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 406 - ) -> std::result::Result<(), Box> { [INFO] [stdout] 406 + ) -> std::result::Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/migration.rs:419:42 [INFO] [stdout] | [INFO] [stdout] 419 | ) -> std::result::Result<(), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 419 - ) -> std::result::Result<(), Box> { [INFO] [stdout] 419 + ) -> std::result::Result<(), Box> { [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `Command { std: "docker" "inspect" "3847d03fec9401701995da529d14114c597fb47bf94c873ca146b4ecc96e068a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3847d03fec9401701995da529d14114c597fb47bf94c873ca146b4ecc96e068a", kill_on_drop: false }` [INFO] [stdout] 3847d03fec9401701995da529d14114c597fb47bf94c873ca146b4ecc96e068a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 344ce7597b5bc4b2fc3179ad68dd7c7dee7b16a26a240218e72e249194ac8390 [INFO] running `Command { std: "docker" "start" "-a" "344ce7597b5bc4b2fc3179ad68dd7c7dee7b16a26a240218e72e249194ac8390", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/drivers/mysql.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/drivers/pg.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/drivers/sqlite.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/drivers/sqlite.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stderr] --> src/errors.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / error_chain! { [INFO] [stderr] 21 | | foreign_links { [INFO] [stderr] 22 | | Io(std::io::Error); [INFO] [stderr] 23 | | StringUtf8Error(std::string::FromUtf8Error); [INFO] [stderr] ... | [INFO] [stderr] 72 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/migratable.rs:19:69 [INFO] [stderr] | [INFO] [stderr] 19 | fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 19 - fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stderr] 19 + fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/migratable.rs:25:71 [INFO] [stderr] | [INFO] [stderr] 25 | fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 25 - fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stderr] 25 + fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/migration.rs:406:42 [INFO] [stderr] | [INFO] [stderr] 406 | ) -> std::result::Result<(), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 406 - ) -> std::result::Result<(), Box> { [INFO] [stderr] 406 + ) -> std::result::Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/migration.rs:419:42 [INFO] [stderr] | [INFO] [stderr] 419 | ) -> std::result::Result<(), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 419 - ) -> std::result::Result<(), Box> { [INFO] [stderr] 419 + ) -> std::result::Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/mysql.rs:14:24 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn can_connect(conn_str: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/mysql.rs:17:35 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn migration_table_exists(conn_str: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/mysql.rs:20:28 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn migration_setup(conn_str: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/mysql.rs:23:30 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn select_migrations(conn_str: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/mysql.rs:26:33 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn insert_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tag` [INFO] [stderr] --> src/drivers/mysql.rs:26:49 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn insert_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/mysql.rs:29:33 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn remove_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tag` [INFO] [stderr] --> src/drivers/mysql.rs:29:49 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn remove_migration_tag(conn_str: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/mysql.rs:32:26 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn run_migration(conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/drivers/mysql.rs:32:42 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn run_migration(conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/mysql.rs:35:30 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn run_migration_str(conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stmt` [INFO] [stderr] --> src/drivers/mysql.rs:35:46 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn run_migration_str(conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cert` [INFO] [stderr] --> src/drivers/pg.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn can_connect(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/pg.rs:13:45 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn can_connect(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cert` [INFO] [stderr] --> src/drivers/pg.rs:16:35 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn migration_table_exists(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/pg.rs:16:56 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn migration_table_exists(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cert` [INFO] [stderr] --> src/drivers/pg.rs:19:28 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn migration_setup(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/pg.rs:19:49 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn migration_setup(cert: Option<&Path>, conn_str: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cert` [INFO] [stderr] --> src/drivers/pg.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn select_migrations(cert: Option<&Path>, conn_str: &str) -> Result> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/pg.rs:22:51 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn select_migrations(cert: Option<&Path>, conn_str: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cert` [INFO] [stderr] --> src/drivers/pg.rs:25:33 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/pg.rs:25:54 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tag` [INFO] [stderr] --> src/drivers/pg.rs:25:70 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn insert_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cert` [INFO] [stderr] --> src/drivers/pg.rs:28:33 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/pg.rs:28:54 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tag` [INFO] [stderr] --> src/drivers/pg.rs:28:70 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn remove_migration_tag(cert: Option<&Path>, conn_str: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cert` [INFO] [stderr] --> src/drivers/pg.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/pg.rs:31:47 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/drivers/pg.rs:31:63 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn run_migration(cert: Option<&Path>, conn_str: &str, filename: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cert` [INFO] [stderr] --> src/drivers/pg.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn_str` [INFO] [stderr] --> src/drivers/pg.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stmt` [INFO] [stderr] --> src/drivers/pg.rs:34:67 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn run_migration_str(cert: Option<&Path>, conn_str: &str, stmt: &str) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/drivers/sqlite.rs:12:35 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn create_file_if_missing(path: &Path) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_path` [INFO] [stderr] --> src/drivers/sqlite.rs:15:35 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn migration_table_exists(db_path: &str) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_path` [INFO] [stderr] --> src/drivers/sqlite.rs:18:28 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn migration_setup(db_path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_path` [INFO] [stderr] --> src/drivers/sqlite.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn select_migrations(db_path: &str) -> Result> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_path` [INFO] [stderr] --> src/drivers/sqlite.rs:24:33 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn insert_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tag` [INFO] [stderr] --> src/drivers/sqlite.rs:24:48 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn insert_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_path` [INFO] [stderr] --> src/drivers/sqlite.rs:27:33 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn remove_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tag` [INFO] [stderr] --> src/drivers/sqlite.rs:27:48 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn remove_migration_tag(db_path: &str, tag: &str) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_path` [INFO] [stderr] --> src/drivers/sqlite.rs:30:26 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn run_migration(db_path: &Path, filename: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/drivers/sqlite.rs:30:42 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn run_migration(db_path: &Path, filename: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_path` [INFO] [stderr] --> src/drivers/sqlite.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn run_migration_str(db_path: &Path, stmt: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stmt` [INFO] [stderr] --> src/drivers/sqlite.rs:33:46 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn run_migration_str(db_path: &Path, stmt: &str) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stderr] [INFO] [stderr] warning: static `CREATE_TABLE` is never used [INFO] [stderr] --> src/drivers/mod.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | pub static CREATE_TABLE: &str = "create table __migrant_migrations(tag text unique);"; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: static `MYSQL_CREATE_TABLE` is never used [INFO] [stderr] --> src/drivers/mod.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | pub static MYSQL_CREATE_TABLE: &str = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `GET_MIGRATIONS` is never used [INFO] [stderr] --> src/drivers/mod.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | pub static GET_MIGRATIONS: &str = "select tag from __migrant_migrations;"; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `SQLITE_MIGRATION_TABLE_EXISTS` is never used [INFO] [stderr] --> src/drivers/mod.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | pub static SQLITE_MIGRATION_TABLE_EXISTS: &str = "select exists(select 1 from sqlite_master where type = 'table' and name = '__migran... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `PG_MIGRATION_TABLE_EXISTS` is never used [INFO] [stderr] --> src/drivers/mod.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | pub static PG_MIGRATION_TABLE_EXISTS: &str = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `MYSQL_MIGRATION_TABLE_EXISTS` is never used [INFO] [stderr] --> src/drivers/mod.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | pub static MYSQL_MIGRATION_TABLE_EXISTS: &str = "select exists(select 1 from information_schema.tables where table_name='__migrant_mi... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `migrant_lib` (lib) generated 59 warnings (run `cargo fix --lib -p migrant_lib` to apply 8 suggestions) [INFO] [stderr] warning: `migrant_lib` (lib test) generated 59 warnings (59 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/migrant_lib-1e2b70ffd94fef6f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests migrant_lib [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/migratable.rs:19:69 [INFO] [stderr] | [INFO] [stderr] 19 | fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 19 - fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stderr] 19 + fn apply_up(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/migratable.rs:25:71 [INFO] [stderr] | [INFO] [stderr] 25 | fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 25 - fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stderr] 25 + fn apply_down(&self, _: DbKind, _: &Config) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/migration.rs:406:42 [INFO] [stderr] | [INFO] [stderr] 406 | ) -> std::result::Result<(), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 406 - ) -> std::result::Result<(), Box> { [INFO] [stderr] 406 + ) -> std::result::Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/migration.rs:419:42 [INFO] [stderr] | [INFO] [stderr] 419 | ) -> std::result::Result<(), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 419 - ) -> std::result::Result<(), Box> { [INFO] [stderr] 419 + ) -> std::result::Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/config.rs - config::Config::with_settings (line 1353) - compile ... ok [INFO] [stdout] test src/migration.rs - migration::EmbeddedMigration (line 192) - compile ... ok [INFO] [stdout] test src/config.rs - config::SettingsFileInitializer::with_mysql_options (line 115) - compile ... ok [INFO] [stdout] test src/migration.rs - migration::EmbeddedMigration (line 179) - compile ... ok [INFO] [stdout] test src/migration.rs - migration::FnMigration (line 330) - compile ... ok [INFO] [stdout] test src/config.rs - config::SettingsFileInitializer::with_sqlite_options (line 65) - compile ... ok [INFO] [stdout] test src/config.rs - config::SettingsFileInitializer::with_postgres_options (line 89) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 48) - compile ... ok [INFO] [stdout] test src/config.rs - config::Config::use_migrations (line 1173) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "344ce7597b5bc4b2fc3179ad68dd7c7dee7b16a26a240218e72e249194ac8390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "344ce7597b5bc4b2fc3179ad68dd7c7dee7b16a26a240218e72e249194ac8390", kill_on_drop: false }` [INFO] [stdout] 344ce7597b5bc4b2fc3179ad68dd7c7dee7b16a26a240218e72e249194ac8390