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 Fails on Nightly #428

Closed
pop opened this Issue Sep 6, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@pop

pop commented Sep 6, 2016

For a full build failure I have a Travis-CI build here.

Using the following Nightly versions of rustc and cargo I get 15 build failures.

rustc 1.13.0-nightly (cbe4de78e 2016-09-05)
cargo 0.13.0-nightly (2ef3cde 2016-09-04)

The failures look like this:

error[E0432]: unresolved import `syntax::attr::AttrMetaMethods`
 --> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel_codegen_syntex-0.7.2/src/util.rs:3:5
  |
3 | use syntax::attr::AttrMetaMethods;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AttrMetaMethods` in `syntax::attr`

error[E0308]: mismatched types
  --> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel_codegen_syntex-0.7.2/src/associations/mod.rs:57:17
   |
57 |                 MetaItemKind::Word(ref name) => str_to_ident(&name),
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `syntax::ast::NestedMetaItemKind`, found enum `syntax::ast::MetaItemKind`
   |
   = note: expected type `syntax::ast::NestedMetaItemKind`
   = note:    found type `syntax::ast::MetaItemKind`

error[E0308]: mismatched types
  --> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel_codegen_syntex-0.7.2/src/insertable.rs:36:54
   |
36 |             meta_items.iter().map(|i| table_name(cx, i)).collect()
   |                                                      ^ expected enum `syntax::ast::MetaItemKind`, found enum 

error[E0308]: mismatched types
  --> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel_codegen_syntex-0.7.2/src/update.rs:38:62
   |
38 |             let treat_none_as_null = try!(boolean_option(cx, &meta_items[1..], "treat_none_as_null"))
   |                                                              ^^^^^^^^^^^^^^^^ expected struct `syntax::ptr::P`, found struct `syntax::codemap::Spanned`
   |
   = note: expected type `&[syntax::ptr::P<syntax::codemap::Spanned<syntax::ast::MetaItemKind>>]`
   = note:    found type `&[syntax::codemap::Spanned<syntax::ast::NestedMetaItemKind>]`

I have entirely too little knowledge of diesel and diesel_codegen_syntex to promise I'll attempt a fix, just wanted to let you know it was an issue on Travi-CI and on my personal OS.

@pop

This comment has been minimized.

pop commented Sep 6, 2016

NVM, fixed in PR #426. This can be closed.

@pop pop closed this Sep 6, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment