-
Notifications
You must be signed in to change notification settings - Fork 143
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 fails if buildkit is enabled on latest version 0.18 #481
Comments
Thanks for reporting... I think we need a new version of the protobuf sub-crate. Would be useful if we had a test case for this. |
I was just about to comment that I think that's all it is 👍 I was able to workaround it by adding this to my Cargo.toml: [patch.crates-io]
bollard-buildkit-proto = {git = "https://github.com/fussybeaver/bollard.git", rev="3a770d5"} |
I'm actually not sure how to test for this specifically, since in this case building it from the repo worked fine, it only failed on the crates.io version. Maybe the best we could do is script the release process so it isn't forgotten? Not sure if there's a better way? Happy to help with this when I can if you have ideas. Adding a workflow for testing features is probably still a good idea even if it wouldn't catch this case, happy to help with that too. |
Yeah, either script the release, or have some docs... it's not always that obvious how to handle upstream changes though, so perhaps it'd be best as docs. |
Fixed in v0.18.1 but keeping this open to remind myself to write some release docs |
If the buildkit feature is enabled, bollard v0.18.0 fails to compile with the following error:
System Info
EndeavorOS (arch based distro)
rustc 1.82.0 (f6e511eec 2024-10-15)
Reproduction Steps
cargo new --bin test-bollard cd test-bollard cargo add bollard --features=buildkit cargo build
Terminal session recording of running the above steps: https://asciinema.org/a/MSsTCpYvn2fWEPOU47JsN0egM
The text was updated successfully, but these errors were encountered: