[INFO] fetching crate cargo-doc-coverage 1.0.0... [INFO] documenting cargo-doc-coverage-1.0.0 against beta-2022-05-20 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 beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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" "+beta-2022-05-20" "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-05-20" "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" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2864f864ab8af16bbbbf7ebf7154c6311f9b4f6aaeb825d3c4d432354217487 [INFO] running `Command { std: "docker" "start" "-a" "d2864f864ab8af16bbbbf7ebf7154c6311f9b4f6aaeb825d3c4d432354217487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2864f864ab8af16bbbbf7ebf7154c6311f9b4f6aaeb825d3c4d432354217487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2864f864ab8af16bbbbf7ebf7154c6311f9b4f6aaeb825d3c4d432354217487", kill_on_drop: false }` [INFO] [stdout] d2864f864ab8af16bbbbf7ebf7154c6311f9b4f6aaeb825d3c4d432354217487 [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" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 454f6a8eb7d69aa4a6b7750944c473b4bd38efafdeeb2b66d7e86b6e31b40e51 [INFO] running `Command { std: "docker" "start" "-a" "454f6a8eb7d69aa4a6b7750944c473b4bd38efafdeeb2b66d7e86b6e31b40e51", kill_on_drop: false }` [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.62.0-beta.2 (3f052d8ee 2022-05-12) 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: 5433479294541292494 } [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: 10208137596551745105 } [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [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/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.lsan.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[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[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 `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 `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[E0554]: `#![feature]` may not be used on the beta 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 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, 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=ba77dc95e01328f9 -L dependency=/opt/rustwide/target/debug/deps --extern matches=/opt/rustwide/target/debug/deps/libmatches-ad6d3eca06d0189b.rmeta --extern rustc_serialize=/opt/rustwide/target/debug/deps/librustc_serialize-133015b43c1c35be.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" "454f6a8eb7d69aa4a6b7750944c473b4bd38efafdeeb2b66d7e86b6e31b40e51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "454f6a8eb7d69aa4a6b7750944c473b4bd38efafdeeb2b66d7e86b6e31b40e51", kill_on_drop: false }` [INFO] [stdout] 454f6a8eb7d69aa4a6b7750944c473b4bd38efafdeeb2b66d7e86b6e31b40e51