[INFO] cloning repository https://github.com/Emilgardis/cargo-whynot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Emilgardis/cargo-whynot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilgardis%2Fcargo-whynot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilgardis%2Fcargo-whynot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4b09ed00eed5cf88ed52e9a66c9b0fb34e70a80f
[INFO] documenting Emilgardis/cargo-whynot against nightly for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilgardis%2Fcargo-whynot" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Emilgardis/cargo-whynot on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Emilgardis/cargo-whynot
[INFO] finished tweaking git repo https://github.com/Emilgardis/cargo-whynot
[INFO] tweaked toml for git repo https://github.com/Emilgardis/cargo-whynot written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/Emilgardis/cargo-whynot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn-select v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8481411836ff4b365cb061a8c30ec248c074534e62de6c4321bfd14418c1a43a
[INFO] running `Command { std: "docker" "start" "-a" "8481411836ff4b365cb061a8c30ec248c074534e62de6c4321bfd14418c1a43a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8481411836ff4b365cb061a8c30ec248c074534e62de6c4321bfd14418c1a43a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8481411836ff4b365cb061a8c30ec248c074534e62de6c4321bfd14418c1a43a", kill_on_drop: false }`
[INFO] [stdout] 8481411836ff4b365cb061a8c30ec248c074534e62de6c4321bfd14418c1a43a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 787490efc84f9ba260c2c70a2df563c465327752962a1fc1b9e6ccce0d68ba9d
[INFO] running `Command { std: "docker" "start" "-a" "787490efc84f9ba260c2c70a2df563c465327752962a1fc1b9e6ccce0d68ba9d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking unicode-xid v0.2.2
[INFO] [stderr]    Compiling libc v0.2.124
[INFO] [stderr]     Checking gimli v0.26.1
[INFO] [stderr]    Compiling eyre v0.6.8
[INFO] [stderr]     Checking owo-colors v3.4.0
[INFO] [stderr]     Checking indenter v0.3.3
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]     Checking thread_local v1.1.4
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]     Checking miniz_oxide v0.5.1
[INFO] [stderr]     Checking clap_lex v0.1.1
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking tracing-log v0.1.3
[INFO] [stderr]    Compiling backtrace v0.3.65
[INFO] [stderr]     Checking object v0.28.3
[INFO] [stderr]     Checking quote v1.0.18
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking syn-select v0.2.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tracing-attributes v0.1.20
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling clap_derive v3.1.7
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]     Checking tracing-subscriber v0.3.11
[INFO] [stderr]     Checking clap v3.1.12
[INFO] [stderr]     Checking tracing-error v0.2.0
[INFO] [stderr]     Checking color-spantrace v0.2.0
[INFO] [stderr]     Checking color-eyre v0.6.1
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]     Checking codespan v0.11.1
[INFO] [stderr]  Documenting cargo-whynot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `rustc_codegen_ssa`
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate rustc_codegen_ssa;
[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_driver`
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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_errors`
[INFO] [stdout]  --> src/main.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | extern crate rustc_errors;
[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/main.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | 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_interface`
[INFO] [stdout]  --> src/main.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | extern crate rustc_interface;
[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_metadata`
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | extern crate rustc_metadata;
[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/main.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | 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_session`
[INFO] [stdout]   --> src/main.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | 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[E0463]: can't find crate for `rustc_span`
[INFO] [stdout]   --> src/main.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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[E0412]: cannot find type `ExprKind` in this scope
[INFO] [stdout]   --> src/safe/expr.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn of(ek: &ExprKind<'_>) -> Option<Category> {
[INFO] [stdout]    |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Thir` in this scope
[INFO] [stdout]   --> src/safe/unsafety_visitor.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |     thir: &'a Thir<'tcx>,
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Thir` in this scope
[INFO] [stdout]   --> src/safe/unsafety_visitor.rs:50:15
[INFO] [stdout]    |
[INFO] [stdout] 50 |     thir: &'a Thir<'tcx>,
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Thir` in this scope
[INFO] [stdout]   --> src/safe/unsafety_visitor.rs:55:22
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn new(thir: &'a Thir<'tcx>, tcx: TyCtxt<'tcx>) -> Self {
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Thir` in this scope
[INFO] [stdout]   --> src/safe/unsafety_visitor.rs:65:27
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn thir(&self) -> &'a Thir<'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/safe/unsafety_visitor.rs:69:37
[INFO] [stdout]    |
[INFO] [stdout] 69 |     fn visit_expr(&mut self, expr: &Expr<'tcx>) {
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Thir` in this scope
[INFO] [stdout]   --> src/safe/unsafety_visitor.rs:96:27
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn thir(&self) -> &'a Thir<'tcx> {
[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/safe/unsafety_visitor.rs:100:39
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn visit_block(&mut self, block: &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/safe/unsafety_visitor.rs:104:35
[INFO] [stdout]     |
[INFO] [stdout] 104 |     fn visit_pat(&mut self, pat: &Pat<'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/safe/unsafety_visitor.rs:185:37
[INFO] [stdout]     |
[INFO] [stdout] 185 |     fn visit_expr(&mut self, expr: &Expr<'tcx>) {
[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 20 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `cargo-whynot`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name cargo_whynot src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=2cd63757bdbcc98f -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-a95a1496e834b65d.rmeta --extern codespan=/opt/rustwide/target/debug/deps/libcodespan-29dee379b765e881.rmeta --extern codespan_reporting=/opt/rustwide/target/debug/deps/libcodespan_reporting-0104cca5d04e0797.rmeta --extern color_eyre=/opt/rustwide/target/debug/deps/libcolor_eyre-1b4c4aa0fcb7216c.rmeta --extern eyre=/opt/rustwide/target/debug/deps/libeyre-367d0ffeeb4257c0.rmeta --extern itertools=/opt/rustwide/target/debug/deps/libitertools-731c5c3c3784abe8.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-1715d6ec0046851e.rmeta --extern syn_select=/opt/rustwide/target/debug/deps/libsyn_select-630a908c1d25819c.rmeta --extern termcolor=/opt/rustwide/target/debug/deps/libtermcolor-782c0de44506176a.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-fe47e31a1428e855.rmeta --extern tracing_error=/opt/rustwide/target/debug/deps/libtracing_error-3d8032d823f94817.rmeta --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-745e7cdecc994102.rmeta --cap-lints=allow --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "787490efc84f9ba260c2c70a2df563c465327752962a1fc1b9e6ccce0d68ba9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "787490efc84f9ba260c2c70a2df563c465327752962a1fc1b9e6ccce0d68ba9d", kill_on_drop: false }`
[INFO] [stdout] 787490efc84f9ba260c2c70a2df563c465327752962a1fc1b9e6ccce0d68ba9d
