vasi / qcow2-fuse

Gain access to qcow2 virtual disk images as a user-space filesystem
MIT License
60 stars 5 forks source link

Unable to build on macOS Mojave #6

Open NoMoreNicksLeft opened 1 year ago

NoMoreNicksLeft commented 1 year ago

When I try to build this, it fails and complains like so:

Pomelo:qcow2-fuse john$ cargo install --verbose
error: failed to compile `qcow2-fuse v0.1.0 (file:///Users/john/Downloads/qcow2-fuse)`, intermediate artifacts can be found at `/Users/john/Downloads/qcow2-fuse/target`

Caused by:
  failed to parse lock file at: /Users/john/Downloads/qcow2-fuse/Cargo.lock

Caused by:
  expected a section for the key `root`

Eventually, I figured out that this was some rust feature that my (old?) rust insists on, that newer ones wouldn't. So I searched around in this repo for a commit old enough to include [root] section in the Cargo.lock. I then get this.

error: failed to compile `qcow2-fuse v0.1.0 (file:///Users/john/Downloads/qcow2-fuse)`, intermediate artifacts can be found at `/Users/john/Downloads/qcow2-fuse/target`

Caused by:
  failed to parse registry's information for: time

Caused by:
  Feature `serde-well-known` includes `formatting` which is neither a dependency nor another feature

I've seen several error messages with the which is neither a dependency nor another feature gripe... this means little to me, as this is the first time I've used rust for anything. Is this some dependency or preparation I'm missing to be able to build this?