Error during Vaultwarden compilation #1277

Closed
opened 2025-10-09 17:09:55 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @Nyxtorm on GitHub.

Subject of the issue

Error during Vaultwarden compilation

Deployment environment

  • vaultwarden version: 1.22.2-b4c95fb4

  • Install method: built from source

  • Clients used: web vault, desktop, Android

  • Reverse proxy and version: nginx 1.21.0

  • MySQL/MariaDB or PostgreSQL version: SQLite: 3.35.4

  • Other relevant details: OS Debian 10 w/ backports

Steps to reproduce

  • Clone all necessary repositories
  • Update Rust with rustup to the latest nightly update
  • Start the Vaultwarden build:
cargo build --features sqlite --release

Expected behaviour

Successful compilation

Actual behaviour

Error after crates.io index update. I have tested with the stable, beta and nightly versions of rustup.

Troubleshooting data

$ cargo build --features sqlite --release
info: syncing channel updates for 'nightly-2021-10-14-x86_64-unknown-linux-gnu'
info: latest update on 2021-10-14, rust version 1.57.0-nightly (dfc5add91 2021-10-13)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
    Updating crates.io index
error: failed to select a version for the requirement `reqwest = "^0.11.5"`
candidate versions found which didn't match: 0.11.4, 0.11.3, 0.11.2, ...
location searched: crates.io index
required by package `vaultwarden v1.0.0 (/volumes/data/vaultwarden/vw-compile/vaultwarden)`
Originally created by @Nyxtorm on GitHub. ### Subject of the issue Error during Vaultwarden compilation ### Deployment environment * vaultwarden version: 1.22.2-b4c95fb4 * Install method: built from source * Clients used: web vault, desktop, Android * Reverse proxy and version: nginx 1.21.0 * MySQL/MariaDB or PostgreSQL version: SQLite: 3.35.4 * Other relevant details: OS Debian 10 w/ backports ### Steps to reproduce * Clone all necessary repositories * Update Rust with rustup to the latest nightly update * Start the Vaultwarden build: ``` cargo build --features sqlite --release ``` ### Expected behaviour Successful compilation ### Actual behaviour Error after crates.io index update. I have tested with the stable, beta and nightly versions of rustup. ### Troubleshooting data ``` $ cargo build --features sqlite --release info: syncing channel updates for 'nightly-2021-10-14-x86_64-unknown-linux-gnu' info: latest update on 2021-10-14, rust version 1.57.0-nightly (dfc5add91 2021-10-13) info: downloading component 'cargo' info: downloading component 'clippy' info: downloading component 'rust-docs' info: downloading component 'rust-std' info: downloading component 'rustc' info: downloading component 'rustfmt' info: installing component 'cargo' info: installing component 'clippy' info: installing component 'rust-docs' info: installing component 'rust-std' info: installing component 'rustc' info: installing component 'rustfmt' Updating crates.io index error: failed to select a version for the requirement `reqwest = "^0.11.5"` candidate versions found which didn't match: 0.11.4, 0.11.3, 0.11.2, ... location searched: crates.io index required by package `vaultwarden v1.0.0 (/volumes/data/vaultwarden/vw-compile/vaultwarden)` ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1277