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

Impossible to compile 0.2.2 #47

Closed
badboy opened this issue Aug 31, 2016 · 6 comments
Closed

Impossible to compile 0.2.2 #47

badboy opened this issue Aug 31, 2016 · 6 comments

Comments

@badboy
Copy link
Contributor

badboy commented Aug 31, 2016

It's currently impossible to use the release v0.2.2, as it has dependencies on two different versions of syntex.

$ grep '"syntex ' Cargo.lock
 "syntex 0.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
 "syntex 0.39.0 (registry+https://github.com/rust-lang/crates.io-index)",
 "syntex 0.39.0 (registry+https://github.com/rust-lang/crates.io-index)",

Error:

   Compiling hubcaps v0.2.2
error: mismatched types [--explain E0308]
  --> /home/jer/.cargo/registry/src/github.com-1ecc6299db9ec823/hubcaps-0.2.2/build.rs:14:29
   |>
14 |>     serde_codegen::register(&mut registry);
   |>                             ^^^^^^^^^^^^^ expected struct `syntex::Registry`, found a different struct `syntex::Registry`
note: expected type `&mut syntex::Registry`
note:    found type `&mut syntex::Registry`
note: Perhaps two different versions of crate `syntex` are being used?
  --> /home/jer/.cargo/registry/src/github.com-1ecc6299db9ec823/hubcaps-0.2.2/build.rs:14:29
   |>
14 |>     serde_codegen::register(&mut registry);
   |>                             ^^^^^^^^^^^^^

error: aborting due to previous error
error: Could not compile `hubcaps`.

This is on a bare minimum new project with hubcaps as a direct dependency.

git seems to work fine. Maybe push out a new (bugfix) release?

@euclio
Copy link
Contributor

euclio commented Aug 31, 2016

Yeah, this was fixed by #43.

@badboy
Copy link
Contributor Author

badboy commented Aug 31, 2016

yeah, so at this point only a new release is needed

@softprops
Copy link
Owner

I folks. Ill try to make that happen this weekend. I'll try to sync up other dependencies and clean up if I have time before I do so as well. Thanks for being patient!

@badboy
Copy link
Contributor Author

badboy commented Aug 31, 2016

@softprops Appreciated! Thanks for all the work

@softprops
Copy link
Owner

@badboy
Copy link
Contributor Author

badboy commented Sep 2, 2016

Thank you!

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