[INFO] fetching crate parse-generics-poc 0.1.0... [INFO] documenting parse-generics-poc-0.1.0 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate parse-generics-poc 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate parse-generics-poc 0.1.0 on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate parse-generics-poc 0.1.0 [INFO] finished tweaking crates.io crate parse-generics-poc 0.1.0 [INFO] tweaked toml for crates.io crate parse-generics-poc 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fe93e4d9e89ccc77f0d6d6dbc9b65d873d5004bb1f9f46f67910e341518cccc [INFO] running `Command { std: "docker" "start" "-a" "8fe93e4d9e89ccc77f0d6d6dbc9b65d873d5004bb1f9f46f67910e341518cccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fe93e4d9e89ccc77f0d6d6dbc9b65d873d5004bb1f9f46f67910e341518cccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe93e4d9e89ccc77f0d6d6dbc9b65d873d5004bb1f9f46f67910e341518cccc", kill_on_drop: false }` [INFO] [stdout] 8fe93e4d9e89ccc77f0d6d6dbc9b65d873d5004bb1f9f46f67910e341518cccc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 358c54583b6ad6f347921eb66ad8be096333f0a6878fa4dcd183f29ebc824f31 [INFO] running `Command { std: "docker" "start" "-a" "358c54583b6ad6f347921eb66ad8be096333f0a6878fa4dcd183f29ebc824f31", kill_on_drop: false }` [INFO] [stderr] Documenting parse-generics-poc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | #![feature(plugin_registrar, 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[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | 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/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | 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/lib.rs:113:3 [INFO] [stdout] | [INFO] [stdout] 113 | #[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[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/lib.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | sp: Option, [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/lib.rs:129:54 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn emit(self, cx: &mut ExtCtxt, fallback_sp: codemap::Span) { [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/lib.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn span_err(sp: codemap::Span, msg: Str) -> Error<'static> [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/lib.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | mac: ast::Mac, [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/lib.rs:159:47 [INFO] [stdout] | [INFO] [stdout] 159 | fn make_expr(self: Box) -> 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/lib.rs:169:60 [INFO] [stdout] | [INFO] [stdout] 169 | fn make_items(self: Box) -> 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/lib.rs:181:63 [INFO] [stdout] | [INFO] [stdout] 181 | fn make_impl_items(self: Box) -> 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/lib.rs:194:46 [INFO] [stdout] | [INFO] [stdout] 194 | fn make_pat(self: Box) -> 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/lib.rs:203:58 [INFO] [stdout] | [INFO] [stdout] 203 | fn make_stmts(self: Box) -> 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/lib.rs:215:45 [INFO] [stdout] | [INFO] [stdout] 215 | fn make_ty(self: Box) -> 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 `codemap` [INFO] [stdout] --> src/lib.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | sp: codemap::Span, [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/lib.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | sp: codemap::Span, [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/lib.rs:263:10 [INFO] [stdout] | [INFO] [stdout] 263 | _sp: codemap::Span, [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/lib.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | const DUM_SP: codemap::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 `codemap` [INFO] [stdout] --> src/lib.rs:330:35 [INFO] [stdout] | [INFO] [stdout] 330 | const DUM_SP: codemap::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 `codemap` [INFO] [stdout] --> src/lib.rs:443:10 [INFO] [stdout] | [INFO] [stdout] 443 | _sp: codemap::Span, [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/lib.rs:506:19 [INFO] [stdout] | [INFO] [stdout] 506 | const DUM_SP: codemap::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 `codemap` [INFO] [stdout] --> src/lib.rs:506:35 [INFO] [stdout] | [INFO] [stdout] 506 | const DUM_SP: codemap::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/lib.rs:590:13 [INFO] [stdout] | [INFO] [stdout] 590 | -> Result<(&ast::Delimited, &[TokenTree]), Error<'static>> { [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/lib.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | -> Result<(&ast::Delimited, &[TokenTree]), Error<'static>> { [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/lib.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | -> Result<(codemap::Span, &ast::Ident, &[TokenTree]), Error<'static>> { [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/lib.rs:611:28 [INFO] [stdout] | [INFO] [stdout] 611 | -> Result<(codemap::Span, &ast::Ident, &[TokenTree]), Error<'static>> { [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/lib.rs:656:20 [INFO] [stdout] | [INFO] [stdout] 656 | fn ident_tt(ident: ast::Ident) -> TokenTree { [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/lib.rs:670:20 [INFO] [stdout] | [INFO] [stdout] 670 | fn ltime_tt(ltime: ast::Lifetime) -> TokenTree { [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/lib.rs:681:27 [INFO] [stdout] | [INFO] [stdout] 681 | fn ltime_def_to_tts(ltd: &ast::LifetimeDef, tts: &mut 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/lib.rs:697:11 [INFO] [stdout] | [INFO] [stdout] 697 | tpb: &ast::TyParamBound, [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/lib.rs:745:23 [INFO] [stdout] | [INFO] [stdout] 745 | fn path_to_tts(path: &ast::Path, tts: &mut 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/lib.rs:803:19 [INFO] [stdout] | [INFO] [stdout] 803 | fn nt_ty_tt(ty: P) -> TokenTree { [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/lib.rs:807:23 [INFO] [stdout] | [INFO] [stdout] 807 | fn pred_to_tts(pred: &ast::WherePredicate, tts: &mut Vec) { [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/lib.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | Diagnostic(DiagnosticBuilder<'a>), [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/lib.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn emit(self, cx: &mut ExtCtxt, fallback_sp: codemap::Span) { [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/lib.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn diag(diag: DiagnosticBuilder<'a>) -> Error<'a> { [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/lib.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 158 | impl MacResult for MacMac { [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/lib.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | fn make_expr(self: Box) -> Option> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SmallVector` in this scope [INFO] [stdout] --> src/lib.rs:169:46 [INFO] [stdout] | [INFO] [stdout] 169 | fn make_items(self: Box) -> Option>> { [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/lib.rs:169:58 [INFO] [stdout] | [INFO] [stdout] 169 | fn make_items(self: Box) -> Option>> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SmallVector` in this scope [INFO] [stdout] --> src/lib.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | fn make_impl_items(self: Box) -> Option> { [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/lib.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | fn make_pat(self: Box) -> Option> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SmallVector` in this scope [INFO] [stdout] --> src/lib.rs:203:46 [INFO] [stdout] | [INFO] [stdout] 203 | fn make_stmts(self: Box) -> Option> { [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/lib.rs:215:43 [INFO] [stdout] | [INFO] [stdout] 215 | fn make_ty(self: Box) -> Option> { [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/lib.rs:226:14 [INFO] [stdout] | [INFO] [stdout] 226 | cx: &mut ExtCtxt, [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/lib.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | tts: &[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/lib.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 225 | fn parse_generics( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 229 | ) -> 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/lib.rs:240:14 [INFO] [stdout] | [INFO] [stdout] 240 | cx: &mut ExtCtxt, [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/lib.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | tts: &[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/lib.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 239 | fn parse_where( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 243 | ) -> 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/lib.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | cx: &mut ExtCtxt<'cx>, [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/lib.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | tts: &[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/lib.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 261 | fn try_parse_generics<'cx>( [INFO] [stdout] | - help: you might be missing a type parameter: `, MacResult` [INFO] [stdout] ... [INFO] [stdout] 265 | ) -> Result, Error<'cx>> { [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/lib.rs:442:14 [INFO] [stdout] | [INFO] [stdout] 442 | cx: &mut ExtCtxt<'a>, [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/lib.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 444 | tts: &[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/lib.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 441 | fn try_parse_where<'a>( [INFO] [stdout] | - help: you might be missing a type parameter: `, MacResult` [INFO] [stdout] ... [INFO] [stdout] 445 | ) -> Result, Error<'a>> { [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/lib.rs:581:26 [INFO] [stdout] | [INFO] [stdout] 581 | fn is_just_dotdot(tts: &[TokenTree]) -> bool { [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/lib.rs:589:21 [INFO] [stdout] | [INFO] [stdout] 589 | fn eat_delim(tts: &[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/lib.rs:590:31 [INFO] [stdout] | [INFO] [stdout] 589 | fn eat_delim(tts: &[TokenTree]) [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 590 | -> Result<(&ast::Delimited, &[TokenTree]), Error<'static>> { [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/lib.rs:599:27 [INFO] [stdout] | [INFO] [stdout] 599 | fn eat_delim_brace(tts: &[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/lib.rs:600:31 [INFO] [stdout] | [INFO] [stdout] 599 | fn eat_delim_brace(tts: &[TokenTree]) [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 600 | -> Result<(&ast::Delimited, &[TokenTree]), Error<'static>> { [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/lib.rs:610:21 [INFO] [stdout] | [INFO] [stdout] 610 | fn eat_ident(tts: &[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/lib.rs:611:42 [INFO] [stdout] | [INFO] [stdout] 610 | fn eat_ident(tts: &[TokenTree]) [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 611 | -> Result<(codemap::Span, &ast::Ident, &[TokenTree]), Error<'static>> { [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/lib.rs:622:42 [INFO] [stdout] | [INFO] [stdout] 622 | fn skip_ident_str<'a>(s: &str, tts: &'a [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/lib.rs:623:16 [INFO] [stdout] | [INFO] [stdout] 622 | fn skip_ident_str<'a>(s: &str, tts: &'a [TokenTree]) [INFO] [stdout] | - help: you might be missing a type parameter: `, TokenTree` [INFO] [stdout] 623 | -> Result<&'a [TokenTree], Error<'static>> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/lib.rs:639:20 [INFO] [stdout] | [INFO] [stdout] 639 | fn skip_token(tok: Token, tts: &[TokenTree]) -> Result<&[TokenTree], Error<'static>> { [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/lib.rs:639:34 [INFO] [stdout] | [INFO] [stdout] 639 | fn skip_token(tok: Token, tts: &[TokenTree]) -> Result<&[TokenTree], Error<'static>> { [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/lib.rs:639:58 [INFO] [stdout] | [INFO] [stdout] 639 | fn skip_token(tok: Token, tts: &[TokenTree]) -> Result<&[TokenTree], Error<'static>> { [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 `Token` in this scope [INFO] [stdout] --> src/lib.rs:648:24 [INFO] [stdout] | [INFO] [stdout] 648 | fn can_skip_token(tok: Token, tts: &[TokenTree]) -> Result<&[TokenTree], Option<&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/lib.rs:648:38 [INFO] [stdout] | [INFO] [stdout] 648 | fn can_skip_token(tok: Token, tts: &[TokenTree]) -> Result<&[TokenTree], Option<&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/lib.rs:648:62 [INFO] [stdout] | [INFO] [stdout] 648 | fn can_skip_token(tok: Token, tts: &[TokenTree]) -> Result<&[TokenTree], Option<&TokenTree>> { [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/lib.rs:648:82 [INFO] [stdout] | [INFO] [stdout] 648 | fn can_skip_token(tok: Token, tts: &[TokenTree]) -> Result<&[TokenTree], Option<&TokenTree>> { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/lib.rs:656:35 [INFO] [stdout] | [INFO] [stdout] 656 | fn ident_tt(ident: ast::Ident) -> 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/lib.rs:663:29 [INFO] [stdout] | [INFO] [stdout] 663 | fn ident_str_tt(s: &str) -> 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/lib.rs:670:38 [INFO] [stdout] | [INFO] [stdout] 670 | fn ltime_tt(ltime: ast::Lifetime) -> TokenTree { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/lib.rs:677:16 [INFO] [stdout] | [INFO] [stdout] 677 | fn tok_tt(tok: Token) -> 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/lib.rs:677:26 [INFO] [stdout] | [INFO] [stdout] 677 | fn tok_tt(tok: Token) -> 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/lib.rs:681:59 [INFO] [stdout] | [INFO] [stdout] 681 | fn ltime_def_to_tts(ltd: &ast::LifetimeDef, tts: &mut 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/lib.rs:698:19 [INFO] [stdout] | [INFO] [stdout] 696 | fn ty_param_bound_to_tts( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 697 | tpb: &ast::TyParamBound, [INFO] [stdout] 698 | tts: &mut Vec, [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/lib.rs:745:48 [INFO] [stdout] | [INFO] [stdout] 745 | fn path_to_tts(path: &ast::Path, tts: &mut 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 `P` in this scope [INFO] [stdout] --> src/lib.rs:803:17 [INFO] [stdout] | [INFO] [stdout] 803 | fn nt_ty_tt(ty: P) -> 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/lib.rs:803:32 [INFO] [stdout] | [INFO] [stdout] 803 | fn nt_ty_tt(ty: P) -> 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/lib.rs:807:58 [INFO] [stdout] | [INFO] [stdout] 807 | fn pred_to_tts(pred: &ast::WherePredicate, tts: &mut 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 stable release channel [INFO] [stdout] --> src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #![feature(plugin_registrar, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 85 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, 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 document `parse-generics-poc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type dylib --crate-name parse_generics_poc src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=bc335e86a3aff47b -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "358c54583b6ad6f347921eb66ad8be096333f0a6878fa4dcd183f29ebc824f31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "358c54583b6ad6f347921eb66ad8be096333f0a6878fa4dcd183f29ebc824f31", kill_on_drop: false }` [INFO] [stdout] 358c54583b6ad6f347921eb66ad8be096333f0a6878fa4dcd183f29ebc824f31