Hi guys !
I'm trying http://diesel.rs and have a compilation problem with diesel_codegen_syntex
. Apparently it's solved Build Fails on Nightly · Issue #428 · diesel-rs/diesel · GitHub but that doesn't really tell me how do I try diesel today.
So does anyone know if there's a mailing-list of forum for diesel ?
Thanks
PS: for the record, the compilation error:
error[E0432]: unresolved import `syntax::attr::AttrMetaMethods`
--> /home/xav/.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[E0432]: unresolved import `syntax::attr::AttrMetaMethods`
--> /home/xav/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel_codegen_syntex-0.7.2/src/associations/mod.rs:2:5
|
2 | use syntax::attr::AttrMetaMethods;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AttrMetaMethods` in `syntax::attr`
error[E0432]: unresolved import `syntax::attr::AttrMetaMethods`
--> /home/xav/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel_codegen_syntex-0.7.2/src/update.rs:2:5
|
2 | use syntax::attr::AttrMetaMethods;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AttrMetaMethods` in `syntax::attr`
error[E0308]: mismatched types
--> /home/xav/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel_codegen_syntex-0.7.2/src/util.rs:42:17
|
42 | ast::MetaItemKind::Word(ref value) => Some(str_to_ident(&value)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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/xav/.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/xav/.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 `syntax::ast::NestedMetaItemKind`
|
= note: expected type `&syntax::codemap::Spanned<syntax::ast::MetaItemKind>`
= note: found type `&syntax::codemap::Spanned<syntax::ast::NestedMetaItemKind>`
error[E0308]: mismatched types
--> /home/xav/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel_codegen_syntex-0.7.2/src/update.rs:37:50
|
37 | let table_name = try!(table_name(cx, &meta_items[0]));
| ^^^^^^^^^^^^^^ expected enum `syntax::ast::MetaItemKind`, found enum `syntax::ast::NestedMetaItemKind`
|
= note: expected type `&syntax::codemap::Spanned<syntax::ast::MetaItemKind>`
= note: found type `&syntax::codemap::Spanned<syntax::ast::NestedMetaItemKind>`
error[E0308]: mismatched types
--> /home/xav/.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>]`
error: aborting due to 5 previous errors
error: Could not compile `diesel_codegen_syntex`.
To learn more, run the command again with --verbose.