building 1.23.0 fails #1278

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

Originally created by @hboetes on GitHub.

I just tried building 1.23.0, which failed, so I upgraded rust to the latest stable and still I got this error:

cargo build --release --features sqlite
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 `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 (/usr/pkgmk/work/vaultwarden/src/vaultwarden-1.23.0)`

What am I missing here?

Originally created by @hboetes on GitHub. I just tried building 1.23.0, which failed, so I upgraded rust to the latest stable and still I got this error: ``` cargo build --release --features sqlite 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 `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 (/usr/pkgmk/work/vaultwarden/src/vaultwarden-1.23.0)` ``` What am I missing here?
Author
Owner

@BlackDex commented on GitHub:

Duplicate of #2056

@BlackDex commented on GitHub: Duplicate of #2056
Author
Owner

@hboetes commented on GitHub:

Thanks, that was the issue indeed.

@hboetes commented on GitHub: Thanks, that was the issue indeed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1278