#[sqlx_database_tester::test(pool(variable = "migrated_pool", migrations = "../migrations"))]

#[sqlx_database_tester::test(pool(variable = "migrated_pool", migrations = "../migrations"))]

87  |     #[sqlx_database_tester::test(pool(variable = "migrated_pool", migrations = "../migrations"))]
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |     |
    |     expected `PgConnectOptions`, found a different `PgConnectOptions`
    |     arguments to this function are incorrect
    |
    = note: `PgConnectOptions` and `PgConnectOptions` have similar names, but are actually distinct types
note: `PgConnectOptions` is defined in crate `sqlx_core`

Having types with the same name that aren't actually compatible is often the result of having different versions of a crate selected by different dependencies. Without more information it's hard to say for sure what's wrong though.