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 time failure #154

Closed
dlrobertson opened this issue Feb 26, 2017 · 4 comments
Closed

Compile time failure #154

dlrobertson opened this issue Feb 26, 2017 · 4 comments

Comments

@dlrobertson
Copy link
Contributor

dlrobertson commented Feb 26, 2017

When using the latest nightly rustc and compiling on the master branch I get the following.

error[E0282]: type annotations needed
   --> src/ipc.rs:155:42
    |
155 |                     let mut serializer = bincode::Serializer::new(&mut bytes);
    |                         --------------   ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for `E`
    |                         |
    |                         consider giving `serializer` a type
error: aborting due to previous error
error: Could not compile `ipc-channel`.
@jdm
Copy link
Member

jdm commented Feb 27, 2017

This is broken on TravisCI, too.

@aidanhs
Copy link

aidanhs commented Mar 1, 2017

Quick workaround is to make the dep in cargo read bincode = "=1.0.0-alpha2".

@dtolnay
Copy link

dtolnay commented Mar 2, 2017

Until rust-lang/cargo#2222 is resolved, you should always depend on pre-release version using "=1.0.0-alpha2". Semver makes no guarantee about compatibility between alphaN and alphaN+1.

@dlrobertson
Copy link
Contributor Author

This has been resolved

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

4 participants