[INFO] fetching crate apply_pub 0.0.2... [INFO] documenting apply_pub-0.0.2 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate apply_pub 0.0.2 into /workspace/builds/worker-111/source [INFO] validating manifest of crates.io crate apply_pub 0.0.2 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 apply_pub 0.0.2 [INFO] finished tweaking crates.io crate apply_pub 0.0.2 [INFO] tweaked toml for crates.io crate apply_pub 0.0.2 written to /workspace/builds/worker-111/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-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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] c4756a610ca0cb11d1ee5f2ed381281815e86fe17624a51b017bbe8131ee45ea [INFO] running `Command { std: "docker" "start" "-a" "c4756a610ca0cb11d1ee5f2ed381281815e86fe17624a51b017bbe8131ee45ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4756a610ca0cb11d1ee5f2ed381281815e86fe17624a51b017bbe8131ee45ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4756a610ca0cb11d1ee5f2ed381281815e86fe17624a51b017bbe8131ee45ea", kill_on_drop: false }` [INFO] [stdout] c4756a610ca0cb11d1ee5f2ed381281815e86fe17624a51b017bbe8131ee45ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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] 81db47dc9c60eb17420c4dff48dc72386fa5bd1ba6961094a023f7710eb64ddd [INFO] running `Command { std: "docker" "start" "-a" "81db47dc9c60eb17420c4dff48dc72386fa5bd1ba6961094a023f7710eb64ddd", kill_on_drop: false }` [INFO] [stderr] Documenting apply_pub v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | #![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 `syntax` [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | 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:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | 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: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | #[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 `ast` [INFO] [stdout] --> src/lib.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | _meta_item: &ast::MetaItem, [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:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | item: P) [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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | -> P { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/lib.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn plugin_registrar(reg: &mut Registry) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ItemModifier` in this scope [INFO] [stdout] --> src/lib.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | impl ItemModifier for Expand { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/lib.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | ecx: &mut ExtCtxt, [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:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | span: Span, [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:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | item: P) [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:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Folder` in this scope [INFO] [stdout] --> src/lib.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | impl Folder for ApplyPubFolder { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ViewItem` in this scope [INFO] [stdout] --> src/lib.rs:127:38 [INFO] [stdout] | [INFO] [stdout] 127 | fn fold_view_item(&mut self, vi: ViewItem) -> ViewItem { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ViewItem` in this scope [INFO] [stdout] --> src/lib.rs:127:51 [INFO] [stdout] | [INFO] [stdout] 127 | fn fold_view_item(&mut self, vi: ViewItem) -> ViewItem { [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:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | fn fold_item(&mut self, i: P) -> SmallVector> { [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:135:34 [INFO] [stdout] | [INFO] [stdout] 126 | impl Folder for ApplyPubFolder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 135 | fn fold_item(&mut self, i: P) -> SmallVector> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SmallVector` in this scope [INFO] [stdout] --> src/lib.rs:135:44 [INFO] [stdout] | [INFO] [stdout] 135 | fn fold_item(&mut self, i: P) -> SmallVector> { [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:135:56 [INFO] [stdout] | [INFO] [stdout] 135 | fn fold_item(&mut self, i: P) -> SmallVector> { [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:135:58 [INFO] [stdout] | [INFO] [stdout] 126 | impl Folder for ApplyPubFolder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 135 | fn fold_item(&mut self, i: P) -> SmallVector> { [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/lib.rs:160:41 [INFO] [stdout] | [INFO] [stdout] 160 | fn fold_struct_field(&mut self, sf: StructField) -> StructField { [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/lib.rs:160:57 [INFO] [stdout] | [INFO] [stdout] 160 | fn fold_struct_field(&mut self, sf: StructField) -> StructField { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn fold_method(&mut self, m: P) -> SmallVector> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Method` in this scope [INFO] [stdout] --> src/lib.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 126 | impl Folder for ApplyPubFolder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 169 | fn fold_method(&mut self, m: P) -> SmallVector> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SmallVector` in this scope [INFO] [stdout] --> src/lib.rs:169:48 [INFO] [stdout] | [INFO] [stdout] 169 | fn fold_method(&mut self, m: P) -> SmallVector> { [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:169:60 [INFO] [stdout] | [INFO] [stdout] 169 | fn fold_method(&mut self, m: P) -> SmallVector> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Method` in this scope [INFO] [stdout] --> src/lib.rs:169:62 [INFO] [stdout] | [INFO] [stdout] 126 | impl Folder for ApplyPubFolder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 169 | fn fold_method(&mut self, m: P) -> SmallVector> { [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:186:41 [INFO] [stdout] | [INFO] [stdout] 186 | fn fold_foreign_item(&mut self, ni: P) -> P { [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/lib.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 126 | impl Folder for ApplyPubFolder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 186 | fn fold_foreign_item(&mut self, ni: P) -> P { [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:186:60 [INFO] [stdout] | [INFO] [stdout] 186 | fn fold_foreign_item(&mut self, ni: P) -> P { [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/lib.rs:186:62 [INFO] [stdout] | [INFO] [stdout] 126 | impl Folder for ApplyPubFolder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 186 | fn fold_foreign_item(&mut self, ni: P) -> P { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/lib.rs:77:82 [INFO] [stdout] | [INFO] [stdout] 77 | reg.register_syntax_extension(token::intern(NAME), SyntaxExtension::Modifier(box Expand)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463, E0557, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not document `apply_pub` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type dylib --crate-name apply_pub src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=3a18ec82972148d2 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.0.2` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "81db47dc9c60eb17420c4dff48dc72386fa5bd1ba6961094a023f7710eb64ddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81db47dc9c60eb17420c4dff48dc72386fa5bd1ba6961094a023f7710eb64ddd", kill_on_drop: false }` [INFO] [stdout] 81db47dc9c60eb17420c4dff48dc72386fa5bd1ba6961094a023f7710eb64ddd