[INFO] fetching crate gazebo_lint 0.1.1... [INFO] documenting gazebo_lint-0.1.1 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate gazebo_lint 0.1.1 into /workspace/builds/worker-44/source [INFO] validating manifest of crates.io crate gazebo_lint 0.1.1 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 gazebo_lint 0.1.1 [INFO] finished tweaking crates.io crate gazebo_lint 0.1.1 [INFO] tweaked toml for crates.io crate gazebo_lint 0.1.1 written to /workspace/builds/worker-44/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] e74a32907ae4329346f56129af7a5236e1cbc311016bfe7be930e00f01ebf789 [INFO] running `Command { std: "docker" "start" "-a" "e74a32907ae4329346f56129af7a5236e1cbc311016bfe7be930e00f01ebf789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e74a32907ae4329346f56129af7a5236e1cbc311016bfe7be930e00f01ebf789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74a32907ae4329346f56129af7a5236e1cbc311016bfe7be930e00f01ebf789", kill_on_drop: false }` [INFO] [stdout] e74a32907ae4329346f56129af7a5236e1cbc311016bfe7be930e00f01ebf789 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] 42f89bf4ca76adc40b10c9ef3cdcd109f99e94e7b067926aab8c42ef09eb6839 [INFO] running `Command { std: "docker" "start" "-a" "42f89bf4ca76adc40b10c9ef3cdcd109f99e94e7b067926aab8c42ef09eb6839", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Documenting gazebo_lint v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | #![feature(plugin_registrar)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: a __rustc_plugin_registrar symbol must now be defined instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | 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_hir` [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate rustc_hir; [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_infer` [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | extern crate rustc_infer; [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_lint` [INFO] [stdout] --> src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | extern crate rustc_lint; [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_middle` [INFO] [stdout] --> src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern crate rustc_middle; [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_span` [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | extern crate rustc_span; [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_trait_selection` [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | extern crate rustc_trait_selection; [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_typeck` [INFO] [stdout] --> src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern crate rustc_typeck; [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_session` [INFO] [stdout] --> src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate rustc_session; [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/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | declare_lint!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | declare_lint!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | declare_lint!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | declare_lint!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | declare_lint!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | declare_lint!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | declare_lint!(GAZEBO_USE_DUPE, Warn, "Use `dupe()`"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | declare_lint!(GAZEBO_USE_DUPED, Warn, "Use `duped()`"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | declare_lint!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | declare_lint!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | declare_lint!(USE_BOX, Warn, "Use `box` syntax instead of `Box::new`"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | declare_lint!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | declare_lint!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | declare_lint!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint_pass` in this scope [INFO] [stdout] --> src/lib.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | declare_lint_pass!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:531:3 [INFO] [stdout] | [INFO] [stdout] 531 | #[plugin_registrar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `plugin_registrar` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `def` [INFO] [stdout] --> src/clippy.rs:75:63 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn path_to_res(cx: &LateContext, path: &[&str]) -> Option { [INFO] [stdout] | ^^^ use of undeclared crate or module `def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/clippy.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | expr: &'tcx Expr<'tcx>, [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/clippy.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | &'tcx Expr<'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/clippy.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn method_calls<'tcx>( [INFO] [stdout] | - help: you might be missing a type parameter: `, Symbol` [INFO] [stdout] ... [INFO] [stdout] 47 | Vec, [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/clippy.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | Vec<&'tcx [Expr<'tcx>]>, [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/clippy.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn method_calls<'tcx>( [INFO] [stdout] | - help: you might be missing a type parameter: `, Span` [INFO] [stdout] ... [INFO] [stdout] 49 | Vec, [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/clippy.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn path_to_res(cx: &LateContext, path: &[&str]) -> Option { [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/clippy.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | cx: &LateContext<'tcx>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/clippy.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | ty: Ty<'tcx>, [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/clippy.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | trait_id: DefId, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenericArg` in this scope [INFO] [stdout] --> src/clippy.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | ty_params: &[GenericArg<'tcx>], [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/clippy.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | cx: &LateContext<'tcx>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/clippy.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | item: &Item, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/clippy.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Option> { [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/clippy.rs:163:30 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn get_trait_def_id(cx: &LateContext, path: &[&str]) -> Option { [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/clippy.rs:163:68 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn get_trait_def_id(cx: &LateContext, path: &[&str]) -> Option { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/clippy.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn match_def_path(cx: &LateContext, did: DefId, syms: &[&str]) -> bool { [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/clippy.rs:176:46 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn match_def_path(cx: &LateContext, did: DefId, syms: &[&str]) -> 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/clippy.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | cx: &LateContext, [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/clippy.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 190 | ty: &TyS, [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/lib.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | fn emit_lint(cx: &LateContext, lint: &'static Lint, span: Span) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lint` in this scope [INFO] [stdout] --> src/lib.rs:157:47 [INFO] [stdout] | [INFO] [stdout] 157 | fn emit_lint(cx: &LateContext, lint: &'static Lint, span: 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/lib.rs:157:59 [INFO] [stdout] | [INFO] [stdout] 157 | fn emit_lint(cx: &LateContext, lint: &'static Lint, span: Span) { [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/lib.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | fn check_use_map(cx: &LateContext, expr: &Expr) { [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/lib.rs:163:43 [INFO] [stdout] | [INFO] [stdout] 163 | fn check_use_map(cx: &LateContext, expr: &Expr) { [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/lib.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | fn check_use_try_map(cx: &LateContext, expr: &Expr) { [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/lib.rs:180:47 [INFO] [stdout] | [INFO] [stdout] 180 | fn check_use_try_map(cx: &LateContext, expr: &Expr) { [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/lib.rs:199:28 [INFO] [stdout] | [INFO] [stdout] 199 | fn check_use_into_map(cx: &LateContext, expr: &Expr) { [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/lib.rs:199:48 [INFO] [stdout] | [INFO] [stdout] 199 | fn check_use_into_map(cx: &LateContext, expr: &Expr) { [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/lib.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | fn check_use_into_try_map(cx: &LateContext, expr: &Expr) { [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/lib.rs:221:52 [INFO] [stdout] | [INFO] [stdout] 221 | fn check_use_into_try_map(cx: &LateContext, expr: &Expr) { [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/lib.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | cx: &LateContext, [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/lib.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | expr: &Expr, [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/lib.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | clone_kind: Symbol, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lint` in this scope [INFO] [stdout] --> src/lib.rs:247:25 [INFO] [stdout] | [INFO] [stdout] 247 | lint_kind: &'static Lint, [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/lib.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | fn check_use_dupe(cx: &LateContext, expr: &Expr) { [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/lib.rs:265:44 [INFO] [stdout] | [INFO] [stdout] 265 | fn check_use_dupe(cx: &LateContext, expr: &Expr) { [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/lib.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | fn check_use_duped(cx: &LateContext, expr: &Expr) { [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/lib.rs:291:45 [INFO] [stdout] | [INFO] [stdout] 291 | fn check_use_duped(cx: &LateContext, expr: &Expr) { [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/lib.rs:319:28 [INFO] [stdout] | [INFO] [stdout] 319 | fn check_dupe_on_copy(cx: &LateContext, expr: &Expr) { [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/lib.rs:319:48 [INFO] [stdout] | [INFO] [stdout] 319 | fn check_dupe_on_copy(cx: &LateContext, expr: &Expr) { [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/lib.rs:354:23 [INFO] [stdout] | [INFO] [stdout] 354 | fn check_use_box(cx: &LateContext, expr: &Expr) { [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/lib.rs:354:43 [INFO] [stdout] | [INFO] [stdout] 354 | fn check_use_box(cx: &LateContext, expr: &Expr) { [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/lib.rs:374:25 [INFO] [stdout] | [INFO] [stdout] 374 | fn check_impl_dupe(cx: &LateContext, item: &Item) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:374:45 [INFO] [stdout] | [INFO] [stdout] 374 | fn check_impl_dupe(cx: &LateContext, item: &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/lib.rs:376:14 [INFO] [stdout] | [INFO] [stdout] 376 | cx: &LateContext<'tcx>, [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/lib.rs:378:21 [INFO] [stdout] | [INFO] [stdout] 378 | dupe_trait: DefId, [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/lib.rs:407:27 [INFO] [stdout] | [INFO] [stdout] 407 | fn is_copy<'tcx>(cx: &LateContext<'tcx>, self_tys: rustc_middle::ty::Ty<'tcx>) -> 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/lib.rs:432:35 [INFO] [stdout] | [INFO] [stdout] 432 | fn check_use_bail_and_ensure(cx: &LateContext, expr: &Expr) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `gazebo_lint` [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/lib.rs:432:55 [INFO] [stdout] | [INFO] [stdout] 432 | fn check_use_bail_and_ensure(cx: &LateContext, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/lib.rs:457:30 [INFO] [stdout] | [INFO] [stdout] 457 | fn check_qualify_anyhow(cx: &LateContext, item: &Item) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:457:50 [INFO] [stdout] | [INFO] [stdout] 457 | fn check_qualify_anyhow(cx: &LateContext, item: &Item) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type dylib --crate-name gazebo_lint src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=a591652c361542c1 -L dependency=/opt/rustwide/target/debug/deps --extern smallvec=/opt/rustwide/target/debug/deps/libsmallvec-1d5297fdf9e8ed94.rmeta --cap-lints=warn --crate-version 0.1.1` (exit status: 1) [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/lib.rs:485:36 [INFO] [stdout] | [INFO] [stdout] 485 | fn check_anyhow_two_arguments(cx: &LateContext, ty: &Ty) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/lib.rs:485:54 [INFO] [stdout] | [INFO] [stdout] 485 | fn check_anyhow_two_arguments(cx: &LateContext, ty: &Ty) { [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/lib.rs:505:12 [INFO] [stdout] | [INFO] [stdout] 505 | impl<'tcx> LateLintPass<'tcx> for Pass { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pass` in this scope [INFO] [stdout] --> src/lib.rs:505:35 [INFO] [stdout] | [INFO] [stdout] 505 | impl<'tcx> LateLintPass<'tcx> for Pass { [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/lib.rs:506:35 [INFO] [stdout] | [INFO] [stdout] 506 | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { [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/lib.rs:506:66 [INFO] [stdout] | [INFO] [stdout] 506 | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { [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/lib.rs:520:40 [INFO] [stdout] | [INFO] [stdout] 520 | fn check_item_post(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx>) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:520:71 [INFO] [stdout] | [INFO] [stdout] 520 | fn check_item_post(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx>) { [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/lib.rs:525:33 [INFO] [stdout] | [INFO] [stdout] 525 | fn check_ty(&mut self, cx: &LateContext<'tcx>, item: &'tcx Ty<'tcx>) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/lib.rs:525:64 [INFO] [stdout] | [INFO] [stdout] 525 | fn check_ty(&mut self, cx: &LateContext<'tcx>, item: &'tcx Ty<'tcx>) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/lib.rs:532:35 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn plugin_registrar(reg: &mut Registry) { [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:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #![feature(plugin_registrar)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 93 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "42f89bf4ca76adc40b10c9ef3cdcd109f99e94e7b067926aab8c42ef09eb6839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42f89bf4ca76adc40b10c9ef3cdcd109f99e94e7b067926aab8c42ef09eb6839", kill_on_drop: false }` [INFO] [stdout] 42f89bf4ca76adc40b10c9ef3cdcd109f99e94e7b067926aab8c42ef09eb6839