[GH-ISSUE #2057] Error on compiling #1142

Closed
opened 2026-03-03 02:06:36 +03:00 by kerem · 1 comment
Owner

Originally created by @BernhardFahr on GitHub (Oct 21, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2057

Subject of the issue

git clone https://github.com/dani-garcia/vaultwarden
cd vaultwarden
git tag
git checkout 1.23.0
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 'rustc'
55.2 MiB / 55.2 MiB (100 %) 21.7 MiB/s in 3s ETA: 0s
info: downloading component 'rust-std'
25.0 MiB / 25.0 MiB (100 %) 19.8 MiB/s in 1s ETA: 0s
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: installing component 'rustc'
55.2 MiB / 55.2 MiB (100 %) 9.1 MiB/s in 6s ETA: 0s
info: installing component 'rust-std'
25.0 MiB / 25.0 MiB (100 %) 8.3 MiB/s in 3s ETA: 0s
info: installing component 'cargo'
info: installing component 'rust-docs'
17.9 MiB / 17.9 MiB (100 %) 4.6 MiB/s in 3s ETA: 0s
Updating crates.io index
error: failed to select a version for the requirement bytes = "^1.1.0"
candidate versions found which didn't match: 1.0.1, 1.0.0, 0.6.0, ...
location searched: crates.io index
required by package vaultwarden v1.0.0 (/root/vaultwarden)

Deployment environment

  • vaultwarden version:
  • Install method:

  • Clients used:

  • Reverse proxy and version:

  • MySQL/MariaDB or PostgreSQL version:

  • Other relevant details:

Steps to reproduce

Expected behaviour

Compile-Success

Actual behaviour

Compile aborts

Troubleshooting data

Originally created by @BernhardFahr on GitHub (Oct 21, 2021). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2057 <!-- # ### NOTE: Please update to the latest version of vaultwarden before reporting an issue! This saves you and us a lot of time and troubleshooting. See: * https://github.com/dani-garcia/vaultwarden/issues/1180 * https://github.com/dani-garcia/vaultwarden/wiki/Updating-the-vaultwarden-image # ### --> <!-- Please fill out the following template to make solving your problem easier and faster for us. This is only a guideline. If you think that parts are unnecessary for your issue, feel free to remove them. Remember to hide/redact personal or confidential information, such as passwords, IP addresses, and DNS names as appropriate. --> ### Subject of the issue git clone https://github.com/dani-garcia/vaultwarden cd vaultwarden git tag git checkout 1.23.0 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 'rustc' 55.2 MiB / 55.2 MiB (100 %) 21.7 MiB/s in 3s ETA: 0s info: downloading component 'rust-std' 25.0 MiB / 25.0 MiB (100 %) 19.8 MiB/s in 1s ETA: 0s info: downloading component 'cargo' info: downloading component 'rust-docs' info: installing component 'rustc' 55.2 MiB / 55.2 MiB (100 %) 9.1 MiB/s in 6s ETA: 0s info: installing component 'rust-std' 25.0 MiB / 25.0 MiB (100 %) 8.3 MiB/s in 3s ETA: 0s info: installing component 'cargo' info: installing component 'rust-docs' 17.9 MiB / 17.9 MiB (100 %) 4.6 MiB/s in 3s ETA: 0s Updating crates.io index error: failed to select a version for the requirement `bytes = "^1.1.0"` candidate versions found which didn't match: 1.0.1, 1.0.0, 0.6.0, ... location searched: crates.io index required by package `vaultwarden v1.0.0 (/root/vaultwarden)` ### Deployment environment <!-- ========================================================================================= Preferably, use the `Generate Support String` button on the admin page's Diagnostics tab. That will auto-generate most of the info requested in this section. ========================================================================================= --> <!-- The version number, obtained from the logs (at startup) or the admin diagnostics page --> <!-- This is NOT the version number shown on the web vault, which is versioned separately from vaultwarden --> <!-- Remember to check if your issue exists on the latest version first! --> * vaultwarden version: <!-- How the server was installed: Docker image, OS package, built from source, etc. --> * Install method: * Clients used: <!-- web vault, desktop, Android, iOS, etc. (if applicable) --> * Reverse proxy and version: <!-- if applicable --> * MySQL/MariaDB or PostgreSQL version: <!-- if applicable --> * Other relevant details: ### Steps to reproduce <!-- Tell us how to reproduce this issue. What parameters did you set (differently from the defaults) and how did you start vaultwarden? --> ### Expected behaviour Compile-Success ### Actual behaviour Compile aborts ### Troubleshooting data <!-- Share any log files, screenshots, or other relevant troubleshooting data -->
kerem closed this issue 2026-03-03 02:06:36 +03:00
Author
Owner

@BlackDex commented on GitHub (Oct 21, 2021):

Duplicate of #2056

<!-- gh-comment-id:948371709 --> @BlackDex commented on GitHub (Oct 21, 2021): Duplicate of #2056
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#1142
No description provided.