[INFO] fetching crate docopt_macros 0.8.1... [INFO] testing docopt_macros-0.8.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate docopt_macros 0.8.1 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate docopt_macros 0.8.1 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 docopt_macros 0.8.1 [INFO] finished tweaking crates.io crate docopt_macros 0.8.1 [INFO] tweaked toml for crates.io crate docopt_macros 0.8.1 written to /workspace/builds/worker-26/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 853525597d2d3310e924f5522c990a1cae751160edbf8b2a36eb348ffc7af465 [INFO] running `Command { std: "docker" "start" "-a" "853525597d2d3310e924f5522c990a1cae751160edbf8b2a36eb348ffc7af465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "853525597d2d3310e924f5522c990a1cae751160edbf8b2a36eb348ffc7af465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "853525597d2d3310e924f5522c990a1cae751160edbf8b2a36eb348ffc7af465", kill_on_drop: false }` [INFO] [stdout] 853525597d2d3310e924f5522c990a1cae751160edbf8b2a36eb348ffc7af465 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9836c754643e3fa863d857496b735d0984414e8c56ac164d84ca4e3f7b89691 [INFO] running `Command { std: "docker" "start" "-a" "a9836c754643e3fa863d857496b735d0984414e8c56ac164d84ca4e3f7b89691", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling docopt v0.8.3 [INFO] [stderr] Compiling docopt_macros v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/macro.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: a __rustc_plugin_registrar symbol must now be defined instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/macro.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(plugin_registrar, 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/macro.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> src/macro.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate rustc_plugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/macro.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[plugin_registrar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `plugin_registrar` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> src/macro.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | its.push(quote_item!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/macro.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | fn expand(cx: &mut ExtCtxt, span: codemap::Span, tts: &[tokenstream::TokenTree]) [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 `tokenstream` [INFO] [stdout] --> src/macro.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | fn expand(cx: &mut ExtCtxt, span: codemap::Span, tts: &[tokenstream::TokenTree]) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tokenstream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DummyResult` [INFO] [stdout] --> src/macro.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | Err(_) => return DummyResult::any(span), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DummyResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macro.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | types: HashMap>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacEager` [INFO] [stdout] --> src/macro.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | MacEager::items(SmallVector::many(its)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MacEager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmallVector` [INFO] [stdout] --> src/macro.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | MacEager::items(SmallVector::many(its)) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SmallVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macro.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | fn struct_decl(&self, cx: &ExtCtxt) -> 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/macro.rs:86:48 [INFO] [stdout] | [INFO] [stdout] 86 | let vis = if self.struct_info.public { ast::Visibility::Public } [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/macro.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | else { ast::Visibility::Inherited }; [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/macro.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | let def = ast::VariantData::Struct( [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/macro.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | self.struct_fields(cx), ast::DUMMY_NODE_ID); [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 `codemap` [INFO] [stdout] --> src/macro.rs:96:33 [INFO] [stdout] | [INFO] [stdout] 96 | let st = cx.item_struct(codemap::DUMMY_SP, name.clone(), def); [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/macro.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | cx.item(codemap::DUMMY_SP, name, attrs, st.node.clone()).map(|mut it| { [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 `ast` [INFO] [stdout] --> src/macro.rs:105:50 [INFO] [stdout] | [INFO] [stdout] 105 | fn struct_fields(&self, cx: &ExtCtxt) -> Vec { [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/macro.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | let mut fields: Vec = vec!(); [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/macro.rs:120:72 [INFO] [stdout] | [INFO] [stdout] 120 | fn pat_type(&self, cx: &ExtCtxt, atom: &Atom, opts: &Options) -> 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 `codemap` [INFO] [stdout] --> src/macro.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | let sp = codemap::DUMMY_SP; [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 `ast` [INFO] [stdout] --> src/macro.rs:141:49 [INFO] [stdout] | [INFO] [stdout] 141 | fn mk_struct_field(&self, name: &str, ty: P) -> ast::StructField { [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/macro.rs:141:62 [INFO] [stdout] | [INFO] [stdout] 141 | fn mk_struct_field(&self, name: &str, ty: P) -> ast::StructField { [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/macro.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | ast::StructField { [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 `codemap` [INFO] [stdout] --> src/macro.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | span: codemap::DUMMY_SP, [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 `ast` [INFO] [stdout] --> src/macro.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | vis: ast::Visibility::Public, [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/macro.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | id: ast::DUMMY_NODE_ID, [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 `tokenstream` [INFO] [stdout] --> src/macro.rs:160:44 [INFO] [stdout] | [INFO] [stdout] 160 | fn new(cx: &'a mut ExtCtxt<'b>, tts: &[tokenstream::TokenTree]) -> MacParser<'a, 'b> { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tokenstream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/macro.rs:170:28 [INFO] [stdout] | [INFO] [stdout] 170 | if self.p.token == token::Eof { [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/macro.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 179 | if !self.p.check(&token::Eof) { [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/macro.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | sep: Some(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 `token` [INFO] [stdout] --> src/macro.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | &token::Eof, sep, |p| MacParser::parse_type_annotation(p) [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/macro.rs:192:41 [INFO] [stdout] | [INFO] [stdout] 192 | .collect::>>(); [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/macro.rs:193:28 [INFO] [stdout] | [INFO] [stdout] 193 | self.p.expect(&token::Eof)?; [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/macro.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | fn lit_is_str(lit: &ast::Lit) -> bool { [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/macro.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | ast::LitKind::Str(_, _) => true, [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/macro.rs:224:32 [INFO] [stdout] | [INFO] [stdout] 224 | fn lit_to_string(lit: &ast::Lit) -> String { [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/macro.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | ast::LitKind::Str(ref s, _) => s.to_string(), [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/macro.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | ast::ExprKind::Lit(ref lit) if lit_is_str(&**lit) => { [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 `pprust` [INFO] [stdout] --> src/macro.rs:237:35 [INFO] [stdout] | [INFO] [stdout] 237 | ... pprust::expr_to_string(&*exp)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macro.rs:250:46 [INFO] [stdout] | [INFO] [stdout] 250 | ... -> PResult<'b, (ast::Ident, 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/macro.rs:250:60 [INFO] [stdout] | [INFO] [stdout] 250 | ... -> PResult<'b, (ast::Ident, 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/macro.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 252 | p.expect(&token::Colon)?; [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 `symbol` [INFO] [stdout] --> src/macro.rs:259:41 [INFO] [stdout] | [INFO] [stdout] 259 | let public = self.p.eat_keyword(symbol::keywords::Pub); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/macro.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | if self.p.eat(&token::Comma) { return Ok(info); } [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/macro.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | while !self.p.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/macro.rs:282:11 [INFO] [stdout] | [INFO] [stdout] 282 | name: ast::Ident, [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/macro.rs:289:22 [INFO] [stdout] | [INFO] [stdout] 289 | fn ident(s: &str) -> ast::Ident { [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/macro.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | ast::Ident::with_empty_ctxt(symbol::Symbol::intern(s)) [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 `symbol` [INFO] [stdout] --> src/macro.rs:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | ast::Ident::with_empty_ctxt(symbol::Symbol::intern(s)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macro.rs:293:61 [INFO] [stdout] | [INFO] [stdout] 293 | fn attribute(cx: &ExtCtxt, name: S, items: Vec) -> ast::Attribute [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 `codemap` [INFO] [stdout] --> src/macro.rs:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | let sp = codemap::DUMMY_SP; [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/macro.rs:301:40 [INFO] [stdout] | [INFO] [stdout] 301 | fn meta_item(cx: &ExtCtxt, s: &str) -> codemap::Spanned { [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 `ast` [INFO] [stdout] --> src/macro.rs:301:57 [INFO] [stdout] | [INFO] [stdout] 301 | fn meta_item(cx: &ExtCtxt, s: &str) -> codemap::Spanned { [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 `codemap` [INFO] [stdout] --> src/macro.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | codemap::Spanned { [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 `ast` [INFO] [stdout] --> src/macro.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | node: ast::NestedMetaItemKind::MetaItem(cx.meta_word(codemap::DUMMY_SP, intern(s))), [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 `codemap` [INFO] [stdout] --> src/macro.rs:303:62 [INFO] [stdout] | [INFO] [stdout] 303 | node: ast::NestedMetaItemKind::MetaItem(cx.meta_word(codemap::DUMMY_SP, intern(s))), [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 `symbol` [INFO] [stdout] --> src/macro.rs:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | fn intern(s: &str) -> symbol::Symbol { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/macro.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | symbol::Symbol::intern(s) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macro.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | fn ty_vec_string(cx: &ExtCtxt) -> 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 `codemap` [INFO] [stdout] --> src/macro.rs:313:14 [INFO] [stdout] | [INFO] [stdout] 313 | let sp = codemap::DUMMY_SP; [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 `ast` [INFO] [stdout] --> src/macro.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | let tystr = ast::AngleBracketedParameterData { [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/macro.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | cx.ty_path(ast::Path { [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/macro.rs:322:24 [INFO] [stdout] | [INFO] [stdout] 322 | segments: vec![ast::PathSegment { [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/macro.rs:325:32 [INFO] [stdout] | [INFO] [stdout] 325 | parameters: Some(P(ast::PathParameters::AngleBracketed(tystr))), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DiagnosticBuilder` in this scope [INFO] [stdout] --> src/macro.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | type PResult<'a, T> = Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/macro.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn plugin_registrar(reg: &mut Registry) { [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/macro.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | fn expand(cx: &mut ExtCtxt, span: codemap::Span, tts: &[tokenstream::TokenTree]) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stdout] --> src/macro.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 40 | fn expand(cx: &mut ExtCtxt, span: codemap::Span, tts: &[tokenstream::TokenTree]) [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 41 | -> Box { [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/macro.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | types: HashMap>, [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/macro.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | fn items(&self, cx: &ExtCtxt) -> Box { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stdout] --> src/macro.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 61 | impl Parsed { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 64 | fn items(&self, cx: &ExtCtxt) -> Box { [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/macro.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | fn struct_decl(&self, cx: &ExtCtxt) -> P { [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/macro.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | fn struct_decl(&self, cx: &ExtCtxt) -> 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/macro.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | fn struct_fields(&self, cx: &ExtCtxt) -> Vec { [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/macro.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | fn pat_type(&self, cx: &ExtCtxt, atom: &Atom, opts: &Options) -> P { [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/macro.rs:120:70 [INFO] [stdout] | [INFO] [stdout] 120 | fn pat_type(&self, cx: &ExtCtxt, atom: &Atom, opts: &Options) -> P { [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/macro.rs:141:47 [INFO] [stdout] | [INFO] [stdout] 141 | fn mk_struct_field(&self, name: &str, ty: P) -> ast::StructField { [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/macro.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | cx: &'a mut ExtCtxt<'b>, [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/macro.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct Parsed { [INFO] [stdout] | ------------- similarly named struct `Parsed` defined here [INFO] [stdout] ... [INFO] [stdout] 156 | p: Parser<'b>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 156 | p: Parsed<'b>, [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use docopt::parse::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/macro.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | fn new(cx: &'a mut ExtCtxt<'b>, tts: &[tokenstream::TokenTree]) -> MacParser<'a, 'b> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SeqSep` in this scope [INFO] [stdout] --> src/macro.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | let sep = SeqSep { [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/macro.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 192 | .collect::>>(); [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/macro.rs:249:38 [INFO] [stdout] | [INFO] [stdout] 51 | struct Parsed { [INFO] [stdout] | ------------- similarly named struct `Parsed` defined here [INFO] [stdout] ... [INFO] [stdout] 249 | fn parse_type_annotation(p: &mut Parser<'b>) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 249 | fn parse_type_annotation(p: &mut Parsed<'b>) [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use docopt::parse::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/macro.rs:250:58 [INFO] [stdout] | [INFO] [stdout] 250 | ... -> PResult<'b, (ast::Ident, 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/macro.rs:293:25 [INFO] [stdout] | [INFO] [stdout] 293 | fn attribute(cx: &ExtCtxt, name: S, items: Vec) -> ast::Attribute [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/macro.rs:301:19 [INFO] [stdout] | [INFO] [stdout] 301 | fn meta_item(cx: &ExtCtxt, s: &str) -> codemap::Spanned { [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/macro.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | fn ty_vec_string(cx: &ExtCtxt) -> P { [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/macro.rs:312:35 [INFO] [stdout] | [INFO] [stdout] 312 | fn ty_vec_string(cx: &ExtCtxt) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> src/macro.rs:325:30 [INFO] [stdout] | [INFO] [stdout] 312 | fn ty_vec_string(cx: &ExtCtxt) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `

` [INFO] [stdout] ... [INFO] [stdout] 325 | parameters: Some(P(ast::PathParameters::AngleBracketed(tystr))), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/macro.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/macro.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - -> Box { [INFO] [stdout] 41 + -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 93 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0433, E0463, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `docopt_macros` due to 94 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a9836c754643e3fa863d857496b735d0984414e8c56ac164d84ca4e3f7b89691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9836c754643e3fa863d857496b735d0984414e8c56ac164d84ca4e3f7b89691", kill_on_drop: false }` [INFO] [stdout] a9836c754643e3fa863d857496b735d0984414e8c56ac164d84ca4e3f7b89691