Cargo.toml has rust-version with the value 1.69.0; however that version does not work as can be seen below:
[zack@laptop projects]$ git clone https://github.com/dani-garcia/vaultwarden/ &&cd vaultwarden && git checkout refs/tags/1.29.2 && truncate rust-toolchain &&echo"1.69.0" >> rust-toolchain && cargo check
info: syncing channel updates for'1.69.0-x86_64-unknown-linux-gnu'
info: latest update on 2023-04-20, rust version 1.69.0 (84c898d65 2023-04-16)
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 git repository `https://github.com/SergioBenitez/Rocket`
Updating crates.io index
⋮
error: package `rmpv v1.0.1` cannot be built because it requires rustc 1.70 or newer, while the currently active rustc version is 1.69.0
Either upgrade to rustc 1.70 or newer, or use
cargo update -p rmpv@1.0.1 --precise ver
where `ver` is the latest version of `rmpv` supporting rustc 1.69.0
Solution
Since rust-toolchain.toml is already used, change its value to the actual MSRV and drop the use of rust-version altogether.
Originally created by @zacknewman on GitHub (Sep 22, 2023).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/3908
`Cargo.toml` has `rust-version` with the value `1.69.0`; however that version does not work as can be seen below:
```bash
[zack@laptop projects]$ git clone https://github.com/dani-garcia/vaultwarden/ && cd vaultwarden && git checkout refs/tags/1.29.2 && truncate rust-toolchain && echo "1.69.0" >> rust-toolchain && cargo check
info: syncing channel updates for '1.69.0-x86_64-unknown-linux-gnu'
info: latest update on 2023-04-20, rust version 1.69.0 (84c898d65 2023-04-16)
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 git repository `https://github.com/SergioBenitez/Rocket`
Updating crates.io index
⋮
error: package `rmpv v1.0.1` cannot be built because it requires rustc 1.70 or newer, while the currently active rustc version is 1.69.0
Either upgrade to rustc 1.70 or newer, or use
cargo update -p rmpv@1.0.1 --precise ver
where `ver` is the latest version of `rmpv` supporting rustc 1.69.0
```
**Solution**
Since `rust-toolchain.toml` is already used, change its value to the actual MSRV and drop the use of `rust-version` altogether.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @zacknewman on GitHub (Sep 22, 2023).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/3908
Cargo.tomlhasrust-versionwith the value1.69.0; however that version does not work as can be seen below:Solution
Since
rust-toolchain.tomlis already used, change its value to the actual MSRV and drop the use ofrust-versionaltogether.@BlackDex commented on GitHub (Sep 22, 2023):
Already fixed in main.