[GH-ISSUE #259] docker alpine builds are failing #12922

Closed
opened 2026-04-23 04:14:30 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @sitic on GitHub (Nov 19, 2018).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/259

Originally assigned to: @mprasil on GitHub.

The recently merged pr #257 has caused the alpine docker builds (Dockerfile.alpine) to fail:

Step 11/33 : FROM clux/muslrust:nightly-2018-08-24 as build
nightly-2018-08-24: Pulling from clux/muslrust
Digest: sha256:e113c43250b90138797363777ae3c603c19c4e85248470bbaf9a1ce013bdf1eb

[...]

Step 19/33 : RUN cargo build --release
 ---> Running in d35d6089b138
   Compiling bitwarden_rs v1.0.0 (file:///volume)
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
   --> src/api/identity.rs:278:69
    |
278 |                 let yubikey_metadata: two_factor::YubikeyMetadata = serde_json::from_str(&twofactor.data).expect("Can't parse Yubikey Metadata");
    |                                                                     ^^^^^^^^^^
    |
    = help: add #![feature(extern_prelude)] to the crate attributes to enable

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
error: Could not compile `bitwarden_rs`.

The debian-based docker version builds without problems.

Originally created by @sitic on GitHub (Nov 19, 2018). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/259 Originally assigned to: @mprasil on GitHub. The recently merged pr #257 has caused the alpine docker builds (`Dockerfile.alpine`) to fail: ``` Step 11/33 : FROM clux/muslrust:nightly-2018-08-24 as build nightly-2018-08-24: Pulling from clux/muslrust Digest: sha256:e113c43250b90138797363777ae3c603c19c4e85248470bbaf9a1ce013bdf1eb [...] Step 19/33 : RUN cargo build --release ---> Running in d35d6089b138 Compiling bitwarden_rs v1.0.0 (file:///volume) error[E0658]: access to extern crates through prelude is experimental (see issue #44660) --> src/api/identity.rs:278:69 | 278 | let yubikey_metadata: two_factor::YubikeyMetadata = serde_json::from_str(&twofactor.data).expect("Can't parse Yubikey Metadata"); | ^^^^^^^^^^ | = help: add #![feature(extern_prelude)] to the crate attributes to enable error: aborting due to previous error For more information about this error, try `rustc --explain E0658`. error: Could not compile `bitwarden_rs`. ``` The debian-based docker version builds without problems.
GiteaMirror added the bug label 2026-04-23 04:14:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#12922