easy-plugin 0.11.8

A compiler plugin that makes it easier to write compiler plugins.
Build #103557 2018-06-06 05:55:03

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.28.0-dev (b9bf4f162 2018-06-02)# docs.rs version
cratesfyi 0.5.0 (579f83b 2018-03-05)# build log
Build failed, waiting for other jobs to finish...
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling synthax v0.3.6
Fresh rustc-serialize v0.3.24
Fresh toml v0.2.1
Running `rustc --crate-name synthax .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs --crate-type dylib --emit=dep-info,link -C prefer-dynamic -C debuginfo=2 -C metadata=047cf1e48f4f5b1d -C extra-filename=-047cf1e48f4f5b1d --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Compiling easy-plugin-parsers v0.11.8
Running `rustc --crate-name easy_plugin_parsers .cargo/registry/src/github.com-1ecc6299db9ec823/easy-plugin-parsers-0.11.8/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=c072d1bcca96ea4e -C extra-filename=-c072d1bcca96ea4e --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
error[E0432]: unresolved import `syntax::parse::lexer::Reader`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/easy-plugin-parsers-0.11.8/src/utility.rs:28:28
|
28 | use syntax::parse::lexer::{Reader, TokenAndSpan};
|                            ^^^^^^ no `Reader` in `parse::lexer`

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

error[E0433]: failed to resolve. Could not find `abi` in `syntax`
--> /home/cratesfyi/cratesfyi/debug/build/easy-plugin-parsers-95cfe4e9f2f22351/out/extractor.rs:98:179
|
98 | pub fn item_to_fn(item: &Item) -> PluginResult<(::syntax::ptr::P<::syntax::ast::FnDecl>, ::syntax::ast::Unsafety, ::syntax::codemap::Spanned<::syntax::ast::Constness>, ::syntax::abi::Abi, ::syntax::ast::Generics, ::syntax::ptr::P<::syntax::ast::Block>)> { match item.node { ItemKind::Fn(ref a, ref b, ref c, ref d, ref e, ref f) => Ok((a.clone(), b.clone(), c.clone(), d.clone(), e.clone(), f.clone())), _ => Err((item.span, "expected `ItemKind::Fn` item".into())), } }
|                                                                                                                                                                                   ^^^ Could not find `abi` in `syntax`

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

error[E0412]: cannot find type `SpannedIdent` in module `syntax::ast`
--> /home/cratesfyi/cratesfyi/debug/build/easy-plugin-parsers-95cfe4e9f2f22351/out/extractor.rs:28:74
|
28 | pub fn expr_to_break(expr: &Expr) -> PluginResult<(Option<::syntax::ast::SpannedIdent>, Option<::syntax::ptr::P<::syntax::ast::Expr>>)> { match expr.node { ExprKind::Break(ref a, ref b) => Ok((a.clone(), b.clone())), _ => Err((expr.span, "expected `ExprKind::Break` expression".into())), } }
|                                                                          ^^^^^^^^^^^^ not found in `syntax::ast`

error[E0412]: cannot find type `SpannedIdent` in module `syntax::ast`
--> /home/cratesfyi/cratesfyi/debug/build/easy-plugin-parsers-95cfe4e9f2f22351/out/extractor.rs:36:77
|
36 | pub fn expr_to_continue(expr: &Expr) -> PluginResult<(Option<::syntax::ast::SpannedIdent>)> { match expr.node { ExprKind::Continue(ref a) => Ok((a.clone())), _ => Err((expr.span, "expected `ExprKind::Continue` expression".into())), } }
|                                                                             ^^^^^^^^^^^^ not found in `syntax::ast`

error[E0412]: cannot find type `SpannedIdent` in module `syntax::ast`
--> /home/cratesfyi/cratesfyi/debug/build/easy-plugin-parsers-95cfe4e9f2f22351/out/extractor.rs:38:106
|
38 | pub fn expr_to_field(expr: &Expr) -> PluginResult<(::syntax::ptr::P<::syntax::ast::Expr>, ::syntax::ast::SpannedIdent)> { match expr.node { ExprKind::Field(ref a, ref b) => Ok((a.clone(), b.clone())), _ => Err((expr.span, "expected `ExprKind::Field` expression".into())), } }
|                                                                                                          ^^^^^^^^^^^^ not found in `syntax::ast`

