[INFO] crate rustlex_codegen 0.4.0 is already in cache [INFO] checking rustlex_codegen-0.4.0 against nightly-2019-10-27 for pr-65897 [INFO] extracting crate rustlex_codegen 0.4.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rustlex_codegen 0.4.0 on toolchain nightly-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate rustlex_codegen 0.4.0 [INFO] finished tweaking crates.io crate rustlex_codegen 0.4.0 [INFO] tweaked toml for crates.io crate rustlex_codegen 0.4.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c2476a7230b50d2b584b1c2c15c444fe45c85a131ac5c8ea22d089b2c0fa22ca [INFO] running `"docker" "start" "-a" "c2476a7230b50d2b584b1c2c15c444fe45c85a131ac5c8ea22d089b2c0fa22ca"` [INFO] [stderr] Checking rustlex_fsa v0.4.0 [INFO] [stderr] Checking rustlex_codegen v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> lib.rs:1:43 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(plugin_registrar,rustc_private,quote)] [INFO] [stderr] | ^^^^^ feature has been removed [INFO] [stderr] [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> lib.rs:1:43 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(plugin_registrar,rustc_private,quote)] [INFO] [stderr] | ^^^^^ feature has been removed [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> lib.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use syntax::ext::base::{ExtCtxt, MacResult}; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::codemap` [INFO] [stderr] --> lib.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use syntax::codemap::Span; [INFO] [stderr] | ^^^^^^^ could not find `codemap` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> codegen.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use syntax::ext::base::ExtCtxt; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> codegen.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use syntax::ext::base::MacResult; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> codegen.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use syntax::ext::build::AstBuilder; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::codemap` [INFO] [stderr] --> codegen.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use syntax::codemap::{Span, Spanned}; [INFO] [stderr] | ^^^^^^^ could not find `codemap` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::util::small_vector` [INFO] [stderr] --> codegen.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | use syntax::util::small_vector::SmallVector; [INFO] [stderr] | ^^^^^^^^^^^^ could not find `small_vector` in `util` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> lexer.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use syntax::ext::base::ExtCtxt; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> lexer.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use syntax::ext::base::MacResult; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> lexer.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use syntax::ext::build::AstBuilder; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::codemap` [INFO] [stderr] --> lexer.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use syntax::codemap::Span; [INFO] [stderr] | ^^^^^^^ could not find `codemap` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::codemap` [INFO] [stderr] --> parser.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::codemap::Span; [INFO] [stderr] | ^^^^^^^ could not find `codemap` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::symbol::keywords` [INFO] [stderr] --> parser.rs:18:30 [INFO] [stderr] | [INFO] [stderr] 18 | use syntax::symbol::{Symbol, keywords}; [INFO] [stderr] | ^^^^^^^^ no `keywords` in `symbol` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_ty` in this scope [INFO] [stderr] --> codegen.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | ty: quote_ty!(&*cx, ::rustlex::rt::RustLexLexer), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_ty` in this scope [INFO] [stderr] --> codegen.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | ty: quote_ty!(&*cx, usize), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_expr` in this scope [INFO] [stderr] --> codegen.rs:160:22 [INFO] [stderr] | [INFO] [stderr] 160 | let match_expr = quote_expr!(&*cx, last_matching_action); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_ty` in this scope [INFO] [stderr] --> codegen.rs:166:23 [INFO] [stderr] | [INFO] [stderr] 166 | let action_type = quote_ty!(&*cx, Fn(&mut $ident) -> Option<$tokens>); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_expr` in this scope [INFO] [stderr] --> codegen.rs:169:24 [INFO] [stderr] | [INFO] [stderr] 169 | let pat_expr = quote_expr!(&*cx, $i); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_expr` in this scope [INFO] [stderr] --> codegen.rs:173:13 [INFO] [stderr] | [INFO] [stderr] 173 | quote_expr!(&*cx, (Box::new($new_act)) as Box<$action_type>)); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_expr` in this scope [INFO] [stderr] --> codegen.rs:178:19 [INFO] [stderr] | [INFO] [stderr] 178 | let def_act = quote_expr!(&*cx, Box::new(|_:&mut $ident| -> Option<$tokens> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_item` in this scope [INFO] [stderr] --> codegen.rs:215:5 [INFO] [stderr] | [INFO] [stderr] 215 | quote_item!(cx, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_item` in this scope [INFO] [stderr] --> codegen.rs:246:5 [INFO] [stderr] | [INFO] [stderr] 246 | quote_item!(cx, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_expr` in this scope [INFO] [stderr] --> codegen.rs:267:9 [INFO] [stderr] | [INFO] [stderr] 267 | quote_expr!(&*cx, ::rustlex::rt::RustLexLexer::new(reader)))); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_expr` in this scope [INFO] [stderr] --> codegen.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 269 | quote_expr!(&*cx, $initial))); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_item` in this scope [INFO] [stderr] --> codegen.rs:278:9 [INFO] [stderr] | [INFO] [stderr] 278 | quote_item!(cx, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_item` in this scope [INFO] [stderr] --> codegen.rs:288:16 [INFO] [stderr] | [INFO] [stderr] 288 | items.push(quote_item!(cx, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_item` in this scope [INFO] [stderr] --> codegen.rs:327:16 [INFO] [stderr] | [INFO] [stderr] 327 | items.push(quote_item!(cx, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `NestedMetaItemKind` in `ast` [INFO] [stderr] --> codegen.rs:99:32 [INFO] [stderr] | [INFO] [stderr] 99 | vec![span(sp, ast::NestedMetaItemKind::MetaItem( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `NestedMetaItemKind` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> lib.rs:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | syntax::ext::base::IdentTT(Box::new(rustlex), None, false) [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stderr] --> codegen.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | impl<'cx> MacResult for CodeGenerator<'cx> { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> codegen.rs:69:30 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn lexer_struct(cx: &mut ExtCtxt, sp: Span, ident:Ident, props: &[Prop]) -> P { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> codegen.rs:139:47 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn codegen<'cx>(lex: &Lexer, cx: &'cx mut ExtCtxt, sp: Span) [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> codegen.rs:159:43 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn actions_match(lex:&Lexer, cx: &mut ExtCtxt, sp: Span) -> P { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> codegen.rs:187:33 [INFO] [stderr] | [INFO] [stderr] 187 | fn simple_follow_method(cx:&mut ExtCtxt, sp:Span, lex:&Lexer) -> P { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> codegen.rs:226:36 [INFO] [stderr] | [INFO] [stderr] 226 | fn simple_accepting_method(cx:&mut ExtCtxt, sp:Span, lex:&Lexer) -> P { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> codegen.rs:257:33 [INFO] [stderr] | [INFO] [stderr] 257 | pub fn user_lexer_impl(cx: &mut ExtCtxt, sp: Span, lex:&Lexer) -> Vec> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> lexer.rs:68:36 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn new(def: LexerDef, cx: &ExtCtxt) -> Lexer { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> lexer.rs:146:46 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn gen_code<'cx>(&self, cx: &'cx mut ExtCtxt, sp: Span) -> Box { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stderr] --> lexer.rs:146:72 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn gen_code<'cx>(&self, cx: &'cx mut ExtCtxt, sp: Span) -> Box { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stderr] --> lexer.rs:148:49 [INFO] [stderr] | [INFO] [stderr] 148 | ::codegen::codegen(self, cx, sp) as Box [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `char_lit` in module `parse` [INFO] [stderr] --> parser.rs:152:33 [INFO] [stderr] | [INFO] [stderr] 152 | let ch = parse::char_lit(&*i.as_str(), None).0; [INFO] [stderr] | ^^^^^^^^ not found in `parse` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `char_lit` in module `parse` [INFO] [stderr] --> parser.rs:160:40 [INFO] [stderr] | [INFO] [stderr] 160 | ... parse::char_lit(&*ch.as_str(), None).0, [INFO] [stderr] | ^^^^^^^^ not found in `parse` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `char_lit` in module `parse` [INFO] [stderr] --> parser.rs:222:36 [INFO] [stderr] | [INFO] [stderr] 222 | regex::Char(parse::char_lit(&*ch.as_str(), None).0) [INFO] [stderr] | ^^^^^^^^ not found in `parse` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> lib.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn rustlex<'a>(cx: &'a mut ExtCtxt, sp: Span, ident:Ident, args: Vec) [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stderr] --> lib.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | -> Box { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0603]: function `mk_attr_id` is private [INFO] [stderr] --> codegen.rs:96:19 [INFO] [stderr] | [INFO] [stderr] 96 | sp, attr::mk_attr_id(), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> lib.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use syntax::ext::base::{ExtCtxt, MacResult}; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::codemap` [INFO] [stderr] --> lib.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use syntax::codemap::Span; [INFO] [stderr] | ^^^^^^^ could not find `codemap` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> codegen.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use syntax::ext::base::ExtCtxt; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> codegen.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use syntax::ext::base::MacResult; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> codegen.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use syntax::ext::build::AstBuilder; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::codemap` [INFO] [stderr] --> codegen.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use syntax::codemap::{Span, Spanned}; [INFO] [stderr] | ^^^^^^^ could not find `codemap` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::util::small_vector` [INFO] [stderr] --> codegen.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | use syntax::util::small_vector::SmallVector; [INFO] [stderr] | ^^^^^^^^^^^^ could not find `small_vector` in `util` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> lexer.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use syntax::ext::base::ExtCtxt; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> lexer.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use syntax::ext::base::MacResult; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> lexer.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use syntax::ext::build::AstBuilder; [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::codemap` [INFO] [stderr] --> lexer.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use syntax::codemap::Span; [INFO] [stderr] | ^^^^^^^ could not find `codemap` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::codemap` [INFO] [stderr] --> parser.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::codemap::Span; [INFO] [stderr] | ^^^^^^^ could not find `codemap` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::symbol::keywords` [INFO] [stderr] --> parser.rs:18:30 [INFO] [stderr] | [INFO] [stderr] 18 | use syntax::symbol::{Symbol, keywords}; [INFO] [stderr] | ^^^^^^^^ no `keywords` in `symbol` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_ty` in this scope [INFO] [stderr] --> codegen.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | ty: quote_ty!(&*cx, ::rustlex::rt::RustLexLexer), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_ty` in this scope [INFO] [stderr] --> codegen.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | ty: quote_ty!(&*cx, usize), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_expr` in this scope [INFO] [stderr] --> codegen.rs:160:22 [INFO] [stderr] | [INFO] [stderr] 160 | let match_expr = quote_expr!(&*cx, last_matching_action); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_ty` in this scope [INFO] [stderr] --> codegen.rs:166:23 [INFO] [stderr] | [INFO] [stderr] 166 | let action_type = quote_ty!(&*cx, Fn(&mut $ident) -> Option<$tokens>); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_expr` in this scope [INFO] [stderr] --> codegen.rs:169:24 [INFO] [stderr] | [INFO] [stderr] 169 | let pat_expr = quote_expr!(&*cx, $i); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_expr` in this scope [INFO] [stderr] --> codegen.rs:173:13 [INFO] [stderr] | [INFO] [stderr] 173 | quote_expr!(&*cx, (Box::new($new_act)) as Box<$action_type>)); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_expr` in this scope [INFO] [stderr] --> codegen.rs:178:19 [INFO] [stderr] | [INFO] [stderr] 178 | let def_act = quote_expr!(&*cx, Box::new(|_:&mut $ident| -> Option<$tokens> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_item` in this scope [INFO] [stderr] --> codegen.rs:215:5 [INFO] [stderr] | [INFO] [stderr] 215 | quote_item!(cx, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_item` in this scope [INFO] [stderr] --> codegen.rs:246:5 [INFO] [stderr] | [INFO] [stderr] 246 | quote_item!(cx, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_expr` in this scope [INFO] [stderr] --> codegen.rs:267:9 [INFO] [stderr] | [INFO] [stderr] 267 | quote_expr!(&*cx, ::rustlex::rt::RustLexLexer::new(reader)))); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_expr` in this scope [INFO] [stderr] --> codegen.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 269 | quote_expr!(&*cx, $initial))); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_item` in this scope [INFO] [stderr] --> codegen.rs:278:9 [INFO] [stderr] | [INFO] [stderr] 278 | quote_item!(cx, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_item` in this scope [INFO] [stderr] --> codegen.rs:288:16 [INFO] [stderr] | [INFO] [stderr] 288 | items.push(quote_item!(cx, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_item` in this scope [INFO] [stderr] --> codegen.rs:327:16 [INFO] [stderr] | [INFO] [stderr] 327 | items.push(quote_item!(cx, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 47 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0557, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error[E0433]: failed to resolve: could not find `NestedMetaItemKind` in `ast` [INFO] [stderr] --> codegen.rs:99:32 [INFO] [stderr] | [INFO] [stderr] 99 | vec![span(sp, ast::NestedMetaItemKind::MetaItem( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `NestedMetaItemKind` in `ast` [INFO] [stderr] [INFO] [stderr] error: could not compile `rustlex_codegen`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: could not find `ext` in `syntax` [INFO] [stderr] --> lib.rs:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | syntax::ext::base::IdentTT(Box::new(rustlex), None, false) [INFO] [stderr] | ^^^ could not find `ext` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stderr] --> codegen.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | impl<'cx> MacResult for CodeGenerator<'cx> { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> codegen.rs:69:30 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn lexer_struct(cx: &mut ExtCtxt, sp: Span, ident:Ident, props: &[Prop]) -> P { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> codegen.rs:139:47 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn codegen<'cx>(lex: &Lexer, cx: &'cx mut ExtCtxt, sp: Span) [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> codegen.rs:159:43 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn actions_match(lex:&Lexer, cx: &mut ExtCtxt, sp: Span) -> P { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> codegen.rs:187:33 [INFO] [stderr] | [INFO] [stderr] 187 | fn simple_follow_method(cx:&mut ExtCtxt, sp:Span, lex:&Lexer) -> P { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> codegen.rs:226:36 [INFO] [stderr] | [INFO] [stderr] 226 | fn simple_accepting_method(cx:&mut ExtCtxt, sp:Span, lex:&Lexer) -> P { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> codegen.rs:257:33 [INFO] [stderr] | [INFO] [stderr] 257 | pub fn user_lexer_impl(cx: &mut ExtCtxt, sp: Span, lex:&Lexer) -> Vec> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> lexer.rs:68:36 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn new(def: LexerDef, cx: &ExtCtxt) -> Lexer { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> lexer.rs:146:46 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn gen_code<'cx>(&self, cx: &'cx mut ExtCtxt, sp: Span) -> Box { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stderr] --> lexer.rs:146:72 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn gen_code<'cx>(&self, cx: &'cx mut ExtCtxt, sp: Span) -> Box { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stderr] --> lexer.rs:148:49 [INFO] [stderr] | [INFO] [stderr] 148 | ::codegen::codegen(self, cx, sp) as Box [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `char_lit` in module `parse` [INFO] [stderr] --> parser.rs:152:33 [INFO] [stderr] | [INFO] [stderr] 152 | let ch = parse::char_lit(&*i.as_str(), None).0; [INFO] [stderr] | ^^^^^^^^ not found in `parse` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `char_lit` in module `parse` [INFO] [stderr] --> parser.rs:160:40 [INFO] [stderr] | [INFO] [stderr] 160 | ... parse::char_lit(&*ch.as_str(), None).0, [INFO] [stderr] | ^^^^^^^^ not found in `parse` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `char_lit` in module `parse` [INFO] [stderr] --> parser.rs:222:36 [INFO] [stderr] | [INFO] [stderr] 222 | regex::Char(parse::char_lit(&*ch.as_str(), None).0) [INFO] [stderr] | ^^^^^^^^ not found in `parse` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stderr] --> lib.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn rustlex<'a>(cx: &'a mut ExtCtxt, sp: Span, ident:Ident, args: Vec) [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stderr] --> lib.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | -> Box { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0603]: function `mk_attr_id` is private [INFO] [stderr] --> codegen.rs:96:19 [INFO] [stderr] | [INFO] [stderr] 96 | sp, attr::mk_attr_id(), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 47 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0557, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `rustlex_codegen`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c2476a7230b50d2b584b1c2c15c444fe45c85a131ac5c8ea22d089b2c0fa22ca"` [INFO] running `"docker" "rm" "-f" "c2476a7230b50d2b584b1c2c15c444fe45c85a131ac5c8ea22d089b2c0fa22ca"` [INFO] [stdout] c2476a7230b50d2b584b1c2c15c444fe45c85a131ac5c8ea22d089b2c0fa22ca