-
-
Notifications
You must be signed in to change notification settings - Fork 645
Closed
Description
Hey,
Hey,
We're encountering an error when creating a new Loco project that uses SeaORM. It looks like the same issue is also occurring in your CI. You can see it here:
SeaORM CI Job
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sea-orm-1.1.9/src/database/transaction.rs:57:17
|
57 | <sqlx::Postgres as sqlx::Database>::TransactionManager::begin(c)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- argument #2 of type `std::option::Option<Cow<'static, str>>` is missing
|
note: associated function defined here
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.4/src/transaction.rs:25:8
|
25 | fn begin<'conn>(
| ^^^^^
help: provide the argument
|
57 - <sqlx::Postgres as sqlx::Database>::TransactionManager::begin(c)
57 + <sqlx::Postgres as sqlx::Database>::TransactionManager::begin(c, /* std::option::Option<Cow<'static, str>> */)
|
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sea-orm-1.1.9/src/database/transaction.rs:73:17
|
73 | <sqlx::Sqlite as sqlx::Database>::TransactionManager::begin(c)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- argument #2 of type `std::option::Option<Cow<'static, str>>` is missing
|
note: associated function defined here
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.4/src/transaction.rs:25:8
|
25 | fn begin<'conn>(
| ^^^^^
help: provide the argument
|
73 - <sqlx::Sqlite as sqlx::Database>::TransactionManager::begin(c)
73 + <sqlx::Sqlite as sqlx::Database>::TransactionManager::begin(c, /* std::option::Option<Cow<'static, str>> */)
|
Metadata
Metadata
Assignees
Labels
No labels