error[E0412]: cannot find type `SpannedIdent` in module `syntax::ast`
--> /home/cratesfyi/cratesfyi/debug/build/easy-plugin-parsers-95cfe4e9f2f22351/out/extractor.rs:40:194
|
40 | pub fn expr_to_for_loop(expr: &Expr) -> PluginResult<(::syntax::ptr::P<::syntax::ast::Pat>, ::syntax::ptr::P<::syntax::ast::Expr>, ::syntax::ptr::P<::syntax::ast::Block>, Option<::syntax::ast::SpannedIdent>)> { match expr.node { ExprKind::ForLoop(ref a, ref b, ref c, ref d) => Ok((a.clone(), b.clone(), c.clone(), d.clone())), _ => Err((expr.span, "expected `ExprKind::ForLoop` expression".into())), } }
|                                                                                                                                                                                                  ^^^^^^^^^^^^ not found in `syntax::ast`

error[E0412]: cannot find type `SpannedIdent` in module `syntax::ast`
--> /home/cratesfyi/cratesfyi/debug/build/easy-plugin-parsers-95cfe4e9f2f22351/out/extractor.rs:54:113
|
54 | pub fn expr_to_loop(expr: &Expr) -> PluginResult<(::syntax::ptr::P<::syntax::ast::Block>, Option<::syntax::ast::SpannedIdent>)> { match expr.node { ExprKind::Loop(ref a, ref b) => Ok((a.clone(), b.clone())), _ => Err((expr.span, "expected `ExprKind::Loop` expression".into())), } }
|                                                                                                                 ^^^^^^^^^^^^ not found in `syntax::ast`

error[E0412]: cannot find type `SpannedIdent` in module `syntax::ast`
--> /home/cratesfyi/cratesfyi/debug/build/easy-plugin-parsers-95cfe4e9f2f22351/out/extractor.rs:60:73
|
60 | pub fn expr_to_method_call(expr: &Expr) -> PluginResult<(::syntax::ast::SpannedIdent, Vec<::syntax::ptr::P<::syntax::ast::Ty>>, Vec<::syntax::ptr::P<::syntax::ast::Expr>>)> { match expr.node { ExprKind::MethodCall(ref a, ref b, ref c) => Ok((a.clone(), b.clone(), c.clone())), _ => Err((expr.span, "expected `ExprKind::MethodCall` expression".into())), } }
|                                                                         ^^^^^^^^^^^^ not found in `syntax::ast`

error[E0412]: cannot find type `SpannedIdent` in module `syntax::ast`
--> /home/cratesfyi/cratesfyi/debug/build/easy-plugin-parsers-95cfe4e9f2f22351/out/extractor.rs:84:153
|
84 | pub fn expr_to_while(expr: &Expr) -> PluginResult<(::syntax::ptr::P<::syntax::ast::Expr>, ::syntax::ptr::P<::syntax::ast::Block>, Option<::syntax::ast::SpannedIdent>)> { match expr.node { ExprKind::While(ref a, ref b, ref c) => Ok((a.clone(), b.clone(), c.clone())), _ => Err((expr.span, "expected `ExprKind::While` expression".into())), } }
|                                                                                                                                                         ^^^^^^^^^^^^ not found in `syntax::ast`

error[E0412]: cannot find type `SpannedIdent` in module `syntax::ast`
--> /home/cratesfyi/cratesfyi/debug/build/easy-plugin-parsers-95cfe4e9f2f22351/out/extractor.rs:86:195
|
86 | pub fn expr_to_while_let(expr: &Expr) -> PluginResult<(::syntax::ptr::P<::syntax::ast::Pat>, ::syntax::ptr::P<::syntax::ast::Expr>, ::syntax::ptr::P<::syntax::ast::Block>, Option<::syntax::ast::SpannedIdent>)> { match expr.node { ExprKind::WhileLet(ref a, ref b, ref c, ref d) => Ok((a.clone(), b.clone(), c.clone(), d.clone())), _ => Err((expr.span, "expected `ExprKind::WhileLet` expression".into())), } }
|                                                                                                                                                                                                   ^^^^^^^^^^^^ not found in `syntax::ast`

error[E0412]: cannot find type `ViewPath` in module `syntax::ast`
--> /home/cratesfyi/cratesfyi/debug/build/easy-plugin-parsers-95cfe4e9f2f22351/out/extractor.rs:118:82
|
118 | pub fn item_to_use(item: &Item) -> PluginResult<(::syntax::ptr::P<::syntax::ast::ViewPath>)> { match item.node { ItemKind::Use(ref a) => Ok((a.clone())), _ => Err((item.span, "expected `ItemKind::Use` item".into())), } }
|                                                                                  ^^^^^^^^ not found in `syntax::ast`

