You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If it was working correctly, cargo update would automatically download and update the local git dependencies. However, instead it results in the following error:
$ RUST_BACKTRACE=1 cargo update
Updating git repository `https://github.com/wolfv/zip2`
error: failed to load source for dependency `zip`
Caused by:
Unable to update https://github.com/wolfv/zip2?branch=patched
Caused by:
object not found - no match for id (8fcb25229346479487823cbe0f9326d74c666d13); class=Odb (9); code=NotFound (-3)
You can git clone the repository with that specific commit ID perfectly fine outside of cargo.
I wasn't able to reproduce it on My x64 Linux system.
Can you try running CARGO_NET_GIT_FETCH_WITH_CLI=true cargo update? Unsure at what step the failure is happening if that will affect it but my hope is this can give us insight into what might be happening.
CARGO_NET_GIT_FETCH_WITH_CLI=true cargo update
Updating git repository `https://github.com/wolfv/zip2`
error: failed to load source for dependency `zip`
Caused by:
Unable to update https://github.com/wolfv/zip2?branch=patched
Caused by:
object not found - no match for id (8fcb25229346479487823cbe0f9326d74c666d13); class=Odb (9); code=NotFound (-3)
I can also verify that the issue doesn't occur on x64 or arm64 (linux). Could it be a 32bit platform issue?
Trying to build rattler-build on powerpc: https://github.com/prefix-dev/rattler-build
If it was working correctly, cargo update would automatically download and update the local git dependencies. However, instead it results in the following error:
You can
git clone
the repository with that specific commit ID perfectly fine outside of cargo.Meta
rustc --version --verbose
:Backtrace from
cargo build
:The text was updated successfully, but these errors were encountered: