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

Compilation fails on ubuntu & debian, handlebars 5.1.1 has been yanked #4307

Closed
dionysius opened this issue Feb 2, 2024 · 1 comment · Fixed by #4308
Closed

Compilation fails on ubuntu & debian, handlebars 5.1.1 has been yanked #4307

dionysius opened this issue Feb 2, 2024 · 1 comment · Fixed by #4308
Labels
bug Something isn't working

Comments

@dionysius
Copy link

dionysius commented Feb 2, 2024

Subject of the issue

  failed to select a version for the requirement `handlebars = "^5.1.1"`
  candidate versions found which didn't match: 5.1.0, 5.0.0, 5.0.0-beta.5, ...

https://docs.rs/handlebars/latest/handlebars/index.html does say for 5.1.1: This release has been yanked, go to latest version. I build debian packages for ubuntu and debian stable. 1.30.2 was fine but ran into this today.

Troubleshooting data

https://github.com/dionysius/vaultwarden-deb/actions/runs/7756133150

  Installing vaultwarden v1.0.0 (/__w/vaultwarden-deb/vaultwarden-deb/vaultwarden-1.30.3)
    Updating crates.io index
error: failed to compile `vaultwarden v1.0.0 (/__w/vaultwarden-deb/vaultwarden-deb/vaultwarden-1.30.3)`, intermediate artifacts can be found at `/__w/vaultwarden-deb/vaultwarden-deb/vaultwarden-1.30.3/target`.
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 `handlebars = "^5.1.1"`
  candidate versions found which didn't match: 5.1.0, 5.0.0, 5.0.0-beta.5, ...
  location searched: crates.io index
  required by package `vaultwarden v1.0.0 (/__w/vaultwarden-deb/vaultwarden-deb/vaultwarden-1.30.3)`
  if you are looking for the prerelease package it needs to be specified explicitly
      handlebars = { version = "5.0.0-beta.5" }
  perhaps a crate was updated and forgotten to be re-vendored?
@dionysius dionysius changed the title Compilation fails for 1.30.3 on ubuntu & debian, seems to not find handlebars Compilation fails for 1.30.3 on ubuntu & debian, handlebars 5.1.1 has been yanked Feb 2, 2024
@dionysius dionysius changed the title Compilation fails for 1.30.3 on ubuntu & debian, handlebars 5.1.1 has been yanked Compilation fails on ubuntu & debian, handlebars 5.1.1 has been yanked Feb 2, 2024
@BlackDex BlackDex added the bug Something isn't working label Feb 2, 2024
@BlackDex
Copy link
Collaborator

BlackDex commented Feb 2, 2024

Thanks. That is unfortunate.
Working on a fix now.

BlackDex added a commit to BlackDex/vaultwarden that referenced this issue Feb 2, 2024
Because handlebars yanked a version which was there for a few days, we
need to downgrade this crate. In this process update all the others.

Fixes dani-garcia#4307
dani-garcia pushed a commit that referenced this issue Feb 2, 2024
Because handlebars yanked a version which was there for a few days, we
need to downgrade this crate. In this process update all the others.

Fixes #4307
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

Successfully merging a pull request may close this issue.

2 participants