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

Closed
opened 2026-03-03 01:25:36 +03:00 by kerem · 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.
kerem 2026-03-03 01:25:36 +03:00
  • closed this issue
  • added the
    bug
    label
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#131
No description provided.