[INFO] fetching crate cargo-doc-coverage 1.0.0... [INFO] documenting cargo-doc-coverage-1.0.0 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate cargo-doc-coverage 1.0.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate cargo-doc-coverage 1.0.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 cargo-doc-coverage 1.0.0 [INFO] finished tweaking crates.io crate cargo-doc-coverage 1.0.0 [INFO] tweaked toml for crates.io crate cargo-doc-coverage 1.0.0 written to /workspace/builds/worker-11/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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 00ab6cefae1fb1d02392037f48c43c6c6499298232461790c981c613aa6a2034 [INFO] running `Command { std: "docker" "start" "-a" "00ab6cefae1fb1d02392037f48c43c6c6499298232461790c981c613aa6a2034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00ab6cefae1fb1d02392037f48c43c6c6499298232461790c981c613aa6a2034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00ab6cefae1fb1d02392037f48c43c6c6499298232461790c981c613aa6a2034", kill_on_drop: false }` [INFO] [stdout] 00ab6cefae1fb1d02392037f48c43c6c6499298232461790c981c613aa6a2034 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 294da69e65f31e8b0c1e6a6520522a499311ea6b248f53907abe606ec812148c [INFO] running `Command { std: "docker" "start" "-a" "294da69e65f31e8b0c1e6a6520522a499311ea6b248f53907abe606ec812148c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `cargo-doc-coverage` in package `cargo-doc-coverage v1.0.0 (/opt/rustwide/workdir)` has the same output filename as the lib target `cargo_doc_coverage` in package `cargo-doc-coverage v1.0.0 (/opt/rustwide/workdir)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/doc/cargo_doc_coverage/index.html [INFO] [stderr] The output filenames should be unique. [INFO] [stderr] This is a known bug where multiple crates with the same name use [INFO] [stderr] the same path; see . [INFO] [stderr] If this looks unexpected, it may be a bug in Cargo. Please file a bug report at [INFO] [stderr] https://github.com/rust-lang/cargo/issues/ with as much information as you [INFO] [stderr] can provide. [INFO] [stderr] cargo 1.61.0 (a028ae4 2022-04-29) running on `x86_64-unknown-linux-gnu` target `x86_64-unknown-linux-gnu` [INFO] [stderr] First unit: Unit { pkg: Package { id: PackageId { name: "cargo-doc-coverage", version: "1.0.0", source: "/opt/rustwide/workdir" }, ..: ".." }, target: TargetInner { name: "cargo-doc-coverage", doc: true, ..: with_path("/opt/rustwide/workdir/src/main.rs", Edition2015) }, profile: Profile { incremental: false, ..: default_dev() }, kind: Host, mode: Doc { deps: false }, features: [], artifact: false, is_std: false, dep_hash: 2086234094778369509 } [INFO] [stderr] Second unit: Unit { pkg: Package { id: PackageId { name: "cargo-doc-coverage", version: "1.0.0", source: "/opt/rustwide/workdir" }, ..: ".." }, target: TargetInner { for_host: true, ..: lib_target("cargo_doc_coverage", ["dylib"], "/opt/rustwide/workdir/src/lib.rs", Edition2015) }, profile: Profile { incremental: false, ..: default_dev() }, kind: Host, mode: Doc { deps: false }, features: [], artifact: false, is_std: false, dep_hash: 470956019965779908 } [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Documenting cargo-doc-coverage v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [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.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.lsan.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.tsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | 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 macro `declare_lint` in this scope [INFO] [stdout] --> src/doc_coverage.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | declare_lint! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/doc_coverage.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | lint_array![DOC_COVERAGE] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `span_bug` in this scope [INFO] [stdout] --> src/utils/mod.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | None => span_bug!(span, "missing method descriptor?!"), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/doc_coverage.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | struct_def_stack: 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/doc_coverage.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | private_traits: HashSet, [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/doc_coverage.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | ... id: 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/doc_coverage.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | ... attrs: &[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 `ast` [INFO] [stdout] --> src/doc_coverage.rs:124:62 [INFO] [stdout] | [INFO] [stdout] 124 | fn enter_lint_attrs(&mut self, _: &LateContext, attrs: &[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 `ast` [INFO] [stdout] --> src/doc_coverage.rs:136:62 [INFO] [stdout] | [INFO] [stdout] 136 | fn exit_lint_attrs(&mut self, _: &LateContext, _attrs: &[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 `hir` [INFO] [stdout] --> src/doc_coverage.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | _: &hir::VariantData, [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 `ast` [INFO] [stdout] --> src/doc_coverage.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | _: ast::Name, [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 `hir` [INFO] [stdout] --> src/doc_coverage.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | _: &hir::Generics, [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 `ast` [INFO] [stdout] --> src/doc_coverage.rs:145:34 [INFO] [stdout] | [INFO] [stdout] 145 | item_id: ast::NodeId) { [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 `hir` [INFO] [stdout] --> src/doc_coverage.rs:151:34 [INFO] [stdout] | [INFO] [stdout] 151 | ... _: &hir::VariantData, [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 `ast` [INFO] [stdout] --> src/doc_coverage.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | ... _: ast::Name, [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 `hir` [INFO] [stdout] --> src/doc_coverage.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | ... _: &hir::Generics, [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 `ast` [INFO] [stdout] --> src/doc_coverage.rs:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | ... item_id: ast::NodeId) { [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 `hir` [INFO] [stdout] --> src/doc_coverage.rs:159:57 [INFO] [stdout] | [INFO] [stdout] 159 | fn check_crate(&mut self, cx: &LateContext, krate: &hir::Crate) { [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/doc_coverage.rs:163:58 [INFO] [stdout] | [INFO] [stdout] 163 | fn check_crate_post(&mut self, cx: &LateContext, _: &hir::Crate) { [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/doc_coverage.rs:170:53 [INFO] [stdout] | [INFO] [stdout] 170 | fn check_item(&mut self, cx: &LateContext, it: &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/doc_coverage.rs:215:67 [INFO] [stdout] | [INFO] [stdout] 215 | fn check_trait_item(&mut self, cx: &LateContext, trait_item: &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/doc_coverage.rs:233:65 [INFO] [stdout] | [INFO] [stdout] 233 | fn check_impl_item(&mut self, cx: &LateContext, impl_item: &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/doc_coverage.rs:251:61 [INFO] [stdout] | [INFO] [stdout] 251 | fn check_struct_field(&mut self, cx: &LateContext, sf: &hir::StructField) { [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/doc_coverage.rs:266:55 [INFO] [stdout] | [INFO] [stdout] 266 | fn check_variant(&mut self, cx: &LateContext, v: &hir::Variant, _: &hir::Generics) { [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/doc_coverage.rs:266:73 [INFO] [stdout] | [INFO] [stdout] 266 | fn check_variant(&mut self, cx: &LateContext, v: &hir::Variant, _: &hir::Generics) { [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/doc_coverage.rs:276:59 [INFO] [stdout] | [INFO] [stdout] 276 | fn check_variant_post(&mut self, _: &LateContext, _: &hir::Variant, _: &hir::Generics) { [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/doc_coverage.rs:276:77 [INFO] [stdout] | [INFO] [stdout] 276 | fn check_variant_post(&mut self, _: &LateContext, _: &hir::Variant, _: &hir::Generics) { [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 `ast` [INFO] [stdout] --> src/utils/mod.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn method_context(cx: &LateContext, id: ast::NodeId, span: Span) -> MethodLateContext { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/doc_coverage.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | ... cx: &LateContext, [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/doc_coverage.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | ... sp: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> src/doc_coverage.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | impl LintPass for DocCoverage { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> src/doc_coverage.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LateLintPass` in this scope [INFO] [stdout] --> src/doc_coverage.rs:123:6 [INFO] [stdout] | [INFO] [stdout] 123 | impl LateLintPass for DocCoverage { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/doc_coverage.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | fn enter_lint_attrs(&mut self, _: &LateContext, attrs: &[ast::Attribute]) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/doc_coverage.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | fn exit_lint_attrs(&mut self, _: &LateContext, _attrs: &[ast::Attribute]) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/doc_coverage.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | _: &LateContext, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/doc_coverage.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | ... _: &LateContext, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/doc_coverage.rs:159:36 [INFO] [stdout] | [INFO] [stdout] 159 | fn check_crate(&mut self, cx: &LateContext, krate: &hir::Crate) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/doc_coverage.rs:163:41 [INFO] [stdout] | [INFO] [stdout] 163 | fn check_crate_post(&mut self, cx: &LateContext, _: &hir::Crate) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/doc_coverage.rs:170:35 [INFO] [stdout] | [INFO] [stdout] 170 | fn check_item(&mut self, cx: &LateContext, it: &hir::Item) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/doc_coverage.rs:215:41 [INFO] [stdout] | [INFO] [stdout] 215 | fn check_trait_item(&mut self, cx: &LateContext, trait_item: &hir::TraitItem) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/doc_coverage.rs:233:40 [INFO] [stdout] | [INFO] [stdout] 233 | fn check_impl_item(&mut self, cx: &LateContext, impl_item: &hir::ImplItem) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/doc_coverage.rs:251:43 [INFO] [stdout] | [INFO] [stdout] 251 | fn check_struct_field(&mut self, cx: &LateContext, sf: &hir::StructField) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/doc_coverage.rs:266:38 [INFO] [stdout] | [INFO] [stdout] 266 | fn check_variant(&mut self, cx: &LateContext, v: &hir::Variant, _: &hir::Generics) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/doc_coverage.rs:276:42 [INFO] [stdout] | [INFO] [stdout] 276 | fn check_variant_post(&mut self, _: &LateContext, _: &hir::Variant, _: &hir::Generics) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HirVec` in this scope [INFO] [stdout] --> src/utils/mod.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub type MethodArgs = HirVec>; [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/utils/mod.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | pub type MethodArgs = HirVec>; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/utils/mod.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub type MethodArgs = HirVec>; [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[E0405]: cannot find trait `LintContext` in this scope [INFO] [stdout] --> src/utils/mod.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn in_macro(cx: &T, span: Span) -> bool { [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/utils/mod.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn in_macro(cx: &T, span: Span) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/utils/mod.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn method_context(cx: &LateContext, id: ast::NodeId, span: Span) -> MethodLateContext { [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/utils/mod.rs:24:64 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn method_context(cx: &LateContext, id: ast::NodeId, span: Span) -> MethodLateContext { [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:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(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 57 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not document `cargo-doc-coverage` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type dylib --crate-name cargo_doc_coverage src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=a53174e41ebe0b3c -L dependency=/opt/rustwide/target/debug/deps --extern matches=/opt/rustwide/target/debug/deps/libmatches-f1c4024f57379e6f.rmeta --extern rustc_serialize=/opt/rustwide/target/debug/deps/librustc_serialize-8bfa9ab41fa1e22e.rmeta --cap-lints=warn --crate-version 1.0.0` (exit status: 1) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "294da69e65f31e8b0c1e6a6520522a499311ea6b248f53907abe606ec812148c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "294da69e65f31e8b0c1e6a6520522a499311ea6b248f53907abe606ec812148c", kill_on_drop: false }` [INFO] [stdout] 294da69e65f31e8b0c1e6a6520522a499311ea6b248f53907abe606ec812148c