-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo installs fails to build (unstable feature lazy_cell) #64
Comments
Which version of Rust are you using? |
It was 1.79. Updating to 1.80 fixed it, thanks ! |
Then why doesn't it work with 1.84.1... error[E0658]: use of unstable library feature 'lazy_cell' error[E0658]: use of unstable library feature 'lazy_cell' error[E0658]: use of unstable library feature 'lazy_cell' error[E0658]: use of unstable library feature 'lazy_cell' For more information about this error, try |
Hi,
cargo install
fails with the log below. Usign--locked
does not help.Any idea ?
Thanks,
`error[E0658]: use of unstable library feature 'lazy_cell'
--> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui_confirm_dialog-0.2.3/src/confirm_dialog.rs:5:5
|
5 | use std::sync::LazyLock;
| ^^^^^^^^^^^^^^^^^^^
|
= note: see issue #109736 rust-lang/rust#109736 for more information
error[E0658]: use of unstable library feature 'lazy_cell'
--> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui_confirm_dialog-0.2.3/src/confirm_dialog.rs:20:25
|
20 | static BUTTON_LABEL_RE: LazyLock = LazyLock::new(||Regex::new(r#"((\w))"#).unwrap());
| ^^^^^^^^^^^^^^^
|
= note: see issue #109736 rust-lang/rust#109736 for more information
error[E0658]: use of unstable library feature 'lazy_cell'
--> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui_confirm_dialog-0.2.3/src/confirm_dialog.rs:20:43
|
20 | static BUTTON_LABEL_RE: LazyLock = LazyLock::new(||Regex::new(r#"((\w))"#).unwrap());
| ^^^^^^^^
|
= note: see issue #109736 rust-lang/rust#109736 for more information
error[E0658]: use of unstable library feature 'lazy_cell'
--> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui_confirm_dialog-0.2.3/src/confirm_dialog.rs:23:17
|
23 | pub const YES: LazyLock = LazyLock::new(|| ButtonLabel {
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #109736 rust-lang/rust#109736 for more information
error[E0658]: use of unstable library feature 'lazy_cell'
--> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui_confirm_dialog-0.2.3/src/confirm_dialog.rs:23:41
|
23 | pub const YES: LazyLock = LazyLock::new(|| ButtonLabel {
| ^^^^^^^^
|
= note: see issue #109736 rust-lang/rust#109736 for more information
error[E0658]: use of unstable library feature 'lazy_cell'
--> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui_confirm_dialog-0.2.3/src/confirm_dialog.rs:29:16
|
29 | pub const NO: LazyLock = LazyLock::new(|| ButtonLabel {
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #109736 rust-lang/rust#109736 for more information
error[E0658]: use of unstable library feature 'lazy_cell'
--> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui_confirm_dialog-0.2.3/src/confirm_dialog.rs:29:40
|
29 | pub const NO: LazyLock = LazyLock::new(|| ButtonLabel {
| ^^^^^^^^
|
= note: see issue #109736 rust-lang/rust#109736 for more information
error[E0658]: use of unstable library feature 'lazy_cell'
--> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui_confirm_dialog-0.2.3/src/confirm_dialog.rs:20:43
|
20 | static BUTTON_LABEL_RE: LazyLock = LazyLock::new(||Regex::new(r#"((\w))"#).unwrap());
| ^^^^^^^^^^^^^
|
= note: see issue #109736 rust-lang/rust#109736 for more information
error[E0658]: use of unstable library feature 'lazy_cell'
--> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui_confirm_dialog-0.2.3/src/confirm_dialog.rs:23:41
|
23 | pub const YES: LazyLock = LazyLock::new(|| ButtonLabel {
| ^^^^^^^^^^^^^
|
= note: see issue #109736 rust-lang/rust#109736 for more information
error[E0658]: use of unstable library feature 'lazy_cell'
--> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tui_confirm_dialog-0.2.3/src/confirm_dialog.rs:29:40
|
29 | pub const NO: LazyLock = LazyLock::new(|| ButtonLabel {
| ^^^^^^^^^^^^^
|
= note: see issue #109736 rust-lang/rust#109736 for more information
For more information about this error, try
rustc --explain E0658
.error: could not compile
tui_confirm_dialog
(lib) due to 10 previous errorswarning: build failed, waiting for other jobs to finish...
error: failed to compile
lazyjj v0.4.2
, intermediate artifacts can be found at/tmp/cargo-installgYPWoO
.To reuse those artifacts with a future compilation, set the environment variable
CARGO_TARGET_DIR
to that path.wThe text was updated successfully, but these errors were encountered: