Skip to content

Instantly share code, notes, and snippets.

@iains
Created March 19, 2025 09:13
Show Gist options
  • Select an option

  • Save iains/a91232768f9627c0504e17d659c488fe to your computer and use it in GitHub Desktop.

Select an option

Save iains/a91232768f9627c0504e17d659c488fe to your computer and use it in GitHub Desktop.
temp-rust-fail
error: failed to select a version for the requirement `log = "^0.4"` (locked to 0.4.26)
candidate versions found which didn't match: 0.4.22
location searched: directory source `/src-local/gcc-master/gcc/rust/checks/errors/borrowck/ffi-polonius/vendor` (which is replacing registry `crates-io`)
required by package `polonius-engine v0.13.0`
... which satisfies dependency `polonius-engine = "^0.13.0"` (locked to 0.13.0) of package `ffi-polonius v0.1.0 (/src-local/gcc-master/gcc/rust/checks/errors/borrowck/ffi-polonius)`
perhaps a crate was updated and forgotten to be re-vendored?
As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without the offline flag.
make[3]: *** [rust/libffi_polonius.a] Error 101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment