Issues building version 0.3.1
I have managed to build version 0.3.1, but getting the following errors:
error[E0658]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope
--> /home/metrics-api/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/raw_sql.rs:143:10
|
143 | ) -> crate::Result<<E::Database as Database>::QueryResult>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #103532 <https://github.com/rust-lang/rust/issues/103532> for more information
error[E0658]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope
--> /home/metrics-api/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/raw_sql.rs:212:10
|
212 | ) -> crate::Result<Vec<<E::Database as Database>::Row>>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #103532 <https://github.com/rust-lang/rust/issues/103532> for more information
error[E0658]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope
--> /home/metrics-api/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/raw_sql.rs:236:10
|
236 | ) -> crate::Result<<E::Database as Database>::Row>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #103532 <https://github.com/rust-lang/rust/issues/103532> for more information
error[E0658]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope
--> /home/metrics-api/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/raw_sql.rs:260:10
|
260 | ) -> crate::Result<<E::Database as Database>::Row>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #103532 <https://github.com/rust-lang/rust/issues/103532> for more information
For more information about this error, try `rustc --explain E0658`.
error: could not compile `sqlx-core` (lib) due to 4 previous errors
warning: build failed, waiting for other jobs to finish...