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

proc-macro2 versioning #4459

Closed
0xTylerHolmes opened this issue Jul 3, 2023 · 0 comments
Closed

proc-macro2 versioning #4459

0xTylerHolmes opened this issue Jul 3, 2023 · 0 comments

Comments

@0xTylerHolmes
Copy link
Contributor

Description

Building lighthouse on later versions of nightly fail due to proc-macro2. The issue was fixed via: proc-macro2 1.0.60

Version

rust: 1.72.0-nightly (839e9a6e1 2023-07-02)
lighthouse: stable/unstable

Present Behavior

Failure to compile:

error[E0635]: unknown feature `proc_macro_span_shrink`
  --> /home/z3n/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.58/src/lib.rs:92:30
   |
92 |     feature(proc_macro_span, proc_macro_span_shrink)
   |                              ^^^^^^^^^^^^^^^^^^^^^^

   Compiling static_assertions v1.1.0
   Compiling pkg-config v0.3.27
   Compiling futures-sink v0.3.28
   Compiling itertools v0.10.5
   Compiling itoa v1.0.6
For more information about this error, try `rustc --explain E0635`.
error: could not compile `proc-macro2` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `lighthouse v4.2.0 (/home/z3n/git/lighthouse/lighthouse)`, intermediate artifacts can be found at `/home/z3n/git/lighthouse/target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
make: *** [Makefile:48: install] Error 101

Expected Behavior

compile

Steps to resolve

version bump proc-macro2 -> 1.0.60

see: rust-lang/rust#113152

This was referenced Jul 3, 2023
bors bot pushed a commit that referenced this issue Jul 12, 2023
## Issue Addressed

Addresses issue:  #4459

## Proposed Changes

`cargo update -p proc-macro2`

proc-macro2 v1.0.58 -> v1.0.63

## Additional Info

See: #4459 / rust-lang/rust#113152
bors bot pushed a commit that referenced this issue Jul 12, 2023
## Issue Addressed

Addresses issue:  #4459

## Proposed Changes

`cargo update -p proc-macro2`

proc-macro2 v1.0.58 -> v1.0.63

## Additional Info

See: #4459 / rust-lang/rust#113152
bors bot pushed a commit that referenced this issue Jul 12, 2023
## Issue Addressed

Addresses issue:  #4459

## Proposed Changes

`cargo update -p proc-macro2`

proc-macro2 v1.0.58 -> v1.0.63

## Additional Info

See: #4459 / rust-lang/rust#113152
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

2 participants