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

gix 0.61.1 yanked #5894

Closed
wadeduvall opened this issue Mar 29, 2024 · 2 comments
Closed

gix 0.61.1 yanked #5894

wadeduvall opened this issue Mar 29, 2024 · 2 comments
Labels
🐛 bug Something isn't working as expected.

Comments

@wadeduvall
Copy link

wadeduvall commented Mar 29, 2024

Current Behavior

Starship 1.18.1 fails to install:

 cargo install starship
    Updating crates.io index
  Installing starship v1.18.1
    Updating crates.io index
error: failed to compile `starship v1.18.1`, intermediate artifacts can be found at `/tmp/cargo-installuHGdzJ`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Caused by:
  failed to select a version for the requirement `gix = "^0.61.1"`
  candidate versions found which didn't match: 0.61.0, 0.60.0, 0.58.0, ...
  location searched: crates.io index
  required by package `starship v1.18.1`
  perhaps a crate was updated and forgotten to be re-vendored?

This is due to gix 0.61.1 being yanked from crates.io. See Byron/gitoxide#1331

Expected Behavior

I expect the crate to install.

Additional context/Screenshots

Not a local issue.

Possible Solution

Downgrade to gix 0.61.0 if at all possible, or yank 1.18.1.

Environment

  • Starship version: 1.17.1
  • fish version: fish, version 3.3.1
  • Operating system: Ubuntu 22.04
  • Terminal emulator: tmux 3.3a
  • Git Commit Hash:
  • Branch/Tag:
  • Rust Version: rustc 1.75.0 (82e1608df 2023-12-21)
  • Rust channel: stable-x86_64-unknown-linux-gnu release
  • Build Time: 2024-01-08 06:18:47 -05:00

Relevant Shell Configuration

if status is-interactive
    # Commands to run in interactive sessions can go here
    starship init fish | source
end

Starship Configuration

command_timeout = 1000
@wadeduvall wadeduvall added the 🐛 bug Something isn't working as expected. label Mar 29, 2024
@davidkna
Copy link
Member

Closed via #5882

@wadeduvall
Copy link
Author

Thank you for your prompt action on this, confirmed it's working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working as expected.
Projects
None yet
Development

No branches or pull requests

2 participants