[INFO] cloning repository https://github.com/franciscoabsampaio/swellow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/franciscoabsampaio/swellow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffranciscoabsampaio%2Fswellow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffranciscoabsampaio%2Fswellow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a2990c13c2551234744f7cb646493a1f822dcf6 [INFO] building franciscoabsampaio/swellow against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffranciscoabsampaio%2Fswellow" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/franciscoabsampaio/swellow [INFO] finished tweaking git repo https://github.com/franciscoabsampaio/swellow [INFO] tweaked toml for git repo https://github.com/franciscoabsampaio/swellow written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/franciscoabsampaio/swellow on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/franciscoabsampaio/swellow 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Downloaded recursive v0.1.1 [INFO] [stderr] Downloaded odbc-sys v0.8.2 [INFO] [stderr] Downloaded odbc-safe v0.5.0 [INFO] [stderr] Downloaded cc v1.2.37 [INFO] [stderr] Downloaded indexmap v2.11.3 [INFO] [stderr] Downloaded odbc v0.17.0 [INFO] [stderr] Downloaded find-msvc-tools v0.1.1 [INFO] [stderr] Downloaded sqlparser v0.58.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7da409114e29707719066534bd575dd5b788152420bb93375f937635cde74f64 [INFO] running `Command { std: "docker" "start" "-a" "7da409114e29707719066534bd575dd5b788152420bb93375f937635cde74f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7da409114e29707719066534bd575dd5b788152420bb93375f937635cde74f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7da409114e29707719066534bd575dd5b788152420bb93375f937635cde74f64", kill_on_drop: false }` [INFO] [stdout] 7da409114e29707719066534bd575dd5b788152420bb93375f937635cde74f64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 003e54a4578f26d0e0734fb7f962a8ee970b2ea5ae6a69e1773513fd94c10fdd [INFO] running `Command { std: "docker" "start" "-a" "003e54a4578f26d0e0734fb7f962a8ee970b2ea5ae6a69e1773513fd94c10fdd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling odbc-sys v0.8.2 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling odbc-safe v0.5.0 [INFO] [stderr] Compiling indexmap v2.11.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling odbc v0.17.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling recursive v0.1.1 [INFO] [stderr] Compiling sqlparser v0.58.0 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling swellow v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `ensure_table` in module `db` [INFO] [stdout] --> src/cli/commands.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | db::ensure_table(&engine).await?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pool` in this scope [INFO] [stdout] --> src/cli/commands.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | return Ok(Some(pool)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `begin` in module `db` [INFO] [stdout] --> src/cli/commands.rs:73:48 [INFO] [stdout] | [INFO] [stdout] 73 | let latest_version_from_records: i64 = db::begin(&mut tx).await? [INFO] [stdout] | ^^^^^ not found in `db` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::migrations::db::begin; [INFO] [stdout] | [INFO] [stdout] help: if you import `begin`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 73 - let latest_version_from_records: i64 = db::begin(&mut tx).await? [INFO] [stdout] 73 + let latest_version_from_records: i64 = begin(&mut tx).await? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `disable_records` in module `db` [INFO] [stdout] --> src/cli/commands.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | db::disable_records(&mut tx, current_version_id).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `db` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::migrations::db::disable_records; [INFO] [stdout] | [INFO] [stdout] help: if you import `disable_records`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 86 - db::disable_records(&mut tx, current_version_id).await?; [INFO] [stdout] 86 + disable_records(&mut tx, current_version_id).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `upsert_record` in module `db` [INFO] [stdout] --> src/cli/commands.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | db::upsert_record( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `db` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::migrations::db::upsert_record; [INFO] [stdout] | [INFO] [stdout] help: if you import `upsert_record`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 163 - db::upsert_record( [INFO] [stdout] 163 + upsert_record( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `execute_sql_script` in module `db` [INFO] [stdout] --> src/cli/commands.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | db::execute_sql_script(&mut tx, &file_path).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `db` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::migrations::db::execute_sql_script; [INFO] [stdout] | [INFO] [stdout] help: if you import `execute_sql_script`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 180 - db::execute_sql_script(&mut tx, &file_path).await?; [INFO] [stdout] 180 + execute_sql_script(&mut tx, &file_path).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_record` in module `db` [INFO] [stdout] --> src/cli/commands.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | db::update_record( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `db` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::migrations::db::update_record; [INFO] [stdout] | [INFO] [stdout] help: if you import `update_record`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 183 - db::update_record( [INFO] [stdout] 183 + update_record( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cli::Engine` [INFO] [stdout] --> src/migrations/db.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{cli::Engine, commands::MigrationDirection}; [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: `odbc` [INFO] [stdout] --> src/migrations/db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odbc; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PgPool` and `Pool` [INFO] [stdout] --> src/migrations/db.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::{PgPool, Pool, Postgres, Transaction}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/cli/commands.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | let pool: Pool = peck(&db_connection_string).await?; [INFO] [stdout] | ^^^^----------------------- argument #2 of type `&Engine` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cli/commands.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn peck( [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | db_connection_string: &String, [INFO] [stdout] 47 | engine: &Engine, [INFO] [stdout] | --------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 69 | let pool: Pool = peck(&db_connection_string, /* &Engine */).await?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/cli/commands.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | let pool: Pool = peck(&db_connection_string).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pool`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `Option>` to `Pool<_>` [INFO] [stdout] = note: expected struct `Pool<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 69 | let pool: Pool = peck(&db_connection_string).await?.expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/cli/commands.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | .unwrap_or(match direction { [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `execute` found for struct `odbc::Connection<'env, AC>` in the current scope [INFO] [stdout] --> src/db/backend.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | conn.execute(&create_table_sql, ())?; [INFO] [stdout] | ^^^^^^^ method not found in `odbc::Connection<'_, AutocommitOn>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 8 arguments were supplied [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | commands::migrate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | &engine, [INFO] [stdout] | ------- unexpected argument #3 of type `&Engine` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cli/commands.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | pub async fn migrate( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 37 - &migration_directory, [INFO] [stdout] 38 - &engine, [INFO] [stdout] 37 + &migration_directory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 8 arguments were supplied [INFO] [stdout] --> src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | commands::migrate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | &engine, [INFO] [stdout] | ------- unexpected argument #3 of type `&Engine` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cli/commands.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | pub async fn migrate( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 49 - &migration_directory, [INFO] [stdout] 50 - &engine, [INFO] [stdout] 49 + &migration_directory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | commands::snapshot(&db_connection_string, &migration_directory, &engine)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------- unexpected argument #3 of type `&Engine` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cli/commands.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn snapshot( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 59 - commands::snapshot(&db_connection_string, &migration_directory, &engine)?; [INFO] [stdout] 59 + commands::snapshot(&db_connection_string, &migration_directory)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/migrations/parser.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 218 | AlterIndexOperation::RenameIndex { index_name } => ( [INFO] [stdout] | ----------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 221 | _ => (&name, "ALTER") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0282, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swellow` (bin "swellow") due to 14 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "003e54a4578f26d0e0734fb7f962a8ee970b2ea5ae6a69e1773513fd94c10fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "003e54a4578f26d0e0734fb7f962a8ee970b2ea5ae6a69e1773513fd94c10fdd", kill_on_drop: false }` [INFO] [stdout] 003e54a4578f26d0e0734fb7f962a8ee970b2ea5ae6a69e1773513fd94c10fdd