[INFO] fetching crate html5ever_macros 0.2.7... [INFO] testing html5ever_macros-0.2.7 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate html5ever_macros 0.2.7 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate html5ever_macros 0.2.7 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate html5ever_macros 0.2.7 [INFO] finished tweaking crates.io crate html5ever_macros 0.2.7 [INFO] tweaked toml for crates.io crate html5ever_macros 0.2.7 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 511e93562b020fdeac186f946dabb287ee2fd3382fef2123936c7744f4b13363 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "511e93562b020fdeac186f946dabb287ee2fd3382fef2123936c7744f4b13363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "511e93562b020fdeac186f946dabb287ee2fd3382fef2123936c7744f4b13363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "511e93562b020fdeac186f946dabb287ee2fd3382fef2123936c7744f4b13363", kill_on_drop: false }` [INFO] [stdout] 511e93562b020fdeac186f946dabb287ee2fd3382fef2123936c7744f4b13363 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8dff6ed81a2b9844da71bd25d80dc7bdf683e7bf16ace671d3270545fd28dbc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a8dff6ed81a2b9844da71bd25d80dc7bdf683e7bf16ace671d3270545fd28dbc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling html5ever_macros v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(quote, rustc_private)] [INFO] [stdout] | ^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_tokens` in this scope [INFO] [stdout] --> src/match_token.rs:284:22 [INFO] [stdout] | [INFO] [stdout] 284 | let mut fields = quote_tokens!(&mut *cx, kind: $kind,); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_tokens` in this scope [INFO] [stdout] --> src/match_token.rs:287:45 [INFO] [stdout] | [INFO] [stdout] 287 | Some(name) => push_all(&mut fields, quote_tokens!(&mut *cx, name: atom!($name),)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_tokens` in this scope [INFO] [stdout] --> src/match_token.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | quote_tokens!(&mut *cx, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_tokens` in this scope [INFO] [stdout] --> src/match_token.rs:330:24 [INFO] [stdout] | [INFO] [stdout] 330 | Some(i) => quote_tokens!(&mut *cx, $i @), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_tokens` in this scope [INFO] [stdout] --> src/match_token.rs:342:41 [INFO] [stdout] | [INFO] [stdout] 342 | push_all(&mut arm_code, quote_tokens!(&mut *cx, $binding $pat => $expr,)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_tokens` in this scope [INFO] [stdout] --> src/match_token.rs:378:57 [INFO] [stdout] | [INFO] [stdout] 378 | ... push_all(&mut arm_code, quote_tokens!(&mut *cx, |)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_tokens` in this scope [INFO] [stdout] --> src/match_token.rs:402:49 [INFO] [stdout] | [INFO] [stdout] 402 | push_all(&mut arm_code, quote_tokens!(&mut *cx, => $expr,)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_tokens` in this scope [INFO] [stdout] --> src/match_token.rs:454:50 [INFO] [stdout] | [INFO] [stdout] 454 | push_all(&mut enable_wildcards_code, quote_tokens!(&mut *cx, => false,)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_tokens` in this scope [INFO] [stdout] --> src/match_token.rs:462:38 [INFO] [stdout] | [INFO] [stdout] 462 | push_all(&mut wildcard_code, quote_tokens!(&mut *cx, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_tokens` in this scope [INFO] [stdout] --> src/match_token.rs:468:8 [INFO] [stdout] | [INFO] [stdout] 468 | Ok(quote_tokens!(&mut *cx, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_tokens` in this scope [INFO] [stdout] --> src/pre_expand.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | quote_tokens!(&mut *cx, $attrs $items) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_tokens` in this scope [INFO] [stdout] --> src/match_token.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | EndTag => quote_tokens!(&mut *cx, ::tokenizer::EndTag), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_tokens` in this scope [INFO] [stdout] --> src/match_token.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | StartTag => quote_tokens!(&mut *cx, ::tokenizer::StartTag), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/match_token.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | Pat(P), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/match_token.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | Expr(P), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/match_token.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | binding: Option, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/match_token.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | discriminant: P, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/match_token.rs:174:63 [INFO] [stdout] | [INFO] [stdout] 174 | fn parse_spanned_ident<'a>(parser: &mut Parser<'a>) -> Result> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | try!(parser.expect(&token::Lt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:185:34 [INFO] [stdout] | [INFO] [stdout] 185 | let kind = match parser.eat(&token::BinOp(token::Slash)) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:185:47 [INFO] [stdout] | [INFO] [stdout] 185 | let kind = match parser.eat(&token::BinOp(token::Slash)) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | let name = match parser.eat(&token::Underscore) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | try!(parser.expect(&token::Gt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parse` [INFO] [stdout] --> src/match_token.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | let mut parser = parse::new_parser_from_tts(cx.parse_sess(), cx.cfg(), toks.to_vec()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Restrictions` [INFO] [stdout] --> src/match_token.rs:205:51 [INFO] [stdout] | [INFO] [stdout] 205 | let discriminant = try!(parser.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL, None)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Restrictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | try!(parser.expect(&token::OpenDelim(token::Brace))); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:206:42 [INFO] [stdout] | [INFO] [stdout] 206 | try!(parser.expect(&token::OpenDelim(token::Brace))); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | while parser.token != token::CloseDelim(token::Brace) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:209:45 [INFO] [stdout] | [INFO] [stdout] 209 | while parser.token != token::CloseDelim(token::Brace) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:211:43 [INFO] [stdout] | [INFO] [stdout] 211 | if parser.look_ahead(1, |t| *t == token::At) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | token::Underscore | token::Ident(..) => Pat(try!(parser.parse_pat())), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | token::Underscore | token::Ident(..) => Pat(try!(parser.parse_pat())), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | token::Lt => { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:221:39 [INFO] [stdout] | [INFO] [stdout] 221 | while parser.token != token::FatArrow { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:230:29 [INFO] [stdout] | [INFO] [stdout] 230 | try!(parser.expect(&token::FatArrow)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:234:41 [INFO] [stdout] | [INFO] [stdout] 234 | let rhs = if parser.eat_keyword(token::keywords::Else) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | try!(parser.expect(&token::Comma)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Restrictions` [INFO] [stdout] --> src/match_token.rs:238:51 [INFO] [stdout] | [INFO] [stdout] 238 | let expr = try!(parser.parse_expr_res(Restrictions::RESTRICTION_STMT_EXPR, None)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Restrictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `classify` [INFO] [stdout] --> src/match_token.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | !classify::expr_is_simple_block(&*expr) [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `classify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 243 | && parser.token != token::CloseDelim(token::Brace); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:243:54 [INFO] [stdout] | [INFO] [stdout] 243 | && parser.token != token::CloseDelim(token::Brace); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | &[token::Comma], &[token::CloseDelim(token::Brace)])); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:247:40 [INFO] [stdout] | [INFO] [stdout] 247 | &[token::Comma], &[token::CloseDelim(token::Brace)])); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:247:58 [INFO] [stdout] | [INFO] [stdout] 247 | &[token::Comma], &[token::CloseDelim(token::Brace)])); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:249:29 [INFO] [stdout] | [INFO] [stdout] 249 | parser.eat(&token::Comma); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/match_token.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | expr: P, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:432:26 [INFO] [stdout] | [INFO] [stdout] 432 | let last_arm_token = token::gensym_ident("last_arm_token"); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/match_token.rs:433:28 [INFO] [stdout] | [INFO] [stdout] 433 | let enable_wildcards = token::gensym_ident("enable_wildcards"); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/match_token.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | ast::PatKind::Wild | ast::PatKind::Ident(..) => (p, e), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/match_token.rs:440:34 [INFO] [stdout] | [INFO] [stdout] 440 | ast::PatKind::Wild | ast::PatKind::Ident(..) => (p, e), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parse` [INFO] [stdout] --> src/pre_expand.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | let sess = parse::ParseSess::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ext` [INFO] [stdout] --> src/pre_expand.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | let mut cx = ext::base::ExtCtxt::new(&sess, vec![], [INFO] [stdout] | ^^^ use of undeclared crate or module `ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ext` [INFO] [stdout] --> src/pre_expand.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | ext::expand::ExpansionConfig::default("".to_owned()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parse` [INFO] [stdout] --> src/pre_expand.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let tts = panictry!(parse::parse_tts_from_source_str(from, source, vec![], &sess)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `print` [INFO] [stdout] --> src/pre_expand.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let expanded = print::pprust::tts_to_string(&tts); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `print` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ext` [INFO] [stdout] --> src/pre_expand.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | fn find_and_expand_match_token(cx: &mut ext::base::ExtCtxt, tts: Vec) [INFO] [stdout] | ^^^ use of undeclared crate or module `ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/pre_expand.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | TokenTree::Token(span, token::Token::Ident(ident)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pre_expand.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | TokenTree::Token(span, token::Token::Ident(ident)) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/pre_expand.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | if !matches!(tts.next(), Some(TokenTree::Token(_, token::Token::Not))) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pre_expand.rs:54:67 [INFO] [stdout] | [INFO] [stdout] 54 | if !matches!(tts.next(), Some(TokenTree::Token(_, token::Token::Not))) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/pre_expand.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | Some(TokenTree::Delimited(_, block)) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/pre_expand.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | TokenTree::Delimited(span, mut block) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/pre_expand.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | expanded.push(TokenTree::Delimited(span, Rc::new(Delimited { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/pre_expand.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | fn expn_info(span: codemap::Span) -> codemap::ExpnInfo { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/pre_expand.rs:90:38 [INFO] [stdout] | [INFO] [stdout] 90 | fn expn_info(span: codemap::Span) -> codemap::ExpnInfo { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/pre_expand.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | codemap::ExpnInfo { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/pre_expand.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | callee: codemap::NameAndSpan { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/pre_expand.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | format: codemap::ExpnFormat::MacroBang(token::intern("match_token")), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pre_expand.rs:94:52 [INFO] [stdout] | [INFO] [stdout] 94 | format: codemap::ExpnFormat::MacroBang(token::intern("match_token")), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ext` [INFO] [stdout] --> src/pre_expand.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | fn pretty(cx: &mut ext::base::ExtCtxt, tts: Vec) -> Vec { [INFO] [stdout] | ^^^ use of undeclared crate or module `ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parse` [INFO] [stdout] --> src/pre_expand.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | let mut parser = parse::new_parser_from_tts(cx.parse_sess(), cx.cfg(), tts); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/match_token.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | type Tokens = Vec; [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/match_token.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | fn lift(self, cx: &mut ExtCtxt) -> Tokens { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/match_token.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | Pat(P), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/match_token.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | Tags(Vec>), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/match_token.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | Expr(P), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/match_token.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | lhs: Spanned, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/match_token.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | rhs: Spanned, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/match_token.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | discriminant: P, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> src/match_token.rs:174:41 [INFO] [stdout] | [INFO] [stdout] 174 | fn parse_spanned_ident<'a>(parser: &mut Parser<'a>) -> Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DiagnosticBuilder` in this scope [INFO] [stdout] --> src/match_token.rs:174:82 [INFO] [stdout] | [INFO] [stdout] 174 | fn parse_spanned_ident<'a>(parser: &mut Parser<'a>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spanned` in this scope [INFO] [stdout] --> src/match_token.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(spanned(lo, hi, ident)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> src/match_token.rs:181:31 [INFO] [stdout] | [INFO] [stdout] 181 | fn parse_tag<'a>(parser: &mut Parser<'a>) -> Result, DiagnosticBuilder<'a>> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/match_token.rs:181:53 [INFO] [stdout] | [INFO] [stdout] 181 | fn parse_tag<'a>(parser: &mut Parser<'a>) -> Result, DiagnosticBuilder<'a>> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DiagnosticBuilder` in this scope [INFO] [stdout] --> src/match_token.rs:181:67 [INFO] [stdout] | [INFO] [stdout] 181 | fn parse_tag<'a>(parser: &mut Parser<'a>) -> Result, DiagnosticBuilder<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spanned` in this scope [INFO] [stdout] --> src/match_token.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | Ok(spanned(lo, parser.last_span.hi, Tag { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/match_token.rs:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | fn parse<'a>(cx: &'a mut ExtCtxt, toks: &[TokenTree]) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/match_token.rs:202:43 [INFO] [stdout] | [INFO] [stdout] 202 | fn parse<'a>(cx: &'a mut ExtCtxt, toks: &[TokenTree]) -> Result> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DiagnosticBuilder` in this scope [INFO] [stdout] --> src/match_token.rs:202:72 [INFO] [stdout] | [INFO] [stdout] 202 | fn parse<'a>(cx: &'a mut ExtCtxt, toks: &[TokenTree]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spanned` in this scope [INFO] [stdout] --> src/match_token.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | lhs: spanned(lhs_lo, lhs_hi, lhs), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spanned` in this scope [INFO] [stdout] --> src/match_token.rs:258:18 [INFO] [stdout] | [INFO] [stdout] 258 | rhs: spanned(rhs_lo, rhs_hi, rhs), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/match_token.rs:279:11 [INFO] [stdout] | [INFO] [stdout] 279 | expr: P, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/match_token.rs:282:30 [INFO] [stdout] | [INFO] [stdout] 282 | fn make_tag_pattern(cx: &mut ExtCtxt, binding: Tokens, tag: Tag) -> Tokens { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/match_token.rs:304:34 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn expand_to_tokens(cx: &mut ExtCtxt, span: Span, toks: &[TokenTree]) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/match_token.rs:304:49 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn expand_to_tokens(cx: &mut ExtCtxt, span: Span, toks: &[TokenTree]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/match_token.rs:304:63 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn expand_to_tokens(cx: &mut ExtCtxt, span: Span, toks: &[TokenTree]) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/match_token.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn expand_to_tokens(cx: &mut ExtCtxt, span: Span, toks: &[TokenTree]) [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 305 | -> Result, (Span, &'static str)> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/match_token.rs:305:36 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn expand_to_tokens(cx: &mut ExtCtxt, span: Span, toks: &[TokenTree]) [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 305 | -> Result, (Span, &'static str)> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FatalError` in this scope [INFO] [stdout] --> src/lib.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/match_token.rs:306:44 [INFO] [stdout] | [INFO] [stdout] 306 | let Match { discriminant, mut arms } = panictry!(parse(cx, toks)); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> src/match_token.rs:347:21 [INFO] [stdout] | [INFO] [stdout] 347 | for Spanned { span, node: tag } in tags.into_iter() { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> src/match_token.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | for Spanned { span, node: tag } in tags.into_iter() { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DummyResolver` in this scope [INFO] [stdout] --> src/pre_expand.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let mut resolver = DummyResolver; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FatalError` in this scope [INFO] [stdout] --> src/lib.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/pre_expand.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | let tts = panictry!(parse::parse_tts_from_source_str(from, source, vec![], &sess)); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/pre_expand.rs:44:70 [INFO] [stdout] | [INFO] [stdout] 44 | fn find_and_expand_match_token(cx: &mut ext::base::ExtCtxt, tts: Vec) [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/pre_expand.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 44 | fn find_and_expand_match_token(cx: &mut ext::base::ExtCtxt, tts: Vec) [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 45 | -> Vec { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Delimited` in this scope [INFO] [stdout] --> src/pre_expand.rs:77:66 [INFO] [stdout] | [INFO] [stdout] 77 | expanded.push(TokenTree::Delimited(span, Rc::new(Delimited { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/pre_expand.rs:102:49 [INFO] [stdout] | [INFO] [stdout] 102 | fn pretty(cx: &mut ext::base::ExtCtxt, tts: Vec) -> Vec { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/pre_expand.rs:102:68 [INFO] [stdout] | [INFO] [stdout] 102 | fn pretty(cx: &mut ext::base::ExtCtxt, tts: Vec) -> Vec { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(quote, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/match_token.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | let ident = try!(parser.parse_ident()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/match_token.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | try!(parser.expect(&token::Lt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/match_token.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | try!(parser.expect(&token::Gt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/match_token.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | false => Some((*try!(parser.parse_ident()).name.as_str()).to_owned()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/match_token.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | try!(parser.expect(&token::OpenDelim(token::Brace))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/match_token.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let discriminant = try!(parser.parse_expr_res(Restrictions::RESTRICTION_NO_STRUCT_LITERAL, None)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/match_token.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | try!(parser.expect(&token::FatArrow)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/match_token.rs:212:28 [INFO] [stdout] | [INFO] [stdout] 212 | binding = Some(try!(parse_spanned_ident(&mut parser))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/match_token.rs:218:57 [INFO] [stdout] | [INFO] [stdout] 218 | token::Underscore | token::Ident(..) => Pat(try!(parser.parse_pat())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/match_token.rs:222:31 [INFO] [stdout] | [INFO] [stdout] 222 | tags.push(try!(parse_tag(&mut parser))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/match_token.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | try!(parser.expect(&token::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/match_token.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | let expr = try!(parser.parse_expr_res(Restrictions::RESTRICTION_STMT_EXPR, None)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/match_token.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | try!(parser.expect_one_of( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 111 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0463, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `html5ever_macros` due to 112 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a8dff6ed81a2b9844da71bd25d80dc7bdf683e7bf16ace671d3270545fd28dbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8dff6ed81a2b9844da71bd25d80dc7bdf683e7bf16ace671d3270545fd28dbc", kill_on_drop: false }` [INFO] [stdout] a8dff6ed81a2b9844da71bd25d80dc7bdf683e7bf16ace671d3270545fd28dbc