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

Build problems with newest rust nightly #156

Closed
mruegenberg opened this issue May 16, 2014 · 5 comments
Closed

Build problems with newest rust nightly #156

mruegenberg opened this issue May 16, 2014 · 5 comments

Comments

@mruegenberg
Copy link

The newest nightly (rustc 0.11.0-pre-nightly (d92926c 2014-05-16 01:06:25 -0700)) gives me several build errors along the lines of

error: mismatched types: expected `Modifiers` but found `core::option::Option<Modifiers>` (expected struct Modifiers but found enum core::option::Option)

and

error: type `&mut core::fmt::FormatWriter` does not implement any method in scope named `write_fmt`

The full build log is here.

@mruegenberg mruegenberg changed the title Build problems with newest nightly Build problems with newest rust nightly May 16, 2014
@mruegenberg
Copy link
Author

I don't know if this is an actual fix, but the FormatWriter errors disappeared by replacing f.buf with f at all the offending locations in lib.rs.

@metajack
Copy link
Collaborator

The other errors are due to needing to revert the Rust bug workaround introduced by #147

@luqmana
Copy link
Collaborator

luqmana commented May 16, 2014

I have a patch for the rust bug which will hopefully land soon: rust-lang/rust#14121

@brendanzab
Copy link
Member

Is this fixed?

@mruegenberg
Copy link
Author

Thanks, it's fixed now.

btw: It would be nice if the Travis build status were displayed in the readme.

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