[INFO] fetching crate idl-gen 0.1.0... [INFO] documenting idl-gen-0.1.0 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate idl-gen 0.1.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate idl-gen 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 idl-gen 0.1.0 [INFO] finished tweaking crates.io crate idl-gen 0.1.0 [INFO] tweaked toml for crates.io crate idl-gen 0.1.0 written to /workspace/builds/worker-14/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] c17e0e1b758348c0fc14865cd737d88a810ff403459cb6c7addc14ec83ab8c2a [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" "c17e0e1b758348c0fc14865cd737d88a810ff403459cb6c7addc14ec83ab8c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c17e0e1b758348c0fc14865cd737d88a810ff403459cb6c7addc14ec83ab8c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c17e0e1b758348c0fc14865cd737d88a810ff403459cb6c7addc14ec83ab8c2a", kill_on_drop: false }` [INFO] [stdout] c17e0e1b758348c0fc14865cd737d88a810ff403459cb6c7addc14ec83ab8c2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 75644db245fb0306054c81c0ff8e7c4a5f79c759d34a3385f60a675849d8fb9e [INFO] running `Command { std: "docker" "start" "-a" "75644db245fb0306054c81c0ff8e7c4a5f79c759d34a3385f60a675849d8fb9e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Documenting idl-gen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.61.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.61.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.61.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.61.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.lsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate rustc_data_structures; [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[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate rustc_driver; [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[E0463]: can't find crate for `rustc_interface` [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate rustc_interface; [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[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> src/lib.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[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax_pos` [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate syntax_pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:319:21 [INFO] [stdout] | [INFO] [stdout] 319 | use hir::def::{DefKind, Res}; [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/rpc.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | use ty::TyKind::*; [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | use hir::def::{DefKind, Res}; [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hir`, `hir::def::DefKind`, `hir::def::Res`, `ty::TyKind::*`, `hir::def::DefKind`, `hir::def::Res` [INFO] [stdout] --> src/rpc.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | use hir::TyKind; [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] ... [INFO] [stdout] 319 | use hir::def::{DefKind, Res}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | use ty::TyKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/visitor.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | use hir::def::{DefKind, Res}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/rpc.rs:298:37 [INFO] [stdout] | [INFO] [stdout] 298 | fn convert_ty(tcx: TyCtxt, ty: &hir::Ty) -> Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_type_args(path: &hir::Path) -> Vec<&hir::Ty> { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_type_args(path: &hir::Path) -> Vec<&hir::Ty> { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | rpcs: Vec<(Symbol, &'tcx hir::FnDecl)>, // the collected RPC fns [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn rpcs(&self) -> &[(Symbol, &'tcx hir::FnDecl)] { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'a, 'gcx, 'tcx> hir::itemlikevisit::ItemLikeVisitor<'tcx> for RpcCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | fn visit_item(&mut self, item: &'tcx hir::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:105:52 [INFO] [stdout] | [INFO] [stdout] 105 | fn visit_impl_item(&mut self, impl_item: &'tcx hir::ImplItem) { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:117:55 [INFO] [stdout] | [INFO] [stdout] 117 | fn visit_trait_item(&mut self, _trait_item: &'tcx hir::TraitItem) {} [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | impl<'a, 'gcx, 'tcx> hir::intravisit::Visitor<'tcx> for DefinedTypeCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:160:38 [INFO] [stdout] | [INFO] [stdout] 160 | fn visit_ty(&mut self, ty: &'tcx hir::Ty) { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit` [INFO] [stdout] --> src/visitor.rs:175:52 [INFO] [stdout] | [INFO] [stdout] 175 | fn nested_visit_map<'this>(&'this mut self) -> intravisit::NestedVisitorMap<'this, 'tcx> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `intravisit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | impl<'a, 'gcx, 'tcx> hir::intravisit::Visitor<'tcx> for EventCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/visitor.rs:204:42 [INFO] [stdout] | [INFO] [stdout] 204 | fn visit_expr(&mut self, expr: &'tcx hir::Expr) { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit` [INFO] [stdout] --> src/visitor.rs:244:52 [INFO] [stdout] | [INFO] [stdout] 244 | fn nested_visit_map<'this>(&'this mut self) -> intravisit::NestedVisitorMap<'this, 'tcx> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `intravisit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/error.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | NotReprC(TypeStr, Span), [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/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | ComplexEnum(Span), [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/error.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | Unimplemented(TypeStr, Span), [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/error.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn span(&self) -> Span { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Once` in this scope [INFO] [stdout] --> src/gen.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | iface: Once, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Once; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Once` in this scope [INFO] [stdout] --> src/gen.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | deps: Once>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Once; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/rpc.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | tcx: TyCtxt, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/rpc.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | name: Symbol, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/rpc.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 27 | impl Interface { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 33 | imports: BTreeSet<(Symbol, String)>, // (name, version) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AdtDef` in this scope [INFO] [stdout] --> src/rpc.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 27 | impl Interface { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | adt_defs: BTreeSet<(&AdtDef, bool)>, // (adt_def, is_event) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FxHashMap` in this scope [INFO] [stdout] --> src/rpc.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | event_indices: &FxHashMap>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/rpc.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 27 | impl Interface { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | event_indices: &FxHashMap>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/rpc.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 27 | impl Interface { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | event_indices: &FxHashMap>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/rpc.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | fns: &[(Symbol, &FnDecl)], [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/rpc.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fns: &[(Symbol, &FnDecl)], [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/rpc.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | fn convert(tcx: TyCtxt, decl: &FnDecl) -> Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/rpc.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | fn convert(tcx: TyCtxt, decl: &FnDecl) -> Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/rpc.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | tcx: TyCtxt, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/rpc.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 154 | name: Symbol, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/rpc.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | decl: &FnDecl, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/rpc.rs:298:24 [INFO] [stdout] | [INFO] [stdout] 298 | fn convert_ty(tcx: TyCtxt, ty: &hir::Ty) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/rpc.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | fn convert_sty(tcx: TyCtxt, did: DefId, ty: &TyS) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/rpc.rs:372:38 [INFO] [stdout] | [INFO] [stdout] 372 | fn convert_sty(tcx: TyCtxt, did: DefId, ty: &TyS) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyS` in this scope [INFO] [stdout] --> src/rpc.rs:372:50 [INFO] [stdout] | [INFO] [stdout] 372 | fn convert_sty(tcx: TyCtxt, did: DefId, ty: &TyS) -> Result { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/rpc.rs:471:21 [INFO] [stdout] | [INFO] [stdout] 471 | fn convert(tcx: TyCtxt, def: &AdtDef, is_event: bool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AdtDef` in this scope [INFO] [stdout] --> src/rpc.rs:471:35 [INFO] [stdout] | [INFO] [stdout] 471 | fn convert(tcx: TyCtxt, def: &AdtDef, is_event: bool) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/utils.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn is_std(crate_name: Symbol) -> bool { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/utils.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn def_path(tcx: TyCtxt, did: DefId) -> (Symbol, Vec) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/utils.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn def_path(tcx: TyCtxt, did: DefId) -> (Symbol, Vec) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/utils.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn def_path(tcx: TyCtxt, did: DefId) -> (Symbol, Vec) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SyntaxPass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 10 | service_name: Option, // set to `Some` once pass is complete [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FxHashMap` in this scope [INFO] [stdout] --> src/visitor.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | event_indices: FxHashMap>, // event_name -> field_name [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SyntaxPass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 10 | service_name: Option, // set to `Some` once pass is complete [INFO] [stdout] 11 | event_indices: FxHashMap>, // event_name -> field_name [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SyntaxPass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 10 | service_name: Option, // set to `Some` once pass is complete [INFO] [stdout] 11 | event_indices: FxHashMap>, // event_name -> field_name [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 14 | impl SyntaxPass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 15 | pub fn service_name(&self) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FxHashMap` in this scope [INFO] [stdout] --> src/visitor.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn event_indices(&self) -> &FxHashMap> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 14 | impl SyntaxPass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn event_indices(&self) -> &FxHashMap> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 14 | impl SyntaxPass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn event_indices(&self) -> &FxHashMap> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/visitor.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | tcx: TyCtxt<'a, 'gcx, 'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | service_name: Symbol, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HirIdSet` in this scope [INFO] [stdout] --> src/visitor.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | rpc_impls: HirIdSet, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct RpcCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Symbol` [INFO] [stdout] ... [INFO] [stdout] 76 | rpcs: Vec<(Symbol, &'tcx hir::FnDecl)>, // the collected RPC fns [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/visitor.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(tcx: TyCtxt<'a, 'gcx, 'tcx>, service_name: Symbol) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:80:59 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(tcx: TyCtxt<'a, 'gcx, 'tcx>, service_name: Symbol) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/visitor.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn rpcs(&self) -> &[(Symbol, &'tcx hir::FnDecl)] { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/visitor.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | tcx: TyCtxt<'a, 'gcx, 'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FxHashSet` in this scope [INFO] [stdout] --> src/visitor.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | adt_defs: FxHashSet<&'tcx AdtDef>, // maintain a `Set` to handle recursive types [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AdtDef` in this scope [INFO] [stdout] --> src/visitor.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct DefinedTypeCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, AdtDef` [INFO] [stdout] 123 | tcx: TyCtxt<'a, 'gcx, 'tcx>, [INFO] [stdout] 124 | adt_defs: FxHashSet<&'tcx AdtDef>, // maintain a `Set` to handle recursive types [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/visitor.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new(tcx: TyCtxt<'a, 'gcx, 'tcx>) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AdtDef` in this scope [INFO] [stdout] --> src/visitor.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 127 | impl<'a, 'gcx, 'tcx> DefinedTypeCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, AdtDef` [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn adt_defs(self) -> Vec<&'tcx AdtDef> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyS` in this scope [INFO] [stdout] --> src/visitor.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | fn visit_sty(&mut self, ty: &'tcx TyS) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/visitor.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | tcx: TyCtxt<'a, 'gcx, 'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FxHashSet` in this scope [INFO] [stdout] --> src/visitor.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | adt_defs: FxHashSet<&'tcx AdtDef>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AdtDef` in this scope [INFO] [stdout] --> src/visitor.rs:185:31 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct EventCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, AdtDef` [INFO] [stdout] 184 | tcx: TyCtxt<'a, 'gcx, 'tcx>, [INFO] [stdout] 185 | adt_defs: FxHashSet<&'tcx AdtDef>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/visitor.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn new(tcx: TyCtxt<'a, 'gcx, 'tcx>) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AdtDef` in this scope [INFO] [stdout] --> src/visitor.rs:196:40 [INFO] [stdout] | [INFO] [stdout] 188 | impl<'a, 'gcx, 'tcx> EventCollector<'a, 'gcx, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, AdtDef` [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn adt_defs(self) -> Vec<&'tcx AdtDef> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(box_syntax, 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 84 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `idl-gen` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name idl_gen src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=3aa3382af04b21da -L dependency=/opt/rustwide/target/debug/deps --extern serde=/opt/rustwide/target/debug/deps/libserde-69a2bcf8b67d1cdf.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-c02271e501f03aef.rmeta --extern toml=/opt/rustwide/target/debug/deps/libtoml-f78c5a118cb630b8.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "75644db245fb0306054c81c0ff8e7c4a5f79c759d34a3385f60a675849d8fb9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75644db245fb0306054c81c0ff8e7c4a5f79c759d34a3385f60a675849d8fb9e", kill_on_drop: false }` [INFO] [stdout] 75644db245fb0306054c81c0ff8e7c4a5f79c759d34a3385f60a675849d8fb9e