crustacean-plugin 0.3.1

A Rust bindings generator plugin.
Build #56076 2017-06-04T23:28:44.278761+00:00
# 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...
Build failed, waiting for other jobs to finish...
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading crustacean-plugin v0.3.1
Downloading crustacean v0.3.1
Fresh libc v0.2.23
Compiling synthax v0.3.6
Fresh glob v0.2.11
Fresh lazy_static v0.2.8
Fresh rustc-serialize v0.3.24
Fresh bitflags v0.7.0
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`
Fresh toml v0.2.1
Fresh clang-sys v0.11.1
Fresh clang-sys v0.13.0
Fresh clang v0.14.1
Compiling crustacean v0.3.1
Compiling easy-plugin-parsers v0.11.8
Running `rustc --crate-name crustacean .cargo/registry/src/github.com-1ecc6299db9ec823/crustacean-0.3.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=4f127d3d5d480d9e -C extra-filename=-4f127d3d5d480d9e --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern clang=/home/cratesfyi/cratesfyi/debug/deps/libclang-e1bc792d7820d23e.rlib --extern-version clang=clang,0.14.1 --extern clang_sys=/home/cratesfyi/cratesfyi/debug/deps/libclang_sys-19335e6154110949.rlib --extern-version clang_sys=clang-sys,0.11.1 --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-496b028781a2b35b.rlib --extern-version libc=libc,0.2.23 --cap-lints allow -L /usr/lib/llvm-3.8/lib -L /usr/lib/llvm-3.8/lib`
Running `rustc --crate-name easy_plugin_parsers .cargo/registry/src/github.com-1ecc6299db9ec823/easy-plugin-parsers-0.11.8/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=c072d1bcca96ea4e -C extra-filename=-c072d1bcca96ea4e --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
error[E0432]: unresolved import `syntax::parse::lexer::Reader`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/easy-plugin-parsers-0.11.8/src/utility.rs:28:28
|
28 | use syntax::parse::lexer::{Reader, TokenAndSpan};
|                            ^^^^^^ no `Reader` in `parse::lexer`

error[E0432]: unresolved import `syntax::tokenstream::SequenceRepetition`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/easy-plugin-parsers-0.11.8/src/extractor.rs:26:38
|
26 | use syntax::tokenstream::{Delimited, SequenceRepetition, TokenTree};
|                                      ^^^^^^^^^^^^^^^^^^ no `SequenceRepetition` in `tokenstream`

error[E0425]: cannot find function `new_tt_reader` in module `transcribe`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/easy-plugin-parsers-0.11.8/src/utility.rs:324:34
|
324 |     let mut reader = transcribe::new_tt_reader(&session.span_diagnostic, None, tts.into());
|                                  ^^^^^^^^^^^^^ not found in `transcribe`

error: cannot continue compilation due to previous error

error: Could not compile `easy-plugin-parsers`.

Caused by:
process didn't exit successfully: `rustc --crate-name easy_plugin_parsers .cargo/registry/src/github.com-1ecc6299db9ec823/easy-plugin-parsers-0.11.8/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=c072d1bcca96ea4e -C extra-filename=-c072d1bcca96ea4e --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101)
error[E0560]: struct `syntax::ast::Attribute` has no field named `value`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/crustacean-0.3.1/src/ast/rust.rs:251:9
|
251 |         value: value,
|         ^^^^^^ field does not exist - did you mean `path`?

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/crustacean-0.3.1/src/ast/rust.rs:313:36
|
313 |     to_expr_lit(span, LitKind::Int(value, LitIntType::Unsuffixed))
|                                    ^^^^^ expected u128, found u64

error[E0023]: this pattern has 6 fields, but the corresponding tuple variant has 7 fields
--> .cargo/registry/src/github.com-1ecc6299db9ec823/crustacean-0.3.1/src/ast/rust.rs:373:35
|
373 |         ItemKind::ForeignMod(_) | ItemKind::Impl(_, _, _, _, _, _) => Visibility::Inherited,
|                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 7 fields, found 6

error[E0061]: this function takes 7 parameters but 6 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/crustacean-0.3.1/src/ast/rust.rs:389:9
|
389 |         Unsafety::Normal,
|         ^^^^^^^^^^^^^^^^ expected 7 parameters

error[E0599]: no associated item named `none` found for type `syntax::ast::PathParameters` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/crustacean-0.3.1/src/ast/rust.rs:423:60
|
423 |         PathSegment { identifier: to_ident(s), parameters: PathParameters::none() }
|                                                            ^^^^^^^^^^^^^^^^^^^^

error[E0063]: missing field `span` in initializer of `syntax::ast::PathSegment`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/crustacean-0.3.1/src/ast/rust.rs:423:9
|
423 |         PathSegment { identifier: to_ident(s), parameters: PathParameters::none() }
|         ^^^^^^^^^^^ missing `span`

error[E0560]: struct `syntax::ast::Path` has no field named `global`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/crustacean-0.3.1/src/ast/rust.rs:425:24
|
425 |     Path { span: span, global: global, segments: segments }
|                        ^^^^^^^ `syntax::ast::Path` does not have this field

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/crustacean-0.3.1/src/ast/rust.rs:431:35
|
431 |         lifetimes: vec![], types: P::from_vec(vec![ty]), bindings: P::new()
|                                   ^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P`
|
= note: expected type `std::vec::Vec<syntax::ptr::P<syntax::ast::Ty>>`
found type `syntax::ptr::P<[syntax::ptr::P<syntax::ast::Ty>]>`
= help: here are some functions which might fulfill your needs:
- .into_vec()
- .to_vec()

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/crustacean-0.3.1/src/ast/rust.rs:431:68
|
431 |         lifetimes: vec![], types: P::from_vec(vec![ty]), bindings: P::new()
|                                                                    ^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P`
|
= note: expected type `std::vec::Vec<syntax::ast::TypeBinding>`
found type `syntax::ptr::P<[_]>`
= help: here are some functions which might fulfill your needs:
- .into_vec()
- .to_vec()

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/crustacean-0.3.1/src/ast/rust.rs:433:35
|
433 |     path.segments[2].parameters = PathParameters::AngleBracketed(data);
|                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `syntax::ast::PathParameters`
|
= note: expected type `std::option::Option<syntax::ptr::P<syntax::ast::PathParameters>>`
found type `syntax::ast::PathParameters`

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: aborting due to previous error(s)

error: Could not compile `crustacean`.

Caused by:
process didn't exit successfully: `rustc --crate-name crustacean .cargo/registry/src/github.com-1ecc6299db9ec823/crustacean-0.3.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=4f127d3d5d480d9e -C extra-filename=-4f127d3d5d480d9e --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern clang=/home/cratesfyi/cratesfyi/debug/deps/libclang-e1bc792d7820d23e.rlib --extern-version clang=clang,0.14.1 --extern clang_sys=/home/cratesfyi/cratesfyi/debug/deps/libclang_sys-19335e6154110949.rlib --extern-version clang_sys=clang-sys,0.11.1 --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-496b028781a2b35b.rlib --extern-version libc=libc,0.2.23 --cap-lints allow -L /usr/lib/llvm-3.8/lib -L /usr/lib/llvm-3.8/lib` (exit code: 101)
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)

thread 'main' panicked at 'build failed', src/bin/cratesfyi.rs:136
note: Run with `RUST_BACKTRACE=1` for a backtrace.