mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
error[E0277] when compiling komorebic #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @crosstyan on GitHub (Aug 16, 2021).
When I'm compiling komorebic
b2ab893e77withcargo install --path komorebicI got complaints from compiler.The version of rustc is
1.54.0 (a178d0322 2021-07-26)and komorebi was compiled successfully. Because I have no knowledge about Rust, I'm not sure what is going on.@LGUG2Z commented on GitHub (Aug 16, 2021):
This is because the library used for generating the CLI,
clap, just released a new beta with a lot of breaking changes. You shouldgit checkout HEAD Cargo.lockto reset the lockfile and then runcargo install --path komorebic --lockedto force it to usev3.0.0-beta-2ofclap. I will update the README with this information, it is generally good practice to install binaries with Cargo's--lockedflag.@LGUG2Z commented on GitHub (Aug 16, 2021):
@crosstyan If you ever have errors in the future when compiling against a commit which has a passing GitHub Actions pipeline, you can click on the green tick and go to the top right of the page to download the
Artifactszip file which will contain thekomorebi.exeandkomorebic.exefiles built against that commit.