macchina: [BUG] Fails to build on Ubutnu

$ cargo install macchina
    Updating crates.io index
  Downloaded macchina v6.1.5
  Downloaded 1 crate (62.7 KB) in 0.92s
  Installing macchina v6.1.5
error: failed to compile `macchina v6.1.5`, intermediate artifacts can be found at `/tmp/cargo-installADaNTG`

Caused by:
  failed to select a version for the requirement `libgit2-sys = "^0.13.4"`
  candidate versions found which didn't match: 0.13.2+1.4.2, 0.13.1+1.4.2, 0.13.0+1.4.1, ...
  location searched: crates.io index
  required by package `git2 v0.14.4`
      ... which satisfies dependency `git2 = "^0.14.4"` of package `vergen v7.4.2`
      ... which satisfies dependency `vergen = "^7.4.2"` of package `macchina v6.1.5`

OS: Ubuntu 22.04.1 LTS Kernel: Linux desktop 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (6 by maintainers)

Most upvoted comments

Thanks, that worked! 🥳

Small typo - rustc should point to /snap/bin/rustc

[build]
rustc = "/snap/bin/rustc"