error[E0412]: cannot find type `SpannedIdent` in module `syntax::ast`
--> /home/cratesfyi/cratesfyi/debug/build/easy-plugin-parsers-95cfe4e9f2f22351/out/extractor.rs:150:92
|
150 | pub fn pat_to_ident(pat: &Pat) -> PluginResult<(::syntax::ast::BindingMode, ::syntax::ast::SpannedIdent, Option<::syntax::ptr::P<::syntax::ast::Pat>>)> { match pat.node { PatKind::Ident(ref a, ref b, ref c) => Ok((a.clone(), b.clone(), c.clone())), _ => Err((pat.span, "expected `PatKind::Ident` pattern".into())), } }
|                                                                                            ^^^^^^^^^^^^ not found in `syntax::ast`

error: aborting due to 14 previous errors

Some errors occurred: E0412, E0425, E0432, E0433.
For more information about an error, try `rustc --explain E0412`.
error: Could not compile `easy-plugin-parsers`.

Caused by:
process didn't exit successfully: `rustc --crate-name easy_plugin_parsers .cargo/registry/src/github.com-1ecc6299db9ec823/easy-plugin-parsers-0.11.8/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=c072d1bcca96ea4e -C extra-filename=-c072d1bcca96ea4e --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101)
error[E0432]: unresolved import `syntax::codemap::ExpnId`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:16:23
|
16 | use syntax::codemap::{ExpnId, Span};
|                       ^^^^^^ no `ExpnId` in `codemap`

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:111:40
|
111 | macro_rules! ident { ($ident:expr) => (Token::Ident(Ident::from_str($ident))); }
|                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters
...
394 |         [ident!("Struct"), open!(Brace)], [close!(Brace)]);
|          ---------------- in this macro invocation

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:111:40
|
111 | macro_rules! ident { ($ident:expr) => (Token::Ident(Ident::from_str($ident))); }
|                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters
...
397 |         [ident!("extern"), open!(Brace)], [close!(Brace)]);
|          ---------------- in this macro invocation

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:111:40
|
111 | macro_rules! ident { ($ident:expr) => (Token::Ident(Ident::from_str($ident))); }
|                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters
...
412 |         [ident!("struct"), ident!("Struct"), open!(Brace)], [close!(Brace)]);
|          ---------------- in this macro invocation

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:111:40
|
111 | macro_rules! ident { ($ident:expr) => (Token::Ident(Ident::from_str($ident))); }
|                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters
...
412 |         [ident!("struct"), ident!("Struct"), open!(Brace)], [close!(Brace)]);
|                            ---------------- in this macro invocation

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:111:40
|
111 | macro_rules! ident { ($ident:expr) => (Token::Ident(Ident::from_str($ident))); }
|                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters
...
416 |         [ident!("enum"), ident!("Enum"), open!(Brace)], [close!(Brace)]);
|          -------------- in this macro invocation

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:111:40
|
111 | macro_rules! ident { ($ident:expr) => (Token::Ident(Ident::from_str($ident))); }
|                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters
...
416 |         [ident!("enum"), ident!("Enum"), open!(Brace)], [close!(Brace)]);
|                          -------------- in this macro invocation

error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:240:39
|
240 |                 token_tree!(delimited.open_tt());
|                                       ^^^^^^^ expected 1 parameter

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:241:63
|
241 |                 expr = expand_var_sequence_tts(context, span, &delimited.tts, expr);
|                                                               ^^^^^^^^^^^^^^ expected slice, found struct `syntax::tokenstream::ThinTokenStream`
|
= note: expected type `&[syntax::tokenstream::TokenTree]`
found type `&syntax::tokenstream::ThinTokenStream`

error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:242:39
|
242 |                 token_tree!(delimited.close_tt());
|                                       ^^^^^^^^ expected 1 parameter

