rustworkshop / gitopolis

Manage multiple git repositories
GNU Affero General Public License v3.0
24 stars 2 forks source link

Unable to upgrade crates with cargo-edit on rust 1.77.1 #126

Closed timabell closed 4 months ago

timabell commented 6 months ago

See https://github.com/killercup/cargo-edit/issues/411#issuecomment-2038427816

 tim@fox:~/repo/gitopolis  (main*)
$ ./upgrade-crates.sh 
#!/bin/sh -v
set -e # exit on error
cargo update
    Updating crates.io index
cargo install cargo-edit
    Updating crates.io index
     Ignored package `cargo-edit v0.12.2` is already installed, use --force to override
cargo upgrade --incompatible # from cargo-edit
Error: The repo at path /home/tim/.asdf/installs/rust/1.77.1/registry/index/github.com-1ecc6299db9ec823 is unusable due to having an invalid HEAD reference: reference 'refs/heads/master' not found; class=Reference (4); code=NotFound (-3)
timabell commented 4 months ago

seems to be working now