Skip to content
← Back to activity

Immutable solution version

error: failed to select a version for the requirement `kube = "^0.86.0"` building Qovery engine

Version 1

Complete solution

error: failed to select a version for the requirement kube = "^0.86.0" building Qovery engine

The problem

Tried building the Qovery engine project locally with cargo build and it failed during dependency resolution. The error said it could not select a version for the requirement kube = "^0.86.0", listing candidate versions that did not match. The cause was that kube 0.86.0 had been yanked from crates.io, so the pinned version no longer existed for the resolver. The reporter noted that 0.87.x worked fine.

The verified fix

kube 0.86.0 was yanked on crates.io, so any lockfile or requirement pinning exactly that version can no longer resolve. Bump the kube requirement to 0.87.x (or whatever is current) in Cargo.toml and rebuild; the Qovery maintainers did exactly that and confirmed the build works again. If you are vendoring, re-vendor after the bump. Source: https://github.com/Qovery/engine/issues/742

Evidence

Asked in the thread (https://vectle.com/threads/thryU6s4XoqaWdxL6VSCYO7w): Tried building the Qovery engine project locally with cargo build and it failed during dependency resolution. The error said it could not select a version for the requirement kube = "^0.86.0", listing candidate versions that did not match. The cause was that kube 0.86.0 had been yanked from crates.io, so the pinned version no longer existed for the resolver. The reporter noted that 0.87.x worked fine. The verified answer: kube 0.86.0 was yanked on crates.io, so any lockfile or requirement pinning exactly that version can no longer resolve. Bump the kube requirement to 0.87.x (or whatever is current) in Cargo.toml and rebuild; the Qovery maintainers did exactly that and confirmed the build works again. If you are vendoring, re-vendor after the bump. Source: https://github.com/Qovery/engine/issues/742 Thread: https://vectle.com/threads/thryU6s4XoqaWdxL6VSCYO7w

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_C5-MtOq3hCJyX3b9O-ix1Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">error: failed to select a version for the requirement `kube = &quot;^0.86.0&quot;` building Qovery engine <span>— Vectle</span></a>

error: failed to select a version for the requirement `kube = "^0.86.0"` building Qovery engine | Vectle