Skip to content
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

Use of unstable library features (E0658) #564

Open
charklie opened this issue Apr 15, 2024 · 0 comments
Open

Use of unstable library features (E0658) #564

charklie opened this issue Apr 15, 2024 · 0 comments

Comments

@charklie
Copy link

Not sure if its anything to do with my particulate system but when i tried to install skim via cargo, cargo install skim
It gave me this error;

    Updating crates.io index
  Installing skim v0.10.4
    Updating crates.io index
   Compiling autocfg v1.2.0
   Compiling proc-macro2 v1.0.80
   Compiling unicode-ident v1.0.12
   Compiling libc v0.2.153
   Compiling crossbeam-utils v0.8.19
   Compiling syn v1.0.109
   Compiling cfg-if v1.0.0
   Compiling fnv v1.0.7
   Compiling ident_case v1.0.1
   Compiling strsim v0.10.0
   Compiling once_cell v1.19.0
   Compiling memchr v2.7.2
   Compiling bitflags v1.3.2
   Compiling rayon-core v1.12.1
   Compiling regex-syntax v0.8.3
   Compiling termcolor v1.4.1
   Compiling hashbrown v0.12.3
   Compiling os_str_bytes v6.6.1
   Compiling log v0.4.21
   Compiling iana-time-zone v0.1.60
   Compiling powerfmt v0.2.0
   Compiling num-traits v0.2.18
   Compiling indexmap v1.9.3
   Compiling memoffset v0.6.5
   Compiling deranged v0.3.11
error[E0658]: use of unstable library feature 'proc_macro_byte_character'
   --> /home/chararch/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.80/src/wrapper.rs:871:21
    |
871 |                     proc_macro::Literal::byte_character(byte)
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #115268 <https://github.com/rust-lang/rust/issues/115268> for more information
    = help: add `#![feature(proc_macro_byte_character)]` to the crate attributes to enable
    = note: this compiler was built on 2024-04-01; consider upgrading it if it is out of date

error[E0658]: use of unstable library feature 'proc_macro_c_str_literals'
   --> /home/chararch/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.80/src/wrapper.rs:898:21
    |
898 |                     proc_macro::Literal::c_string(string)
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #119750 <https://github.com/rust-lang/rust/issues/119750> for more information
    = help: add `#![feature(proc_macro_c_str_literals)]` to the crate attributes to enable
    = note: this compiler was built on 2024-04-01; consider upgrading it if it is out of date

   Compiling clap_lex v0.2.4
   Compiling aho-corasick v1.1.3
For more information about this error, try `rustc --explain E0658`.
error: could not compile `proc-macro2` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `skim v0.10.4`, intermediate artifacts can be found at `/tmp/cargo-installbuV8Ve`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant