Skip to content
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

cargo build error : _error: could not compile sqlx-core_ @v0.5.3 #1239

Closed
endermaz41 opened this issue May 22, 2021 · 3 comments
Closed

cargo build error : _error: could not compile sqlx-core_ @v0.5.3 #1239

endermaz41 opened this issue May 22, 2021 · 3 comments

Comments

@endermaz41
Copy link

endermaz41 commented May 22, 2021

Did a cargo update with the following changes to my cargo.toml file:

  • sqlx = { version = "0.5.3", features = [ "runtime-actix-rustls", "postgres","chrono","json"] }
  • then did cargo update
  • then cargo run

But now get error : "error: could not compile sqlx-core"
Platform => vscode, osx, rust analyzer

Tried reverting my cargo.toml file to : sqlx = { version = "0.5.1", features = [ "runtime-actix-rustls", "postgres","chrono","json"] }
then cargo update

But still get the same error.

How does one revert back to a working version.

@mehcode
Copy link
Member

mehcode commented May 22, 2021

Fixed in 0.5.4, thanks @ETCaton

@mehcode mehcode closed this as completed May 22, 2021
@endermaz41
Copy link
Author

endermaz41 commented May 23, 2021

I changed it to sqlx = { version = "0.5", features = [ "runtime-actix-rustls", "postgres","chrono","json"] }

But now my cargo build just hangs....

I restarted vscode, tried again. same result.

platform : osx, vscode, rust analyzer

@mehcode
Copy link
Member

mehcode commented May 24, 2021

Should be fixed in 0.5.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants