nabijaczleweli / cargo-update

A cargo subcommand for checking and applying updates to installed executables
MIT License
1.22k stars 42 forks source link

Can't compile/install cargo-update with rust 1.17.0 #27

Closed beingalink closed 7 years ago

beingalink commented 7 years ago

cargo install cargo-update results in:

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.iDIiPXoPMRKd`

I'm on macOS 10.12.4

nabijaczleweli commented 7 years ago

Norepro but I've update the dependencies (or, well, the specific dependency causing issues at least, it being serde_derive) and would be grateful if you could compile from master

beingalink commented 7 years ago

Just tried but it didn't help:

   Compiling serde_derive v1.0.2
error: proc-macro derive panicked
  --> 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: Could not compile `cargo-update`.
nabijaczleweli commented 7 years ago

Reboot, try again, post to http://github.com/rust-lang/rust. Don't think I can help ya.

nabijaczleweli commented 7 years ago

Yeah, @Shepmaster said he can't repro either, so turn to rust-lang/rust and/or reinstall.