[INFO] cloning repository https://github.com/kaist-plrg/forcrat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaist-plrg/forcrat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaist-plrg%2Fforcrat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaist-plrg%2Fforcrat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7df1d3f1fc75c357f24554a82826d767aa5f7d20 [INFO] testing kaist-plrg/forcrat against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaist-plrg%2Fforcrat" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/kaist-plrg/forcrat [INFO] finished tweaking git repo https://github.com/kaist-plrg/forcrat [INFO] tweaked toml for git repo https://github.com/kaist-plrg/forcrat written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kaist-plrg/forcrat on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kaist-plrg/forcrat already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d42221a534e8aca5180e34c6e5bc2c016438fbf25e02f2fbf52ec988c87ba9d [INFO] running `Command { std: "docker" "start" "-a" "8d42221a534e8aca5180e34c6e5bc2c016438fbf25e02f2fbf52ec988c87ba9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d42221a534e8aca5180e34c6e5bc2c016438fbf25e02f2fbf52ec988c87ba9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d42221a534e8aca5180e34c6e5bc2c016438fbf25e02f2fbf52ec988c87ba9d", kill_on_drop: false }` [INFO] [stdout] 8d42221a534e8aca5180e34c6e5bc2c016438fbf25e02f2fbf52ec988c87ba9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e771c5a45f478ba4df1b8f9379f0bc3a76df00cd6940bd90a9e12e07b3a3555 [INFO] running `Command { std: "docker" "start" "-a" "3e771c5a45f478ba4df1b8f9379f0bc3a76df00cd6940bd90a9e12e07b3a3555", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap_builder v4.5.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling etrace v1.1.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling clap v4.5.6 [INFO] [stderr] Compiling forcrat v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/check_unsafety.rs:386:20 [INFO] [stdout] | [INFO] [stdout] 386 | if let Some(def) = def_id.as_local() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/check_unsafety.rs:533:20 [INFO] [stdout] | [INFO] [stdout] 533 | if let ExprKind::Scope { value: arg, .. } = self.thir[arg].kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/check_unsafety.rs:534:24 [INFO] [stdout] | [INFO] [stdout] 534 | && let ExprKind::Deref { arg } = self.thir[arg].kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/compile_util.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | if let TyKind::Adt(adt_def, _) = t.kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/error_analysis.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | if let TerminatorKind::Call { func, .. } = &term.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/error_analysis.rs:311:16 [INFO] [stdout] | [INFO] [stdout] 311 | && let Some(args) = ctx.call_span_to_args.get(&term.source_info.span) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/error_analysis.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | if let ExprBase::Local(hir_id) = sink_label.func_loc.loc.base [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/error_analysis.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 367 | && let Some(param_idx) = ctx.param_indices.get(&hir_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/error_analysis.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | && let Some(callers) = callers [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/error_analysis.rs:723:20 [INFO] [stdout] | [INFO] [stdout] 723 | if let ExprKind::Call(callee, _) = parent.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/file_analysis.rs:470:28 [INFO] [stdout] | [INFO] [stdout] 470 | && let Some(variance) = variance [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/file_analysis.rs:794:16 [INFO] [stdout] | [INFO] [stdout] 794 | if let TyKind::Adt(adt_def, _) = ty.kind() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/preprocessor.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | if let hir::ExprKind::Path(QPath::Resolved(_, path)) = callee.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/preprocessor.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | && let Res::Def(DefKind::Fn, def_id) = path.res [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/steensgaard.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | if let ItemKind::Fn { ident, .. } = item.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/mod.rs:421:20 [INFO] [stdout] | [INFO] [stdout] 421 | if let Some(param) = hir_loc_to_param.get(&hir_loc) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/mod.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 433 | && let HirLoc::Field(def_id, field) = hir_loc [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/mod.rs:635:20 [INFO] [stdout] | [INFO] [stdout] 635 | && let Some(hir_id) = return_locals.get(&def_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/hir_ctx.rs:256:24 [INFO] [stdout] | [INFO] [stdout] 256 | if let Res::Def(DefKind::Fn, def_id) = path.res [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/hir_ctx.rs:257:28 [INFO] [stdout] | [INFO] [stdout] 257 | && let Some(def_id) = def_id.as_local() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/transform_visitor.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 404 | if let ItemKind::Fn(box Fn { ident, .. }) = item.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/transform_visitor.rs:410:24 [INFO] [stdout] | [INFO] [stdout] 410 | let is_fn = if let ItemKind::Fn(box Fn { ident, .. }) = item.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/transform_visitor.rs:411:16 [INFO] [stdout] | [INFO] [stdout] 411 | && let Some(HirLoc::Global(def_id)) = self.hir.binding_span_to_loc.get(&ident.span) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/transform_visitor.rs:646:12 [INFO] [stdout] | [INFO] [stdout] 646 | if let ExprKind::If(_, t, Some(f)) = &expr.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/transform_visitor.rs:647:16 [INFO] [stdout] | [INFO] [stdout] 647 | && let Some(loc) = self.loc_if_unsupported(expr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/transform_visitor.rs:658:16 [INFO] [stdout] | [INFO] [stdout] 658 | if let ExprKind::Call(callee, _) = &expr.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/transform_visitor.rs:659:20 [INFO] [stdout] | [INFO] [stdout] 659 | && let Some(HirLoc::Global(def_id)) = self.hir.bound_span_to_loc.get(&callee.span) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/transform_visitor.rs:1400:20 [INFO] [stdout] | [INFO] [stdout] 1400 | if let Some(e) = opt_e [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/transformation/transform_visitor.rs:1401:24 [INFO] [stdout] | [INFO] [stdout] 1401 | && let Some(pot) = self.return_pot(curr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ty_finder.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | if let PatKind::Binding(_, _, ident, _) = pat.kind [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_abi` [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate rustc_abi; [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_ast` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | extern crate rustc_ast; [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_ast_pretty` [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate rustc_ast_pretty; [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_const_eval` [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | extern crate rustc_const_eval; [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_data_structures` [INFO] [stdout] --> src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | extern crate rustc_data_structures; [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/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | 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/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | 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_feature` [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | extern crate rustc_feature; [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_hash` [INFO] [stdout] --> src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern crate rustc_hash; [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/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | 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_index` [INFO] [stdout] --> src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern crate rustc_index; [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/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | 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_middle` [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | 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_parse` [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | extern crate rustc_parse; [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/lib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | 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/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | 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[E0432]: unresolved import `crate::file_analysis::LocId` [INFO] [stdout] --> src/transformation/transform_visitor.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | file_analysis::{self, LocId, UnsupportedReason}, [INFO] [stdout] | ^^^^^ no `LocId` in `file_analysis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `token` [INFO] [stdout] --> src/preprocessor.rs:514:33 [INFO] [stdout] | [INFO] [stdout] 514 | if matches!(l.kind, token::LitKind::Integer) { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `token` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `token`, use `cargo add token` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/ast_maker.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn parse_item(item: String) -> Item { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use toml_edit::Item; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenericParam` in this scope [INFO] [stdout] --> src/ast_maker.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn parse_ty_param(param: String) -> GenericParam { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Param` in this scope [INFO] [stdout] --> src/ast_maker.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn parse_param(param: String) -> Param { [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/ast_maker.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn parse_stmt(stmt: String) -> Stmt { [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/ast_maker.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn parse_expr(expr: String) -> Expr { [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/ast_maker.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn parse_ty(ty: String) -> Ty { [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/check_unsafety.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | 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/check_unsafety.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | 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/check_unsafety.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | 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 `ExprKind` in this scope [INFO] [stdout] --> src/check_unsafety.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | fn of(ek: &ExprKind<'_>) -> Option { [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/check_unsafety.rs:242:27 [INFO] [stdout] | [INFO] [stdout] 242 | 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/check_unsafety.rs:246:40 [INFO] [stdout] | [INFO] [stdout] 246 | fn visit_expr(&mut self, expr: &'a 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/check_unsafety.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | fn thir(&self) -> &'a Thir<'tcx> { [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/check_unsafety.rs:278:38 [INFO] [stdout] | [INFO] [stdout] 278 | fn visit_pat(&mut self, pat: &'a 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/check_unsafety.rs:399:40 [INFO] [stdout] | [INFO] [stdout] 399 | fn visit_expr(&mut self, expr: &'a Expr<'tcx>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InlineAsmExpr` in this scope [INFO] [stdout] --> src/check_unsafety.rs:561:37 [INFO] [stdout] | [INFO] [stdout] 561 | ExprKind::InlineAsm(box InlineAsmExpr { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `In` in this scope [INFO] [stdout] --> src/check_unsafety.rs:579:25 [INFO] [stdout] | [INFO] [stdout] 579 | In { expr, reg: _ } [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Out` in this scope [INFO] [stdout] --> src/check_unsafety.rs:580:27 [INFO] [stdout] | [INFO] [stdout] 580 | | Out { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InOut` in this scope [INFO] [stdout] --> src/check_unsafety.rs:585:27 [INFO] [stdout] | [INFO] [stdout] 585 | | InOut { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SplitInOut` in this scope [INFO] [stdout] --> src/check_unsafety.rs:590:25 [INFO] [stdout] | [INFO] [stdout] 590 | SplitInOut { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Out` in this scope [INFO] [stdout] --> src/check_unsafety.rs:601:25 [INFO] [stdout] | [INFO] [stdout] 601 | Out { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Const` in this scope [INFO] [stdout] --> src/check_unsafety.rs:606:27 [INFO] [stdout] | [INFO] [stdout] 606 | | Const { value: _, span: _ } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SymFn` in this scope [INFO] [stdout] --> src/check_unsafety.rs:607:27 [INFO] [stdout] | [INFO] [stdout] 607 | | SymFn { value: _ } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SymStatic` in this scope [INFO] [stdout] --> src/check_unsafety.rs:608:27 [INFO] [stdout] | [INFO] [stdout] 608 | | SymStatic { def_id: _ } => {} [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Label` in this scope [INFO] [stdout] --> src/check_unsafety.rs:609:25 [INFO] [stdout] | [INFO] [stdout] 609 | Label { block } => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::error_analysis::Label` exists but is inaccessible [INFO] [stdout] --> src/error_analysis.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | struct Label<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AdtExpr` in this scope [INFO] [stdout] --> src/check_unsafety.rs:620:31 [INFO] [stdout] | [INFO] [stdout] 620 | ExprKind::Adt(box AdtExpr { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ClosureExpr` in this scope [INFO] [stdout] --> src/check_unsafety.rs:636:35 [INFO] [stdout] | [INFO] [stdout] 636 | ExprKind::Closure(box ClosureExpr { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub locs: IndexVec, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 41 | pub struct AnalysisResult<'a, LocId> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | pub loc_ind_map: FxHashMap, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 41 | pub struct AnalysisResult<'a, LocId> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub permissions: IndexVec>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 41 | pub struct AnalysisResult<'a, LocId> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub origins: IndexVec>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 41 | pub struct AnalysisResult<'a, LocId> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | let mut locs: IndexVec = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 83 | pub fn analyze<'a, LocId>(arena: &'a Arena, tcx: TyCtxt<'_>) -> AnalysisResult<'a> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | let permission_graph: Graph = Graph::new(locs.len(), Permission::NUM); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 83 | pub fn analyze<'a, LocId>(arena: &'a Arena, tcx: TyCtxt<'_>) -> AnalysisResult<'a> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | let mut origin_graph: Graph = Graph::new(locs.len(), Origin::NUM); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 83 | pub fn analyze<'a, LocId>(arena: &'a Arena, tcx: TyCtxt<'_>) -> AnalysisResult<'a> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:364:37 [INFO] [stdout] | [INFO] [stdout] 364 | loc_ind_map: &'a FxHashMap, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 362 | struct Analyzer<'a, 'tcx, LocId> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:366:29 [INFO] [stdout] | [INFO] [stdout] 366 | permission_graph: Graph, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 362 | struct Analyzer<'a, 'tcx, LocId> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:367:25 [INFO] [stdout] | [INFO] [stdout] 367 | origin_graph: Graph, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 362 | struct Analyzer<'a, 'tcx, LocId> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:543:80 [INFO] [stdout] | [INFO] [stdout] 543 | fn transfer_operand(&self, operand: &Operand<'tcx>, ctx: Ctx<'_, 'tcx>) -> LocId { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:550:73 [INFO] [stdout] | [INFO] [stdout] 550 | fn transfer_place(&self, place: Place<'tcx>, ctx: Ctx<'_, 'tcx>) -> LocId { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:561:66 [INFO] [stdout] | [INFO] [stdout] 561 | fn transfer_constant(&self, constant: ConstOperand<'tcx>) -> LocId { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:724:39 [INFO] [stdout] | [INFO] [stdout] 724 | fn add_permission(&mut self, loc: LocId, permission: Permission) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:730:35 [INFO] [stdout] | [INFO] [stdout] 730 | fn add_origin(&mut self, loc: LocId, origin: Origin) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:736:31 [INFO] [stdout] | [INFO] [stdout] 736 | fn assign(&mut self, lhs: LocId, rhs: LocId, v: Variance) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:736:43 [INFO] [stdout] | [INFO] [stdout] 736 | fn assign(&mut self, lhs: LocId, rhs: LocId, v: Variance) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1079:38 [INFO] [stdout] | [INFO] [stdout] 1079 | arena: &'a Arena>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1078 | struct UnsupportedTracker<'a, LocId> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1080:21 [INFO] [stdout] | [INFO] [stdout] 1080 | locs: FxHashMap>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1078 | struct UnsupportedTracker<'a, LocId> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1080:48 [INFO] [stdout] | [INFO] [stdout] 1080 | locs: FxHashMap>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1078 | struct UnsupportedTracker<'a, LocId> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1081:28 [INFO] [stdout] | [INFO] [stdout] 1081 | unsupported: FxHashMap>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1078 | struct UnsupportedTracker<'a, LocId> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1083:30 [INFO] [stdout] | [INFO] [stdout] 1083 | stdout_locs: MixedBitSet, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1078 | struct UnsupportedTracker<'a, LocId> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1084:30 [INFO] [stdout] | [INFO] [stdout] 1084 | stderr_locs: MixedBitSet, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1078 | struct UnsupportedTracker<'a, LocId> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1088:45 [INFO] [stdout] | [INFO] [stdout] 1088 | fn new(arena: &'a Arena>, len: usize) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1087 | impl<'a, LocId> UnsupportedTracker<'a> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1099:31 [INFO] [stdout] | [INFO] [stdout] 1099 | fn union(&mut self, loc1: LocId, loc2: LocId) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1099:44 [INFO] [stdout] | [INFO] [stdout] 1099 | fn union(&mut self, loc1: LocId, loc2: LocId) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1113:28 [INFO] [stdout] | [INFO] [stdout] 1113 | fn add(&mut self, loc: LocId, reason: UnsupportedReason) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1120:44 [INFO] [stdout] | [INFO] [stdout] 1120 | fn unsupport_stdout(&mut self, stdout: LocId) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1127:44 [INFO] [stdout] | [INFO] [stdout] 1127 | fn unsupport_stderr(&mut self, stderr: LocId) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1157:28 [INFO] [stdout] | [INFO] [stdout] 1157 | loc_to_root: FxHashMap, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1156 | pub struct UnsupportedLocs { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1157:35 [INFO] [stdout] | [INFO] [stdout] 1157 | loc_to_root: FxHashMap, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1156 | pub struct UnsupportedLocs { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1158:24 [INFO] [stdout] | [INFO] [stdout] 1158 | reasons: FxHashMap>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1156 | pub struct UnsupportedLocs { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1163:48 [INFO] [stdout] | [INFO] [stdout] 1163 | pub fn iter(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1168:33 [INFO] [stdout] | [INFO] [stdout] 1168 | pub fn contains(&self, loc: LocId) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocId` in this scope [INFO] [stdout] --> src/file_analysis.rs:1173:36 [INFO] [stdout] | [INFO] [stdout] 1173 | pub fn get_reasons(&self, loc: LocId) -> BitSet16 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SccId` in this scope [INFO] [stdout] --> src/graph.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | FxHashMap>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 87 | pub fn compute_sccs( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SccId` in this scope [INFO] [stdout] --> src/graph.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | FxHashMap>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 87 | pub fn compute_sccs( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SccId` in this scope [INFO] [stdout] --> src/graph.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | FxHashMap>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 87 | pub fn compute_sccs( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SccId` in this scope [INFO] [stdout] --> src/graph.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | let vec_graph: VecGraph = VecGraph::new(map.len(), edges); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 87 | pub fn compute_sccs( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SccId` in this scope [INFO] [stdout] --> src/graph.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | let sccs: Sccs = Sccs::new(&vec_graph); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 87 | pub fn compute_sccs( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SccId` in this scope [INFO] [stdout] --> src/graph.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | let sccs: Sccs = Sccs::new(&vec_graph); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 87 | pub fn compute_sccs( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/likely_lit.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | If(&'a Expr, Box>, Box>), [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/likely_lit.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | Other(&'a Expr), [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/likely_lit.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from_expr(expr: &'a Expr) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MethodCall` in this scope [INFO] [stdout] --> src/likely_lit.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | ExprKind::MethodCall(box MethodCall { receiver: e, .. }) | ExprKind::Cast(e, _) => { [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/preprocessor.rs:291:41 [INFO] [stdout] | [INFO] [stdout] 291 | fn visit_block(&mut self, b: &mut P) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 290 | impl MutVisitor for PreprocessVisitor<'_> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/preprocessor.rs:314:43 [INFO] [stdout] | [INFO] [stdout] 314 | fn visit_expr(&mut self, expr: &mut P) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 290 | impl MutVisitor for PreprocessVisitor<'_> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expr` in this scope [INFO] [stdout] --> src/preprocessor.rs:326:33 [INFO] [stdout] | [INFO] [stdout] 326 | let e = Expr { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope [INFO] [stdout] --> src/preprocessor.rs:327:33 [INFO] [stdout] | [INFO] [stdout] 327 | ... id: DUMMY_NODE_ID, [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/preprocessor.rs:393:26 [INFO] [stdout] | [INFO] [stdout] 393 | fn is_assert_stmt(stmt: &Stmt) -> bool { [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/preprocessor.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | fn eval_expr(expr: &Expr) -> Option { [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/transformation/stream_ty.rs:657:15 [INFO] [stdout] | [INFO] [stdout] 657 | expr: &'a Expr, [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/transformation/stream_ty.rs:657:15 [INFO] [stdout] | [INFO] [stdout] 657 | expr: &'a Expr, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 656 | pub(super) struct TypedExpr<'a, Expr> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/transformation/stream_ty.rs:663:33 [INFO] [stdout] | [INFO] [stdout] 663 | pub(super) fn new(expr: &'a Expr, ty: &'a StreamType<'a>) -> Self { [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/transformation/transform_visitor.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | fn remove_cast(expr: &Expr) -> &Expr { [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/transformation/transform_visitor.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | fn remove_cast(expr: &Expr) -> &Expr { [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/transformation/transform_visitor.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | fn loc_if_unsupported(&self, expr: &Expr) -> Option { [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/transformation/transform_visitor.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 96 | fn is_unsupported(&self, expr: &Expr) -> bool { [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/transformation/transform_visitor.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn bound_expr_pot(&self, expr: &Expr) -> Option> { [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/transformation/transform_visitor.rs:137:41 [INFO] [stdout] | [INFO] [stdout] 137 | fn bound_expr_origins(&self, expr: &Expr) -> Option> { [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/transformation/transform_visitor.rs:168:38 [INFO] [stdout] | [INFO] [stdout] 168 | fn indicator_check(&self, expr: &Expr) -> IndicatorCheck<'_> { [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/transformation/transform_visitor.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | fn replace_expr(&mut self, old: &mut Expr, new: Expr) { [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/transformation/transform_visitor.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | fn replace_expr(&mut self, old: &mut Expr, new: Expr) { [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/transformation/transform_visitor.rs:204:49 [INFO] [stdout] | [INFO] [stdout] 204 | fn replace_ty_with_pot(&mut self, old: &mut Ty, pot: Pot<'_>) { [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/transformation/transform_visitor.rs:215:40 [INFO] [stdout] | [INFO] [stdout] 215 | fn replace_ty(&mut self, old: &mut Ty, new: Ty) { [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/transformation/transform_visitor.rs:215:49 [INFO] [stdout] | [INFO] [stdout] 215 | fn replace_ty(&mut self, old: &mut Ty, new: Ty) { [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/transformation/transform_visitor.rs:238:41 [INFO] [stdout] | [INFO] [stdout] 238 | fn convert_rhs(&mut self, rhs: &mut Expr, lhs_pot: Pot<'_>) { [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/transformation/transform_visitor.rs:306:54 [INFO] [stdout] | [INFO] [stdout] 306 | fn replace_fn_ptr_param_type(&mut self, ty: &mut Ty, pot: Pot<'_>, index: usize) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AngleBracketed` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | let AngleBracketed(args) = args.deref_mut() else { panic!() }; [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/transformation/transform_visitor.rs:354:41 [INFO] [stdout] | [INFO] [stdout] 354 | fn should_prevent_drop(&self, lhs: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Crate` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:364:39 [INFO] [stdout] | [INFO] [stdout] 364 | fn visit_crate(&mut self, c: &mut Crate) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StaticItem` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:381:53 [INFO] [stdout] | [INFO] [stdout] 381 | let ForeignItemKind::Static(box StaticItem { ident, .. }) = item.kind else { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ForeignItem` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:390:36 [INFO] [stdout] | [INFO] [stdout] 390 | let foreign_item = 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/transformation/transform_visitor.rs:403:43 [INFO] [stdout] | [INFO] [stdout] 403 | fn visit_item(&mut self, item: &mut P) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use toml_edit::Item; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found trait `Fn` [INFO] [stdout] --> src/transformation/transform_visitor.rs:404:33 [INFO] [stdout] | [INFO] [stdout] 404 | if let ItemKind::Fn(box Fn { ident, .. }) = item.kind [INFO] [stdout] | ^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found trait `Fn` [INFO] [stdout] --> src/transformation/transform_visitor.rs:410:45 [INFO] [stdout] | [INFO] [stdout] 410 | let is_fn = if let ItemKind::Fn(box Fn { ident, .. }) = item.kind [INFO] [stdout] | ^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `BindingMode` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:468:43 [INFO] [stdout] | [INFO] [stdout] 468 | if let PatKind::Ident(BindingMode(_, m), _, _) = &mut param.pat.kind { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VariantData` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:602:47 [INFO] [stdout] | [INFO] [stdout] 602 | fn visit_variant_data(&mut self, vd: &mut VariantData) { [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/transformation/transform_visitor.rs:620:45 [INFO] [stdout] | [INFO] [stdout] 620 | fn visit_local(&mut self, local: &mut P) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::error_analysis::ExprBase::Local` and 3 others; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 620 - fn visit_local(&mut self, local: &mut P) { [INFO] [stdout] 620 + fn visit_local(&mut self, local: &mut P) { [INFO] [stdout] | [INFO] [stdout] 620 - fn visit_local(&mut self, local: &mut P) { [INFO] [stdout] 620 + fn visit_local(&mut self, local: &mut P) { [INFO] [stdout] | [INFO] [stdout] 620 - fn visit_local(&mut self, local: &mut P) { [INFO] [stdout] 620 + fn visit_local(&mut self, local: &mut P) { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 363 | impl MutVisitor for TransformVisitor<'_, '_> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:645:43 [INFO] [stdout] | [INFO] [stdout] 645 | fn visit_expr(&mut self, expr: &mut P) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 363 | impl MutVisitor for TransformVisitor<'_, '_> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MethodCall` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:1356:38 [INFO] [stdout] | [INFO] [stdout] 1356 | ExprKind::MethodCall(box MethodCall { receiver, seg, .. }) => { [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/transformation/transform_visitor.rs:1442:57 [INFO] [stdout] | [INFO] [stdout] 1442 | fn walk_local(vis: &mut T, local: &mut P) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::error_analysis::ExprBase::Local` and 3 others; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 1442 - fn walk_local(vis: &mut T, local: &mut P) { [INFO] [stdout] 1442 + fn walk_local(vis: &mut T, local: &mut P) { [INFO] [stdout] | [INFO] [stdout] 1442 - fn walk_local(vis: &mut T, local: &mut P) { [INFO] [stdout] 1442 + fn walk_local(vis: &mut T, local: &mut P) { [INFO] [stdout] | [INFO] [stdout] 1442 - fn walk_local(vis: &mut T, local: &mut P) { [INFO] [stdout] 1442 + fn walk_local(vis: &mut T, local: &mut P) { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1442 | fn walk_local(vis: &mut T, local: &mut P) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Local` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:1443:9 [INFO] [stdout] | [INFO] [stdout] 1443 | let Local { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: variant `crate::error_analysis::ExprBase::Local` exists but is inaccessible [INFO] [stdout] --> src/error_analysis.rs:522:5 [INFO] [stdout] | [INFO] [stdout] 522 | Local(HirId), [INFO] [stdout] | ^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these variants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::steensgaard::VarId::Local; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::transformation::HirLoc::Local; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AttrVec` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:1482:56 [INFO] [stdout] | [INFO] [stdout] 1482 | fn visit_attrs(vis: &mut T, attrs: &mut AttrVec) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VariantData` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:1488:62 [INFO] [stdout] | [INFO] [stdout] 1488 | fn walk_variant_data(vis: &mut T, vdata: &mut VariantData) { [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/transformation/transform_visitor.rs:1542:31 [INFO] [stdout] | [INFO] [stdout] 1542 | fn make_expr(self, path: &Expr, mode: &Expr) -> Expr { [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/transformation/transform_visitor.rs:1542:44 [INFO] [stdout] | [INFO] [stdout] 1542 | fn make_expr(self, path: &Expr, mode: &Expr) -> Expr { [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/transformation/transform_visitor.rs:1542:53 [INFO] [stdout] | [INFO] [stdout] 1542 | fn make_expr(self, path: &Expr, mode: &Expr) -> Expr { [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/transformation/transform_visitor.rs:1610:38 [INFO] [stdout] | [INFO] [stdout] 1610 | fn transform_fopen(&self, path: &Expr, mode_expr: &Expr) -> Expr { [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/transformation/transform_visitor.rs:1610:56 [INFO] [stdout] | [INFO] [stdout] 1610 | fn transform_fopen(&self, path: &Expr, mode_expr: &Expr) -> Expr { [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/transformation/transform_visitor.rs:1610:65 [INFO] [stdout] | [INFO] [stdout] 1610 | fn transform_fopen(&self, path: &Expr, mode_expr: &Expr) -> Expr { [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/transformation/transform_visitor.rs:1637:37 [INFO] [stdout] | [INFO] [stdout] 1637 | fn transform_fdopen(&self, fd: &Expr) -> Expr { [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/transformation/transform_visitor.rs:1637:46 [INFO] [stdout] | [INFO] [stdout] 1637 | fn transform_fdopen(&self, fd: &Expr) -> Expr { [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/transformation/transform_visitor.rs:1643:36 [INFO] [stdout] | [INFO] [stdout] 1643 | fn transform_tmpfile(&self) -> Expr { [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/transformation/transform_visitor.rs:1647:41 [INFO] [stdout] | [INFO] [stdout] 1647 | fn transform_popen(&self, command: &Expr, mode: &Expr) -> Expr { [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/transformation/transform_visitor.rs:1647:54 [INFO] [stdout] | [INFO] [stdout] 1647 | fn transform_popen(&self, command: &Expr, mode: &Expr) -> Expr { [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/transformation/transform_visitor.rs:1647:63 [INFO] [stdout] | [INFO] [stdout] 1647 | fn transform_popen(&self, command: &Expr, mode: &Expr) -> Expr { [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/transformation/transform_visitor.rs:1671:41 [INFO] [stdout] | [INFO] [stdout] 1671 | fn transform_fclose(&self, stream: &Expr, ty: StreamType<'_>, is_non_local: bool) -> Expr { [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/transformation/transform_visitor.rs:1671:90 [INFO] [stdout] | [INFO] [stdout] 1671 | fn transform_fclose(&self, stream: &Expr, ty: StreamType<'_>, is_non_local: bool) -> Expr { [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/transformation/transform_visitor.rs:1690:41 [INFO] [stdout] | [INFO] [stdout] 1690 | fn transform_pclose(&self, stream: &Expr, ty: StreamType<'_>, is_non_local: bool) -> Expr { [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/transformation/transform_visitor.rs:1690:90 [INFO] [stdout] | [INFO] [stdout] 1690 | fn transform_pclose(&self, stream: &Expr, ty: StreamType<'_>, is_non_local: bool) -> Expr { [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/transformation/transform_visitor.rs:1703:58 [INFO] [stdout] | [INFO] [stdout] 1703 | fn transform_fscanf>( [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/transformation/transform_visitor.rs:1706:15 [INFO] [stdout] | [INFO] [stdout] 1706 | fmt: &Expr, [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/transformation/transform_visitor.rs:1709:10 [INFO] [stdout] | [INFO] [stdout] 1709 | ) -> Expr { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unescape_unicode` in crate `rustc_literal_escaper` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1718:40 [INFO] [stdout] | [INFO] [stdout] 1718 | rustc_literal_escaper::unescape_unicode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `rustc_literal_escaper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `byte_from_char` in crate `rustc_literal_escaper` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1721:65 [INFO] [stdout] | [INFO] [stdout] 1721 | &mut |_, c| buf.push(rustc_literal_escaper::byte_from_char(c.unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `rustc_literal_escaper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:1841:85 [INFO] [stdout] | [INFO] [stdout] 1841 | fn transform_fgetc(&self, stream: &S, ic: IndicatorCheck<'_>) -> Expr { [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/transformation/transform_visitor.rs:1850:13 [INFO] [stdout] | [INFO] [stdout] 1850 | s: &Expr, [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/transformation/transform_visitor.rs:1851:13 [INFO] [stdout] | [INFO] [stdout] 1851 | n: &Expr, [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/transformation/transform_visitor.rs:1853:10 [INFO] [stdout] | [INFO] [stdout] 1853 | ) -> Expr { [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/transformation/transform_visitor.rs:1867:19 [INFO] [stdout] | [INFO] [stdout] 1867 | lineptr: &Expr, [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/transformation/transform_visitor.rs:1868:13 [INFO] [stdout] | [INFO] [stdout] 1868 | n: &Expr, [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/transformation/transform_visitor.rs:1869:21 [INFO] [stdout] | [INFO] [stdout] 1869 | delimiter: &Expr, [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/transformation/transform_visitor.rs:1871:10 [INFO] [stdout] | [INFO] [stdout] 1871 | ) -> Expr { [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/transformation/transform_visitor.rs:1886:19 [INFO] [stdout] | [INFO] [stdout] 1886 | lineptr: &Expr, [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/transformation/transform_visitor.rs:1887:13 [INFO] [stdout] | [INFO] [stdout] 1887 | n: &Expr, [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/transformation/transform_visitor.rs:1889:10 [INFO] [stdout] | [INFO] [stdout] 1889 | ) -> Expr { [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/transformation/transform_visitor.rs:1903:15 [INFO] [stdout] | [INFO] [stdout] 1903 | ptr: &Expr, [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/transformation/transform_visitor.rs:1904:16 [INFO] [stdout] | [INFO] [stdout] 1904 | size: &Expr, [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/transformation/transform_visitor.rs:1905:18 [INFO] [stdout] | [INFO] [stdout] 1905 | nitems: &Expr, [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/transformation/transform_visitor.rs:1907:10 [INFO] [stdout] | [INFO] [stdout] 1907 | ) -> Expr { [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/transformation/transform_visitor.rs:1918:59 [INFO] [stdout] | [INFO] [stdout] 1918 | fn transform_fprintf>( [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/transformation/transform_visitor.rs:1921:15 [INFO] [stdout] | [INFO] [stdout] 1921 | fmt: &Expr, [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/transformation/transform_visitor.rs:1924:10 [INFO] [stdout] | [INFO] [stdout] 1924 | ) -> Expr { [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/transformation/transform_visitor.rs:1948:63 [INFO] [stdout] | [INFO] [stdout] 1948 | fn transform_fprintf_lit>( [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/transformation/transform_visitor.rs:1954:10 [INFO] [stdout] | [INFO] [stdout] 1954 | ) -> Expr { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unescape_unicode` in crate `rustc_literal_escaper` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1958:32 [INFO] [stdout] | [INFO] [stdout] 1958 | rustc_literal_escaper::unescape_unicode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `rustc_literal_escaper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `byte_from_char` in crate `rustc_literal_escaper` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1961:57 [INFO] [stdout] | [INFO] [stdout] 1961 | &mut |_, c| buf.push(rustc_literal_escaper::byte_from_char(c.unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `rustc_literal_escaper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:2077:15 [INFO] [stdout] | [INFO] [stdout] 2077 | fmt: &Expr, [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/transformation/transform_visitor.rs:2078:16 [INFO] [stdout] | [INFO] [stdout] 2078 | args: &Expr, [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/transformation/transform_visitor.rs:2080:10 [INFO] [stdout] | [INFO] [stdout] 2080 | ) -> Expr { [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/transformation/transform_visitor.rs:2092:62 [INFO] [stdout] | [INFO] [stdout] 2092 | fn transform_fputc(&self, stream: &S, c: &Expr, ic: IndicatorCheck<'_>) -> Expr { [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/transformation/transform_visitor.rs:2092:95 [INFO] [stdout] | [INFO] [stdout] 2092 | fn transform_fputc(&self, stream: &S, c: &Expr, ic: IndicatorCheck<'_>) -> Expr { [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/transformation/transform_visitor.rs:2106:13 [INFO] [stdout] | [INFO] [stdout] 2106 | c: &Expr, [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/transformation/transform_visitor.rs:2108:10 [INFO] [stdout] | [INFO] [stdout] 2108 | ) -> Expr { [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/transformation/transform_visitor.rs:2119:62 [INFO] [stdout] | [INFO] [stdout] 2119 | fn transform_fputs(&self, stream: &S, s: &Expr, ic: IndicatorCheck<'_>) -> Expr { [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/transformation/transform_visitor.rs:2119:95 [INFO] [stdout] | [INFO] [stdout] 2119 | fn transform_fputs(&self, stream: &S, s: &Expr, ic: IndicatorCheck<'_>) -> Expr { [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/transformation/transform_visitor.rs:2133:15 [INFO] [stdout] | [INFO] [stdout] 2133 | ptr: &Expr, [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/transformation/transform_visitor.rs:2134:16 [INFO] [stdout] | [INFO] [stdout] 2134 | size: &Expr, [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/transformation/transform_visitor.rs:2135:18 [INFO] [stdout] | [INFO] [stdout] 2135 | nitems: &Expr, [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/transformation/transform_visitor.rs:2137:10 [INFO] [stdout] | [INFO] [stdout] 2137 | ) -> Expr { [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/transformation/transform_visitor.rs:2150:86 [INFO] [stdout] | [INFO] [stdout] 2150 | fn transform_fflush(&self, stream: &S, ic: IndicatorCheck<'_>) -> Expr { [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/transformation/transform_visitor.rs:2156:34 [INFO] [stdout] | [INFO] [stdout] 2156 | fn transform_puts(&self, s: &Expr, ic: IndicatorCheck<'_>) -> Expr { [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/transformation/transform_visitor.rs:2156:67 [INFO] [stdout] | [INFO] [stdout] 2156 | fn transform_puts(&self, s: &Expr, ic: IndicatorCheck<'_>) -> Expr { [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/transformation/transform_visitor.rs:2166:36 [INFO] [stdout] | [INFO] [stdout] 2166 | fn transform_perror(&self, s: &Expr) -> Expr { [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/transformation/transform_visitor.rs:2166:45 [INFO] [stdout] | [INFO] [stdout] 2166 | fn transform_perror(&self, s: &Expr) -> Expr { [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/transformation/transform_visitor.rs:2172:64 [INFO] [stdout] | [INFO] [stdout] 2172 | fn transform_fseek(&self, stream: &S, off: &Expr, whence: &Expr) -> Expr { [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/transformation/transform_visitor.rs:2172:79 [INFO] [stdout] | [INFO] [stdout] 2172 | fn transform_fseek(&self, stream: &S, off: &Expr, whence: &Expr) -> Expr { [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/transformation/transform_visitor.rs:2172:88 [INFO] [stdout] | [INFO] [stdout] 2172 | fn transform_fseek(&self, stream: &S, off: &Expr, whence: &Expr) -> Expr { [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/transformation/transform_visitor.rs:2203:61 [INFO] [stdout] | [INFO] [stdout] 2203 | fn transform_ftell(&self, stream: &S) -> Expr { [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/transformation/transform_visitor.rs:2209:62 [INFO] [stdout] | [INFO] [stdout] 2209 | fn transform_rewind(&self, stream: &S) -> Expr { [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/transformation/transform_visitor.rs:2215:62 [INFO] [stdout] | [INFO] [stdout] 2215 | fn transform_fileno(&self, stream: &S) -> Expr { [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/transformation/transform_visitor.rs:2221:80 [INFO] [stdout] | [INFO] [stdout] 2221 | fn transform_flockfile(&self, stream: &S, name: Symbol) -> (Expr, bool) { [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/transformation/transform_visitor.rs:2233:81 [INFO] [stdout] | [INFO] [stdout] 2233 | fn transform_funlockfile(&self, stream: &S, name: Symbol) -> Expr { [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/transformation/transform_visitor.rs:2242:48 [INFO] [stdout] | [INFO] [stdout] 2242 | fn transform_unsupported>( [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/transformation/transform_visitor.rs:2247:18 [INFO] [stdout] | [INFO] [stdout] 2247 | stream: &Expr, [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/transformation/transform_visitor.rs:2250:17 [INFO] [stdout] | [INFO] [stdout] 2250 | ) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1609 | impl TransformVisitor<'_, '_> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:2309:18 [INFO] [stdout] | [INFO] [stdout] 2309 | stream: &Expr, [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/transformation/transform_visitor.rs:2311:18 [INFO] [stdout] | [INFO] [stdout] 2311 | ) -> (Option, bool) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1609 | impl TransformVisitor<'_, '_> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/transformation/transform_visitor.rs:2375:66 [INFO] [stdout] | [INFO] [stdout] 2375 | fn update_error(&self, ic: IndicatorCheck<'_>, e: String) -> Expr { [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/transformation/transform_visitor.rs:2469:10 [INFO] [stdout] | [INFO] [stdout] 2469 | ) -> Expr { [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/transformation/transform_visitor.rs:2533:25 [INFO] [stdout] | [INFO] [stdout] 2533 | fn take_stream(stream: &Expr, ty: StreamType<'_>, is_non_local: bool) -> String { [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/transformation/transform_visitor.rs:2554:33 [INFO] [stdout] | [INFO] [stdout] 2554 | fn write_args>( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #![feature(min_specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `let_chains` has been stable since `1.88.0` and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/ast_maker.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let ItemKind::Fn(box mut f) = item.kind else { panic!() }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/ast_maker.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let ItemKind::Fn(box mut f) = item.kind else { panic!() }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | ExprKind::Scope { .. } => None, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | ExprKind::Field { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | | ExprKind::Deref { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 180 | | ExprKind::Index { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | | ExprKind::UpvarRef { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | | ExprKind::VarRef { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | | ExprKind::PlaceTypeAscription { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | | ExprKind::ValueTypeAscription { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | | ExprKind::PlaceUnwrapUnsafeBinder { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | | ExprKind::ValueUnwrapUnsafeBinder { .. } => Some(ExprCategory::Place), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | ExprKind::LogicalOp { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | | ExprKind::Match { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | | ExprKind::If { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | | ExprKind::Let { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | | ExprKind::NeverToAny { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | | ExprKind::Use { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | | ExprKind::Adt { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | | ExprKind::Borrow { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | | ExprKind::RawBorrow { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | | ExprKind::Yield { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 198 | | ExprKind::Call { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | | ExprKind::ByUse { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | | ExprKind::InlineAsm { .. } => Some(ExprCategory::Rvalue(RvalueFunc::Into)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | ExprKind::Array { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | | ExprKind::Tuple { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:204:15 [INFO] [stdout] | [INFO] [stdout] 204 | | ExprKind::Closure { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:205:15 [INFO] [stdout] | [INFO] [stdout] 205 | | ExprKind::Unary { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:206:15 [INFO] [stdout] | [INFO] [stdout] 206 | | ExprKind::Binary { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:207:15 [INFO] [stdout] | [INFO] [stdout] 207 | | ExprKind::Box { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | | ExprKind::Cast { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 209 | | ExprKind::PointerCoercion { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | | ExprKind::Repeat { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:211:15 [INFO] [stdout] | [INFO] [stdout] 211 | | ExprKind::Assign { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:212:15 [INFO] [stdout] | [INFO] [stdout] 212 | | ExprKind::AssignOp { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | | ExprKind::ThreadLocalRef(_) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | | ExprKind::OffsetOf { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 215 | | ExprKind::WrapUnsafeBinder { .. } => Some(ExprCategory::Rvalue(RvalueFunc::AsRvalue)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | ExprKind::ConstBlock { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:218:15 [INFO] [stdout] | [INFO] [stdout] 218 | | ExprKind::Literal { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:219:15 [INFO] [stdout] | [INFO] [stdout] 219 | | ExprKind::NonHirLiteral { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | | ExprKind::ZstLiteral { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 221 | | ExprKind::ConstParam { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:222:15 [INFO] [stdout] | [INFO] [stdout] 222 | | ExprKind::StaticRef { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | | ExprKind::NamedConst { .. } => Some(ExprCategory::Constant), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | ExprKind::Loop { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 226 | | ExprKind::Block { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:227:15 [INFO] [stdout] | [INFO] [stdout] 227 | | ExprKind::Break { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | | ExprKind::Continue { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | | ExprKind::Return { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:230:15 [INFO] [stdout] | [INFO] [stdout] 230 | | ExprKind::Become { .. } => [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | ExprKind::Field { lhs, .. } => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | visit::walk_expr(self, expr); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | ExprKind::Deref { .. } => {} [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | visit::walk_expr(self, expr); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | PatKind::Missing => unreachable!(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | PatKind::Binding { .. } [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | | PatKind::Constant { .. } [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 286 | | PatKind::Variant { .. } [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | | PatKind::Leaf { .. } [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:288:19 [INFO] [stdout] | [INFO] [stdout] 288 | | PatKind::Deref { .. } [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | | PatKind::DerefPattern { .. } [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:290:19 [INFO] [stdout] | [INFO] [stdout] 290 | | PatKind::Range { .. } [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | | PatKind::Slice { .. } [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | | PatKind::Array { .. } [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | | PatKind::Never => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | PatKind::Wild | [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | PatKind::Or { .. } | [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | PatKind::ExpandedConstant { .. } | [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | PatKind::AscribeUserType { .. } | [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | PatKind::Error(_) => {} [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | PatKind::Leaf { subpatterns, .. } => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | visit::walk_pat(self, pat); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | visit::walk_pat(self, pat); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | visit::walk_pat(self, pat); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:334:21 [INFO] [stdout] | [INFO] [stdout] 334 | visit::walk_pat(self, pat); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | PatKind::Variant { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | visit::walk_pat(self, pat); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | PatKind::Binding { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | visit::walk_pat(self, pat); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | PatKind::Deref { .. } | PatKind::DerefPattern { .. } => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | PatKind::Deref { .. } | PatKind::DerefPattern { .. } => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | visit::walk_pat(self, pat); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/check_unsafety.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | PatKind::ExpandedConstant { def_id, .. } => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | visit::walk_pat(self, pat); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 394 | visit::walk_pat(self, pat); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | ExprKind::Field { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:403:15 [INFO] [stdout] | [INFO] [stdout] 403 | | ExprKind::VarRef { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | | ExprKind::UpvarRef { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:405:15 [INFO] [stdout] | [INFO] [stdout] 405 | | ExprKind::Scope { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:406:15 [INFO] [stdout] | [INFO] [stdout] 406 | | ExprKind::Cast { .. } => {} [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | ExprKind::RawBorrow { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:409:15 [INFO] [stdout] | [INFO] [stdout] 409 | | ExprKind::Adt { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:410:15 [INFO] [stdout] | [INFO] [stdout] 410 | | ExprKind::Array { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:411:15 [INFO] [stdout] | [INFO] [stdout] 411 | | ExprKind::Binary { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:412:15 [INFO] [stdout] | [INFO] [stdout] 412 | | ExprKind::Block { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:413:15 [INFO] [stdout] | [INFO] [stdout] 413 | | ExprKind::Borrow { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:414:15 [INFO] [stdout] | [INFO] [stdout] 414 | | ExprKind::Literal { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:415:15 [INFO] [stdout] | [INFO] [stdout] 415 | | ExprKind::NamedConst { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:416:15 [INFO] [stdout] | [INFO] [stdout] 416 | | ExprKind::NonHirLiteral { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:417:15 [INFO] [stdout] | [INFO] [stdout] 417 | | ExprKind::ZstLiteral { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:418:15 [INFO] [stdout] | [INFO] [stdout] 418 | | ExprKind::ConstParam { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:419:15 [INFO] [stdout] | [INFO] [stdout] 419 | | ExprKind::ConstBlock { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:420:15 [INFO] [stdout] | [INFO] [stdout] 420 | | ExprKind::Deref { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:421:15 [INFO] [stdout] | [INFO] [stdout] 421 | | ExprKind::Index { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:422:15 [INFO] [stdout] | [INFO] [stdout] 422 | | ExprKind::NeverToAny { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:423:15 [INFO] [stdout] | [INFO] [stdout] 423 | | ExprKind::PlaceTypeAscription { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:424:15 [INFO] [stdout] | [INFO] [stdout] 424 | | ExprKind::ValueTypeAscription { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:425:15 [INFO] [stdout] | [INFO] [stdout] 425 | | ExprKind::PlaceUnwrapUnsafeBinder { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:426:15 [INFO] [stdout] | [INFO] [stdout] 426 | | ExprKind::ValueUnwrapUnsafeBinder { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:427:15 [INFO] [stdout] | [INFO] [stdout] 427 | | ExprKind::WrapUnsafeBinder { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:428:15 [INFO] [stdout] | [INFO] [stdout] 428 | | ExprKind::PointerCoercion { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:429:15 [INFO] [stdout] | [INFO] [stdout] 429 | | ExprKind::Repeat { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:430:15 [INFO] [stdout] | [INFO] [stdout] 430 | | ExprKind::StaticRef { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:431:15 [INFO] [stdout] | [INFO] [stdout] 431 | | ExprKind::ThreadLocalRef { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:432:15 [INFO] [stdout] | [INFO] [stdout] 432 | | ExprKind::Tuple { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:433:15 [INFO] [stdout] | [INFO] [stdout] 433 | | ExprKind::Unary { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:434:15 [INFO] [stdout] | [INFO] [stdout] 434 | | ExprKind::Call { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:435:15 [INFO] [stdout] | [INFO] [stdout] 435 | | ExprKind::ByUse { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:436:15 [INFO] [stdout] | [INFO] [stdout] 436 | | ExprKind::Assign { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:437:15 [INFO] [stdout] | [INFO] [stdout] 437 | | ExprKind::AssignOp { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:438:15 [INFO] [stdout] | [INFO] [stdout] 438 | | ExprKind::Break { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:439:15 [INFO] [stdout] | [INFO] [stdout] 439 | | ExprKind::Closure { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:440:15 [INFO] [stdout] | [INFO] [stdout] 440 | | ExprKind::Continue { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:441:15 [INFO] [stdout] | [INFO] [stdout] 441 | | ExprKind::Return { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | | ExprKind::Become { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:443:15 [INFO] [stdout] | [INFO] [stdout] 443 | | ExprKind::Yield { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:444:15 [INFO] [stdout] | [INFO] [stdout] 444 | | ExprKind::Loop { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 445 | | ExprKind::Let { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:446:15 [INFO] [stdout] | [INFO] [stdout] 446 | | ExprKind::Match { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 447 | | ExprKind::Box { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:448:15 [INFO] [stdout] | [INFO] [stdout] 448 | | ExprKind::If { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:449:15 [INFO] [stdout] | [INFO] [stdout] 449 | | ExprKind::InlineAsm { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:450:15 [INFO] [stdout] | [INFO] [stdout] 450 | | ExprKind::OffsetOf { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:451:15 [INFO] [stdout] | [INFO] [stdout] 451 | | ExprKind::LogicalOp { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:452:15 [INFO] [stdout] | [INFO] [stdout] 452 | | ExprKind::Use { .. } => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | ExprKind::Scope { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LintLevel` [INFO] [stdout] --> src/check_unsafety.rs:462:29 [INFO] [stdout] | [INFO] [stdout] 462 | lint_level: LintLevel::Explicit(hir_id), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LintLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | ExprKind::Call { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | ExprKind::RawBorrow { arg, .. } => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:533:24 [INFO] [stdout] | [INFO] [stdout] 533 | if let ExprKind::Scope { value: arg, .. } = self.thir[arg].kind [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:534:28 [INFO] [stdout] | [INFO] [stdout] 534 | && let ExprKind::Deref { arg } = self.thir[arg].kind [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:538:21 [INFO] [stdout] | [INFO] [stdout] 538 | visit::walk_expr(self, &self.thir[arg]); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | ExprKind::Deref { arg } => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:543:24 [INFO] [stdout] | [INFO] [stdout] 543 | if let ExprKind::StaticRef { def_id, .. } | ExprKind::ThreadLocalRef(def_id) = [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:543:61 [INFO] [stdout] | [INFO] [stdout] 543 | if let ExprKind::StaticRef { def_id, .. } | ExprKind::ThreadLocalRef(def_id) = [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | ExprKind::InlineAsm(box InlineAsmExpr { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:614:29 [INFO] [stdout] | [INFO] [stdout] 614 | ... visit::walk_block(self, &self.thir()[*block]) [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:620:13 [INFO] [stdout] | [INFO] [stdout] 620 | ExprKind::Adt(box AdtExpr { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | ExprKind::Closure(box ClosureExpr { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | ExprKind::ConstBlock { did, args: _ } => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | ExprKind::Field { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | ExprKind::Assign { lhs, rhs } | ExprKind::AssignOp { lhs, rhs, .. } => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:677:45 [INFO] [stdout] | [INFO] [stdout] 677 | ExprKind::Assign { lhs, rhs } | ExprKind::AssignOp { lhs, rhs, .. } => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:681:17 [INFO] [stdout] | [INFO] [stdout] 681 | visit::walk_expr(&mut visitor, lhs); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:689:40 [INFO] [stdout] | [INFO] [stdout] 689 | if matches!(expr.kind, ExprKind::Assign { .. }) { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:691:21 [INFO] [stdout] | [INFO] [stdout] 691 | visit::walk_expr(self, lhs); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:693:21 [INFO] [stdout] | [INFO] [stdout] 693 | visit::walk_expr(self, &self.thir()[rhs]); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:697:13 [INFO] [stdout] | [INFO] [stdout] 697 | ExprKind::Borrow { borrow_kind, arg } => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:699:17 [INFO] [stdout] | [INFO] [stdout] 699 | visit::walk_expr(&mut visitor, expr); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:714:13 [INFO] [stdout] | [INFO] [stdout] 714 | ExprKind::PlaceUnwrapUnsafeBinder { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:715:15 [INFO] [stdout] | [INFO] [stdout] 715 | | ExprKind::ValueUnwrapUnsafeBinder { .. } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check_unsafety.rs:716:15 [INFO] [stdout] | [INFO] [stdout] 716 | | ExprKind::WrapUnsafeBinder { .. } => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `visit` [INFO] [stdout] --> src/check_unsafety.rs:721:9 [INFO] [stdout] | [INFO] [stdout] 721 | visit::walk_expr(self, expr); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `visit`, use `cargo add visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SccId` [INFO] [stdout] --> src/graph.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | SccId::from_usize(*inv_id_map.get(node).unwrap()), [INFO] [stdout] | ^^^^^ use of undeclared type `SccId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SccId` [INFO] [stdout] --> src/graph.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | SccId::from_usize(*inv_id_map.get(succ).unwrap()), [INFO] [stdout] | ^^^^^ use of undeclared type `SccId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SccId` [INFO] [stdout] --> src/graph.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | let scc = sccs.scc(SccId::from_usize(i)); [INFO] [stdout] | ^^^^^ use of undeclared type `SccId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/likely_lit.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | ExprKind::MethodCall(box MethodCall { receiver: e, .. }) | ExprKind::Cast(e, _) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/likely_lit.rs:15:72 [INFO] [stdout] | [INFO] [stdout] 15 | ExprKind::MethodCall(box MethodCall { receiver: e, .. }) | ExprKind::Cast(e, _) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/likely_lit.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | ExprKind::Lit(lit) => LikelyLit::Lit(lit.symbol), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/likely_lit.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | ExprKind::If(c, t, Some(f)) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind` [INFO] [stdout] --> src/likely_lit.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let StmtKind::Expr(t) = &t.kind else { panic!() }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StmtKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/likely_lit.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | ExprKind::Call(callee, args) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/likely_lit.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | if let ExprKind::Path(_, path) = &callee.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/likely_lit.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | ExprKind::Paren(e) => Self::from_expr(e), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/likely_lit.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | ExprKind::Unary(UnOp::Deref, e) => Self::from_expr(e), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnOp` [INFO] [stdout] --> src/likely_lit.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | ExprKind::Unary(UnOp::Deref, e) => Self::from_expr(e), [INFO] [stdout] | ^^^^ use of undeclared type `UnOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/likely_lit.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | ExprKind::AddrOf(_, _, e) => Self::from_expr(e), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/likely_lit.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | ExprKind::Path(_, path) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/likely_lit.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | ExprKind::Block(block, _) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind` [INFO] [stdout] --> src/likely_lit.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let StmtKind::Expr(expr) = &stmt.kind else { return LikelyLit::Other(expr) }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StmtKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind` [INFO] [stdout] --> src/preprocessor.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | let StmtKind::Semi(e) = &mut stmt.kind else { continue }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StmtKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | let ExprKind::Block(b, Some(_)) = &mut e.kind else { continue }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mut_visit` [INFO] [stdout] --> src/preprocessor.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | mut_visit::walk_block(self, b); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `mut_visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mut_visit`, use `cargo add mut_visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | ExprKind::Path(_, _) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | ExprKind::If(c, t, f) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:328:35 [INFO] [stdout] | [INFO] [stdout] 328 | ... kind: ExprKind::Block(t.clone(), None), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mut_visit` [INFO] [stdout] --> src/preprocessor.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | mut_visit::walk_expr(self, expr); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `mut_visit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mut_visit`, use `cargo add mut_visit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | ExprKind::Call(_, args) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | ExprKind::MethodCall(box call) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | let ExprKind::Paren(e) = &call.receiver.kind else { return }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:374:21 [INFO] [stdout] | [INFO] [stdout] 374 | let ExprKind::Call(callee, e) = &e.kind else { return }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | let ExprKind::Path(_, path) = &callee.kind else { return }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:380:21 [INFO] [stdout] | [INFO] [stdout] 380 | let ExprKind::MethodCall(box call) = &arg.kind else { return }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind` [INFO] [stdout] --> src/preprocessor.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | let StmtKind::Expr(e) = &stmt.kind else { return false }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StmtKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | let ExprKind::If(_, t, f) = &e.kind else { return false }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | let ExprKind::Block(b, None) = &f.kind else { return false }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind` [INFO] [stdout] --> src/preprocessor.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | let StmtKind::Semi(e) = &s.kind else { return false }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StmtKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | let ExprKind::Call(e, _) = &e.kind else { return false }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | let ExprKind::Path(_, path) = &e.kind else { return false }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | ExprKind::Binary(op, l, r) => match op.node { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | BinOpKind::And => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | BinOpKind::Or => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | BinOpKind::Eq => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | BinOpKind::Ne => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | BinOpKind::Gt => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | BinOpKind::Ge => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | BinOpKind::Lt => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | BinOpKind::Le => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | BinOpKind::Add => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | BinOpKind::Sub => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | BinOpKind::Mul => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | BinOpKind::Div => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | BinOpKind::Rem => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | BinOpKind::BitAnd => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | BinOpKind::BitOr => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:481:13 [INFO] [stdout] | [INFO] [stdout] 481 | BinOpKind::BitXor => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 485 | BinOpKind::Shl => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/preprocessor.rs:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | BinOpKind::Shr => match (eval_expr(l), eval_expr(r)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | ExprKind::Cast(e, ty) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/preprocessor.rs:496:17 [INFO] [stdout] | [INFO] [stdout] 496 | let TyKind::Path(_, path) = &ty.kind else { [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | ExprKind::Lit(l) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | ExprKind::Unary(op, v) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnOp` [INFO] [stdout] --> src/preprocessor.rs:521:23 [INFO] [stdout] | [INFO] [stdout] 521 | if *op == UnOp::Not { [INFO] [stdout] | ^^^^ use of undeclared type `UnOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/preprocessor.rs:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | ExprKind::Paren(expr) => eval_expr(expr), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let ExprKind::Cast(expr, _) = &expr.kind else { return expr }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | ExprKind::AddrOf(BorrowKind::Ref, Mutability::Mut, e) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BorrowKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | ExprKind::AddrOf(BorrowKind::Ref, Mutability::Mut, e) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BorrowKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/transformation/transform_visitor.rs:114:47 [INFO] [stdout] | [INFO] [stdout] 114 | ExprKind::AddrOf(BorrowKind::Ref, Mutability::Mut, e) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | ExprKind::Unary(UnOp::Deref, e) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnOp` [INFO] [stdout] --> src/transformation/transform_visitor.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | ExprKind::Unary(UnOp::Deref, e) => { [INFO] [stdout] | ^^^^ use of undeclared type `UnOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | ExprKind::Paren(e) => self.bound_pot(expr.span).or_else(|| self.bound_expr_pot(e)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | ExprKind::Index(e, _, _) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | | ExprKind::AddrOf(BorrowKind::Ref, Mutability::Mut, e) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BorrowKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | | ExprKind::AddrOf(BorrowKind::Ref, Mutability::Mut, e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BorrowKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/transformation/transform_visitor.rs:140:49 [INFO] [stdout] | [INFO] [stdout] 140 | | ExprKind::AddrOf(BorrowKind::Ref, Mutability::Mut, e) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | | ExprKind::Unary(UnOp::Deref, e) => self.bound_expr_origins(e), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnOp` [INFO] [stdout] --> src/transformation/transform_visitor.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | | ExprKind::Unary(UnOp::Deref, e) => self.bound_expr_origins(e), [INFO] [stdout] | ^^^^ use of undeclared type `UnOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | ExprKind::Paren(e) => self [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:240:35 [INFO] [stdout] | [INFO] [stdout] 240 | || matches!(rhs.kind, ExprKind::Call(_, _) | ExprKind::MethodCall(_)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:240:58 [INFO] [stdout] | [INFO] [stdout] 240 | || matches!(rhs.kind, ExprKind::Call(_, _) | ExprKind::MethodCall(_)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | ExprKind::If(_, t, Some(f)) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 266 | let StmtKind::Expr(t) = &mut t.stmts.last_mut().unwrap().kind else { panic!() }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StmtKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let ExprKind::Block(f, _) = &mut f.kind else { panic!() }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:270:25 [INFO] [stdout] | [INFO] [stdout] 270 | let StmtKind::Expr(f) = &mut f.stmts.last_mut().unwrap().kind else { panic!() }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StmtKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | ExprKind::Cast(_, _) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:274:61 [INFO] [stdout] | [INFO] [stdout] 274 | assert!(matches!(remove_cast(rhs).kind, ExprKind::Lit(_))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | ExprKind::Call(callee, _) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:286:28 [INFO] [stdout] | [INFO] [stdout] 286 | if let ExprKind::Path(_, path) = &callee.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | ExprKind::Path(_, path) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | let TyKind::Path(_, path) = &mut ty.kind else { panic!() }; [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AngleBracketedArg` [INFO] [stdout] --> src/transformation/transform_visitor.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let AngleBracketedArg::Arg(arg) = arg else { panic!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AngleBracketedArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericArg` [INFO] [stdout] --> src/transformation/transform_visitor.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | let GenericArg::Type(ty) = arg else { panic!() }; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GenericArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | let TyKind::BareFn(fn_ty) = &mut ty.kind else { panic!() }; [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | let (ExprKind::Paren(e) | ExprKind::Field(e, _)) = &lhs.kind else { return false }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:358:35 [INFO] [stdout] | [INFO] [stdout] 358 | let (ExprKind::Paren(e) | ExprKind::Field(e, _)) = &lhs.kind else { return false }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:372:28 [INFO] [stdout] | [INFO] [stdout] 372 | if let ItemKind::ForeignMod(foreign_mod) = &mut item.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForeignItemKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:381:25 [INFO] [stdout] | [INFO] [stdout] 381 | let ForeignItemKind::Static(box StaticItem { ident, .. }) = item.kind else { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ForeignItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:389:21 [INFO] [stdout] | [INFO] [stdout] 389 | let ItemKind::Static(static_item) = item.kind else { panic!() }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForeignItemKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:395:27 [INFO] [stdout] | [INFO] [stdout] 395 | kind: ForeignItemKind::Static(static_item), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ForeignItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:404:16 [INFO] [stdout] | [INFO] [stdout] 404 | if let ItemKind::Fn(box Fn { ident, .. }) = item.kind [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:410:28 [INFO] [stdout] | [INFO] [stdout] 410 | let is_fn = if let ItemKind::Fn(box Fn { ident, .. }) = item.kind [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | ItemKind::Static(box item) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | ItemKind::Fn(box item) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:468:28 [INFO] [stdout] | [INFO] [stdout] 468 | if let PatKind::Ident(BindingMode(_, m), _, _) = &mut param.pat.kind { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/transformation/transform_visitor.rs:469:30 [INFO] [stdout] | [INFO] [stdout] 469 | *m = Mutability::Mut; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FnRetTy` [INFO] [stdout] --> src/transformation/transform_visitor.rs:482:25 [INFO] [stdout] | [INFO] [stdout] 482 | FnRetTy::Ty(ty) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `FnRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FnRetTy` [INFO] [stdout] --> src/transformation/transform_visitor.rs:490:25 [INFO] [stdout] | [INFO] [stdout] 490 | FnRetTy::Default(_) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `FnRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FnRetTy` [INFO] [stdout] --> src/transformation/transform_visitor.rs:493:56 [INFO] [stdout] | [INFO] [stdout] 493 | ... item.sig.decl.output = FnRetTy::Ty(P(ty)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `FnRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FnRetTy` [INFO] [stdout] --> src/transformation/transform_visitor.rs:500:56 [INFO] [stdout] | [INFO] [stdout] 500 | ... item.sig.decl.output = FnRetTy::Ty(P(ty)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `FnRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FnRetTy` [INFO] [stdout] --> src/transformation/transform_visitor.rs:529:25 [INFO] [stdout] | [INFO] [stdout] 529 | let FnRetTy::Ty(ty) = &mut item.sig.decl.output else { panic!() }; [INFO] [stdout] | ^^^^^^^ use of undeclared type `FnRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:554:13 [INFO] [stdout] | [INFO] [stdout] 554 | ItemKind::Struct(ident, _, _) | ItemKind::Union(ident, _, _) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:554:45 [INFO] [stdout] | [INFO] [stdout] 554 | ItemKind::Struct(ident, _, _) | ItemKind::Union(ident, _, _) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AttrKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:557:29 [INFO] [stdout] | [INFO] [stdout] 557 | let AttrKind::Normal(attr) = &mut attr.kind else { continue }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AttrKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AttrArgs` [INFO] [stdout] --> src/transformation/transform_visitor.rs:558:29 [INFO] [stdout] | [INFO] [stdout] 558 | let AttrArgs::Delimited(args) = &mut attr.item.args else { continue }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AttrArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:584:28 [INFO] [stdout] | [INFO] [stdout] 584 | if let ItemKind::Union(_, vd, _) = &mut item.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VariantData` [INFO] [stdout] --> src/transformation/transform_visitor.rs:585:29 [INFO] [stdout] | [INFO] [stdout] 585 | let VariantData::Struct { fields, .. } = vd else { panic!() }; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `VariantData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VariantData` [INFO] [stdout] --> src/transformation/transform_visitor.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | let VariantData::Struct { fields, .. } = vd else { return }; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `VariantData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:641:13 [INFO] [stdout] | [INFO] [stdout] 641 | let LocalKind::Init(rhs) = &mut local.kind else { return }; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocalKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:646:16 [INFO] [stdout] | [INFO] [stdout] 646 | if let ExprKind::If(_, t, Some(f)) = &expr.kind [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:650:17 [INFO] [stdout] | [INFO] [stdout] 650 | let StmtKind::Expr(t) = &t.kind else { panic!() }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StmtKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | if let ExprKind::Call(callee, _) = &expr.kind [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:681:13 [INFO] [stdout] | [INFO] [stdout] 681 | ExprKind::Call(callee, args) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1101:69 [INFO] [stdout] | [INFO] [stdout] 1101 | ... if matches!(remove_cast(&args[0]).kind, ExprKind::Lit(_)) { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1242:79 [INFO] [stdout] | [INFO] [stdout] 1242 | ... let is_null = matches!(remove_cast(arg).kind, ExprKind::Lit(_)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1330:31 [INFO] [stdout] | [INFO] [stdout] 1330 | } else if let ExprKind::MethodCall(box call) = &callee.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1344:13 [INFO] [stdout] | [INFO] [stdout] 1344 | ExprKind::Path(None, path) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1356:13 [INFO] [stdout] | [INFO] [stdout] 1356 | ExprKind::MethodCall(box MethodCall { receiver, seg, .. }) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1372:13 [INFO] [stdout] | [INFO] [stdout] 1372 | ExprKind::Assign(lhs, rhs, _) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1392:13 [INFO] [stdout] | [INFO] [stdout] 1392 | ExprKind::Struct(se) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1398:13 [INFO] [stdout] | [INFO] [stdout] 1398 | ExprKind::Ret(opt_e) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1421:13 [INFO] [stdout] | [INFO] [stdout] 1421 | ExprKind::Field(_, _) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1427:13 [INFO] [stdout] | [INFO] [stdout] 1427 | ExprKind::Cast(expr, ty) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1430:21 [INFO] [stdout] | [INFO] [stdout] 1430 | let TyKind::BareFn(fn_ty) = &mut ty.kind else { return }; [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1460:9 [INFO] [stdout] | [INFO] [stdout] 1460 | LocalKind::Decl => {} [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocalKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1461:9 [INFO] [stdout] | [INFO] [stdout] 1461 | LocalKind::Init(init) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocalKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalKind` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1464:9 [INFO] [stdout] | [INFO] [stdout] 1464 | LocalKind::InitElse(init, els) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocalKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VariantData` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1491:9 [INFO] [stdout] | [INFO] [stdout] 1491 | VariantData::Struct { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `VariantData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VariantData` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1497:9 [INFO] [stdout] | [INFO] [stdout] 1497 | VariantData::Tuple(fields, id) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `VariantData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VariantData` [INFO] [stdout] --> src/transformation/transform_visitor.rs:1501:9 [INFO] [stdout] | [INFO] [stdout] 1501 | VariantData::Unit(id) => vis.visit_id(id), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `VariantData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0463, E0531, E0554, E0574. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `forcrat` (lib) due to 543 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3e771c5a45f478ba4df1b8f9379f0bc3a76df00cd6940bd90a9e12e07b3a3555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e771c5a45f478ba4df1b8f9379f0bc3a76df00cd6940bd90a9e12e07b3a3555", kill_on_drop: false }` [INFO] [stdout] 3e771c5a45f478ba4df1b8f9379f0bc3a76df00cd6940bd90a9e12e07b3a3555