-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs.rs does not compile on nightly since nightly-2024-04-05 #2488
Comments
thanks for the ping! It sounds like we just have to wait for the sqlx release, which I assume would happen before the new stable release? |
I'm not sure about that. I tried building docs.rs with this change in Cargo.toml: @@ -40,7 +40,7 @@ semver = { version = "1.0.4", features = ["serde"] }
r2d2 = "0.8"
r2d2_postgres = "0.18"
-sqlx = { version = "0.7", features = [ "runtime-tokio", "postgres", "chrono" ] }
+sqlx = { version = "0.8.0-alpha.0", features = [ "runtime-tokio", "postgres", "chrono" ] }
url = { version = "2.1.1", features = ["serde"] }
docsrs-metadata = { path = "crates/metadata" }
@@ -68,7 +68,7 @@ zip = {version = "0.6.2", default-features = false, features = ["bzip2"]}
getrandom = "0.2.1"
itertools = { version = "0.12.0", optional = true}
-rusqlite = { version = "0.30.0", features = ["bundled"] }
+rusqlite = { version = "0.31.0", features = ["bundled"] }
hex = "0.4.3"
@@ -154,3 +154,6 @@ harness = false
name = "cratesfyi"
test = false
doc = false
+
+[patch.crates-io]
+sqlx = { git = "https://github.com/launchbadge/sqlx" } and while there are a few "mismatched types" errors in unrelated code from various breaking changes in those crates, I am still seeing all 3 of the original errors above related to |
I'll look into this 👍 |
actually no, I messed up while looking at the regression. THis still requires a change to sqlx. Will open a PR and potentially delay the breaking change in rustc by one version to give users more time to update |
@lcnr is there any update to this? |
launchbadge/sqlx#3185 has been fixed in sqlx now, so docs.rs should now be fixed once it uses the new version. The breaking change has been delayed by atleast one version, so docs.rs should still only be affected on beta (the new beta) and nightly for now. |
docs.rs builds on nightly right now, I assume everything is fine now. |
This is to let you know that docs.rs is impacted by rust-lang/rust#119820, which is an upcoming intentional breaking change in Rust 1.79. There will need to be some code changes in docs.rs before updating to Rust 1.79.
https://gist.github.com/lcnr/7c1c652f30567048ea240554a36ed95c#httpsgithubcomlaunchbadgesqlx-some-derives-of-sqlxtype has an analysis of how sqlx is involved.
The text was updated successfully, but these errors were encountered: