Closed senden9 closed 2 years ago
Verbose build log created with cargo install --version "=0.4.2" --verbose cargo-about
:
cargo-about-build.txt
No, it's just using a different version of anyhow, you can use --locked
to use the exact Cargo.lock that was published (cargo install doesn't do this, which is a bit of a footgun). I will also publish a fix shortly.
Sorry I lied, not anyhow, this was due to a bump in askalono
which replaced failure with anyhow.
Ah, I didn't know that cargo install
did not use the lock-file by default. This explains why a local cargo build
is just fine.
Thank you for the explanation and the quick release of a "fixed" version @Jake-Shadle!
Describe the bug The latest release (0.4.2) fails to build on my machine. Error:
To Reproduce Try to install the latest
cargo-about
release withcargo install --version "=0.4.2" cargo-about
Expected behavior
cargo-about
can be compiled successful.Device:
rustc 1.56.1 (59eed8a2a 2021-11-01)
Additional Infos: If I compile the latest version of this git repo (0c74659e7e24f3a894cdb3a6e7dacfd2ea8c6b48)
cargo build
as well ascargo build --release
can compile. Maybe the version on crates.io is different :thinking: .