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

Compile problem with rust 1.17.0 #41610

Closed
beingalink opened this issue Apr 28, 2017 · 3 comments
Closed

Compile problem with rust 1.17.0 #41610

beingalink opened this issue Apr 28, 2017 · 3 comments

Comments

@beingalink
Copy link

This is a folluw up to this issue.

I was trying to cargo install cargo-update but it errors out when compiling serde_derive:

   Compiling serde_derive v0.9.15
error: proc-macro derive panicked
  --> .cargo/registry/src/github.com-1ecc6299db9ec823/cargo-update-0.8.1/src/ops/config.rs:43:73
   |
43 | #[derive(Debug, Clone, Hash, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)]
   |                                                                         ^^^^^^^^^^^
   |
   = help: message: proc_macro::__internal::with_parse_sess() called before set_parse_sess()!

error: failed to compile `cargo-update v0.8.1`, intermediate artifacts can be found at `/var/folders/5m/qk85bf793gzdmrgxpd2qrl4m0000gn/T/cargo-install.f94WA1eo7V4Z`

I'm on macOS 10.12.4 and Rust 1.17.0 installed with homebrew.

@dtolnay
Copy link
Member

dtolnay commented Apr 29, 2017

This is #39870. The homebrew packaging for Rust is screwed up. Uninstall it with homebrew and reinstall it with https://rustup.rs/ to fix this.

@beingalink
Copy link
Author

Installing with rustup fixed it. Thank you!

@ilovezfs
Copy link

This should no longer be a problem in Homebrew due to Homebrew/homebrew-core#14490.

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

3 participants