dani-garcia / vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
GNU Affero General Public License v3.0
39.53k stars 1.92k forks source link

building 1.23.0 fails #2058

Closed hboetes closed 3 years ago

hboetes commented 3 years ago

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?

BlackDex commented 3 years ago

Duplicate of #2056

hboetes commented 3 years ago

Thanks, that was the issue indeed.