Skip to content

cargo install failing: pimalaya-tui does not have build-envs features #21

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
michamos opened this issue Mar 11, 2025 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@michamos
Copy link

michamos commented Mar 11, 2025

I'm trying to install neverest using cargo, as I would like to use oauth2 authentication (against outlook365 which I have to use for work).

However, the installation instructions are not working for me.

If I run the command provided in the README, I get the following error

$ cargo install --frozen --force --git https://github.com/pimalaya/neverest.git
    Updating git repository `https://github.com/pimalaya/neverest.git`
error: failed to fetch into: /home/mimoskov/.cargo/git/db/neverest-464dbdd59a625218

Caused by:
  attempting to update a git repository, but --frozen was specified

If I remove the --frozen as suggested, I get a dependency issue with pimalaya-tui:

$ cargo install  --force --git https://github.com/pimalaya/neverest.git
    Updating git repository `https://github.com/pimalaya/neverest.git`
  Installing neverest v1.0.0 (https://github.com/pimalaya/neverest.git#cc5f5214)
    Updating git repository `https://github.com/pimalaya/core`
    Updating git repository `https://github.com/pimalaya/tui`
    Updating crates.io index
error: failed to compile `neverest v1.0.0 (https://github.com/pimalaya/neverest.git#cc5f5214)`, intermedia
te artifacts can be found at `/tmp/mimoskov/cargo-installbmxOa0`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to tha
t path.

Caused by:
  failed to select a version for `pimalaya-tui`.
      ... required by package `neverest v1.0.0 (/home/mimoskov/.cargo/git/checkouts/neverest-464dbdd59a625
218/cc5f521)`
  versions that meet the requirements `=0.1` are: 0.1.0

  the package `neverest` depends on `pimalaya-tui`, with features: `build-envs` but `pimalaya-tui` does no
t have these features.


  failed to select a version for `pimalaya-tui` which could resolve this conflict

What I really want to do is add the --all-features flag to get the oauth2 feature (and notmuch seems nice too), but it already fails with the default features selected.

@michamos
Copy link
Author

(I had accidentally submitted an incomplete issue, I've updated it)

@soywod
Copy link
Member

soywod commented Mar 14, 2025

I am still in the process of refactoring libs, once I bubble up to the Neverest CLI it should fix the issue by itself. I let you know when ready.

@soywod soywod self-assigned this Mar 14, 2025
@soywod soywod added the bug Something isn't working label Mar 14, 2025
@soywod soywod added this to Pimalaya Mar 14, 2025
@soywod soywod moved this to Todo in Pimalaya Mar 14, 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
Status: Todo
Development

No branches or pull requests

2 participants