[INFO] fetching crate cargo-doc-coverage 1.0.0... [INFO] testing cargo-doc-coverage-1.0.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate cargo-doc-coverage 1.0.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate cargo-doc-coverage 1.0.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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.60.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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79c73f0df7f95834b1451d4f534aecd01879ab4b4fbc2dc3ab9a8aa9a0e8037d [INFO] running `Command { std: "docker" "start" "-a" "79c73f0df7f95834b1451d4f534aecd01879ab4b4fbc2dc3ab9a8aa9a0e8037d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79c73f0df7f95834b1451d4f534aecd01879ab4b4fbc2dc3ab9a8aa9a0e8037d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79c73f0df7f95834b1451d4f534aecd01879ab4b4fbc2dc3ab9a8aa9a0e8037d", kill_on_drop: false }` [INFO] [stdout] 79c73f0df7f95834b1451d4f534aecd01879ab4b4fbc2dc3ab9a8aa9a0e8037d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a93c008978dcebd26f204826f81ced9abcef71e73abb4a4bf00f4ae34521e4dd [INFO] running `Command { std: "docker" "start" "-a" "a93c008978dcebd26f204826f81ced9abcef71e73abb4a4bf00f4ae34521e4dd", kill_on_drop: false }` [INFO] [stderr] Compiling 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.60.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.60.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.60.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.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.asan.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 `attr` [INFO] [stdout] --> src/doc_coverage.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | Some(l) => attr::list_contains_name(&l[..], "hidden"), [INFO] [stdout] | ^^^^ use of undeclared crate or module `attr` [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:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | hir::ItemFn(..) => "a function", [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:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | hir::ItemMod(..) => "a module", [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:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | hir::ItemEnum(..) => "an enum", [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:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | hir::ItemStruct(..) => "a struct", [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:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | hir::ItemUnion(..) => "a union", [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:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | hir::ItemTrait(.., ref items) => { [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:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | if it.vis == hir::Visibility::Inherited { [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:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | hir::ItemTy(..) => "a type alias", [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:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | hir::ItemImpl(.., Some(ref trait_ref), _, ref impl_item_refs) => { [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_map` [INFO] [stdout] --> src/doc_coverage.rs:195:30 [INFO] [stdout] | [INFO] [stdout] 195 | Some(hir_map::NodeItem(item)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `hir_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/doc_coverage.rs:196:44 [INFO] [stdout] | [INFO] [stdout] 196 | ... if item.vis == hir::Visibility::Inherited { [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:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | hir::ItemConst(..) => "a constant", [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:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | hir::ItemStatic(..) => "a static", [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:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | hir::ConstTraitItem(..) => "an associated constant", [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:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | hir::MethodTraitItem(..) => "a trait method", [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:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | hir::TypeTraitItem(..) => "an associated type", [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:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | hir::ImplItemKind::Const(..) => "an associated constant", [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:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | hir::ImplItemKind::Method(..) => "a method", [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:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | hir::ImplItemKind::Type(_) => "an associated type", [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:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | if sf.vis == hir::Public || self.in_variant { [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[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/utils/mod.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | ty::TraitContainer(..) => MethodLateContext::TraitDefaultImpl, [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 `ty` [INFO] [stdout] --> src/utils/mod.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | ty::ImplContainer(cid) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [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] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/utils/cargo.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/utils/cargo.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/utils/cargo.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/utils/cargo.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 79 previous errors; 5 warnings emitted [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 compile `cargo-doc-coverage` due to 80 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a93c008978dcebd26f204826f81ced9abcef71e73abb4a4bf00f4ae34521e4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a93c008978dcebd26f204826f81ced9abcef71e73abb4a4bf00f4ae34521e4dd", kill_on_drop: false }` [INFO] [stdout] a93c008978dcebd26f204826f81ced9abcef71e73abb4a4bf00f4ae34521e4dd