[INFO] fetching crate copypasteck 0.1.4... [INFO] documenting copypasteck-0.1.4 against beta-2022-05-20 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 beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate 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" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d90f7677cd4acc8f6c52dd89f4417a4787817098ae8e64b02173b4d02bc36aa [INFO] running `Command { std: "docker" "start" "-a" "9d90f7677cd4acc8f6c52dd89f4417a4787817098ae8e64b02173b4d02bc36aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d90f7677cd4acc8f6c52dd89f4417a4787817098ae8e64b02173b4d02bc36aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d90f7677cd4acc8f6c52dd89f4417a4787817098ae8e64b02173b4d02bc36aa", kill_on_drop: false }` [INFO] [stdout] 9d90f7677cd4acc8f6c52dd89f4417a4787817098ae8e64b02173b4d02bc36aa [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" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb22ae0f41764016c8edffce03d8e84c4bedf559012291431595ad33cca86733 [INFO] running `Command { std: "docker" "start" "-a" "eb22ae0f41764016c8edffce03d8e84c4bedf559012291431595ad33cca86733", kill_on_drop: false }` [INFO] [stderr] Documenting copypasteck v0.1.4 (/opt/rustwide/workdir) [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] [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/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.lsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `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[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[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 `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 `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 `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 `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 `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] [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] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `copypasteck` [INFO] [stderr] [INFO] [stderr] Caused by: [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=9f9c4b0bf76af3f7 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.4` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "eb22ae0f41764016c8edffce03d8e84c4bedf559012291431595ad33cca86733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb22ae0f41764016c8edffce03d8e84c4bedf559012291431595ad33cca86733", kill_on_drop: false }` [INFO] [stdout] eb22ae0f41764016c8edffce03d8e84c4bedf559012291431595ad33cca86733