error[E0023]: this pattern has 1 field, but the corresponding tuple variant has 2 fields
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:293:35
|
293 |         Some(&TokenTree::Token(_, Token::Ident(ident))) => context.expr_ident(span, ident),
|                                   ^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 1

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:295:39
|
295 |             parse_expr(context, span, &delimited.tts).unwrap(),
|                                       ^^^^^^^^^^^^^^ expected slice, found struct `syntax::tokenstream::ThinTokenStream`
|
= note: expected type `&[syntax::tokenstream::TokenTree]`
found type `&syntax::tokenstream::ThinTokenStream`

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:297:53
|
297 |             expand_var_sequence(context, span, tts, &delimited.tts),
|                                                     ^^^^^^^^^^^^^^ expected slice, found struct `syntax::tokenstream::ThinTokenStream`
|
= note: expected type `&[syntax::tokenstream::TokenTree]`
found type `&syntax::tokenstream::ThinTokenStream`

error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:310:81
|
310 |     etts.push(ExpandedTokenTree::TokenTree(mk_expr_tt(context, span, &delimited.open_tt())));
|                                                                                 ^^^^^^^ expected 1 parameter

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:311:64
|
311 |     etts.push(ExpandedTokenTree::Vec(expand_tts(context, span, &delimited.tts, source)));
|                                                                ^^^^^^^^^^^^^^ expected slice, found struct `syntax::tokenstream::ThinTokenStream`
|
= note: expected type `&[syntax::tokenstream::TokenTree]`
found type `&syntax::tokenstream::ThinTokenStream`

error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:312:81
|
312 |     etts.push(ExpandedTokenTree::TokenTree(mk_expr_tt(context, span, &delimited.close_tt())));
|                                                                                 ^^^^^^^^ expected 1 parameter

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/lib.rs:329:61
|
329 |                 etts.extend(expand_delimited(context, span, delimited, source).into_iter()),
|                                                             ^^^^^^^^^ expected struct `std::rc::Rc`, found struct `syntax::tokenstream::Delimited`
|
= note: expected type `&std::rc::Rc<syntax::tokenstream::Delimited>`
found type `&syntax::tokenstream::Delimited`

error[E0615]: attempted to take value of method `lo` on type `&syntax::codemap::Span`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:126:82
|
126 |         mk_expr_struct(context, span, rt!["Span"], fields!(context, span, self, [lo, hi, expn_id]))
|                                                                                  ^^
|
= help: maybe a `()` to call it is missing?

error[E0615]: attempted to take value of method `hi` on type `&syntax::codemap::Span`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:126:86
|
126 |         mk_expr_struct(context, span, rt!["Span"], fields!(context, span, self, [lo, hi, expn_id]))
|                                                                                      ^^
|
= help: maybe a `()` to call it is missing?

error[E0609]: no field `expn_id` on type `&syntax::codemap::Span`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:126:90
|
126 |         mk_expr_struct(context, span, rt!["Span"], fields!(context, span, self, [lo, hi, expn_id]))
|                                                                                          ^^^^^^^

error[E0599]: no method named `to_expr` found for type `u16` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:41:22
|
41  |         vec![$($expr.to_expr($context, $span)), +]
|                      ^^^^^^^
...
153 |             Lit::StrRaw(name, size) => ("StrRaw", exprs!(context, span, [name, size])),
|                                                   ----------------------------------- in this macro invocation
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `to_expr`, perhaps you need to implement it:
candidate #1: `expr::ToExpr`

error[E0599]: no method named `to_expr` found for type `u16` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:41:22
|
41  |         vec![$($expr.to_expr($context, $span)), +]
|                      ^^^^^^^
...
155 |             Lit::ByteStrRaw(name, size) => ("ByteStrRaw", exprs!(context, span, [name, size])),
|                                                           ----------------------------------- in this macro invocation
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `to_expr`, perhaps you need to implement it:
candidate #1: `expr::ToExpr`

error[E0023]: this pattern has 1 field, but the corresponding tuple variant has 2 fields
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:169:13
|
169 |             Token::Ident(ref ident) => ("Ident",  exprs!(context, span, [ident])),
|             ^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 1

error[E0599]: no variant named `MatchNt` found for type `syntax::parse::token::Token` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:173:13
|
173 |             Token::MatchNt(_, _) |
|             ^^^^^^^^^^^^^^^^^^^^ variant not found in `syntax::parse::token::Token`

error[E0599]: no variant named `SubstNt` found for type `syntax::parse::token::Token` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:174:13
|
174 |             Token::SubstNt(_) |
|             ^^^^^^^^^^^^^^^^^ variant not found in `syntax::parse::token::Token`

