html5ever_macros 0.2.7

High-performance browser-grade HTML5 parser − compiler plugins
Build #51969 2017-06-02T14:14:38.734734+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
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading html5ever_macros v0.2.7
Fresh mac v0.1.1
Documenting html5ever_macros v0.2.7
Running `rustdoc --crate-name html5ever_macros .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern mac=/home/cratesfyi/cratesfyi/debug/deps/libmac-d8857c894cea3438.rlib --extern-version mac=mac,0.1.1`
error[E0432]: unresolved import `syntax::codemap::spanned`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/match_token.rs:104:38
|
104 | use syntax::codemap::{Span, Spanned, spanned};
|                                      ^^^^^^^ no `spanned` in `codemap`. Did you mean to use `Spanned`?

error[E0433]: failed to resolve. Could not find `keywords` in `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/match_token.rs:234:41
|
234 |         let rhs = if parser.eat_keyword(token::keywords::Else) {
|                                         ^^^^^^^^^^^^^^^^^^^^^ Could not find `keywords` in `token`

error[E0425]: cannot find function `gensym_ident` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/match_token.rs:432:33
|
432 |     let last_arm_token = token::gensym_ident("last_arm_token");
|                                 ^^^^^^^^^^^^ not found in `token`

error[E0425]: cannot find function `gensym_ident` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/match_token.rs:433:35
|
433 |     let enable_wildcards = token::gensym_ident("enable_wildcards");
|                                   ^^^^^^^^^^^^ not found in `token`

error[E0425]: cannot find function `parse_tts_from_source_str` in module `parse`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:36:32
|
36 |     let tts = panictry!(parse::parse_tts_from_source_str(from, source, vec![], &sess));
|                                ^^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `parse_item_from_source_str`?

error[E0425]: cannot find function `intern` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:94:59
|
94 |             format: codemap::ExpnFormat::MacroBang(token::intern("match_token")),
|                                                           ^^^^^^ not found in `token`

error: no field `last_span` on type `&mut syntax::parse::parser::Parser<'a>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/match_token.rs:177:21
|
177 |     let hi = parser.last_span.hi;
|                     ^^^^^^^^^

error: no field `last_span` on type `&mut syntax::parse::parser::Parser<'a>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/match_token.rs:195:27
|
195 |     Ok(spanned(lo, parser.last_span.hi, Tag {
|                           ^^^^^^^^^

error[E0061]: this function takes 2 parameters but 3 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/match_token.rs:203:49
|
203 |     let mut parser = parse::new_parser_from_tts(cx.parse_sess(), cx.cfg(), toks.to_vec());
|                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters

error[E0599]: no associated item named `RESTRICTION_NO_STRUCT_LITERAL` found for type `syntax::parse::parser::Restrictions` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/match_token.rs:205:51
|
205 |     let discriminant = try!(parser.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL, None));
|                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: no field `last_span` on type `syntax::parse::parser::Parser<'_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/match_token.rs:228:29
|
228 |         let lhs_hi = parser.last_span.hi;
|                             ^^^^^^^^^ did you mean `prev_span`?

error[E0599]: no associated item named `RESTRICTION_STMT_EXPR` found for type `syntax::parse::parser::Restrictions` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/match_token.rs:238:51
|
238 |             let expr = try!(parser.parse_expr_res(Restrictions::RESTRICTION_STMT_EXPR, None));
|                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: no field `last_span` on type `syntax::parse::parser::Parser<'_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/match_token.rs:239:29
|
239 |             rhs_hi = parser.last_span.hi;
|                             ^^^^^^^^^ did you mean `prev_span`?

error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:29:16
|
29 |     let sess = parse::ParseSess::new();
|                ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter

error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:31:42
|
31 |     let mut cx = ext::base::ExtCtxt::new(&sess, vec![],
|                                          ^^^^^ expected 3 parameters

error[E0599]: no method named `bt_push` found for type `&mut syntax::ext::base::ExtCtxt<'_>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:60:28
|
60 |                         cx.bt_push(expn_info(span));
|                            ^^^^^^^

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:62:75
|
62 |                             match match_token::expand_to_tokens(cx, span, &block.tts) {
|                                                                           ^^^^^^^^^^ expected slice, found struct `syntax::tokenstream::ThinTokenStream`
|
= note: expected type `&[syntax::tokenstream::TokenTree]`
found type `&syntax::tokenstream::ThinTokenStream`

error[E0599]: no method named `bt_pop` found for type `&mut syntax::ext::base::ExtCtxt<'_>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:69:28
|
69 |                         cx.bt_pop();
|                            ^^^^^^

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:75:30
|
75 |                 Rc::make_mut(&mut block);
|                              ^^^^^^^^^^ expected struct `std::rc::Rc`, found struct `syntax::tokenstream::Delimited`
|
= note: expected type `&mut std::rc::Rc<_>`
found type `&mut syntax::tokenstream::Delimited`

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:76:44
|
76 |                 let block = Rc::try_unwrap(block).unwrap();
|                                            ^^^^^ expected struct `std::rc::Rc`, found struct `syntax::tokenstream::Delimited`
|
= note: expected type `std::rc::Rc<_>`
found type `syntax::tokenstream::Delimited`

error[E0560]: struct `syntax::tokenstream::Delimited` has no field named `open_span`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:79:21
|
79 |                     open_span: block.open_span,
|                     ^^^^^^^^^^ `syntax::tokenstream::Delimited` does not have this field

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:80:26
|
80 |                     tts: find_and_expand_match_token(cx, block.tts),
|                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::tokenstream::ThinTokenStream`, found struct `std::vec::Vec`
|
= note: expected type `syntax::tokenstream::ThinTokenStream`
found type `std::vec::Vec<syntax::tokenstream::TokenTree>`
= help: here are some functions which might fulfill your needs:
- .remove(...)
- .swap_remove(...)

error[E0560]: struct `syntax::tokenstream::Delimited` has no field named `close_span`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:81:21
|
81 |                     close_span: block.close_span,
|                     ^^^^^^^^^^^ `syntax::tokenstream::Delimited` does not have this field

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:77:58
|
77 |                   expanded.push(TokenTree::Delimited(span, Rc::new(Delimited {
|  __________________________________________________________^
78 | |                     delim: block.delim,
79 | |                     open_span: block.open_span,
80 | |                     tts: find_and_expand_match_token(cx, block.tts),
81 | |                     close_span: block.close_span,
82 | |                 })))
| |__________________^ expected struct `syntax::tokenstream::Delimited`, found struct `std::rc::Rc`
|
= note: expected type `syntax::tokenstream::Delimited`
found type `std::rc::Rc<syntax::tokenstream::Delimited>`

error[E0061]: this function takes 2 parameters but 3 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:103:49
|
103 |     let mut parser = parse::new_parser_from_tts(cx.parse_sess(), cx.cfg(), tts);
|                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters

error[E0599]: no method named `bt_push` found for type `&mut syntax::ext::base::ExtCtxt<'_>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/pre_expand.rs:110:8
|
110 |     cx.bt_push(expn_info(start_span));
|        ^^^^^^^

error: Compilation failed, aborting rustdoc

thread 'main' panicked at 'ChainedError {
error: Could not document `html5ever_macros`.,
cause: process didn't exit successfully: `rustdoc --crate-name html5ever_macros .cargo/registry/src/github.com-1ecc6299db9ec823/html5ever_macros-0.2.7/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern mac=/home/cratesfyi/cratesfyi/debug/deps/libmac-d8857c894cea3438.rlib --extern-version mac=mac,0.1.1` (exit code: 101)
}', src/bin/cratesfyi.rs:136
note: Run with `RUST_BACKTRACE=1` for a backtrace.