[INFO] fetching crate copypasteck 0.1.4... [INFO] documenting copypasteck-0.1.4 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate copypasteck 0.1.4 into /workspace/builds/worker-61/source [INFO] validating manifest of crates.io crate copypasteck 0.1.4 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 copypasteck 0.1.4 [INFO] finished tweaking crates.io crate copypasteck 0.1.4 [INFO] tweaked toml for crates.io crate copypasteck 0.1.4 written to /workspace/builds/worker-61/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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] 86c517f8cb87464084cd35199da24c9282d30ebee87e3507025a3b1f6614ab0f [INFO] running `Command { std: "docker" "start" "-a" "86c517f8cb87464084cd35199da24c9282d30ebee87e3507025a3b1f6614ab0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86c517f8cb87464084cd35199da24c9282d30ebee87e3507025a3b1f6614ab0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c517f8cb87464084cd35199da24c9282d30ebee87e3507025a3b1f6614ab0f", kill_on_drop: false }` [INFO] [stdout] 86c517f8cb87464084cd35199da24c9282d30ebee87e3507025a3b1f6614ab0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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] 7d2d968203a4d1d89bad54b3fb500dae517a1d1daf5d8f63f86cb933babfc2ae [INFO] running `Command { std: "docker" "start" "-a" "7d2d968203a4d1d89bad54b3fb500dae517a1d1daf5d8f63f86cb933babfc2ae", kill_on_drop: false }` [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![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] [stderr] Documenting copypasteck v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] 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 `syntax` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[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: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.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/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | lint_array!(COPY_PASTE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/hasher.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn hash_expr(e: &ast::Expr) -> u64 { [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/hasher.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn hash_block(b: &ast::Block) -> u64 { [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 `token` [INFO] [stdout] --> src/hasher.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | SawIdent(token::InternedString), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | SawStructDef(token::InternedString), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | SawLifetimeRef(token::InternedString), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | SawLifetimeDef(token::InternedString), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | SawExprLoop(Option), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | SawExprField(token::InternedString), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | SawExprBreak(Option), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | SawExprAgain(Option), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/hasher.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | SawExprBinary(ast::BinOp), [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/hasher.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | SawExprUnary(ast::UnOp), [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/hasher.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | SawExprLit(ast::Lit_), [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/hasher.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | SawExprAssignOp(ast::BinOp), [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/hasher.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | SawExprAddrOf(ast::Mutability), [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/hasher.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | SawExprInlineAsm(&'a ast::InlineAsm), [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 `token` [INFO] [stdout] --> src/hasher.rs:211:43 [INFO] [stdout] | [INFO] [stdout] 211 | trait InternKey { fn get_content(self) -> token::InternedString; } [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | fn get_content(self) -> token::InternedString { token::get_ident(self) } [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:216:29 [INFO] [stdout] | [INFO] [stdout] 216 | fn get_content(self) -> token::InternedString { token::get_name(self) } [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | fn content(k: K) -> token::InternedString { k.get_content() } [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:247:37 [INFO] [stdout] | [INFO] [stdout] 247 | fn macro_name(mac: &Mac) -> token::InternedString { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/hasher.rs:375:46 [INFO] [stdout] | [INFO] [stdout] 375 | fn visit_path(&mut self, path: &Path, _: 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 `ast` [INFO] [stdout] --> src/lib.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | fn check_expr(&mut self, cx: &Context, e: &ast::Expr) { [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/lib.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | mut cond: &'a ast::Expr, [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/lib.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | mut body: &'a ast::Block, [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/lib.rs:114:36 [INFO] [stdout] | [INFO] [stdout] 114 | mut next: &'a 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/lib.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | arms: &[ast::Arm]) { [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/lib.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | impl SourceObject for ast::Block { [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/lib.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | impl SourceObject for ast::Expr { [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/lib.rs:192:35 [INFO] [stdout] | [INFO] [stdout] 192 | impl<'a> SourceObject for (&'a [P], &'a 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/lib.rs:192:60 [INFO] [stdout] | [INFO] [stdout] 192 | impl<'a> SourceObject for (&'a [P], &'a Option>) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr_` in this scope [INFO] [stdout] --> src/hasher.rs:151:27 [INFO] [stdout] | [INFO] [stdout] 151 | fn saw_expr<'a>(node: &'a Expr_) -> SawExprComponent<'a> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt_` in this scope [INFO] [stdout] --> src/hasher.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | fn saw_stmt(node: &Stmt_) -> SawStmtComponent { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/hasher.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | impl InternKey for Ident { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> src/hasher.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | impl InternKey for Name { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope [INFO] [stdout] --> src/hasher.rs:220:14 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a, 'v> Visitor<'v> for StrictVersionHashVisitor<'a> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mac` in this scope [INFO] [stdout] --> src/hasher.rs:222:35 [INFO] [stdout] | [INFO] [stdout] 222 | fn visit_mac(&mut self, mac: &Mac) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mac` in this scope [INFO] [stdout] --> src/hasher.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | fn macro_name(mac: &Mac) -> token::InternedString { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructDef` in this scope [INFO] [stdout] --> src/hasher.rs:258:40 [INFO] [stdout] | [INFO] [stdout] 258 | fn visit_struct_def(&mut self, s: &StructDef, ident: Ident, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/hasher.rs:258:58 [INFO] [stdout] | [INFO] [stdout] 258 | fn visit_struct_def(&mut self, s: &StructDef, ident: Ident, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Generics` in this scope [INFO] [stdout] --> src/hasher.rs:259:29 [INFO] [stdout] | [INFO] [stdout] 259 | g: &Generics, _: NodeId) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/hasher.rs:259:42 [INFO] [stdout] | [INFO] [stdout] 259 | g: &Generics, _: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Variant` in this scope [INFO] [stdout] --> src/hasher.rs:265:37 [INFO] [stdout] | [INFO] [stdout] 265 | fn visit_variant(&mut self, v: &Variant, g: &Generics) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Generics` in this scope [INFO] [stdout] --> src/hasher.rs:265:50 [INFO] [stdout] | [INFO] [stdout] 265 | fn visit_variant(&mut self, v: &Variant, g: &Generics) { [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/hasher.rs:272:45 [INFO] [stdout] | [INFO] [stdout] 272 | fn visit_opt_lifetime_ref(&mut self, _: Span, l: &Option) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lifetime` in this scope [INFO] [stdout] --> src/hasher.rs:272:62 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a, 'v> Visitor<'v> for StrictVersionHashVisitor<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Lifetime` [INFO] [stdout] ... [INFO] [stdout] 272 | fn visit_opt_lifetime_ref(&mut self, _: Span, l: &Option) { [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/hasher.rs:297:34 [INFO] [stdout] | [INFO] [stdout] 297 | fn visit_ident(&mut self, _: Span, ident: Ident) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/hasher.rs:297:47 [INFO] [stdout] | [INFO] [stdout] 297 | fn visit_ident(&mut self, _: Span, ident: Ident) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lifetime` in this scope [INFO] [stdout] --> src/hasher.rs:301:42 [INFO] [stdout] | [INFO] [stdout] 301 | fn visit_lifetime_ref(&mut self, l: &Lifetime) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LifetimeDef` in this scope [INFO] [stdout] --> src/hasher.rs:305:42 [INFO] [stdout] | [INFO] [stdout] 305 | fn visit_lifetime_def(&mut self, l: &LifetimeDef) { [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/hasher.rs:314:35 [INFO] [stdout] | [INFO] [stdout] 314 | fn visit_expr(&mut self, ex: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> src/hasher.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | fn visit_stmt(&mut self, s: &Stmt) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForeignItem` in this scope [INFO] [stdout] --> src/hasher.rs:322:42 [INFO] [stdout] | [INFO] [stdout] 322 | fn visit_foreign_item(&mut self, i: &ForeignItem) { [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/hasher.rs:330:34 [INFO] [stdout] | [INFO] [stdout] 330 | fn visit_item(&mut self, i: &Item) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mod` in this scope [INFO] [stdout] --> src/hasher.rs:338:33 [INFO] [stdout] | [INFO] [stdout] 338 | fn visit_mod(&mut self, m: &Mod, _s: Span, _n: NodeId) { [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/hasher.rs:338:42 [INFO] [stdout] | [INFO] [stdout] 338 | fn visit_mod(&mut self, m: &Mod, _s: Span, _n: NodeId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/hasher.rs:338:52 [INFO] [stdout] | [INFO] [stdout] 338 | fn visit_mod(&mut self, m: &Mod, _s: Span, _n: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decl` in this scope [INFO] [stdout] --> src/hasher.rs:342:34 [INFO] [stdout] | [INFO] [stdout] 342 | fn visit_decl(&mut self, d: &Decl) { [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/hasher.rs:346:32 [INFO] [stdout] | [INFO] [stdout] 346 | fn visit_ty(&mut self, t: &Ty) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Generics` in this scope [INFO] [stdout] --> src/hasher.rs:350:38 [INFO] [stdout] | [INFO] [stdout] 350 | fn visit_generics(&mut self, g: &Generics) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope [INFO] [stdout] --> src/hasher.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | fn visit_fn(&mut self, fk: FnKind<'v>, fd: &'v FnDecl, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/hasher.rs:354:52 [INFO] [stdout] | [INFO] [stdout] 354 | fn visit_fn(&mut self, fk: FnKind<'v>, fd: &'v FnDecl, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/hasher.rs:355:24 [INFO] [stdout] | [INFO] [stdout] 355 | b: &'v Block, s: Span, _: NodeId) { [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/hasher.rs:355:34 [INFO] [stdout] | [INFO] [stdout] 355 | b: &'v Block, s: Span, _: NodeId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/hasher.rs:355:43 [INFO] [stdout] | [INFO] [stdout] 355 | b: &'v Block, s: Span, _: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TypeMethod` in this scope [INFO] [stdout] --> src/hasher.rs:359:39 [INFO] [stdout] | [INFO] [stdout] 359 | fn visit_ty_method(&mut self, t: &TypeMethod) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitItem` in this scope [INFO] [stdout] --> src/hasher.rs:363:40 [INFO] [stdout] | [INFO] [stdout] 363 | fn visit_trait_item(&mut self, t: &TraitItem) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope [INFO] [stdout] --> src/hasher.rs:367:42 [INFO] [stdout] | [INFO] [stdout] 367 | fn visit_struct_field(&mut self, s: &StructField) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExplicitSelf` in this scope [INFO] [stdout] --> src/hasher.rs:371:44 [INFO] [stdout] | [INFO] [stdout] 371 | fn visit_explicit_self(&mut self, es: &ExplicitSelf) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/hasher.rs:375:37 [INFO] [stdout] | [INFO] [stdout] 375 | fn visit_path(&mut self, path: &Path, _: ast::NodeId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/hasher.rs:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | fn visit_block(&mut self, b: &Block) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope [INFO] [stdout] --> src/hasher.rs:383:33 [INFO] [stdout] | [INFO] [stdout] 383 | fn visit_pat(&mut self, p: &Pat) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Local` in this scope [INFO] [stdout] --> src/hasher.rs:387:35 [INFO] [stdout] | [INFO] [stdout] 387 | fn visit_local(&mut self, l: &Local) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `copypasteck` [INFO] [stdout] error[E0412]: cannot find type `Arm` in this scope [INFO] [stdout] --> src/hasher.rs:391:33 [INFO] [stdout] | [INFO] [stdout] 391 | fn visit_arm(&mut self, a: &Arm) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/lib.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn plugin_registrar(reg: &mut Registry) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] error[E0412]: cannot find type `NodeSet` in this scope [INFO] [stdout] --> src/lib.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | checked_ifs: NodeSet, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type dylib --crate-name copypasteck src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=b3e6ffa9db8b9ff8 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.4` (exit status: 1) [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> src/lib.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | impl LintPass for CopyPaste { [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/lib.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | fn check_expr(&mut self, cx: &Context, e: &ast::Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | fn check_and_insert(cx: &Context, seen: &mut Map, val: T, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | fn check_if<'a>(cx: &Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeSet` in this scope [INFO] [stdout] --> src/lib.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | checked: &mut NodeSet, [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/lib.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | mut next: &'a Option>) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | fn check_match(cx: &Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | fn span(&self) -> 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:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | fn span(&self) -> Span { self.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:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | fn span(&self) -> Span { self.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:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | fn span(&self) -> Span { SourceObject::span(*self) } [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/lib.rs:185:40 [INFO] [stdout] | [INFO] [stdout] 185 | impl SourceObject for P { [INFO] [stdout] | - ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `S` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | fn span(&self) -> Span { SourceObject::span(&**self) } [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/lib.rs:192:33 [INFO] [stdout] | [INFO] [stdout] 192 | impl<'a> SourceObject for (&'a [P], &'a Option>) { [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/lib.rs:192:58 [INFO] [stdout] | [INFO] [stdout] 192 | impl<'a> SourceObject for (&'a [P], &'a Option>) { [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:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | fn span(&self) -> Span { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 100 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7d2d968203a4d1d89bad54b3fb500dae517a1d1daf5d8f63f86cb933babfc2ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d2d968203a4d1d89bad54b3fb500dae517a1d1daf5d8f63f86cb933babfc2ae", kill_on_drop: false }` [INFO] [stdout] 7d2d968203a4d1d89bad54b3fb500dae517a1d1daf5d8f63f86cb933babfc2ae