error[E0609]: no field `open_span` on type `&syntax::tokenstream::Delimited`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:186:59
|
186 |         let fields = fields!(context, span, self, [delim, open_span, tts, close_span]);
|                                                           ^^^^^^^^^

error[E0599]: no method named `to_expr` found for type `syntax::tokenstream::ThinTokenStream` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:50:78
|
50  |         vec![$(mk_field($context, $span, stringify!($field), $struct_.$field.to_expr($context, $span))), +]
|                                                                              ^^^^^^^
...
186 |         let fields = fields!(context, span, self, [delim, open_span, tts, close_span]);
|                      ----------------------------------------------------------------- in this macro invocation
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `to_expr`, perhaps you need to implement it:
candidate #1: `expr::ToExpr`

error[E0609]: no field `close_span` on type `&syntax::tokenstream::Delimited`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:186:75
|
186 |         let fields = fields!(context, span, self, [delim, open_span, tts, close_span]);
|                                                                           ^^^^^^^^^^

error[E0599]: no variant named `Sequence` found for type `syntax::tokenstream::TokenTree` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/expr.rs:241:9
|
241 |         TokenTree::Sequence(..) => unreachable!(),
|         ^^^^^^^^^^^^^^^^^^^^^^^ variant not found in `syntax::tokenstream::TokenTree`

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/tt.rs:190:39
|
190 |         tts.push(TokenTree::Token(cs, Token::Ident(self.ident.node)));
|                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters

error[E0609]: no field `node` on type `syntax::ast::Ident`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/tt.rs:190:63
|
190 |         tts.push(TokenTree::Token(cs, Token::Ident(self.ident.node)));
|                                                               ^^^^ unknown field
|
= note: available fields are: `name`, `span`

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/tt.rs:201:39
|
201 |         tts.push(TokenTree::Token(cs, Token::Ident(self.ident)));
|                                       ^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/tt.rs:237:47
|
237 |                 tts.push(TokenTree::Token(cs, Token::Ident(self.ident)));
|                                               ^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/tt.rs:247:47
|
247 |                 tts.push(TokenTree::Token(cs, Token::Ident(self.ident)));
|                                               ^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 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/synthax-0.3.6/src/tt.rs:264:18
|
264 |             vis: Visibility::Inherited,
|                  ^^^^^^^^^^^^^^^^^^^^^ 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/synthax-0.3.6/src/tt.rs:259:20
|
259 |         let item = Item {
|                    ^^^^ missing `tokens`

error[E0609]: no field `name` on type `&syntax::ast::Lifetime`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/tt.rs:273:44
|
273 |         let ident = context.ident_of(&self.name.as_str()[..]);
|                                            ^^^^

error[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/synthax-0.3.6/src/tt.rs:331:24
|
331 |         if self.vis == Visibility::Public {
|                        ^^^^^^^^^^^^^^^^^^ associated item not found in `syntax::codemap::Spanned<syntax::ast::VisibilityKind>`

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/tt.rs:335:43
|
335 |             tts.push(TokenTree::Token(cs, Token::Ident(ident)));
|                                           ^^^^^^^^^^^^^^^^^^^ expected 2 parameters

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/tt.rs:354:39
|
354 |         tts.push(TokenTree::Token(cs, Token::Ident(self.name)));
|                                       ^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters

error[E0609]: no field `name` on type `&syntax::ast::Variant_`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/tt.rs:354:57
|
354 |         tts.push(TokenTree::Token(cs, Token::Ident(self.name)));
|                                                         ^^^^

error[E0599]: no method named `to_token_trees` found for type `&syntax::ast::AnonConst` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/tt.rs:371:37
|
371 |             tts.extend(discriminant.to_token_trees(context).into_iter());
|                                     ^^^^^^^^^^^^^^
|
= note: the method `to_token_trees` exists but the following trait bounds were not satisfied:
`&syntax::ast::AnonConst : tt::ToTokenTrees`
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `to_token_trees`, perhaps you need to implement it:
candidate #1: `tt::ToTokenTrees`

error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/synthax-0.3.6/src/tt.rs:457:32
|
457 |     TokenTree::Token(DUMMY_SP, Token::Ident(context.ident_of(ident)))
|                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters

error: aborting due to 43 previous errors

Some errors occurred: E0023, E0061, E0063, E0308, E0432, E0599, E0609, E0615.
For more information about an error, try `rustc --explain E0023`.
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.