[INFO] fetching crate rfi_codegen 0.1.0-dev... [INFO] documenting rfi_codegen-0.1.0-dev against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate rfi_codegen 0.1.0-dev into /workspace/builds/worker-18/source [INFO] validating manifest of crates.io crate rfi_codegen 0.1.0-dev 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 rfi_codegen 0.1.0-dev [INFO] finished tweaking crates.io crate rfi_codegen 0.1.0-dev [INFO] tweaked toml for crates.io crate rfi_codegen 0.1.0-dev written to /workspace/builds/worker-18/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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rfi v0.1.0-dev [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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] 3c93d402ce13e0632bbb8275127e9a0d963a02b1cfff667f0d1f86c2dd78b363 [INFO] running `Command { std: "docker" "start" "-a" "3c93d402ce13e0632bbb8275127e9a0d963a02b1cfff667f0d1f86c2dd78b363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c93d402ce13e0632bbb8275127e9a0d963a02b1cfff667f0d1f86c2dd78b363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c93d402ce13e0632bbb8275127e9a0d963a02b1cfff667f0d1f86c2dd78b363", kill_on_drop: false }` [INFO] [stdout] 3c93d402ce13e0632bbb8275127e9a0d963a02b1cfff667f0d1f86c2dd78b363 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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] cb8efa543c9bf71db025ee4c14bd325fbcf7827e316e63c4ad30ff2017c1e8d6 [INFO] running `Command { std: "docker" "start" "-a" "cb8efa543c9bf71db025ee4c14bd325fbcf7827e316e63c4ad30ff2017c1e8d6", kill_on_drop: false }` [INFO] [stderr] Checking serde_json v1.0.81 [INFO] [stderr] Checking rfi v0.1.0-dev [INFO] [stderr] Documenting rfi_codegen v0.1.0-dev (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(quote, plugin_registrar, rustc_private)] [INFO] [stdout] | ^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(quote, plugin_registrar, rustc_private)] [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:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | 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 `rustc_plugin` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate rustc_plugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `TyKind` [INFO] [stdout] --> src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use TyKind::*; [INFO] [stdout] | ^^^^^^ maybe a missing crate `TyKind`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:57:52 [INFO] [stdout] | [INFO] [stdout] 57 | let mut x = ectx.expr_tup_field_access(sp, quote_expr!(ectx, args), i).to_tokens(ectx); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_stmt` in this scope [INFO] [stdout] --> src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | quote_stmt!(ectx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_stmt` in this scope [INFO] [stdout] --> src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | quote_stmt!(ectx, let _ = ();).unwrap() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_item` in this scope [INFO] [stdout] --> src/lib.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let wrapper_fn = quote_item!(ectx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | #[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[E0412]: cannot find type `Spanned` in this scope [INFO] [stdout] --> src/utils/function.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Function(Spanned<(Ident, FnDecl)>); [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/utils/function.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Function(Spanned<(Ident, FnDecl)>); [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 `FnDecl` in this scope [INFO] [stdout] --> src/utils/function.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Function(Spanned<(Ident, FnDecl)>); [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 `Annotatable` in this scope [INFO] [stdout] --> src/utils/function.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from(annotated: &Annotatable) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/utils/function.rs:10:62 [INFO] [stdout] | [INFO] [stdout] 9 | impl Function { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 10 | pub fn from(annotated: &Annotatable) -> Result { [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/utils/function.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn ident(&self) -> &Ident { [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/utils/function.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn decl(&self) -> &FnDecl { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/utils/function.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn span(&self) -> Span { [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:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | fn expand(ectx: &mut ExtCtxt, sp: Span, _: &MetaItem, annotated: Annotatable) -> Vec { [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:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | fn expand(ectx: &mut ExtCtxt, sp: Span, _: &MetaItem, annotated: Annotatable) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MetaItem` in this scope [INFO] [stdout] --> src/lib.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | fn expand(ectx: &mut ExtCtxt, sp: Span, _: &MetaItem, annotated: Annotatable) -> Vec { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Annotatable` in this scope [INFO] [stdout] --> src/lib.rs:28:66 [INFO] [stdout] | [INFO] [stdout] 28 | fn expand(ectx: &mut ExtCtxt, sp: Span, _: &MetaItem, annotated: Annotatable) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Annotatable` in this scope [INFO] [stdout] --> src/lib.rs:28:86 [INFO] [stdout] | [INFO] [stdout] 28 | fn expand(ectx: &mut ExtCtxt, sp: Span, _: &MetaItem, annotated: Annotatable) -> Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^^^^^^^ 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:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | 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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(quote, plugin_registrar, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0463, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `rfi_codegen` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type dylib --crate-name rfi_codegen src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=dba073ba118a1480 -L dependency=/opt/rustwide/target/debug/deps --extern rfi=/opt/rustwide/target/debug/deps/librfi-2c2e26f85c664184.rmeta --cap-lints=warn --crate-version 0.1.0-dev` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "cb8efa543c9bf71db025ee4c14bd325fbcf7827e316e63c4ad30ff2017c1e8d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb8efa543c9bf71db025ee4c14bd325fbcf7827e316e63c4ad30ff2017c1e8d6", kill_on_drop: false }` [INFO] [stdout] cb8efa543c9bf71db025ee4c14bd325fbcf7827e316e63c4ad30ff2017c1e8d6