You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cargo install sqlx-cli fails when compiling sqlx-cli #1378
Howdy all! Noticed my CI starting failing with 35 errors some time this afternoon when installing sqlx-cli. The exact errors all vary, but they all make reference to the the derive macro Clap. Comparing my most recent successful logs, it looks like the CLI is now pulling in clap_derive v3.0.0-beta.4 when it was using v3.0.0-beta.2.
I was able to reproduce this on my local machine after uninstalling and attempting to reinstall.
Reacted by evdokimovs, Tolumide Shopein, Artem Khramov, fominok, Kha Yuen, Greg Hale, Daniel Tashjian, somin and Ewan Higgs
I had just started to forget about this horrible cargo behavior: rust-lang/cargo#7169, but then I just wasted the better part of an hour over here scratching my head. Kinda funny, but I'm also a bit irritated right now too.
Anyway, I wonder if this will become an issue for the developers during an update soon, or not.
Will look at this today, we already fix the version of clap at =3.0.0-beta.2 but we apparently need to fix the version of clap-derive as well as long as we're on the beta and subject to breaking changes.
Activity
tolumide-ng commentedon Aug 15, 2021
For anyone else that might be experiencing the same problem,
I resolved the issue on my end using the locked one e.g.
rather than
I used:
nixpulvis commentedon Aug 15, 2021
I had just started to forget about this horrible cargo behavior: rust-lang/cargo#7169, but then I just wasted the better part of an hour over here scratching my head. Kinda funny, but I'm also a bit irritated right now too.
Anyway, I wonder if this will become an issue for the developers during an update soon, or not.
somin commentedon Aug 16, 2021
Also running into this issue. Hoping this gets resolved soon
abonander commentedon Aug 16, 2021
Will look at this today, we already fix the version of
clapat=3.0.0-beta.2but we apparently need to fix the version ofclap-deriveas well as long as we're on the beta and subject to breaking changes.fix(cli): pin `clap_derive` version
fix(cli): pin `clap_derive` version (#1381)
Deniallugo commentedon Aug 18, 2021
Please, release this version of sqlx-cli
Merge launchbadge/sqlx master into JetASAP/sqlx master (#12)
Update ws-support (#15)