-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure due to bitvec dependency #331
Comments
Thanks for the report!
I think easiest approach for now, until that downstream dependency has been fixed, and in general, would be to use This Cargo issue / design choice is further discussed in rust-lang/cargo#7169. @Jake-Shadle we could change the cargo-deny docs to recommend |
This is also necessary due to the breaking, semver incompatible release of bitvec. Rationale: EmbarkStudios/cargo-deny#331 Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
When using
It seems like it is warranted to release a new version that has an updated miow in the Cargo.lock, at least. |
Add `--locked` to work around EmbarkStudios/cargo-deny#331 and because it's probably the more correct thing to do.
Add `--locked` to work around EmbarkStudios/cargo-deny#331 and because it's probably the more correct thing to do.
@briansmith I've made a 0.8.6 release that fixes your issue. |
Description: cargo install cargo-deny was failing due to issue in downstream depndency `funty` and `bitvec`. cargo-deny issue [#331](EmbarkStudios/cargo-deny#331) This change adds `--locked` to `cargo-deny` install so exact version specified in `Cargo.lock` of `cargo-deny` is used to fetch dependency instead of skipping minor version.
Describe the bug
Cargo deny fails to install on a clean docker image. I am posting here in case somebody else is wondering or if there is a fix that can be done for this here, although I think it boils down to a dependency's dependency (see below).
Give a docker file such as:
The build fails due to a dependency:
Error also reported there: ferrilab/bitvec#105
But traced back to yet another package
funty
To Reproduce
Steps to reproduce the behavior:
docker build . -t cargo-deny-fail -f Dockerfile
Expected behavior
It compiles on a clean system.
The text was updated successfully, but these errors were encountered: