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

'cargo build --bin macrokata' failes with "unknown feature proc_macro_span_shrink" #64

Open
vbendeb opened this issue Nov 23, 2024 · 0 comments

Comments

@vbendeb
Copy link

vbendeb commented Nov 23, 2024

I'm trying to follow the installation instructions and am seeing this error:

#  cargo build --bin macrokata
   Compiling version_check v0.9.4
   Compiling proc-macro2 v1.0.47
   Compiling libc v0.2.137
   Compiling quote v1.0.21
   Compiling unicode-ident v1.0.5
   Compiling syn v1.0.103
   Compiling cfg-if v1.0.0
   Compiling once_cell v1.16.0
   Compiling heck v0.4.0
   Compiling os_str_bytes v6.4.0
   Compiling strsim v0.10.0
   Compiling termcolor v1.1.3
   Compiling hashbrown v0.12.3
   Compiling bitflags v1.3.2
   Compiling glob v0.3.0
   Compiling clap_lex v0.3.0
   Compiling proc-macro-error-attr v1.0.4
   Compiling proc-macro-error v1.0.4
   Compiling ahash v0.8.2
error[E0635]: unknown feature `proc_macro_span_shrink`
  --> <home>/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.47/src/lib.rs:92:30
   |
92 |     feature(proc_macro_span, proc_macro_span_shrink)
   |                              ^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0635`.
error: could not compile `proc-macro2` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

Cargo version is

cargo 1.85.0-nightly (66221abde 2024-11-19)
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