quasi_macros 0.32.0

A quasi-quoting macro system

Build #88993 2018-03-05 22:08:56

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 Updating registry `https://github.com/rust-lang/crates.io-index` Downloading quasi_macros v0.32.0 Compiling aster v0.41.0 Running `rustc --crate-name aster .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=6a1d0b2e11b28ce1 -C extra-filename=-6a1d0b2e11b28ce1 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` error[E0412]: cannot find type `ViewPath_` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/item.rs:128:44 | 128 | 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.41.0/src/item.rs:424:37 | 424 | 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.41.0/src/item.rs:436:37 | 436 | 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.41.0/src/item.rs:456:22 | 456 | 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.41.0/src/item.rs:468:49 | 468 | 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.41.0/src/item.rs:479:49 | 479 | 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.41.0/src/item.rs:488:37 | 488 | self.builder.build_use(ast::ViewPathList(self.path, self.idents)) | ^^^^^^^^^^^^ not found in `ast` error[E0560]: struct `syntax::ast::Attribute` has no field named `value` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/attr.rs:59:13 | 59 | value: item, | ^^^^^ `syntax::ast::Attribute` does not have this field | = note: available fields are: `id`, `style`, `path`, `tokens`, `is_sugared_doc`, `span` error[E0063]: missing field `recovered` in initializer of `syntax::ast::Block` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.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/aster-0.41.0/src/expr.rs:412:56 | 412 | self.build_expr_kind(ast::ExprKind::Break(Some(label), None)) | ^^^^^ 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/aster-0.41.0/src/expr.rs:423:59 | 423 | 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[E0061]: this function takes 2 parameters but 3 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/expr.rs:1252:38 | 1252 | 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/aster-0.41.0/src/expr.rs:1592:65 | 1592 | 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[E0061]: this function takes 5 parameters but 4 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/expr.rs:2044:38 | 2044 | self.builder.build_expr_kind(ast::ExprKind::Closure(self.capture_by, self.fn_decl, expr, self.span)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 parameters error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/expr.rs:2123:17 | 2123 | 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[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/expr.rs:2123:43 | 2123 | 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.41.0/src/expr.rs:2125:40 | 2125 | 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.41.0/src/generics.rs:51:33 | 51 | 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.41.0/src/generics.rs:52:33 | 52 | ty_params: generics.ty_params, | ^^^^^^^^^ did you mean `params`? error[E0609]: no field `lifetimes` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/generics.rs:58:38 | 58 | 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.41.0/src/generics.rs:59:38 | 59 | .with_ty_params(generics.ty_params.into_iter()) | ^^^^^^^^^ did you mean `params`? error[E0560]: struct `syntax::ast::Generics` has no field named `lifetimes` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/generics.rs:214:13 | 214 | 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.41.0/src/generics.rs:215:13 | 215 | ty_params: 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.41.0/src/generics.rs:216:27 | 216 | 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.41.0/src/item.rs:55:18 | 55 | 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.41.0/src/item.rs:85:20 | 85 | 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.41.0/src/item.rs:92:20 | 92 | let item = ast::Item { | ^^^^^^^^^ missing `tokens` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/item.rs:129:41 | 129 | 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.41.0/src/item.rs:909:47 | 909 | self.builder.build_item_kind(self.id, ast::ItemKind::Trait( | _______________________________________________^ 910 | | self.unsafety, 911 | | self.generics, 912 | | self.bounds, 913 | | self.items, 914 | | )) | |_________^ expected 5 parameters error[E0063]: missing fields `generics`, `tokens` in initializer of `syntax::ast::TraitItem` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/item.rs:1017:20 | 1017 | let item = ast::TraitItem { | ^^^^^^^^^^^^^^ missing `generics`, `tokens` error[E0061]: this function takes 7 parameters but 6 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/item.rs:1212:19 | 1212 | let ty_ = ast::ItemKind::Impl( | ___________________^ 1213 | | self.unsafety, 1214 | | self.polarity, 1215 | | self.generics, 1216 | | self.trait_ref, 1217 | | ty, 1218 | | 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.41.0/src/item.rs:1331:18 | 1331 | 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.41.0/src/item.rs:1360:20 | 1360 | 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.41.0/src/item.rs:1394:20 | 1394 | let item = ast::ImplItem { | ^^^^^^^^^^^^^ missing `generics`, `tokens` error[E0063]: missing field `tokens` in initializer of `syntax::ast::Item` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/item.rs:1528:20 | 1528 | let item = ast::Item { | ^^^^^^^^^ missing `tokens` error[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/lifetime.rs:24:13 | 24 | name: self.to_symbol(), | ^^^^ `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.41.0/src/lifetime.rs:88:13 | 88 | name: name.to_symbol(), | ^^^^ `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.41.0/src/lifetime.rs:104:13 | 104 | name: name.to_symbol(), | ^^^^ `syntax::ast::Lifetime` does not have this field | = note: available fields are: `id`, `span`, `ident` error[E0599]: no variant named `Is` found for type `syntax::ast::IntTy` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/lit.rs:75:38 | 75 | self.build_int(value as u64, ast::IntTy::Is) | ^^^^^^^^^^^^^^ variant not found in `syntax::ast::IntTy` error[E0599]: no variant named `Us` found for type `syntax::ast::UintTy` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/lit.rs:103:39 | 103 | self.build_uint(value as u64, ast::UintTy::Us) | ^^^^^^^^^^^^^^^ variant not found in `syntax::ast::UintTy` error[E0061]: this function takes 1 parameter but 0 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/mac.rs:93:26 | 93 | let parse_sess = ParseSess::new(); | ^^^^^^^^^^^^^^^^ expected 1 parameter error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/mac.rs:110:18 | 110 | 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[E0063]: missing field `allow_internal_unsafe` in initializer of `syntax::codemap::NameAndSpan` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/mac.rs:132:17 | 132 | callee: codemap::NameAndSpan { | ^^^^^^^^^^^^^^^^^^^^ missing `allow_internal_unsafe` 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.41.0/src/mac.rs:141:8 | 141 | cx.bt_push(info); | ^^^^^^^ error[E0560]: struct `syntax::ast::MethodSig` has no field named `generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.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[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/pat.rs:124:59 | 124 | self.build_pat_kind(ast::PatKind::Range(lhs, rhs, ast::RangeEnd::Included)) | ^^^^^^^^^^^^^^^^^^^^^^^ expected enum `syntax::ast::RangeEnd`, found fn item | = note: expected type `syntax::ast::RangeEnd` found type `fn(syntax::ast::RangeSyntax) -> syntax::ast::RangeEnd {syntax::ast::RangeEnd::Included}` error[E0061]: this function takes 1 parameter but 0 parameters were supplied --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/path.rs:114:27 | 114 | segments.push(ast::PathSegment::crate_root()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter error[E0609]: no field `lifetimes` on type `syntax::ast::Generics` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/path.rs:211:34 | 211 | 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.41.0/src/path.rs:216:28 | 216 | 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.41.0/src/path.rs:245:13 | 245 | name: name.to_symbol(), | ^^^^ `syntax::ast::Lifetime` does not have this field | = note: available fields are: `id`, `span`, `ident` error[E0063]: missing field `span` in initializer of `syntax::ast::PathSegment` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/path.rs:303:30 | 303 | self.callback.invoke(ast::PathSegment { | ^^^^^^^^^^^^^^^^ missing `span` error[E0063]: missing field `span` in initializer of `syntax::ast::AngleBracketedParameterData` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/path.rs:315:24 | 315 | let data = ast::AngleBracketedParameterData { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `span` error[E0063]: missing field `span` in initializer of `syntax::ast::PathSegment` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/path.rs:324:30 | 324 | self.callback.invoke(ast::PathSegment { | ^^^^^^^^^^^^^^^^ 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.41.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.41.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.41.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[E0560]: struct `syntax::ast::Lifetime` has no field named `name` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/ty.rs:285:13 | 285 | name: name.to_symbol(), | ^^^^ `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.41.0/src/ty.rs:476:22 | 476 | generics.lifetimes.into_iter() | ^^^^^^^^^ unknown field | = note: available fields are: `params`, `where_clause`, `span` error[E0560]: struct `syntax::ast::PolyTraitRef` has no field named `bound_lifetimes` --> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/ty_param.rs:289:13 | 289 | 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.41.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: aborting due to 60 previous errors You've got a few errors: E0061, E0063, E0308, E0412, E0422, E0425, E0560, E0599, E0609 If you want more information on an error, try using "rustc --explain E0061" thread 'main' panicked at 'Error( CargoError( ChainedError { error: Could not compile `aster`., cause: process didn't exit successfully: `rustc --crate-name aster .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.41.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=6a1d0b2e11b28ce1 -C extra-filename=-6a1d0b2e11b28ce1 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101) } ), State { next_error: None, backtrace: None } )', src/bin/cratesfyi.rs:142:13 note: Run with `RUST_BACKTRACE=1` for a backtrace.