[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 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilgardis%2Fcargo-whynot" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Emilgardis/cargo-whynot 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 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-1/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" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded eyre v0.6.8 [INFO] [stderr] Downloaded owo-colors v3.4.0 [INFO] [stderr] Downloaded clap_lex v0.1.1 [INFO] [stderr] Downloaded clap v3.1.12 [INFO] [stderr] Downloaded codespan v0.11.1 [INFO] [stderr] Downloaded matchers v0.1.0 [INFO] [stderr] Downloaded color-eyre v0.6.1 [INFO] [stderr] Downloaded syn-select v0.2.0 [INFO] [stderr] Downloaded object v0.28.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 35541600e5558c5cf65ab7cdac9fefaa664b0d45008fd189a6faf4e0c09d6903 [INFO] running `Command { std: "docker" "start" "-a" "35541600e5558c5cf65ab7cdac9fefaa664b0d45008fd189a6faf4e0c09d6903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35541600e5558c5cf65ab7cdac9fefaa664b0d45008fd189a6faf4e0c09d6903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35541600e5558c5cf65ab7cdac9fefaa664b0d45008fd189a6faf4e0c09d6903", kill_on_drop: false }` [INFO] [stdout] 35541600e5558c5cf65ab7cdac9fefaa664b0d45008fd189a6faf4e0c09d6903 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 13b43aae10add0f3a9d3f4ac6c4ee256e632c6826d861b318fcff0f7468dfb98 [INFO] running `Command { std: "docker" "start" "-a" "13b43aae10add0f3a9d3f4ac6c4ee256e632c6826d861b318fcff0f7468dfb98", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking log v0.4.16 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking object v0.28.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking syn-select v0.2.0 [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[E0433]: failed to resolve: use of undeclared crate or module `config` [INFO] [stdout] --> src/run.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | set_codegen: Option Box + Send>>, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/safe/unsafety_visitor.rs:544:10 [INFO] [stdout] | [INFO] [stdout] 544 | def: ty::WithOptConstParam, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/safe.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn run(&self, tcx: ty::TyCtxt<'_>) -> Result<()> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/safe.rs:227:14 [INFO] [stdout] | [INFO] [stdout] 227 | tcx: ty::TyCtxt<'_>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/safe.rs:274:14 [INFO] [stdout] | [INFO] [stdout] 274 | tcx: ty::TyCtxt<'tcx>, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/safe.rs:310:31 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn search(&self, tcx: ty::TyCtxt<'_>) -> Result<(LocalDefId, FnHeader)> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `CodegenBackend` in this scope [INFO] [stdout] --> src/run.rs:43:69 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn rustc_run>( [INFO] [stdout] | - help: you might be missing a type parameter: `, CodegenBackend` [INFO] [stdout] 42 | callbacks: Option<&mut (dyn rustc_driver::Callbacks + Send)>, [INFO] [stdout] 43 | set_codegen: Option Box + Send>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [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 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | tcx: TyCtxt<'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: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 `Symbol` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 15 | struct UnsafetyVisitor<'a, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Symbol` [INFO] [stdout] ... [INFO] [stdout] 26 | body_target_features: &'tcx Vec, [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/safe/unsafety_visitor.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | assignment_info: Option<(Ty<'tcx>, 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/safe/unsafety_visitor.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | assignment_info: Option<(Ty<'tcx>, Span)>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use codespan::Span; [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParamEnv` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | param_env: ParamEnv<'tcx>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 15 | struct UnsafetyVisitor<'a, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LocalDefId` [INFO] [stdout] ... [INFO] [stdout] 33 | violations: Arc>>, [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/safe/unsafety_visitor.rs:33:58 [INFO] [stdout] | [INFO] [stdout] 33 | violations: Arc>>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use codespan::Span; [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | current_did: LocalDefId, [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/safe/unsafety_visitor.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | fn requires_unsafe(&mut self, span: Span, kind: UnsafeOpKind) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use codespan::Span; [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::Span; [INFO] [stdout] | [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 `TyCtxt` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | tcx: TyCtxt<'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 `TyCtxt` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:55:39 [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[E0405]: cannot find trait `Visitor` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | impl<'a, 'tcx> Visitor<'a, 'tcx> for LayoutConstrainedPlaceVisitor<'a, 'tcx> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::Visitor; [INFO] [stdout] | [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[E0405]: cannot find trait `Visitor` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | impl<'a, 'tcx> Visitor<'a, 'tcx> for UnsafetyVisitor<'a, 'tcx> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::Visitor; [INFO] [stdout] | [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[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 421 | Unsafe(Span), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use codespan::Span; [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:433:33 [INFO] [stdout] | [INFO] [stdout] 432 | pub enum UnsafeOpKind { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 433 | CallToUnsafeFunction(Option), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | CallToFunctionWith(DefId), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:470:45 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn description_and_note(&self, tcx: TyCtxt<'_>) -> (Cow<'static, str>, &'static str) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:543:10 [INFO] [stdout] | [INFO] [stdout] 543 | tcx: TyCtxt<'_>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:544:32 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn check_unsafety( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 543 | tcx: TyCtxt<'_>, [INFO] [stdout] 544 | def: ty::WithOptConstParam, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe/unsafety_visitor.rs:545:25 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn check_unsafety( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 545 | ) -> Vec<(UnsafeOpKind, LocalDefId, 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/safe/unsafety_visitor.rs:545:37 [INFO] [stdout] | [INFO] [stdout] 545 | ) -> Vec<(UnsafeOpKind, LocalDefId, Span)> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use codespan::Span; [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct SafeOutput<'s> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LocalDefId` [INFO] [stdout] 46 | /// This vec is ordered so that the most serious violations are first. [INFO] [stdout] 47 | reasons: Vec<(UnsafeOpKind, LocalDefId, 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/safe.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | reasons: Vec<(UnsafeOpKind, LocalDefId, Span)>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use codespan::Span; [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/safe.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | tcx: TyCtxt<'_>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | checked_fn: LocalDefId, [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/safe.rs:186:11 [INFO] [stdout] | [INFO] [stdout] 186 | span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use codespan::Span; [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | fun_id: LocalDefId, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 203 | impl FakeCallback { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 229 | ) -> 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/safe.rs:229:48 [INFO] [stdout] | [INFO] [stdout] 229 | ) -> Result> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use codespan::Span; [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | def_id: LocalDefId, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe.rs:276:42 [INFO] [stdout] | [INFO] [stdout] 203 | impl FakeCallback { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 276 | reasons: &mut Vec<(UnsafeOpKind, LocalDefId, 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/safe.rs:276:54 [INFO] [stdout] | [INFO] [stdout] 276 | reasons: &mut Vec<(UnsafeOpKind, LocalDefId, Span)>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use codespan::Span; [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe.rs:277:56 [INFO] [stdout] | [INFO] [stdout] 203 | impl FakeCallback { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 277 | possible_reasons: &mut VecDeque<(UnsafeOpKind, LocalDefId, 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/safe.rs:277:68 [INFO] [stdout] | [INFO] [stdout] 277 | possible_reasons: &mut VecDeque<(UnsafeOpKind, LocalDefId, Span)>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use codespan::Span; [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe.rs:310:58 [INFO] [stdout] | [INFO] [stdout] 203 | impl FakeCallback { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn search(&self, tcx: ty::TyCtxt<'_>) -> Result<(LocalDefId, FnHeader)> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnHeader` in this scope [INFO] [stdout] --> src/safe.rs:310:70 [INFO] [stdout] | [INFO] [stdout] 203 | impl FakeCallback { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn search(&self, tcx: ty::TyCtxt<'_>) -> Result<(LocalDefId, FnHeader)> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 311 | struct Searcher<'a, 't> { [INFO] [stdout] | - help: you might be missing a type parameter: `, LocalDefId` [INFO] [stdout] 312 | selector: &'a str, [INFO] [stdout] 313 | result: Option<(LocalDefId, FnHeader)>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnHeader` in this scope [INFO] [stdout] --> src/safe.rs:313:41 [INFO] [stdout] | [INFO] [stdout] 311 | struct Searcher<'a, 't> { [INFO] [stdout] | - help: you might be missing a type parameter: `, FnHeader` [INFO] [stdout] 312 | selector: &'a str, [INFO] [stdout] 313 | result: Option<(LocalDefId, FnHeader)>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/safe.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | tcx: TyCtxt<'t>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalDefId` in this scope [INFO] [stdout] --> src/safe.rs:318:47 [INFO] [stdout] | [INFO] [stdout] 318 | fn check_match(&mut self, def_id: LocalDefId) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ItemLikeVisitor` in this scope [INFO] [stdout] --> src/safe.rs:326:28 [INFO] [stdout] | [INFO] [stdout] 326 | impl<'hir, 'a, 't> ItemLikeVisitor<'hir> for Searcher<'a, 't> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/safe.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | tcx: TyCtxt<'tcx>, [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/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_else, let_chains, box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 71 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [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 -C metadata=80167a4a1b41c447 -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-0299bb4f5e67a91d.rmeta --extern codespan=/opt/rustwide/target/debug/deps/libcodespan-b302a42661560dd2.rmeta --extern codespan_reporting=/opt/rustwide/target/debug/deps/libcodespan_reporting-2a37e42ed6578653.rmeta --extern color_eyre=/opt/rustwide/target/debug/deps/libcolor_eyre-53340ced02268125.rmeta --extern eyre=/opt/rustwide/target/debug/deps/libeyre-fcc881ea9cb60845.rmeta --extern itertools=/opt/rustwide/target/debug/deps/libitertools-c3e915a3b5e36158.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-9c9cb1a2960c1043.rmeta --extern syn_select=/opt/rustwide/target/debug/deps/libsyn_select-970f0097e6686306.rmeta --extern termcolor=/opt/rustwide/target/debug/deps/libtermcolor-937a10c776d9cd6f.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-9b020f4be42d0a34.rmeta --extern tracing_error=/opt/rustwide/target/debug/deps/libtracing_error-85c3246ae3ca3a98.rmeta --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-06600d8de959e63f.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "13b43aae10add0f3a9d3f4ac6c4ee256e632c6826d861b318fcff0f7468dfb98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13b43aae10add0f3a9d3f4ac6c4ee256e632c6826d861b318fcff0f7468dfb98", kill_on_drop: false }` [INFO] [stdout] 13b43aae10add0f3a9d3f4ac6c4ee256e632c6826d861b318fcff0f7468dfb98