easy-plugin 0.11.8

A compiler plugin that makes it easier to write compiler plugins.
Build #53978 2017-06-03 17:41:36

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version
rustc 1.19.0-dev (28a93c1f4 2017-05-31)# docs.rs version
cratesfyi 0.4.0-dev (bedcc0c 2017-06-01)# build log
Build failed, waiting for other jobs to finish...
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading easy-plugin v0.11.8
Downloading easy-plugin-parsers v0.11.8
Downloading synthax v0.3.6
Fresh rustc-serialize v0.3.24
Compiling synthax v0.3.6
Fresh toml v0.2.1
Running `rustc --crate-name synthax .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs --crate-type dylib --emit=dep-info,link -C prefer-dynamic -C debuginfo=2 -C metadata=047cf1e48f4f5b1d -C extra-filename=-047cf1e48f4f5b1d --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Compiling easy-plugin-parsers v0.11.8
Running `rustc --crate-name build_script_build .cargo/registry/src/github.com-1ecc6299db9ec823/easy-plugin-parsers-0.11.8/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=3e8993b168e32895 -C extra-filename=-3e8993b168e32895 --out-dir /home/cratesfyi/cratesfyi/debug/build/easy-plugin-parsers-3e8993b168e32895 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern toml=/home/cratesfyi/cratesfyi/debug/deps/libtoml-1a09fa2674ee8ead.rlib --extern-version toml=toml,0.2.1 --cap-lints allow`
error[E0432]: unresolved import `syntax::codemap::ExpnId`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:16:23
|
16 | use syntax::codemap::{ExpnId, Span};
|                       ^^^^^^ no `ExpnId` in `codemap`

error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:240:39
|
240 |                 token_tree!(delimited.open_tt());
|                                       ^^^^^^^ expected 1 parameter

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:241:63
|
241 |                 expr = expand_var_sequence_tts(context, span, &delimited.tts, expr);
|                                                               ^^^^^^^^^^^^^^ expected slice, found struct `syntax::tokenstream::ThinTokenStream`
|
= note: expected type `&[syntax::tokenstream::TokenTree]`
found type `&syntax::tokenstream::ThinTokenStream`

error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:242:39
|
242 |                 token_tree!(delimited.close_tt());
|                                       ^^^^^^^^ expected 1 parameter

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:295:39
|
295 |             parse_expr(context, span, &delimited.tts).unwrap(),
|                                       ^^^^^^^^^^^^^^ expected slice, found struct `syntax::tokenstream::ThinTokenStream`
|
= note: expected type `&[syntax::tokenstream::TokenTree]`
found type `&syntax::tokenstream::ThinTokenStream`

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:297:53
|
297 |             expand_var_sequence(context, span, tts, &delimited.tts),
|                                                     ^^^^^^^^^^^^^^ expected slice, found struct `syntax::tokenstream::ThinTokenStream`
|
= note: expected type `&[syntax::tokenstream::TokenTree]`
found type `&syntax::tokenstream::ThinTokenStream`

error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:310:81
|
310 |     etts.push(ExpandedTokenTree::TokenTree(mk_expr_tt(context, span, &delimited.open_tt())));
|                                                                                 ^^^^^^^ expected 1 parameter

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:311:64
|
311 |     etts.push(ExpandedTokenTree::Vec(expand_tts(context, span, &delimited.tts, source)));
|                                                                ^^^^^^^^^^^^^^ expected slice, found struct `syntax::tokenstream::ThinTokenStream`
|
= note: expected type `&[syntax::tokenstream::TokenTree]`
found type `&syntax::tokenstream::ThinTokenStream`

error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:312:81
|
312 |     etts.push(ExpandedTokenTree::TokenTree(mk_expr_tt(context, span, &delimited.close_tt())));
|                                                                                 ^^^^^^^^ expected 1 parameter

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:329:61
|
329 |                 etts.extend(expand_delimited(context, span, delimited, source).into_iter()),
|                                                             ^^^^^^^^^ expected struct `std::rc::Rc`, found struct `syntax::tokenstream::Delimited`
|
= note: expected type `&std::rc::Rc<syntax::tokenstream::Delimited>`
found type `&syntax::tokenstream::Delimited`

error: no field `expn_id` on type `&syntax::codemap::Span`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:126:90
|
126 |         mk_expr_struct(context, span, rt!["Span"], fields!(context, span, self, [lo, hi, expn_id]))
|                                                    --------------------------------------^^^^^^^-- in this macro invocation

error[E0599]: no associated item named `MatchNt` found for type `syntax::parse::token::Token` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:173:13
|
173 |             Token::MatchNt(_, _) |
|             ^^^^^^^^^^^^^^^^^^^^

error: no field `open_span` on type `&syntax::tokenstream::Delimited`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:186:59
|
186 |         let fields = fields!(context, span, self, [delim, open_span, tts, close_span]);
|                      -------------------------------------^^^^^^^^^------------------- in this macro invocation

error[E0599]: no method named `to_expr` found for type `syntax::tokenstream::ThinTokenStream` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:50:78
|
50  |         vec![$(mk_field($context, $span, stringify!($field), $struct_.$field.to_expr($context, $span))), +]
|                                                                              ^^^^^^^
...
186 |         let fields = fields!(context, span, self, [delim, open_span, tts, close_span]);
|                      ----------------------------------------------------------------- in this macro invocation
|
= help: items from traits can only be used if the trait is implemented and in scope; the following trait defines an item `to_expr`, perhaps you need to implement it:
= help: candidate #1: `expr::ToExpr`

error: no field `close_span` on type `&syntax::tokenstream::Delimited`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:186:75
|
186 |         let fields = fields!(context, span, self, [delim, open_span, tts, close_span]);
|                      -----------------------------------------------------^^^^^^^^^^-- in this macro invocation

error[E0599]: no associated item named `Sequence` found for type `syntax::tokenstream::TokenTree` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:241:9
|
241 |         TokenTree::Sequence(..) => unreachable!(),
|         ^^^^^^^^^^^^^^^^^^^^^^^

error: no field `name` on type `&syntax::ast::Lifetime`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/tt.rs:273:44
|
273 |         let ident = context.ident_of(&self.name.as_str()[..]);
|                                            ^^^^

error: aborting due to previous error(s)

error: Could not compile `synthax`.

Caused by:
process didn't exit successfully: `rustc --crate-name synthax .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs --crate-type dylib --emit=dep-info,link -C prefer-dynamic -C debuginfo=2 -C metadata=047cf1e48f4f5b1d -C extra-filename=-047cf1e48f4f5b1d --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101)
thread 'main' panicked at 'build failed', src/bin/cratesfyi.rs:136
note: Run with `RUST_BACKTRACE=1` for a backtrace.