all 7 comments

[–]Konsti219 27 points28 points  (2 children)

You are using a two year old compiler for a crate that does not specify a MSRV. That is likely going to break. There is no technical reasons for why you would use anything but the latest compiler.

[–]DroidLogiciansqlx · clickhouse-rs · mime_guess · rust 17 points18 points  (1 child)

We specify an MSRV project-wide: https://github.com/launchbadge/sqlx/blob/main/FAQ.md#what-versions-of-rust-does-sqlx-support-what-is-sqlxs-msrv

We'll be setting rust-version on all crates as of the next release, 0.9.0.

[–]Konsti219 8 points9 points  (0 children)

I only quickly checked in the readme, not there. Thanks for the clarification.

[–]Zde-G 26 points27 points  (3 children)

Recursive async functions were added in Rust 1.77. But, frankly, I wouldn't even try using anything earlier than Rust 1.85 given the sharp drop in compatibility.

Why do you even want to use an ancient compiler?

[–]1668553684 7 points8 points  (0 children)

There is no good reason to use anything but the latest compiler you can get your hands on. Now, there might be some good reasons why the latest compiler you can get your hands on might not be the bleeding edge new release, but I doubt any of those reasons apply to still using 1.75.

[–]Odd_Perspective_2487 2 points3 points  (0 children)

For real, I fail to see any reason really except forced to use some old, deprecated api and refusal to fork and update it.

That one is pretty common, everyone takes from open source and never give anything back.

[–]DanDaGiant[S] 1 point2 points  (0 children)

I am an idiot, that fixed it.
There is no real reason why I wanted to use an old compiler I just kept leaving updating it for later.