[GH-ISSUE #2116] Unreleased Rust version in Cargo.toml? #1159

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

Originally created by @linusg on GitHub (Nov 24, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2116

Subject of the issue

When trying to compile vaultwarden from source, cargo build complains about the specified Rust version 1.57:

github.com/dani-garcia/vaultwarden@016fe2269e/Cargo.toml (L6)

The latest Rust release appears to be 1.56.1: https://github.com/rust-lang/rust/blob/master/RELEASES.md - is this on purpose? The only scenario I can imagine where this works is compiling Rust itself from source and they already bumped the version number before the official release. Thanks!

Deployment environment

N/A.

Steps to reproduce

Install latest release of Rust. Try to build vaultwarden.

Expected behaviour

Build is successful.

Actual behaviour

Build is not successful.

Originally created by @linusg on GitHub (Nov 24, 2021). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2116 ### Subject of the issue When trying to compile vaultwarden from source, `cargo build` complains about the specified Rust version 1.57: https://github.com/dani-garcia/vaultwarden/blob/016fe2269e3079be65f86c4887b959341c984bfa/Cargo.toml#L6 The latest Rust release appears to be 1.56.1: https://github.com/rust-lang/rust/blob/master/RELEASES.md - is this on purpose? The only scenario I can imagine where this works is compiling Rust itself from source and they already bumped the version number before the official release. Thanks! ### Deployment environment N/A. ### Steps to reproduce Install latest release of Rust. Try to build vaultwarden. ### Expected behaviour Build is successful. ### Actual behaviour Build is not successful.
kerem closed this issue 2026-03-03 02:06:45 +03:00
Author
Owner

@BlackDex commented on GitHub (Nov 24, 2021):

The current version of Vaultwarden needs to be build with nightly. Also see the rust-toolchain file.

Nightly starts at 1.57, and currently is at 1.58.

<!-- gh-comment-id:978208449 --> @BlackDex commented on GitHub (Nov 24, 2021): The current version of Vaultwarden needs to be build with nightly. Also see the `rust-toolchain` file. Nightly starts at 1.57, and currently is at 1.58.
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#1159
No description provided.