Skip to content

[Bug]: Installing atuin <18.5.0 on Rust <1.86.0 fails #2712

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

Open
1 task done
azaslavsky opened this issue Apr 21, 2025 · 0 comments
Open
1 task done

[Bug]: Installing atuin <18.5.0 on Rust <1.86.0 fails #2712

azaslavsky opened this issue Apr 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@azaslavsky
Copy link

What did you expect to happen?

rustup default 1.82.0; cargo install [email protected] should succeed.

What happened?

Atuin failed with the following:

  Downloaded atuin-client v18.5.0
error: failed to compile `atuin v18.4.0`, intermediate artifacts can be found at `/var/folders/4d/7xpv73_d7492w790xn520j9cjmzpvc/T/cargo-installGCFAYu`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Caused by:
  failed to parse manifest at `/Users/.../.cargo/registry/src/index.crates.io-6f17d22bba15001f/atuin-client-18.5.0/Cargo.toml`

Caused by:
  feature `edition2024` is required

  The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.82.0 (8f40fc59f 2024-08-21)).
  Consider trying a newer version of Cargo (this may require the nightly release).
  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.

It seems like [email protected] isn't pinned for all of the internal crates it depends on, so it tries to download the latest versions, which actually have a breaking change vis a vis editions? At least that's my read of the error message.

Atuin doctor output

No output - I can't install the software.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@azaslavsky azaslavsky added the bug Something isn't working label Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant