enum_stream_codegen 0.0.0

A parser generator. This package handles code generation for the `enum_stream` macro."
Build #57263 2017-06-05 15:18:23

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... Build failed, waiting for other jobs to finish... Updating registry `https://github.com/rust-lang/crates.io-index` Fresh log v0.3.8 Fresh itertools v0.4.19 Fresh utf8-ranges v0.1.3 Compiling quasi v0.10.0 Fresh regex-syntax v0.2.6 Fresh num-traits v0.1.37 Fresh regex-syntax v0.3.9 Fresh winapi-build v0.1.1 Fresh libc v0.2.23 Fresh rustc-serialize v0.3.24 Fresh lazy_static v0.1.16 Fresh range-map v0.1.5 Running `rustc --crate-name quasi .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=5817efadfed51b5a -C extra-filename=-5817efadfed51b5a --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` Fresh num-integer v0.1.34 Fresh refinery v0.1.1 Fresh bit-vec v0.4.4 Fresh ref_slice v1.1.1 Fresh optional v0.0.13 Fresh num-complex v0.1.37 Fresh winapi v0.2.8 Fresh rand v0.3.15 Fresh typed-arena v1.3.0 Compiling aster v0.16.0 Running `rustc --crate-name aster .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=08cb7cb004fcd74b -C extra-filename=-08cb7cb004fcd74b --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` Fresh memchr v0.1.11 Fresh aho-corasick v0.4.1 Fresh aho-corasick v0.5.3 Fresh memmem v0.1.1 Fresh bit-matrix v0.2.0 Fresh num-iter v0.1.33 Fresh num-bigint v0.1.37 Fresh kernel32-sys v0.2.2 Fresh cfg v0.3.0 Fresh num-rational v0.1.36 Fresh thread-id v2.0.0 Fresh gearley v0.0.1 Fresh num v0.1.37 Fresh thread_local v0.2.7 Compiling regex_dfa v0.4.0 Fresh regex v0.1.80 Running `rustc --crate-name regex_dfa .cargo/registry/src/github.com-1ecc6299db9ec823/regex_dfa-0.4.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=596adb2b1b2ed13e -C extra-filename=-596adb2b1b2ed13e --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern aho_corasick=/home/cratesfyi/cratesfyi/debug/deps/libaho_corasick-474156dce1b7a94b.rlib --extern-version aho_corasick=aho-corasick,0.4.1 --extern range_map=/home/cratesfyi/cratesfyi/debug/deps/librange_map-2168366bca898da0.rlib --extern-version range_map=range-map,0.1.5 --extern regex_syntax=/home/cratesfyi/cratesfyi/debug/deps/libregex_syntax-7fa5fcaaab656e96.rlib --extern-version regex_syntax=regex-syntax,0.2.6 --extern memchr=/home/cratesfyi/cratesfyi/debug/deps/libmemchr-079dd5d91ea2db18.rlib --extern-version memchr=memchr,0.1.11 --extern lazy_static=/home/cratesfyi/cratesfyi/debug/deps/liblazy_static-9f4fde990c1d2e9b.rlib --extern-version lazy_static=lazy_static,0.1.16 --extern memmem=/home/cratesfyi/cratesfyi/debug/deps/libmemmem-8f5455f1d74f16f2.rlib --extern-version memmem=memmem,0.1.1 --extern itertools=/home/cratesfyi/cratesfyi/debug/deps/libitertools-0b7d71d47833d533.rlib --extern-version itertools=itertools,0.4.19 --extern num=/home/cratesfyi/cratesfyi/debug/deps/libnum-4a2202e45a4195ff.rlib --extern-version num=num,0.1.37 --extern refinery=/home/cratesfyi/cratesfyi/debug/deps/librefinery-d63c00aa2a46fccd.rlib --extern-version refinery=refinery,0.1.1 --extern utf8_ranges=/home/cratesfyi/cratesfyi/debug/deps/libutf8_ranges-b859cd9f5d4e20eb.rlib --extern-version utf8_ranges=utf8-ranges,0.1.3 --cap-lints allow` Fresh env_logger v0.3.5 error[E0432]: unresolved import `syntax::ast::TokenTree` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:26:25 | 26 | use syntax::ast::{self, TokenTree}; | ^^^^^^^^^ no `TokenTree` in `ast` error[E0432]: unresolved import `syntax::parse::parse_tts_from_source_str` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:29:37 | 29 | use syntax::parse::{self, classify, parse_tts_from_source_str, token}; | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `parse_tts_from_source_str` in `parse`. Did you mean to use `parse_item_from_source_str`? error[E0432]: unresolved import `errors::FatalError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:136:9 | 136 | panictry!(parse_tts_from_source_str("<quote expansion>".to_string(), s, cx.cfg(), cx.parse_sess())) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`? | = note: this error originates in a macro outside of the current crate error[E0432]: unresolved import `errors::FatalError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:151:9 | 151 | panictry!(parse_tts_from_source_str("<quote expansion>".to_string(), s, cx.cfg(), cx.parse_sess())) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`? | = note: this error originates in a macro outside of the current crate error[E0432]: unresolved import `errors::FatalError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:336:9 | 336 | / panictry!(parse::parse_item_from_source_str( 337 | | "<quote expansion>".to_string(), 338 | | s, 339 | | self.cfg(), 340 | | self.parse_sess())).expect("parse error") | |_______________________________^ Did you mean `syntax::errors`? | = note: this error originates in a macro outside of the current crate error[E0432]: unresolved import `errors::FatalError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:344:9 | 344 | / panictry!(parse::parse_stmt_from_source_str( 345 | | "<quote expansion>".to_string(), 346 | | s, 347 | | self.cfg(), 348 | | self.parse_sess())).expect("parse error") | |_______________________________^ Did you mean `syntax::errors`? | = note: this error originates in a macro outside of the current crate error[E0432]: unresolved import `errors::FatalError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:352:9 | 352 | / panictry!(parse::parse_expr_from_source_str( 353 | | "<quote expansion>".to_string(), 354 | | s, 355 | | self.cfg(), 356 | | self.parse_sess())) | |_______________________________^ Did you mean `syntax::errors`? | = note: this error originates in a macro outside of the current crate error[E0432]: unresolved import `errors::FatalError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:360:9 | 360 | / panictry!(parse::parse_tts_from_source_str( 361 | | "<quote expansion>".to_string(), 362 | | s, 363 | | self.cfg(), 364 | | self.parse_sess())) | |_______________________________^ Did you mean `syntax::errors`? | = note: this error originates in a macro outside of the current crate error[E0432]: unresolved import `errors::FatalError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:369:9 | 369 | panictry!(parser.parse_expr()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`? | = note: this error originates in a macro outside of the current crate error[E0432]: unresolved import `errors::FatalError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:373:9 | 373 | panictry!(parser.parse_item()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`? | = note: this error originates in a macro outside of the current crate error[E0432]: unresolved import `errors::FatalError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:377:9 | 377 | panictry!(parser.parse_pat()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`? | = note: this error originates in a macro outside of the current crate error[E0432]: unresolved import `errors::FatalError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:381:9 | 381 | panictry!(parser.parse_arm()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`? | = note: this error originates in a macro outside of the current crate error[E0432]: unresolved import `errors::FatalError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:385:9 | 385 | panictry!(parser.parse_ty()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`? | = note: this error originates in a macro outside of the current crate error[E0432]: unresolved import `errors::FatalError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:389:5 | 389 | panictry!(parser.parse_stmt()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`? | = note: this error originates in a macro outside of the current crate error[E0432]: unresolved import `errors::FatalError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:393:9 | 393 | panictry!(parser.parse_attribute(permit_inner)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`? | = note: this error originates in a macro outside of the current crate error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:82:14 | 82 | vec![ast::TokenTree::Token(DUMMY_SP, token::Ident(*self))] | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:88:14 | 88 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtPath(Box::new(self.clone()))))] | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:94:14 | 94 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTy(P(self.clone()))))] | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:100:14 | 100 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTy(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:106:14 | 106 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtBlock(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:112:14 | 112 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtItem(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:118:14 | 118 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtImplItem(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:124:14 | 124 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTraitItem(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:158:13 | 158 | ast::TokenTree::Token(self.span, token::Interpolated(token::NtStmt(P(self.clone())))) | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:163:22 | 163 | tts.push(ast::TokenTree::Token(self.span, token::Semi)); | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:172:14 | 172 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtExpr(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:178:14 | 178 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtPat(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:184:14 | 184 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtArm(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:205:35 | 205 | impl_to_tokens_slice! { ast::Ty, [ast::TokenTree::Token(DUMMY_SP, token::Comma)] } | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:210:14 | 210 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtMeta(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:218:16 | 218 | r.push(ast::TokenTree::Token(self.span, token::Pound)); | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:220:20 | 220 | r.push(ast::TokenTree::Token(self.span, token::Not)); | ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:222:16 | 222 | r.push(ast::TokenTree::Delimited(self.span, Rc::new(ast::Delimited { | ^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0422]: cannot find struct, variant or union type `Delimited` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:222:66 | 222 | r.push(ast::TokenTree::Delimited(self.span, Rc::new(ast::Delimited { | ^^^^^^^^^ not found in `ast` | help: possible candidates are found in other modules, you can import them into scope | use syntax::ext::tt::quoted::Delimited; | use syntax::ext::tt::quoted::TokenTree::Delimited; | use syntax::tokenstream::Delimited; | use syntax::tokenstream::TokenTree::Delimited; error[E0425]: cannot find function `intern_and_get_ident` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:236:20 | 236 | token::intern_and_get_ident(self), ast::StrStyle::Cooked); | ^^^^^^^^^^^^^^^^^^^^ not found in `token` error[E0433]: failed to resolve. Could not find `TokenTree` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:243:14 | 243 | vec![ast::TokenTree::Delimited(DUMMY_SP, Rc::new(ast::Delimited { | ^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast` error[E0422]: cannot find struct, variant or union type `Delimited` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:243:63 | 243 | vec![ast::TokenTree::Delimited(DUMMY_SP, Rc::new(ast::Delimited { | ^^^^^^^^^ not found in `ast` | help: possible candidates are found in other modules, you can import them into scope | use syntax::ext::tt::quoted::Delimited; | use syntax::ext::tt::quoted::TokenTree::Delimited; | use syntax::tokenstream::Delimited; | use syntax::tokenstream::TokenTree::Delimited; error[E0412]: cannot find type `TokenTree` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:330:48 | 330 | fn parse_tts(&self, s: String) -> Vec<ast::TokenTree>; | ^^^^^^^^^ not found in `ast` | help: possible candidates are found in other modules, you can import them into scope | use syntax::ext::tt::quoted::TokenTree; | use syntax::tokenstream::TokenTree; error[E0412]: cannot find type `TokenTree` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:359:48 | 359 | fn parse_tts(&self, s: String) -> Vec<ast::TokenTree> { | ^^^^^^^^^ not found in `ast` | help: possible candidates are found in other modules, you can import them into scope | use syntax::ext::tt::quoted::TokenTree; | use syntax::tokenstream::TokenTree; error[E0425]: cannot find function `parse_tts_from_source_str` in module `parse` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:360:26 | 360 | panictry!(parse::parse_tts_from_source_str( | ^^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `parse_item_from_source_str`? error[E0412]: cannot find type `Attribute_` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:551:26 | 551 | impl_wrap_repeat! { ast::Attribute_ } | ^^^^^^^^^^ did you mean `Attribute`? error[E0412]: cannot find type `Attribute_` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:551:26 | 551 | impl_wrap_repeat! { ast::Attribute_ } | ^^^^^^^^^^ did you mean `Attribute`? error[E0412]: cannot find type `Attribute_` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:551:26 | 551 | impl_wrap_repeat! { ast::Attribute_ } | ^^^^^^^^^^ did you mean `Attribute`? error[E0412]: cannot find type `Attribute_` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:551:26 | 551 | impl_wrap_repeat! { ast::Attribute_ } | ^^^^^^^^^^ did you mean `Attribute`? error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:88:80 | 88 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtPath(Box::new(self.clone()))))] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::Path`, found struct `std::boxed::Box` | = note: expected type `syntax::ast::Path` found type `std::boxed::Box<syntax::ast::Path>` = help: here are some functions which might fulfill your needs: - .default_to_global() error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:88:66 | 88 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtPath(Box::new(self.clone()))))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:94:67 | 94 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTy(P(self.clone()))))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:100:67 | 100 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTy(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:106:67 | 106 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtBlock(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:112:67 | 112 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtItem(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:118:85 | 118 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtImplItem(self.clone())))] | ^^^^^^^^^^^^ expected struct `syntax::ast::ImplItem`, found struct `syntax::ptr::P` | = note: expected type `syntax::ast::ImplItem` found type `syntax::ptr::P<syntax::ast::ImplItem>` = help: here are some functions which might fulfill your needs: - .unwrap() error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:118:67 | 118 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtImplItem(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:124:86 | 124 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTraitItem(self.clone())))] | ^^^^^^^^^^^^ expected struct `syntax::ast::TraitItem`, found struct `syntax::ptr::P` | = note: expected type `syntax::ast::TraitItem` found type `syntax::ptr::P<syntax::ast::TraitItem>` = help: here are some functions which might fulfill your needs: - .unwrap() error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:124:67 | 124 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTraitItem(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:158:80 | 158 | ast::TokenTree::Token(self.span, token::Interpolated(token::NtStmt(P(self.clone())))) | ^^^^^^^^^^^^^^^ expected struct `syntax::ast::Stmt`, found struct `syntax::ptr::P` | = note: expected type `syntax::ast::Stmt` found type `syntax::ptr::P<syntax::ast::Stmt>` = help: here are some functions which might fulfill your needs: - .add_trailing_semicolon() - .unwrap() error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:158:66 | 158 | ast::TokenTree::Token(self.span, token::Interpolated(token::NtStmt(P(self.clone())))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:172:67 | 172 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtExpr(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:178:67 | 178 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtPat(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:184:66 | 184 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtArm(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:210:80 | 210 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtMeta(self.clone())))] | ^^^^^^^^^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::ptr::P` | = note: expected type `syntax::ast::MetaItem` found type `syntax::ptr::P<syntax::ast::MetaItem>` = help: here are some functions which might fulfill your needs: - .unwrap() error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:210:66 | 210 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtMeta(self.clone())))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal` | = note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>` found type `syntax::parse::token::Nonterminal` error: no field `node` on type `&syntax::ast::Attribute` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:219:17 | 219 | if self.node.style == ast::AttrStyle::Inner { | ^^^^ error: no field `node` on type `&syntax::ast::Attribute` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:225:23 | 225 | tts: self.node.value.to_tokens(cx), | ^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:259:20 | 259 | attrs: None, | ^^^^ expected struct `syntax::util::ThinVec`, found enum `std::option::Option` | = note: expected type `syntax::util::ThinVec<syntax::ast::Attribute>` found type `std::option::Option<_>` = help: here are some functions which might fulfill your needs: - .unwrap() - .unwrap_or_default() error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:298:45 | 298 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 314 | impl_to_tokens_int! { signed, isize, ast::IntTy::Is } | ----------------------------------------------------- in this macro invocation error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:298:45 | 298 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 315 | impl_to_tokens_int! { signed, i8, ast::IntTy::I8 } | --------------------------------------------------- in this macro invocation error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:298:45 | 298 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 316 | impl_to_tokens_int! { signed, i16, ast::IntTy::I16 } | ---------------------------------------------------- in this macro invocation error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:298:45 | 298 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 317 | impl_to_tokens_int! { signed, i32, ast::IntTy::I32 } | ---------------------------------------------------- in this macro invocation error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:298:45 | 298 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 318 | impl_to_tokens_int! { signed, i64, ast::IntTy::I64 } | ---------------------------------------------------- in this macro invocation error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:307:45 | 307 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 320 | impl_to_tokens_int! { unsigned, usize, ast::UintTy::Us } | -------------------------------------------------------- in this macro invocation error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:307:45 | 307 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 321 | impl_to_tokens_int! { unsigned, u8, ast::UintTy::U8 } | ------------------------------------------------------- in this macro invocation error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:307:45 | 307 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 322 | impl_to_tokens_int! { unsigned, u16, ast::UintTy::U16 } | -------------------------------------------------------- in this macro invocation error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:307:45 | 307 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 323 | impl_to_tokens_int! { unsigned, u32, ast::UintTy::U32 } | -------------------------------------------------------- in this macro invocation error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:307:45 | 307 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 324 | impl_to_tokens_int! { unsigned, u64, ast::UintTy::U64 } | -------------------------------------------------------- in this macro invocation error[E0061]: this function takes 3 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:337:13 | 337 | "<quote expansion>".to_string(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters error[E0061]: this function takes 3 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:345:13 | 345 | "<quote expansion>".to_string(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters error[E0061]: this function takes 3 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs:353:13 | 353 | "<quote expansion>".to_string(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters error: aborting due to previous error(s) error[E0432]: unresolved import `syntax::attr::AttributesExt` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/expr.rs:6:5 | 6 | use syntax::attr::AttributesExt; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AttributesExt` in `attr` error[E0432]: unresolved import `syntax::parse::token::keywords` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/item.rs:8:5 | 8 | use syntax::parse::token::keywords; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `keywords` in `parse::token` error[E0432]: unresolved import `syntax::feature_gate::GatedCfgAttr` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/mac.rs:6:5 | 6 | use syntax::feature_gate::GatedCfgAttr; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GatedCfgAttr` in `feature_gate`. Did you mean to use `GatedCfg`? error[E0432]: unresolved import `syntax::attr::AttributesExt` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/stmt.rs:2:5 | 2 | use syntax::attr::AttributesExt; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AttributesExt` in `attr` error: Could not compile `quasi`. Caused by: process didn't exit successfully: `rustc --crate-name quasi .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.10.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=5817efadfed51b5a -C extra-filename=-5817efadfed51b5a --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101) error[E0422]: cannot find struct, variant or union type `Attribute_` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:51:43 | 51 | let attr = respan(self.span, ast::Attribute_ { | ^^^^^^^^^^ did you mean `Attribute`? error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:171:18 | 171 | name: token::InternedString, | ^^^^^^^^^^^^^^ not found in `token` | help: possible candidate is found in another module, you can import it into scope | use syntax::symbol::InternedString; error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:278:18 | 278 | name: token::InternedString, | ^^^^^^^^^^^^^^ not found in `token` | help: possible candidate is found in another module, you can import it into scope | use syntax::symbol::InternedString; error[E0433]: failed to resolve. Could not find `PathListItemKind` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/item.rs:425:44 | 425 | self.idents.push(respan(self.span, ast::PathListItemKind::Mod { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `PathListItemKind` in `ast` error[E0433]: failed to resolve. Could not find `PathListItemKind` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/item.rs:435:44 | 435 | self.idents.push(respan(self.span, ast::PathListItemKind::Ident { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `PathListItemKind` in `ast` error[E0423]: expected function, found struct `ast::Name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/item.rs:724:38 | 724 | self.builder.build_item_kind(ast::Name(0).to_ident(), item_mac) | ^^^^^^^^^ | | | did you mean `ast::Name { /* fields */ }`? | constructor is not visible here due to private fields error[E0412]: cannot find type `TokenTree` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/mac.rs:23:22 | 23 | tokens: Vec<ast::TokenTree>, | ^^^^^^^^^ not found in `ast` | help: possible candidates are found in other modules, you can import them into scope | use syntax::ext::tt::quoted::TokenTree; | use syntax::tokenstream::TokenTree; error[E0425]: cannot find value `EMPTY_CTXT` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/mac.rs:59:24 | 59 | ctxt: ast::EMPTY_CTXT, | ^^^^^^^^^^ not found in `ast` error[E0425]: cannot find function `intern` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/name.rs:18:16 | 18 | token::intern(*self) | ^^^^^^ not found in `token` error[E0433]: failed to resolve. Could not find `DeclKind` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/stmt.rs:66:38 | 66 | let decl = respan(self.span, ast::DeclKind::Local(P(local))); | ^^^^^^^^^^^^^^^^^^^^ Could not find `DeclKind` in `ast` error[E0433]: failed to resolve. Could not find `DeclKind` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/stmt.rs:97:38 | 97 | let decl = respan(self.span, ast::DeclKind::Item(item)); | ^^^^^^^^^^^^^^^^^^^ Could not find `DeclKind` in `ast` error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/str.rs:12:44 | 12 | fn to_interned_string(&self) -> token::InternedString; | ^^^^^^^^^^^^^^ not found in `token` | help: possible candidate is found in another module, you can import it into scope | use syntax::symbol::InternedString; error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/str.rs:15:34 | 15 | impl ToInternedString for token::InternedString { | ^^^^^^^^^^^^^^ not found in `token` | help: possible candidate is found in another module, you can import it into scope | use syntax::symbol::InternedString; error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/str.rs:16:44 | 16 | fn to_interned_string(&self) -> token::InternedString { | ^^^^^^^^^^^^^^ not found in `token` | help: possible candidate is found in another module, you can import it into scope | use syntax::symbol::InternedString; error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/str.rs:22:44 | 22 | fn to_interned_string(&self) -> token::InternedString { | ^^^^^^^^^^^^^^ not found in `token` | help: possible candidate is found in another module, you can import it into scope | use syntax::symbol::InternedString; error[E0425]: cannot find function `intern_and_get_ident` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/str.rs:23:16 | 23 | token::intern_and_get_ident(self) | ^^^^^^^^^^^^^^^^^^^^ not found in `token` error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/str.rs:28:44 | 28 | fn to_interned_string(&self) -> token::InternedString { | ^^^^^^^^^^^^^^ not found in `token` | help: possible candidate is found in another module, you can import it into scope | use syntax::symbol::InternedString; error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/str.rs:34:44 | 34 | fn to_interned_string(&self) -> token::InternedString { | ^^^^^^^^^^^^^^ not found in `token` | help: possible candidate is found in another module, you can import it into scope | use syntax::symbol::InternedString; error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/str.rs:40:44 | 40 | fn to_interned_string(&self) -> token::InternedString { | ^^^^^^^^^^^^^^ not found in `token` | help: possible candidate is found in another module, you can import it into scope | use syntax::symbol::InternedString; error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/lib.rs:62:54 | 62 | pub fn interned_string<S>(&self, s: S) -> token::InternedString | ^^^^^^^^^^^^^^ not found in `token` | help: possible candidate is found in another module, you can import it into scope | use syntax::symbol::InternedString; error[E0277]: the trait bound `Self: std::marker::Sized` is not satisfied --> .cargo/registry/src/github.com-1ecc6299db9ec823/regex_dfa-0.4.0/src/dfa.rs:400:5 | 400 | fn from_dfa(dfa: &Dfa<Ret>) -> (Self, Vec<usize>); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Self` does not have a constant size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `Self` = help: consider adding a `where Self: std::marker::Sized` bound = note: tuple elements must have `Sized` type error: aborting due to previous error(s) error: Could not compile `regex_dfa`. Caused by: process didn't exit successfully: `rustc --crate-name regex_dfa .cargo/registry/src/github.com-1ecc6299db9ec823/regex_dfa-0.4.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=596adb2b1b2ed13e -C extra-filename=-596adb2b1b2ed13e --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern aho_corasick=/home/cratesfyi/cratesfyi/debug/deps/libaho_corasick-474156dce1b7a94b.rlib --extern-version aho_corasick=aho-corasick,0.4.1 --extern range_map=/home/cratesfyi/cratesfyi/debug/deps/librange_map-2168366bca898da0.rlib --extern-version range_map=range-map,0.1.5 --extern regex_syntax=/home/cratesfyi/cratesfyi/debug/deps/libregex_syntax-7fa5fcaaab656e96.rlib --extern-version regex_syntax=regex-syntax,0.2.6 --extern memchr=/home/cratesfyi/cratesfyi/debug/deps/libmemchr-079dd5d91ea2db18.rlib --extern-version memchr=memchr,0.1.11 --extern lazy_static=/home/cratesfyi/cratesfyi/debug/deps/liblazy_static-9f4fde990c1d2e9b.rlib --extern-version lazy_static=lazy_static,0.1.16 --extern memmem=/home/cratesfyi/cratesfyi/debug/deps/libmemmem-8f5455f1d74f16f2.rlib --extern-version memmem=memmem,0.1.1 --extern itertools=/home/cratesfyi/cratesfyi/debug/deps/libitertools-0b7d71d47833d533.rlib --extern-version itertools=itertools,0.4.19 --extern num=/home/cratesfyi/cratesfyi/debug/deps/libnum-4a2202e45a4195ff.rlib --extern-version num=num,0.1.37 --extern refinery=/home/cratesfyi/cratesfyi/debug/deps/librefinery-d63c00aa2a46fccd.rlib --extern-version refinery=refinery,0.1.1 --extern utf8_ranges=/home/cratesfyi/cratesfyi/debug/deps/libutf8_ranges-b859cd9f5d4e20eb.rlib --extern-version utf8_ranges=utf8-ranges,0.1.3 --cap-lints allow` (exit code: 101) error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:57:30 | 57 | self.callback.invoke(attr) | ^^^^ expected struct `syntax::ast::Attribute`, found struct `syntax::codemap::Spanned` | = note: expected type `syntax::ast::Attribute` found type `syntax::codemap::Spanned<_>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:62:30 | 62 | self.build_meta_item(item) | ^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::codemap::Spanned` | = note: expected type `syntax::ptr::P<syntax::ast::MetaItem>` found type `syntax::ptr::P<syntax::codemap::Spanned<syntax::ast::MetaItemKind>>` = help: here are some functions which might fulfill your needs: - .unwrap() error: `ast::MetaItemKind::Word` is being called, but it is not a function --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:68:31 | 68 | self.build_meta_item_(ast::MetaItemKind::Word(word.to_interned_string())) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: did you mean to write `ast::MetaItemKind::Word`? error[E0271]: type mismatch resolving `<[closure@.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:206:39: 206:67 span:_] as std::ops::FnOnce<(syntax::ast::MetaItemKind,)>>::Output == syntax::ptr::P<syntax::ast::MetaItem>` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:206:14 | 206 | self.with_meta_items(iter.map(|item| P(respan(span, item)))) | ^^^^^^^^^^^^^^^ expected struct `syntax::codemap::Spanned`, found struct `syntax::ast::MetaItem` | = note: expected type `syntax::ptr::P<syntax::codemap::Spanned<syntax::ast::MetaItemKind>>` found type `syntax::ptr::P<syntax::ast::MetaItem>` = note: required because of the requirements on the impl of `std::iter::Iterator` for `std::iter::Map<<I as std::iter::IntoIterator>::IntoIter, [closure@.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:206:39: 206:67 span:_]>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:216:31 | 216 | self.with_meta_item(P(respan(span, item))) | ^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::codemap::Spanned` | = note: expected type `syntax::ast::MetaItem` found type `syntax::codemap::Spanned<syntax::ast::MetaItemKind>` error: `ast::MetaItemKind::Word` is being called, but it is not a function --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:224:47 | 224 | self.with_meta_items_(iter.map(|word| ast::MetaItemKind::Word(word.to_interned_string()))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: did you mean to write `ast::MetaItemKind::Word`? error: `ast::MetaItemKind::Word` is being called, but it is not a function --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:230:34 | 230 | self.with_meta_item_kind(ast::MetaItemKind::Word(word.to_interned_string())) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: did you mean to write `ast::MetaItemKind::Word`? error[E0061]: this function takes 1 parameter but 2 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:249:62 | 249 | let item = respan(self.span, ast::MetaItemKind::List(self.name, self.items)); | ^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:250:32 | 250 | self.callback.invoke(P(item)) | ^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::codemap::Spanned` | = note: expected type `syntax::ast::MetaItem` found type `syntax::codemap::Spanned<syntax::ast::MetaItemKind>` error[E0061]: this function takes 1 parameter but 2 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/attr.rs:285:49 | 285 | let item = ast::MetaItemKind::NameValue(self.name, (*value).clone()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter error[E0560]: struct `syntax::ast::Block` has no field named `expr` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/block.rs:80:13 | 80 | expr: expr, | ^^^^^ `syntax::ast::Block` does not have this field error[E0599]: no method named `into_thin_attrs` found for type `std::vec::Vec<syntax::ast::Attribute>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/expr.rs:70:39 | 70 | attrs: self.attrs.clone().into_thin_attrs(), | ^^^^^^^^^^^^^^^ error[E0061]: this function takes 2 parameters but 1 parameter was supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/expr.rs:416:51 | 416 | self.build_expr_kind(ast::ExprKind::Break(None)) | ^^^^ expected 2 parameters error[E0061]: this function takes 2 parameters but 1 parameter was supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/expr.rs:423:51 | 423 | self.build_expr_kind(ast::ExprKind::Break(Some(label))) | ^^^^^^^^^^^ expected 2 parameters error[E0599]: no associated item named `Again` found for type `syntax::ast::ExprKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/expr.rs:427:30 | 427 | self.build_expr_kind(ast::ExprKind::Again(None)) | ^^^^^^^^^^^^^^^^^^^^ error[E0599]: no associated item named `Again` found for type `syntax::ast::ExprKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/expr.rs:434:30 | 434 | self.build_expr_kind(ast::ExprKind::Again(Some(label))) | ^^^^^^^^^^^^^^^^^^^^ error[E0063]: missing fields `attrs`, `is_shorthand` in initializer of `syntax::ast::Field` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/expr.rs:1012:21 | 1012 | let field = ast::Field { | ^^^^^^^^^^ missing `attrs`, `is_shorthand` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/expr.rs:1387:65 | 1387 | self.builder.build_expr_kind(ast::ExprKind::Loop(block, self.label)) | ^^^^^^^^^^ expected struct `syntax::codemap::Spanned`, found struct `syntax::ast::Ident` | = note: expected type `std::option::Option<syntax::codemap::Spanned<syntax::ast::Ident>>` found type `std::option::Option<syntax::ast::Ident>` = help: here are some functions which might fulfill your needs: - .take() - .unwrap() error[E0599]: no associated item named `Vec` found for type `syntax::ast::ExprKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/expr.rs:1701:38 | 1701 | self.builder.build_expr_kind(ast::ExprKind::Vec(self.exprs)) | ^^^^^^^^^^^^^^^^^^ error[E0599]: no associated item named `None` found for type `syntax::ast::FunctionRetTy` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/fn_decl.rs:88:22 | 88 | let ret_ty = ast::FunctionRetTy::None(self.span); | ^^^^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no method named `into_vec` found for type `std::vec::Vec<syntax::ast::TyParam>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/generics.rs:53:43 | 53 | ty_params: generics.ty_params.into_vec(), | ^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/generics.rs:203:31 | 203 | ty_param.bounds = P::new(); | ^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` 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/aster-0.16.0/src/generics.rs:216:24 | 216 | ty_params: P::from_vec(self.ty_params), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | = note: expected type `std::vec::Vec<syntax::ast::TyParam>` found type `syntax::ptr::P<[syntax::ast::TyParam]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() error[E0063]: missing field `span` in initializer of `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/generics.rs:214:30 | 214 | self.callback.invoke(ast::Generics { | ^^^^^^^^^^^^^ missing `span` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/item.rs:316:13 | 316 | self.constness, | ^^^^^^^^^^^^^^ expected struct `syntax::codemap::Spanned`, found enum `syntax::ast::Constness` | = note: expected type `syntax::codemap::Spanned<syntax::ast::Constness>` found type `syntax::ast::Constness` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/item.rs:878:13 | 878 | P::from_vec(self.bounds), | ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/item.rs:1092:45 | 1092 | let node = ast::TraitItemKind::Type(bounds, ty); | ^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() error[E0061]: this function takes 7 parameters but 6 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/item.rs:1177:13 | 1177 | self.unsafety, | ^^^^^^^^^^^^^ expected 7 parameters error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/lifetime.rs:24:13 | 24 | name: self.to_name(), | ^^^^^ `syntax::ast::Lifetime` does not have this field error[E0063]: missing field `attrs` in initializer of `syntax::ast::LifetimeDef` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/lifetime.rs:43:9 | 43 | ast::LifetimeDef { | ^^^^^^^^^^^^^^^^ missing `attrs` error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/lifetime.rs:87:13 | 87 | name: name.to_name(), | ^^^^^ `syntax::ast::Lifetime` does not have this field error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/lifetime.rs:103:13 | 103 | name: name.to_name(), | ^^^^^ `syntax::ast::Lifetime` does not have this field error[E0063]: missing field `attrs` in initializer of `syntax::ast::LifetimeDef` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/lifetime.rs:111:30 | 111 | self.callback.invoke(ast::LifetimeDef { | ^^^^^^^^^^^^^^^^ missing `attrs` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/lit.rs:61:42 | 61 | self.build_lit(ast::LitKind::Int(value as u64, ast::LitIntType::Unsuffixed)) | ^^^^^^^^^^^^ expected u128, found u64 error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/lit.rs:66:42 | 66 | self.build_lit(ast::LitKind::Int(value as u64, ast::LitIntType::Signed(ty))) | ^^^^^^^^^^^^ expected u128, found u64 error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/lit.rs:94:42 | 94 | self.build_lit(ast::LitKind::Int(value, ast::LitIntType::Unsuffixed)) | ^^^^^ expected u128, found u64 error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/lit.rs:98:42 | 98 | self.build_lit(ast::LitKind::Int(value, ast::LitIntType::Unsigned(ty))) | ^^^^^ expected u128, found u64 error[E0560]: struct `syntax::ast::Mac_` has no field named `ctxt` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/mac.rs:59:13 | 59 | ctxt: ast::EMPTY_CTXT, | ^^^^^ `syntax::ast::Mac_` does not have this field error[E0061]: this function takes 1 parameter but 0 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/mac.rs:73:26 | 73 | let parse_sess = ParseSess::new(); | ^^^^^^^^^^^^^^^^ expected 1 parameter error[E0061]: this function takes 3 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/mac.rs:112:31 | 112 | let mut cx = ExtCtxt::new(&sess, cfg, ecfg, feature_gated_cfgs); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters error[E0599]: no method named `bt_push` found for type `syntax::ext::base::ExtCtxt<'_>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/mac.rs:113:8 | 113 | cx.bt_push(info); | ^^^^^^^ error[E0599]: no associated item named `Static` found for type `syntax::ast::SelfKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:43:45 | 43 | explicit_self: respan(DUMMY_SP, ast::SelfKind::Static), | ^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no associated item named `Static` found for type `syntax::ast::SelfKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:90:13 | 90 | ast::SelfKind::Static => { } | ^^^^^^^^^^^^^^^^^^^^^ error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:92:15 | 92 | | ast::SelfKind::Region(_, _, id) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 error[E0599]: no associated item named `new_self` found for type `syntax::ast::Arg` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:95:31 | 95 | let arg = ast::Arg::new_self(self.span, self.self_mutable, id); | ^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:104:24 | 104 | constness: self.constness, | ^^^^^^^^^^^^^^ expected struct `syntax::codemap::Spanned`, found enum `syntax::ast::Constness` | = note: expected type `syntax::codemap::Spanned<syntax::ast::Constness>` found type `syntax::ast::Constness` error[E0560]: struct `syntax::ast::MethodSig` has no field named `explicit_self` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:108:13 | 108 | explicit_self: self.explicit_self, | ^^^^^^^^^^^^^^ `syntax::ast::MethodSig` does not have this field error[E0599]: no associated item named `Static` found for type `syntax::ast::SelfKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:192:30 | 192 | self.build_self_kind(ast::SelfKind::Static) | ^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no associated item named `Static` found for type `syntax::ast::SelfKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:196:30 | 196 | self.build_self_kind(ast::SelfKind::Static) | ^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:200:51 | 200 | self.build_self_kind(ast::SelfKind::Value("self".to_ident())) | ^^^^^^^^^^^^^^^^^ expected enum `syntax::ast::Mutability`, found struct `syntax::ast::Ident` | = note: expected type `syntax::ast::Mutability` found type `syntax::ast::Ident` error[E0061]: this function takes 2 parameters but 3 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:205:13 | 205 | None, | ^^^^ expected 2 parameters error[E0061]: this function takes 2 parameters but 3 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:215:13 | 215 | Some(lifetime.into_lifetime()), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters error[E0061]: this function takes 2 parameters but 3 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:223:13 | 223 | None, | ^^^^ expected 2 parameters error[E0061]: this function takes 2 parameters but 3 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:233:13 | 233 | Some(lifetime.into_lifetime()), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/method.rs:250:58 | 250 | self.build_self_kind(ast::SelfKind::Explicit(ty, "self".to_ident())) | ^^^^^^^^^^^^^^^^^ expected enum `syntax::ast::Mutability`, found struct `syntax::ast::Ident` | = note: expected type `syntax::ast::Mutability` found type `syntax::ast::Ident` error[E0061]: this function takes 2 parameters but 1 parameter was supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/pat.rs:108:48 | 108 | self.build_pat_kind(ast::PatKind::Path(path)) | ^^^^ expected 2 parameters error[E0599]: no associated item named `QPath` found for type `syntax::ast::PatKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/pat.rs:112:29 | 112 | self.build_pat_kind(ast::PatKind::QPath(qself, path)) | ^^^^^^^^^^^^^^^^^^^ error[E0061]: this function takes 3 parameters but 2 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/pat.rs:124:49 | 124 | self.build_pat_kind(ast::PatKind::Range(lhs, rhs)) | ^^^^^^^^ expected 3 parameters error[E0061]: this function takes 3 parameters but 2 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/pat.rs:248:63 | 248 | self.builder.build_pat_kind(ast::PatKind::TupleStruct(self.path, Some(self.pats))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters error[E0063]: missing field `attrs` in initializer of `syntax::ast::FieldPat` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/pat.rs:331:29 | 331 | self.with_field_pat(ast::FieldPat { | ^^^^^^^^^^^^^ missing `attrs` error[E0063]: missing field `attrs` in initializer of `syntax::ast::FieldPat` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/pat.rs:345:29 | 345 | self.with_field_pat(ast::FieldPat { | ^^^^^^^^^^^^^ missing `attrs` error[E0063]: missing field `attrs` in initializer of `syntax::ast::FieldPat` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/pat.rs:374:37 | 374 | self.builder.with_field_pat(ast::FieldPat { | ^^^^^^^^^^^^^ missing `attrs` error[E0599]: no associated item named `Tup` found for type `syntax::ast::PatKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/pat.rs:423:37 | 423 | self.builder.build_pat_kind(ast::PatKind::Tup(self.pats)) | ^^^^^^^^^^^^^^^^^ error[E0560]: struct `syntax::ast::Path` has no field named `global` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/path.rs:158:13 | 158 | global: self.global, | ^^^^^^^ `syntax::ast::Path` does not have this field error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/path.rs:239:13 | 239 | name: name.to_name(), | ^^^^^ `syntax::ast::Lifetime` does not have this field error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/path.rs:277:20 | 277 | types: P::from_vec(self.tys), | ^^^^^^^^^^^^^^^^^^^^^ 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/aster-0.16.0/src/path.rs:278:23 | 278 | bindings: P::from_vec(self.bindings), | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | = note: expected type `std::vec::Vec<syntax::ast::TypeBinding>` found type `syntax::ptr::P<[syntax::ast::TypeBinding]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/path.rs:285:25 | 285 | parameters: parameters, | ^^^^^^^^^^ 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[E0063]: missing field `span` in initializer of `syntax::ast::PathSegment` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/path.rs:283:30 | 283 | self.callback.invoke(ast::PathSegment { | ^^^^^^^^^^^^^^^^ missing `span` error[E0560]: struct `syntax::ast::Path` has no field named `global` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/qpath.rs:93:13 | 93 | global: false, | ^^^^^^^ `syntax::ast::Path` does not have this field error[E0560]: struct `syntax::ast::Path` has no field named `global` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/qpath.rs:104:13 | 104 | global: false, | ^^^^^^^ `syntax::ast::Path` does not have this field error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/stmt.rs:50:20 | 50 | self.build(stmt) | ^^^^ expected struct `syntax::ast::Stmt`, found struct `syntax::codemap::Spanned` | = note: expected type `syntax::ast::Stmt` found type `syntax::codemap::Spanned<syntax::ast::StmtKind>` error[E0599]: no method named `into_thin_attrs` found for type `std::vec::Vec<syntax::ast::Attribute>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/stmt.rs:63:39 | 63 | attrs: self.attrs.clone().into_thin_attrs(), | ^^^^^^^^^^^^^^^ error[E0599]: no associated item named `Decl` found for type `syntax::ast::StmtKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/stmt.rs:68:30 | 68 | self.build_stmt_kind(ast::StmtKind::Decl(P(decl), ast::DUMMY_NODE_ID)) | ^^^^^^^^^^^^^^^^^^^ error[E0061]: this function takes 1 parameter but 2 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/stmt.rs:83:50 | 83 | self.build_stmt_kind(ast::StmtKind::Expr(expr, ast::DUMMY_NODE_ID)) | ^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter error[E0599]: no associated item named `Decl` found for type `syntax::ast::StmtKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/stmt.rs:98:30 | 98 | self.build_stmt_kind(ast::StmtKind::Decl(P(decl), ast::DUMMY_NODE_ID)) | ^^^^^^^^^^^^^^^^^^^ error[E0061]: this function takes 1 parameter but 2 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/stmt.rs:158:52 | 158 | self.0.build_stmt_kind(ast::StmtKind::Semi(expr, ast::DUMMY_NODE_ID)) | ^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter error[E0599]: no associated item named `Vec` found for type `syntax::ast::TyKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/ty.rs:142:28 | 142 | self.build_ty_kind(ast::TyKind::Vec(ty)) | ^^^^^^^^^^^^^^^^ error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/ty.rs:252:13 | 252 | name: name.to_name(), | ^^^^^ `syntax::ast::Lifetime` does not have this field error[E0599]: no associated item named `ObjectSum` found for type `syntax::ast::TyKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/ty.rs:479:36 | 479 | self.builder.build_ty_kind(ast::TyKind::ObjectSum(self.ty, bounds)) | ^^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no method named `into_vec` found for type `std::vec::Vec<syntax::ast::TyParamBound>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/ty_param.rs:54:37 | 54 | bounds: ty_param.bounds.into_vec(), | ^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/ty_param.rs:105:21 | 105 | bounds: P::from_vec(self.bounds), | ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() error[E0063]: missing field `attrs` in initializer of `syntax::ast::TyParam` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/ty_param.rs:102:30 | 102 | self.callback.invoke(ast::TyParam { | ^^^^^^^^^^^^ missing `attrs` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/where_predicate.rs:242:21 | 242 | bounds: P::from_vec(self.bounds), | ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` = help: here are some functions which might fulfill your needs: - .into_vec() - .to_vec() error[E0560]: struct `syntax::ast::WhereEqPredicate` has no field named `path` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/where_predicate.rs:320:13 | 320 | path: path, | ^^^^^ `syntax::ast::WhereEqPredicate` does not have this field error[E0560]: struct `syntax::ast::WhereEqPredicate` has no field named `ty` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.16.0/src/where_predicate.rs:321:13 | 321 | ty: ty, | ^^^ `syntax::ast::WhereEqPredicate` does not have this field 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.