Skip to content
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

No longer able to cargo update to latest revision #154

Open
laniakea64 opened this issue Jan 17, 2025 · 1 comment · May be fixed by #155
Open

No longer able to cargo update to latest revision #154

laniakea64 opened this issue Jan 17, 2025 · 1 comment · May be fixed by #155

Comments

@laniakea64
Copy link

I have a local Rust CLI tool that uses system76-firmware as a library. It used to be possible to update its system76-firmware dependency by running cargo update, however in the last couple days this is no longer working:

$ cargo --version
cargo 1.84.0 (66221abde 2024-11-19)
$ cargo update
    Updating crates.io index
    Updating git repository `https://github.com/pop-os/system76-firmware`
    Updating git repository `https://github.com/system76/ecflash.git`
error: failed to get `ecflash` as a dependency of package `system76-firmware v1.0.68 (https://github.com/pop-os/system76-firmware#6e98acaa)`
    ... which satisfies git dependency `system76-firmware` of package `system76-firmware-daemon v0.1.0 (https://github.com/pop-os/system76-firmware#6e98acaa)`
    ... which satisfies git dependency `system76-firmware-daemon` of package `...`

Caused by:
  failed to load source for dependency `ecflash`

Caused by:
  Unable to update https://github.com/system76/ecflash.git?branch=stable

Caused by:
  failed to find branch `stable`

Caused by:
  cannot locate remote-tracking branch 'origin/stable'; class=Reference (4); code=NotFound (-3)

In case it might be relevant for reproducing the error, the environment where this update is being performed is starting with an empty CARGO_HOME directory.

Thanks for your review.

@crawfxrd
Copy link
Member

crawfxrd commented Jan 17, 2025

Looks like stable was deleted at some point.

stable used the package name ecflash, but the package name has been changed to system76_ecflash.

Use of nightly features (asm, alloc) was replaced by stable features, but needs to be checked that it still works with current HEAD.

@crawfxrd crawfxrd linked a pull request Jan 17, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants