serde_macros 0.8.9

Macros to auto-generate implementations for the serde framework

Build #89138 2018-03-05 23:02:41

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.26.0-dev (5c1d29af0 2018-03-03)

# docs.rs version cratesfyi 0.5.0 (579f83b 2018-03-05)

# 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` Compiling serde_codegen_internals v0.8.9 Compiling aster v0.27.0 Compiling quasi v0.20.1 Running `rustc --crate-name serde_codegen_internals .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=77e9f85084103646 -C extra-filename=-77e9f85084103646 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` Running `rustc --crate-name quasi .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=5da3e1cc5c147b58 -C extra-filename=-5da3e1cc5c147b58 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` Running `rustc --crate-name aster .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=3916e8c11f2bc69d -C extra-filename=-3916e8c11f2bc69d --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` error[E0432]: unresolved import `syntax::parse::token::InternedString` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:9:34 | 9 | use syntax::parse::token::{self, InternedString}; | ^^^^^^^^^^^^^^ no `InternedString` in `parse::token` error[E0532]: expected tuple struct/variant, found unit variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:143:21 | 143 | ast::MetaItemKind::Word(ref name) if name == &"deny_unknown_fields" => { | ^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct/variant error[E0425]: cannot find function `intern_and_get_ident` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:300:28 | 300 | None => token::intern_and_get_ident(&index.to_string()), | ^^^^^^^^^^^^^^^^^^^^ not found in `token` error[E0532]: expected tuple struct/variant, found unit variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:324:21 | 324 | ast::MetaItemKind::Word(ref name) if name == &"default" => { | ^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct/variant error[E0532]: expected tuple struct/variant, found unit variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:336:21 | 336 | ast::MetaItemKind::Word(ref name) if name == &"skip_serializing" => { | ^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct/variant error[E0532]: expected tuple struct/variant, found unit variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:341:21 | 341 | ast::MetaItemKind::Word(ref name) if name == &"skip_deserializing" => { | ^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct/variant error[E0422]: cannot find struct, variant or union type `SequenceRepetition` in module `tokenstream` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:566:42 | 566 | Rc::new(tokenstream::SequenceRepetition { | ^^^^^^^^^^^^^^^^^^ not found in `tokenstream` help: possible candidate is found in another module, you can import it into scope | 1 | use syntax::ext::tt::quoted::SequenceRepetition; | error[E0425]: cannot find function `parse_tts_from_source_str` in module `parse` --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:609:32 | 609 | let tts = panictry!(parse::parse_tts_from_source_str( | ^^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `parse_item_from_source_str`? error[E0053]: method `fold_tt` has an incompatible type for trait --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:544:5 | 544 | fn fold_tt(&mut self, tt: &TokenTree) -> TokenTree { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `syntax::tokenstream::TokenTree`, found reference | = note: expected type `fn(&mut attr::Respanner<'a, 'b>, syntax::tokenstream::TokenTree) -> syntax::tokenstream::TokenTree` found type `fn(&mut attr::Respanner<'a, 'b>, &syntax::tokenstream::TokenTree) -> syntax::tokenstream::TokenTree` error: aborting due to 9 previous errors You've got a few errors: E0053, E0422, E0425, E0432, E0532 If you want more information on an error, try using "rustc --explain E0053" error: Could not compile `serde_codegen_internals`. Caused by: process didn't exit successfully: `rustc --crate-name serde_codegen_internals .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=77e9f85084103646 -C extra-filename=-77e9f85084103646 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101) error[E0432]: unresolved import `syntax::parse::parse_tts_from_source_str` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:36:37 | 36 | 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[E0425]: cannot find function `generics_to_string` in module `pprust` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:142:25 | 142 | let s = pprust::generics_to_string(self); | ^^^^^^^^^^^^^^^^^^ did you mean `expr_to_string`? error[E0425]: cannot find function `intern_and_get_ident` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:244:20 | 244 | token::intern_and_get_ident(self), ast::StrStyle::Cooked); | ^^^^^^^^^^^^^^^^^^^^ not found in `token` error[E0425]: cannot find function `intern_and_get_ident` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:253:20 | 253 | token::intern_and_get_ident(self), ast::StrStyle::Cooked); | ^^^^^^^^^^^^^^^^^^^^ not found in `token` error[E0425]: cannot find function `parse_tts_from_source_str` in module `parse` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:377:26 | 377 | 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.20.1/src/lib.rs:568:26 | 568 | impl_wrap_repeat! { ast::Attribute_ } | ^^^^^^^^^^ did you mean `Attribute`? error[E0422]: cannot find struct, variant or union type `Attribute_` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.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.27.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 | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:281:18 | 281 | name: token::InternedString, | ^^^^^^^^^^^^^^ not found in `token` help: possible candidate is found in another module, you can import it into scope | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `ViewPath_` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:114:44 | 114 | pub fn build_use(self, view_path: ast::ViewPath_) -> F::Result { | ^^^^^^^^^ not found in `ast` error[E0425]: cannot find function `ViewPathSimple` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:387:37 | 387 | self.builder.build_use(ast::ViewPathSimple(id.to_ident(), self.path)) | ^^^^^^^^^^^^^^ not found in `ast` error[E0425]: cannot find function `ViewPathGlob` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:399:37 | 399 | self.builder.build_use(ast::ViewPathGlob(self.path)) | ^^^^^^^^^^^^ not found in `ast` error[E0412]: cannot find type `PathListItem` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:419:22 | 419 | idents: Vec<ast::PathListItem>, | ^^^^^^^^^^^^ not found in `ast` error[E0422]: cannot find struct, variant or union type `PathListItem_` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:431:49 | 431 | self.idents.push(respan(self.span, ast::PathListItem_ { | ^^^^^^^^^^^^^ not found in `ast` error[E0422]: cannot find struct, variant or union type `PathListItem_` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:442:49 | 442 | self.idents.push(respan(self.span, ast::PathListItem_ { | ^^^^^^^^^^^^^ not found in `ast` error[E0425]: cannot find function `ViewPathList` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:451:37 | 451 | self.builder.build_use(ast::ViewPathList(self.path, self.idents)) | ^^^^^^^^^^^^ not found in `ast` error[E0423]: expected function, found struct `ast::Name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:734:38 | 734 | self.builder.build_item_kind(ast::Name(0).to_ident(), item_mac) | ^^^^^^^^^ constructor is not visible here due to private fields error[E0425]: cannot find function `intern` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/name.rs:18:16 | 18 | token::intern(*self) | ^^^^^^ not found in `token` error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.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 | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.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 | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.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 | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.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 | 1 | use syntax::symbol::InternedString; | error[E0425]: cannot find function `intern_and_get_ident` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.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.27.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 | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.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 | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.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 | 1 | use syntax::symbol::InternedString; | error[E0412]: cannot find type `InternedString` in module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/lib.rs:63:54 | 63 | 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 | 12 | use syntax::symbol::InternedString; | error[E0603]: module `keywords` is private --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:8:5 | 8 | use syntax::parse::token::keywords; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:96:75 | 96 | vec![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>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:96:61 | 96 | vec![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, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:102:62 | 102 | vec![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, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:108:62 | 108 | vec![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, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:114:62 | 114 | vec![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, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:120:62 | 120 | vec![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, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:126:80 | 126 | vec![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>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:126:62 | 126 | vec![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, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.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/quasi-0.20.1/src/lib.rs:132:81 | 132 | vec![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>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:132:62 | 132 | vec![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, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.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>>` error[E0618]: expected function, found enum variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:68:31 | 68 | self.build_meta_item_(ast::MetaItemKind::Word(word.to_interned_string())) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a function help: `ast::MetaItemKind::Word` is a unit variant, you need to write it without the parenthesis | 68 | self.build_meta_item_(ast::MetaItemKind::Word) | ^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:166:75 | 166 | 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>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:199:60 | 199 | respan(span, ast::NestedMetaItemKind::MetaItem(meta_item)) | ^^^^^^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::ptr::P` | = note: expected type `syntax::ast::MetaItem` found type `syntax::ptr::P<syntax::ast::MetaItem>` error[E0271]: type mismatch resolving `<[closure@.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:209:39: 209:67 span:_] as std::ops::FnOnce<(syntax::ast::MetaItemKind,)>>::Output == syntax::ptr::P<syntax::ast::MetaItem>` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:209:14 | 209 | 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.27.0/src/attr.rs:209:39: 209:67 span:_]>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:166:61 | 166 | 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, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:213:77 | 213 | self.items.push(respan(self.span, ast::NestedMetaItemKind::MetaItem(item))); | ^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::ptr::P` | = note: expected type `syntax::ast::MetaItem` found type `syntax::ptr::P<syntax::ast::MetaItem>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:180:62 | 180 | vec![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, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:219:31 | 219 | 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[E0618]: expected function, found enum variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:227:47 | 227 | self.with_meta_items_(iter.map(|word| ast::MetaItemKind::Word(word.to_interned_string()))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a function help: `ast::MetaItemKind::Word` is a unit variant, you need to write it without the parenthesis | 227 | self.with_meta_items_(iter.map(|word| ast::MetaItemKind::Word)) | ^^^^^^^^^^^^^^^^^^^^^^^ error[E0618]: expected function, found enum variant `ast::MetaItemKind::Word` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:233:34 | 233 | self.with_meta_item_kind(ast::MetaItemKind::Word(word.to_interned_string())) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a function help: `ast::MetaItemKind::Word` is a unit variant, you need to write it without the parenthesis | 233 | self.with_meta_item_kind(ast::MetaItemKind::Word) | ^^^^^^^^^^^^^^^^^^^^^^^ error[E0061]: this function takes 1 parameter but 2 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:252:38 | 252 | 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/quasi-0.20.1/src/lib.rs:186:62 | 186 | vec![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, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:253:32 | 253 | 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.27.0/src/attr.rs:288:20 | 288 | let item = ast::MetaItemKind::NameValue(self.name, (*value).clone()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter error[E0063]: missing field `recovered` in initializer of `syntax::ast::Block` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/block.rs:83:32 | 83 | self.callback.invoke(P(ast::Block { | ^^^^^^^^^^ missing `recovered` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:192:61 | 192 | vec![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, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0061]: this function takes 2 parameters but 1 parameter was supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:422:30 | 422 | 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.27.0/src/expr.rs:429:30 | 429 | self.build_expr_kind(ast::ExprKind::Break(Some(label))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:218:75 | 218 | vec![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>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:440:59 | 440 | self.build_expr_kind(ast::ExprKind::Continue(Some(label))) | ^^^^^ expected struct `syntax::ast::Label`, found struct `syntax::codemap::Spanned` | = note: expected type `syntax::ast::Label` found type `syntax::codemap::Spanned<syntax::ast::Ident>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:218:61 | 218 | vec![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, syntax::parse::token::LazyTokenStream)>` found type `syntax::parse::token::Nonterminal` error[E0609]: no field `node` on type `&syntax::ast::Attribute` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:227:17 | 227 | if self.node.style == ast::AttrStyle::Inner { | ^^^^ error[E0560]: struct `syntax::tokenstream::Delimited` has no field named `open_span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:232:13 | 232 | open_span: self.span, | ^^^^^^^^^ `syntax::tokenstream::Delimited` does not have this field | = note: available fields are: `delim`, `tts` error[E0609]: no field `node` on type `&syntax::ast::Attribute` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:233:23 | 233 | tts: self.node.value.to_tokens(cx), | ^^^^ error[E0560]: struct `syntax::tokenstream::Delimited` has no field named `close_span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:234:13 | 234 | close_span: self.span, | ^^^^^^^^^^ `syntax::tokenstream::Delimited` does not have this field | = note: available fields are: `delim`, `tts` error[E0063]: missing fields `attrs`, `is_shorthand` in initializer of `syntax::ast::Field` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:1078:21 | 1078 | let field = ast::Field { | ^^^^^^^^^^ missing `attrs`, `is_shorthand` error[E0061]: this function takes 2 parameters but 3 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:1220:38 | 1220 | self.builder.build_expr_kind(ast::ExprKind::MethodCall(self.id, self.tys, self.args)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:230:48 | 230 | r.push(TokenTree::Delimited(self.span, Rc::new(tokenstream::Delimited { | ________________________________________________^ 231 | | delim: token::Bracket, 232 | | open_span: self.span, 233 | | tts: self.node.value.to_tokens(cx), 234 | | close_span: self.span, 235 | | }))); | |__________^ 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[E0560]: struct `syntax::tokenstream::Delimited` has no field named `open_span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:262:13 | 262 | open_span: DUMMY_SP, | ^^^^^^^^^ `syntax::tokenstream::Delimited` does not have this field | = note: available fields are: `delim`, `tts` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:1466:65 | 1466 | self.builder.build_expr_kind(ast::ExprKind::Loop(block, self.label)) | ^^^^^^^^^^ expected struct `syntax::ast::Label`, found struct `syntax::codemap::Spanned` | = note: expected type `std::option::Option<syntax::ast::Label>` found type `std::option::Option<syntax::codemap::Spanned<syntax::ast::Ident>>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:263:18 | 263 | tts: vec![], | ^^^^^^ expected struct `syntax::tokenstream::ThinTokenStream`, found struct `std::vec::Vec` | = note: expected type `syntax::tokenstream::ThinTokenStream` found type `std::vec::Vec<_>` = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0560]: struct `syntax::tokenstream::Delimited` has no field named `close_span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:264:13 | 264 | close_span: DUMMY_SP, | ^^^^^^^^^^ `syntax::tokenstream::Delimited` does not have this field | = note: available fields are: `delim`, `tts` error[E0599]: no variant named `Vec` found for type `syntax::ast::ExprKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:1782:38 | 1782 | self.builder.build_expr_kind(ast::ExprKind::Vec(self.exprs)) | ^^^^^^^^^^^^^^^^^^ variant not found in `syntax::ast::ExprKind` error[E0061]: this function takes 5 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:1942:38 | 1942 | self.builder.build_expr_kind(ast::ExprKind::Closure(self.capture_by, self.fn_decl, block, self.span)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 parameters error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:260:45 | 260 | vec![TokenTree::Delimited(DUMMY_SP, Rc::new(tokenstream::Delimited { | _____________________________________________^ 261 | | delim: token::Paren, 262 | | open_span: DUMMY_SP, 263 | | tts: vec![], 264 | | close_span: DUMMY_SP, 265 | | }))] | |__________^ 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[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:315:45 | 315 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 331 | impl_to_tokens_int! { signed, isize, ast::IntTy::Is } | ----------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 315 | let lit = ast::LitKind::Int((val as u64).into(), ast::LitIntType::Signed($tag)); | ^^^^^^^^^^^^^^^^^^^ error[E0599]: no variant named `Is` found for type `syntax::ast::IntTy` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:331:38 | 331 | impl_to_tokens_int! { signed, isize, ast::IntTy::Is } | ^^^^^^^^^^^^^^ variant not found in `syntax::ast::IntTy` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:315:45 | 315 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 332 | impl_to_tokens_int! { signed, i8, ast::IntTy::I8 } | --------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 315 | let lit = ast::LitKind::Int((val as u64).into(), ast::LitIntType::Signed($tag)); | ^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:315:45 | 315 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 333 | impl_to_tokens_int! { signed, i16, ast::IntTy::I16 } | ---------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 315 | let lit = ast::LitKind::Int((val as u64).into(), ast::LitIntType::Signed($tag)); | ^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:315:45 | 315 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 334 | impl_to_tokens_int! { signed, i32, ast::IntTy::I32 } | ---------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 315 | let lit = ast::LitKind::Int((val as u64).into(), ast::LitIntType::Signed($tag)); | ^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:315:45 | 315 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag)); | ^^^^^^^^^^ expected u128, found u64 ... 335 | impl_to_tokens_int! { signed, i64, ast::IntTy::I64 } | ---------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 315 | let lit = ast::LitKind::Int((val as u64).into(), ast::LitIntType::Signed($tag)); | ^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:324:45 | 324 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 337 | impl_to_tokens_int! { unsigned, usize, ast::UintTy::Us } | -------------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 324 | let lit = ast::LitKind::Int((*self as u64).into(), ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no variant named `Us` found for type `syntax::ast::UintTy` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:337:40 | 337 | impl_to_tokens_int! { unsigned, usize, ast::UintTy::Us } | ^^^^^^^^^^^^^^^ variant not found in `syntax::ast::UintTy` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:324:45 | 324 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 338 | impl_to_tokens_int! { unsigned, u8, ast::UintTy::U8 } | ------------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 324 | let lit = ast::LitKind::Int((*self as u64).into(), ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:324:45 | 324 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 339 | impl_to_tokens_int! { unsigned, u16, ast::UintTy::U16 } | -------------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 324 | let lit = ast::LitKind::Int((*self as u64).into(), ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:324:45 | 324 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 340 | impl_to_tokens_int! { unsigned, u32, ast::UintTy::U32 } | -------------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 324 | let lit = ast::LitKind::Int((*self as u64).into(), ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:324:45 | 324 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^ expected u128, found u64 ... 341 | impl_to_tokens_int! { unsigned, u64, ast::UintTy::U64 } | -------------------------------------------------------- in this macro invocation help: you can cast an `u64` to `u128`, which will zero-extend the source value | 324 | let lit = ast::LitKind::Int((*self as u64).into(), ast::LitIntType::Unsigned($tag)); | ^^^^^^^^^^^^^^^^^^^^^ error[E0061]: this function takes 3 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:353:19 | 353 | panictry!(parse::parse_item_from_source_str( | ___________________^ 354 | | "<quote expansion>".to_string(), 355 | | s, 356 | | self.cfg(), 357 | | self.parse_sess())).expect("parse error") | |______________________________^ expected 3 parameters error[E0061]: this function takes 3 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:361:19 | 361 | panictry!(parse::parse_stmt_from_source_str( | ___________________^ 362 | | "<quote expansion>".to_string(), 363 | | s, 364 | | self.cfg(), 365 | | self.parse_sess())).expect("parse error") | |______________________________^ expected 3 parameters error[E0061]: this function takes 3 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:369:19 | 369 | panictry!(parse::parse_expr_from_source_str( | ___________________^ 370 | | "<quote expansion>".to_string(), 371 | | s, 372 | | self.cfg(), 373 | | self.parse_sess())) | |______________________________^ expected 3 parameters error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:2021:17 | 2021 | p, self.condition, block, self.label)), | ^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | = note: expected type `std::vec::Vec<syntax::ptr::P<_>>` found type `syntax::ptr::P<_>` error: aborting due to 47 previous errors You've got a few errors: E0061, E0308, E0412, E0425, E0432, E0560, E0599, E0609 If you want more information on an error, try using "rustc --explain E0061" error: Could not compile `quasi`. Caused by: process didn't exit successfully: `rustc --crate-name quasi .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=5da3e1cc5c147b58 -C extra-filename=-5da3e1cc5c147b58 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101) error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:2021:43 | 2021 | p, self.condition, block, self.label)), | ^^^^^^^^^^ expected struct `syntax::ast::Label`, found struct `syntax::codemap::Spanned` | = note: expected type `std::option::Option<syntax::ast::Label>` found type `std::option::Option<syntax::codemap::Spanned<syntax::ast::Ident>>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:2023:40 | 2023 | self.condition, block, self.label)), | ^^^^^^^^^^ expected struct `syntax::ast::Label`, found struct `syntax::codemap::Spanned` | = note: expected type `std::option::Option<syntax::ast::Label>` found type `std::option::Option<syntax::codemap::Spanned<syntax::ast::Ident>>` error[E0609]: no field `lifetimes` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/generics.rs:52:33 | 52 | lifetimes: generics.lifetimes, | ^^^^^^^^^ unknown field | = note: available fields are: `params`, `where_clause`, `span` error[E0609]: no field `ty_params` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/generics.rs:53:33 | 53 | ty_params: generics.ty_params.into_vec(), | ^^^^^^^^^ did you mean `params`? error[E0609]: no field `lifetimes` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/generics.rs:59:38 | 59 | self.with_lifetimes(generics.lifetimes.into_iter()) | ^^^^^^^^^ unknown field | = note: available fields are: `params`, `where_clause`, `span` error[E0609]: no field `ty_params` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/generics.rs:60:38 | 60 | .with_ty_params(generics.ty_params.into_iter()) | ^^^^^^^^^ did you mean `params`? error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/generics.rs:203:31 | 203 | ty_param.bounds = P::new(); | ^^^^^^^^ | | | expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | help: try using a conversion method: `P::new().to_vec()` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[_]>` error[E0560]: struct `syntax::ast::Generics` has no field named `lifetimes` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/generics.rs:215:13 | 215 | lifetimes: self.lifetimes, | ^^^^^^^^^ `syntax::ast::Generics` does not have this field | = note: available fields are: `params`, `where_clause`, `span` error[E0560]: struct `syntax::ast::Generics` has no field named `ty_params` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/generics.rs:216:13 | 216 | ty_params: P::from_vec(self.ty_params), | ^^^^^^^^^ field does not exist - did you mean `params`? error[E0063]: missing field `span` in initializer of `syntax::ast::WhereClause` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/generics.rs:217:27 | 217 | where_clause: ast::WhereClause { | ^^^^^^^^^^^^^^^^ missing `span` error[E0599]: no associated item named `Inherited` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:54:18 | 54 | vis: ast::Visibility::Inherited, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0599]: no associated item named `Public` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:84:20 | 84 | self.vis = ast::Visibility::Public; | ^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0063]: missing field `tokens` in initializer of `syntax::ast::Item` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:91:20 | 91 | let item = ast::Item { | ^^^^^^^^^ missing `tokens` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:115:41 | 115 | let item = ast::ItemKind::Use(P(respan(self.span, view_path))); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::UseTree`, found struct `syntax::codemap::Spanned` | = note: expected type `syntax::ast::UseTree` found type `syntax::codemap::Spanned<_>` error[E0061]: this function takes 5 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:886:47 | 886 | self.builder.build_item_kind(self.id, ast::ItemKind::Trait( | _______________________________________________^ 887 | | self.unsafety, 888 | | self.generics, 889 | | P::from_vec(self.bounds), 890 | | self.items, 891 | | )) | |_________^ expected 5 parameters error[E0063]: missing fields `generics`, `tokens` in initializer of `syntax::ast::TraitItem` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:994:20 | 994 | let item = ast::TraitItem { | ^^^^^^^^^^^^^^ missing `generics`, `tokens` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:1103:45 | 1103 | let node = ast::TraitItemKind::Type(bounds, ty); | ^^^^^^ | | | expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | help: try using a conversion method: `bounds.to_vec()` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` error[E0061]: this function takes 7 parameters but 6 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:1189:19 | 1189 | let ty_ = ast::ItemKind::Impl( | ___________________^ 1190 | | self.unsafety, 1191 | | self.polarity, 1192 | | self.generics, 1193 | | self.trait_ref, 1194 | | ty, 1195 | | self.items); | |_______________________^ expected 7 parameters error[E0599]: no associated item named `Inherited` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:1308:18 | 1308 | vis: ast::Visibility::Inherited, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0599]: no associated item named `Public` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:1337:20 | 1337 | self.vis = ast::Visibility::Public; | ^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0063]: missing fields `generics`, `tokens` in initializer of `syntax::ast::ImplItem` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/item.rs:1371:20 | 1371 | let item = ast::ImplItem { | ^^^^^^^^^^^^^ missing `generics`, `tokens` error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/lifetime.rs:24:13 | 24 | name: self.to_name(), | ^^^^ `syntax::ast::Lifetime` does not have this field | = note: available fields are: `id`, `span`, `ident` error[E0063]: missing field `attrs` in initializer of `syntax::ast::LifetimeDef` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.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.27.0/src/lifetime.rs:87:13 | 87 | name: name.to_name(), | ^^^^ `syntax::ast::Lifetime` does not have this field | = note: available fields are: `id`, `span`, `ident` error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/lifetime.rs:103:13 | 103 | name: name.to_name(), | ^^^^ `syntax::ast::Lifetime` does not have this field | = note: available fields are: `id`, `span`, `ident` error[E0063]: missing field `attrs` in initializer of `syntax::ast::LifetimeDef` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.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.27.0/src/lit.rs:61:42 | 61 | self.build_lit(ast::LitKind::Int(value as u64, ast::LitIntType::Unsuffixed)) | ^^^^^^^^^^^^ expected u128, found u64 help: you can cast an `u64` to `u128`, which will zero-extend the source value | 61 | self.build_lit(ast::LitKind::Int((value as u64).into(), ast::LitIntType::Unsuffixed)) | ^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/lit.rs:66:42 | 66 | self.build_lit(ast::LitKind::Int(value as u64, ast::LitIntType::Signed(ty))) | ^^^^^^^^^^^^ expected u128, found u64 help: you can cast an `u64` to `u128`, which will zero-extend the source value | 66 | self.build_lit(ast::LitKind::Int((value as u64).into(), ast::LitIntType::Signed(ty))) | ^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no variant named `Is` found for type `syntax::ast::IntTy` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/lit.rs:70:38 | 70 | self.build_int(value as i64, ast::IntTy::Is) | ^^^^^^^^^^^^^^ variant not found in `syntax::ast::IntTy` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/lit.rs:94:42 | 94 | self.build_lit(ast::LitKind::Int(value, ast::LitIntType::Unsuffixed)) | ^^^^^ expected u128, found u64 help: you can cast an `u64` to `u128`, which will zero-extend the source value | 94 | self.build_lit(ast::LitKind::Int(value.into(), ast::LitIntType::Unsuffixed)) | ^^^^^^^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/lit.rs:98:42 | 98 | self.build_lit(ast::LitKind::Int(value, ast::LitIntType::Unsigned(ty))) | ^^^^^ expected u128, found u64 help: you can cast an `u64` to `u128`, which will zero-extend the source value | 98 | self.build_lit(ast::LitKind::Int(value.into(), ast::LitIntType::Unsigned(ty))) | ^^^^^^^^^^^^ error[E0599]: no variant named `Us` found for type `syntax::ast::UintTy` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/lit.rs:102:39 | 102 | self.build_uint(value as u64, ast::UintTy::Us) | ^^^^^^^^^^^^^^^ variant not found in `syntax::ast::UintTy` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/mac.rs:58:18 | 58 | tts: self.tokens, | ^^^^^^^^^^^ expected struct `syntax::tokenstream::ThinTokenStream`, found struct `std::vec::Vec` | = note: expected type `syntax::tokenstream::ThinTokenStream` found type `std::vec::Vec<syntax::tokenstream::TokenTree>` error[E0061]: this function takes 1 parameter but 0 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/mac.rs:72:26 | 72 | let parse_sess = ParseSess::new(); | ^^^^^^^^^^^^^^^^ expected 1 parameter error[E0063]: missing field `allow_internal_unsafe` in initializer of `syntax::codemap::NameAndSpan` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/mac.rs:101:17 | 101 | callee: codemap::NameAndSpan { | ^^^^^^^^^^^^^^^^^^^^ missing `allow_internal_unsafe` error[E0061]: this function takes 3 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/mac.rs:110:18 | 110 | let mut cx = ExtCtxt::new(sess, cfg, ecfg, macro_loader); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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.27.0/src/mac.rs:111:8 | 111 | cx.bt_push(info); | ^^^^^^^ error[E0560]: struct `syntax::ast::MethodSig` has no field named `generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/method.rs:76:13 | 76 | generics: self.generics, | ^^^^^^^^ `syntax::ast::MethodSig` does not have this field | = note: available fields are: `unsafety`, `constness`, `abi`, `decl` error[E0061]: this function takes 3 parameters but 2 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/pat.rs:124:29 | 124 | self.build_pat_kind(ast::PatKind::Range(lhs, rhs)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters error[E0063]: missing field `attrs` in initializer of `syntax::ast::FieldPat` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/pat.rs:353:29 | 353 | 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.27.0/src/pat.rs:367:29 | 367 | 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.27.0/src/pat.rs:396:37 | 396 | self.builder.with_field_pat(ast::FieldPat { | ^^^^^^^^^^^^^ missing `attrs` error[E0560]: struct `syntax::ast::Path` has no field named `global` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/path.rs:159:13 | 159 | global: self.global, | ^^^^^^ `syntax::ast::Path` does not have this field | = note: available fields are: `span`, `segments` error[E0609]: no field `lifetimes` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/path.rs:208:34 | 208 | let lifetimes = generics.lifetimes.iter() | ^^^^^^^^^ unknown field | = note: available fields are: `params`, `where_clause`, `span` error[E0609]: no field `ty_params` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/path.rs:213:28 | 213 | let tys = generics.ty_params.iter() | ^^^^^^^^^ did you mean `params`? error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/path.rs:242:13 | 242 | name: name.to_name(), | ^^^^ `syntax::ast::Lifetime` does not have this field | = note: available fields are: `id`, `span`, `ident` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/path.rs:298:25 | 298 | 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.27.0/src/path.rs:296:30 | 296 | self.callback.invoke(ast::PathSegment { | ^^^^^^^^^^^^^^^^ missing `span` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/path.rs:305:20 | 305 | types: P::from_vec(self.tys), | ^^^^^^^^^^^^^^^^^^^^^ | | | expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | help: try using a conversion method: `P::from_vec(self.tys).to_vec()` | = note: expected type `std::vec::Vec<syntax::ptr::P<syntax::ast::Ty>>` found type `syntax::ptr::P<[syntax::ptr::P<syntax::ast::Ty>]>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/path.rs:306:23 | 306 | bindings: P::from_vec(self.bindings), | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | help: try using a conversion method: `P::from_vec(self.bindings).to_vec()` | = note: expected type `std::vec::Vec<syntax::ast::TypeBinding>` found type `syntax::ptr::P<[syntax::ast::TypeBinding]>` error[E0063]: missing field `span` in initializer of `syntax::ast::AngleBracketedParameterData` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/path.rs:303:20 | 303 | let data = ast::AngleBracketedParameterData { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `span` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/path.rs:313:25 | 313 | 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.27.0/src/path.rs:311:30 | 311 | 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.27.0/src/qpath.rs:95:13 | 95 | global: false, | ^^^^^^ `syntax::ast::Path` does not have this field | = note: available fields are: `span`, `segments` error[E0560]: struct `syntax::ast::Path` has no field named `global` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/qpath.rs:106:13 | 106 | global: false, | ^^^^^^ `syntax::ast::Path` does not have this field | = note: available fields are: `span`, `segments` error[E0599]: no associated item named `Inherited` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/struct_field.rs:43:18 | 43 | vis: ast::Visibility::Inherited, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0599]: no associated item named `Inherited` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/struct_field.rs:53:18 | 53 | vis: ast::Visibility::Inherited, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0599]: no associated item named `Public` found for type `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/struct_field.rs:64:20 | 64 | self.vis = ast::Visibility::Public; | ^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>` error[E0599]: no variant named `Vec` found for type `syntax::ast::TyKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/ty.rs:142:28 | 142 | self.build_ty_kind(ast::TyKind::Vec(ty)) | ^^^^^^^^^^^^^^^^ variant not found in `syntax::ast::TyKind` error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/ty.rs:267:13 | 267 | name: name.to_name(), | ^^^^ `syntax::ast::Lifetime` does not have this field | = note: available fields are: `id`, `span`, `ident` error[E0609]: no field `lifetimes` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/ty.rs:477:22 | 477 | generics.lifetimes.into_iter() | ^^^^^^^^^ unknown field | = note: available fields are: `params`, `where_clause`, `span` error[E0599]: no variant named `ObjectSum` found for type `syntax::ast::TyKind` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/ty.rs:501:36 | 501 | self.builder.build_ty_kind(ast::TyKind::ObjectSum(self.ty, bounds)) | ^^^^^^^^^^^^^^^^^^^^^^ variant not found in `syntax::ast::TyKind` error[E0609]: no field `lifetimes` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/ty.rs:543:22 | 543 | generics.lifetimes.into_iter() | ^^^^^^^^^ unknown field | = note: available fields are: `params`, `where_clause`, `span` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/ty.rs:567:59 | 567 | self.builder.build_ty_kind(ast::TyKind::ImplTrait(bounds)) | ^^^^^^ | | | expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | help: try using a conversion method: `bounds.to_vec()` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` 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.27.0/src/ty_param.rs:54:37 | 54 | bounds: ty_param.bounds.into_vec(), | ^^^^^^^^ | = help: did you mean `to_vec`? error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/ty_param.rs:106:21 | 106 | bounds: P::from_vec(self.bounds), | ^^^^^^^^^^^^^^^^^^^^^^^^ | | | expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | help: try using a conversion method: `P::from_vec(self.bounds).to_vec()` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` error[E0063]: missing field `attrs` in initializer of `syntax::ast::TyParam` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/ty_param.rs:103:30 | 103 | self.callback.invoke(ast::TyParam { | ^^^^^^^^^^^^ missing `attrs` error[E0560]: struct `syntax::ast::PolyTraitRef` has no field named `bound_lifetimes` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/ty_param.rs:288:13 | 288 | bound_lifetimes: self.lifetimes, | ^^^^^^^^^^^^^^^ `syntax::ast::PolyTraitRef` does not have this field | = note: available fields are: `bound_generic_params`, `trait_ref`, `span` error[E0560]: struct `syntax::ast::WhereBoundPredicate` has no field named `bound_lifetimes` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/where_predicate.rs:241:13 | 241 | bound_lifetimes: self.bound_lifetimes, | ^^^^^^^^^^^^^^^ `syntax::ast::WhereBoundPredicate` does not have this field | = note: available fields are: `span`, `bound_generic_params`, `bounded_ty`, `bounds` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/where_predicate.rs:243:21 | 243 | bounds: P::from_vec(self.bounds), | ^^^^^^^^^^^^^^^^^^^^^^^^ | | | expected struct `std::vec::Vec`, found struct `syntax::ptr::P` | help: try using a conversion method: `P::from_vec(self.bounds).to_vec()` | = note: expected type `std::vec::Vec<syntax::ast::TyParamBound>` found type `syntax::ptr::P<[syntax::ast::TyParamBound]>` error[E0560]: struct `syntax::ast::WhereEqPredicate` has no field named `path` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/where_predicate.rs:322:13 | 322 | path: path, | ^^^^ `syntax::ast::WhereEqPredicate` does not have this field | = note: available fields are: `id`, `span`, `lhs_ty`, `rhs_ty` error[E0560]: struct `syntax::ast::WhereEqPredicate` has no field named `ty` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.27.0/src/where_predicate.rs:323:13 | 323 | ty: ty, | ^^ `syntax::ast::WhereEqPredicate` does not have this field | = note: available fields are: `id`, `span`, `lhs_ty`, `rhs_ty` error: aborting due to 116 previous errors You've got a few errors: E0061, E0063, E0271, E0308, E0412, E0422, E0423, E0425, E0560... If you want more information on an error, try using "rustc --explain E0061" thread 'main' panicked at 'Error( CargoError( build failed ), State { next_error: None, backtrace: None } )', src/bin/cratesfyi.rs:142:13 note: Run with `RUST_BACKTRACE=1` for a backtrace.