[INFO] cloning repository https://github.com/peroveri/em-refactor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peroveri/em-refactor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperoveri%2Fem-refactor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperoveri%2Fem-refactor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e52f0de7a6ef7300cb68d4f4f6c0a50a9ab46b27
[INFO] documenting peroveri/em-refactor against 1.59.0 for beta-1.60-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperoveri%2Fem-refactor" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/peroveri/em-refactor on toolchain 1.59.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-1/source/.cargo/config
[INFO] removed /workspace/builds/worker-1/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/peroveri/em-refactor
[INFO] finished tweaking git repo https://github.com/peroveri/em-refactor
[INFO] tweaked toml for git repo https://github.com/peroveri/em-refactor written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/peroveri/em-refactor already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded float-cmp v0.6.0
[INFO] [stderr]   Downloaded escargot v0.5.0
[INFO] [stderr]   Downloaded predicates v1.0.4
[INFO] [stderr]   Downloaded assert_cmd v0.12.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 957a28dfaa38c082394825547d9eff280a841f42b6f24a4c6a3d82a5e6a40d94
[INFO] running `Command { std: "docker" "start" "-a" "957a28dfaa38c082394825547d9eff280a841f42b6f24a4c6a3d82a5e6a40d94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "957a28dfaa38c082394825547d9eff280a841f42b6f24a4c6a3d82a5e6a40d94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "957a28dfaa38c082394825547d9eff280a841f42b6f24a4c6a3d82a5e6a40d94", kill_on_drop: false }`
[INFO] [stdout] 957a28dfaa38c082394825547d9eff280a841f42b6f24a4c6a3d82a5e6a40d94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3094a7945bd95939527883aac68de8c732898315170979570f21200406255cd6
[INFO] running `Command { std: "docker" "start" "-a" "3094a7945bd95939527883aac68de8c732898315170979570f21200406255cd6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking if_chain v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking regex-syntax v0.6.17
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking aho-corasick v0.7.10
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking regex v1.3.7
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking em-refactor-lib-types v0.1.0 (/opt/rustwide/workdir/em-refactor-lib-types)
[INFO] [stderr]  Documenting em-refactor-lib-types v0.1.0 (/opt/rustwide/workdir/em-refactor-lib-types)
[INFO] [stderr]     Checking em-refactor-lib v0.1.0 (/opt/rustwide/workdir/em-refactor-lib)
[INFO] [stderr]  Documenting em-refactor-experiments v0.1.0 (/opt/rustwide/workdir/em-refactor-experiments)
[INFO] [stderr]  Documenting em-refactor-lib v0.1.0 (/opt/rustwide/workdir/em-refactor-lib)
[INFO] [stdout] error[E0463]: can't find crate for `rustc_ast`
[INFO] [stdout]  --> em-refactor-lib/src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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]  --> em-refactor-lib/src/lib.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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_driver`
[INFO] [stdout]  --> em-refactor-lib/src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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]  --> em-refactor-lib/src/lib.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | extern crate rustc_errors;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_hir`
[INFO] [stdout]  --> em-refactor-lib/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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_hir_pretty`
[INFO] [stdout]  --> em-refactor-lib/src/lib.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | extern crate rustc_hir_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_infer`
[INFO] [stdout]   --> em-refactor-lib/src/lib.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate rustc_infer;
[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]   --> em-refactor-lib/src/lib.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | 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]   --> em-refactor-lib/src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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_span`
[INFO] [stdout]   --> em-refactor-lib/src/lib.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | 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[E0463]: can't find crate for `rustc_session`
[INFO] [stdout]   --> em-refactor-lib/src/lib.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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_typeck`
[INFO] [stdout]   --> em-refactor-lib/src/lib.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern crate rustc_typeck;
[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]  --> em-refactor-lib/src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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]  --> em-refactor-lib/src/lib.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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_driver`
[INFO] [stdout]  --> em-refactor-lib/src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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]  --> em-refactor-lib/src/lib.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | extern crate rustc_errors;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_hir`
[INFO] [stdout]  --> em-refactor-lib/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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_hir_pretty`
[INFO] [stdout]  --> em-refactor-lib/src/lib.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | extern crate rustc_hir_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_infer`
[INFO] [stdout]   --> em-refactor-lib/src/lib.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate rustc_infer;
[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]   --> em-refactor-lib/src/lib.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | 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]   --> em-refactor-lib/src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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_span`
[INFO] [stdout]   --> em-refactor-lib/src/lib.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | 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[E0463]: can't find crate for `rustc_session`
[INFO] [stdout]   --> em-refactor-lib/src/lib.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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_typeck`
[INFO] [stdout]   --> em-refactor-lib/src/lib.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern crate rustc_typeck;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind`
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             ItemKind::Union(..)
[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]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:49:15
[INFO] [stdout]    |
[INFO] [stdout] 49 |             | ItemKind::Enum(..) => {},
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared type `ItemKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:96:16
[INFO] [stdout]    |
[INFO] [stdout] 96 |         if let ExprKind::Struct(_, fields, _) = &expr.kind {
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImplItemKind`
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:106:15
[INFO] [stdout]     |
[INFO] [stdout] 106 |             | ImplItemKind::Const(.., body_id)
[INFO] [stdout]     |               ^^^^^^^^^^^^ use of undeclared type `ImplItemKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImplItemKind`
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:107:15
[INFO] [stdout]     |
[INFO] [stdout] 107 |             | ImplItemKind::Fn(.., body_id) => {
[INFO] [stdout]     |               ^^^^^^^^^^^^ use of undeclared type `ImplItemKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind`
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |             ItemKind::Static(.., body_id)
[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]    --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:127:15
[INFO] [stdout]     |
[INFO] [stdout] 127 |             | ItemKind::Const(.., body_id)
[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]    --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:128:15
[INFO] [stdout]     |
[INFO] [stdout] 128 |             | ItemKind::Fn(.., body_id) => {
[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]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             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]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |             PatKind::Binding(_, hir_id, _, None) => { 
[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]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |             PatKind::Binding(_, hir_id, _, Some(at_pattern)) => {
[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]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:88:24
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 if let PatKind::Wild = at_pattern.kind {
[INFO] [stdout]    |                        ^^^^^^^ use of undeclared type `PatKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind`
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:109:24
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 if let PatKind::Struct(_, fields, _) = &p.kind;
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `PatKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/mod.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 |     if let ItemKind::Impl {
[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]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:60:16
[INFO] [stdout]    |
[INFO] [stdout] 60 |         if let ExprKind::Path(qpath) = &function.kind {
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 |         if let ExprKind::Call(function, args) = &expr.kind {
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             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]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |             PatKind::Binding(_, hir_id, _, None) => { 
[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]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |             PatKind::Binding(_, hir_id, _, Some(at_pattern)) => {
[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]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:88:24
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 if let PatKind::Wild = at_pattern.kind {
[INFO] [stdout]    |                        ^^^^^^^ use of undeclared type `PatKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind`
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:109:24
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 if let PatKind::TupleStruct(_, fields, _) = &p.kind;
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `PatKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlaceBase`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             PlaceBase::Local(local_id) => {
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `PlaceBase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:32:24
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 if let Node::Binding(pat) = node {
[INFO] [stdout]    |                        ^^^^ use of undeclared type `Node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:86:51
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn borrow(&mut self, place: &Place<'tcx>, bk: ty::BorrowKind) {
[INFO] [stdout]    |                                                   ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:86:51
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn borrow(&mut self, place: &Place<'tcx>, bk: ty::BorrowKind) {
[INFO] [stdout]    |                                                   ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprUseVisitor`
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         ExprUseVisitor::new(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared type `ExprUseVisitor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:32:31
[INFO] [stdout]    |
[INFO] [stdout] 32 |         body_is_block: if let ExprKind::Block(..) = body.value.kind {true} else {false}
[INFO] [stdout]    |                               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         PatKind::Binding(_, _, id, _) => format!("{}", id),
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `PatKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlaceBase`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             PlaceBase::Local(local_id) => {
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `PlaceBase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 if let Node::Binding(pat) = node {
[INFO] [stdout]    |                        ^^^^ use of undeclared type `Node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:66:51
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn borrow(&mut self, place: &Place<'tcx>, bk: ty::BorrowKind) {
[INFO] [stdout]    |                                                   ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:66:51
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn borrow(&mut self, place: &Place<'tcx>, bk: ty::BorrowKind) {
[INFO] [stdout]    |                                                   ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprUseVisitor`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         ExprUseVisitor::new(
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ use of undeclared type `ExprUseVisitor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileName`
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/utils.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let file_name_real = FileName::Real(PathBuf::from(file_name.to_string()));
[INFO] [stdout]   |                          ^^^^^^^^ use of undeclared type `FileName`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileName`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     if let FileName::Real(pathbuf) = &filename {
[INFO] [stdout]    |            ^^^^^^^^ use of undeclared type `FileName`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileName`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     if let FileName::Real(pathbuf) = &filename {
[INFO] [stdout]    |            ^^^^^^^^ use of undeclared type `FileName`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Span`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/refactor_comment_collector.rs:28:41
[INFO] [stdout]    |
[INFO] [stdout] 28 | ...                   result.push(Span::with_root_ctxt(
[INFO] [stdout]    |                                   ^^^^ use of undeclared type `Span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Span`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/refactor_comment_collector.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |         Ok(Span::with_root_ctxt(
[INFO] [stdout]    |            ^^^^ use of undeclared type `Span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             ExprKind::Call(call_fn_expr, 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]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:31:25
[INFO] [stdout]    |
[INFO] [stdout] 31 |                         ExprKind::Closure(_capture, _fn_decl, _body, closure_params, _movability) => {
[INFO] [stdout]    |                         ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let block = if let Node::Block(b) = tcx.hir().get(block_hir_id) {
[INFO] [stdout]    |                        ^^^^ use of undeclared type `Node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if let Node::Expr(e) = node {
[INFO] [stdout]    |                ^^^^ use of undeclared type `Node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:51:20
[INFO] [stdout]    |
[INFO] [stdout] 51 |             if let ExprKind::Loop(b, ..) = e.kind {
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |             ExprKind::Match(_, ref arms, MatchSource::WhileDesugar) => {
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MatchSource`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:76:42
[INFO] [stdout]    |
[INFO] [stdout] 76 |             ExprKind::Match(_, ref arms, MatchSource::WhileDesugar) => {
[INFO] [stdout]    |                                          ^^^^^^^^^^^ use of undeclared type `MatchSource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             ExprKind::Break(dest, break_ex) => {
[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]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |             ExprKind::Continue(dest) => {
[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]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |             ExprKind::Ret(ret_ex) => {
[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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |         if let ExprKind::Match(ref iterexpr, ref arms, MatchSource::ForLoopDesugar) = expr.kind;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MatchSource`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:38:56
[INFO] [stdout]    |
[INFO] [stdout] 38 |         if let ExprKind::Match(ref iterexpr, ref arms, MatchSource::ForLoopDesugar) = expr.kind;
[INFO] [stdout]    |                                                        ^^^^^^^^^^^ use of undeclared type `MatchSource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if let ExprKind::Call(_, ref iterargs) = iterexpr.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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:41:16
[INFO] [stdout]    |
[INFO] [stdout] 41 |         if let ExprKind::Loop(ref block, _, _) = arms[0].body.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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |         if let StmtKind::Local(ref local) = let_stmt.kind;
[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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:45:16
[INFO] [stdout]    |
[INFO] [stdout] 45 |         if let StmtKind::Expr(ref expr) = body.kind;
[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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |         if let ExprKind::Loop(block, _, LoopSource::While) = &expr.kind;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoopSource`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:57:41
[INFO] [stdout]    |
[INFO] [stdout] 57 |         if let ExprKind::Loop(block, _, LoopSource::While) = &expr.kind;
[INFO] [stdout]    |                                         ^^^^^^^^^^ use of undeclared type `LoopSource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:59:16
[INFO] [stdout]    |
[INFO] [stdout] 59 |         if let ExprKind::Match(cond, arms, MatchSource::WhileDesugar) = &expr.kind;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MatchSource`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:59:44
[INFO] [stdout]    |
[INFO] [stdout] 59 |         if let ExprKind::Match(cond, arms, MatchSource::WhileDesugar) = &expr.kind;
[INFO] [stdout]    |                                            ^^^^^^^^^^^ use of undeclared type `MatchSource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:60:16
[INFO] [stdout]    |
[INFO] [stdout] 60 |         if let ExprKind::DropTemps(cond) = &cond.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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     if let ExprKind::Match(ref cond, ref arms, MatchSource::IfDesugar { contains_else_clause }) = expr.kind {
[INFO] [stdout]    |            ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MatchSource`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:80:48
[INFO] [stdout]    |
[INFO] [stdout] 80 |     if let ExprKind::Match(ref cond, ref arms, MatchSource::IfDesugar { contains_else_clause }) = expr.kind {
[INFO] [stdout]    |                                                ^^^^^^^^^^^ use of undeclared type `MatchSource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:81:27
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let cond = if let ExprKind::DropTemps(ref cond) = cond.kind {
[INFO] [stdout]    |                           ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsumeMode`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/expression_use_kind.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |             ConsumeMode::Copy => ExpressionUseKind::Copy,
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared type `ConsumeMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsumeMode`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/expression_use_kind.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             ConsumeMode::Move => ExpressionUseKind::Move
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared type `ConsumeMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BorrowKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/expression_use_kind.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             BorrowKind::ImmBorrow => ExpressionUseKind::ImmBorrow,
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type `BorrowKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BorrowKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/expression_use_kind.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             BorrowKind::UniqueImmBorrow => ExpressionUseKind::UniqueImmBorrow,
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type `BorrowKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BorrowKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/expression_use_kind.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |             BorrowKind::MutBorrow => ExpressionUseKind::MutBorrow,
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type `BorrowKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         NestedVisitorMap::All(self.tcx.0.hir())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             ItemKind::Fn(..) => {
[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]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |             ItemKind::Impl {of_trait, ..} => {
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `ItemKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:54:16
[INFO] [stdout]    |
[INFO] [stdout] 54 |         if let ExprKind::Path(qpath) = &expr.kind {
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QPath`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:55:20
[INFO] [stdout]    |
[INFO] [stdout] 55 |             if let QPath::Resolved(_, path) = qpath {
[INFO] [stdout]    |                    ^^^^^ use of undeclared type `QPath`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Res`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:56:24
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 if let Res::Local(hir_id) = path.res {
[INFO] [stdout]    |                        ^^^ use of undeclared type `Res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:84:16
[INFO] [stdout]    |
[INFO] [stdout] 84 |         if let ExprKind::Field(fexpr, ident) = &expr.kind {
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedVisitorMap`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared type `NestedVisitorMap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind`
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:56:16
[INFO] [stdout]    |
[INFO] [stdout] 56 |         if let ItemKind::Struct(data, _) = &item.kind {
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `ItemKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:13:78
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn collect_box_field_all_candidates(ctx: &AstContext) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                                        -                                     ^^^^ not found in this scope
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:16:80
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn collect_box_field_named_candidates(ctx: &AstContext) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                                          -                                     ^^^^ not found in this scope
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:19:80
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn collect_box_field_tuple_candidates(ctx: &AstContext) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                                          -                                     ^^^^ not found in this scope
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:22:98
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn collect_box_field_candidates(ctx: &AstContext, mode: CollectFieldMode) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `<Span>`       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct ExtractBlockCandidateVisitor {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 33 |     candidates: Vec<Span>,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl<'ast> Visitor<'ast> for ExtractBlockCandidateVisitor {
[INFO] [stdout]    |            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:46:39
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn visit_item(&mut self, i: &'ast Item) {
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:53:47
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn visit_struct_field(&mut self, b: &'ast StructField) {
[INFO] [stdout]    |                                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/candidates/extract_method_candidate_collector.rs:9:78
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn collect_extract_block_candidates(ctx: &AstContext) -> QueryResult<Vec<Span>> {
[INFO] [stdout]   |                                        -                                     ^^^^ not found in this scope
[INFO] [stdout]   |                                        |
[INFO] [stdout]   |                                        help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/extract_method_candidate_collector.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct ExtractBlockCandidateVisitor {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 20 |     candidates: Vec<Span>
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/extract_method_candidate_collector.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl<'ast> Visitor<'ast> for ExtractBlockCandidateVisitor {
[INFO] [stdout]    |            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/extract_method_candidate_collector.rs:24:40
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn visit_block(&mut self, b: &'ast Block) {
[INFO] [stdout]    |                                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/candidates/query_candidates.rs:7:93
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn map_to_pos_query(args: CandidateQueryArgs, f: Box<dyn Fn(&AstContext) -> QueryResult<Vec<Span>> + Send>) -> Query<CandidateOutput> {
[INFO] [stdout]   |                    - help: you might be missing a type parameter: `<Span>`                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/box_field/mod.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct StructPatternCollection {
[INFO] [stdout]   |                                   - help: you might be missing a type parameter: `<HirId>`
[INFO] [stdout] 9 |     pub new_bindings: Vec<HirId>,
[INFO] [stdout]   |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_field/mod.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct StructPatternCollection {
[INFO] [stdout]    |                                   - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 9  |     pub new_bindings: Vec<HirId>,
[INFO] [stdout] 10 |     pub other: Vec<Span>
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_field/mod.rs:34:46
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn do_refactoring(tcx: &TyContext, span: Span, _add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn collect_struct_expressions(
[INFO] [stdout]    |                                  - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 33 | ) -> QueryResult<(Vec<Span>, Vec<(Span, String)>)> {
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn collect_struct_expressions(
[INFO] [stdout]    |                                  - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 33 | ) -> QueryResult<(Vec<Span>, Vec<(Span, String)>)> {
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct StructExpressionCollector<'v> {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 53 |     field: Vec<Span>,
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:54:22
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct StructExpressionCollector<'v> {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 54 |     shorthands: Vec<(Span, String)>,
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:56:19
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct StructExpressionCollector<'v> {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 56 |     body_ids: Vec<BodyId>,
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:61:50
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn expr_resolves_to_struct(&mut 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]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:75:38
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn handle_expr(&mut self, expr: &Expr, fields: &[Field]) {
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Field` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:75:54
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn handle_expr(&mut self, expr: &Expr, fields: &[Field]) {
[INFO] [stdout]    |                                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:90:10
[INFO] [stdout]    |
[INFO] [stdout] 90 | impl<'v> Visitor<'v> for StructExpressionCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:91:16
[INFO] [stdout]    |
[INFO] [stdout] 91 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:92:39
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:95:40
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn visit_expr(&mut self, expr: &'v Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |         i: &'v ImplItem<'v>
[INFO] [stdout]     |                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:119:16
[INFO] [stdout]     |
[INFO] [stdout] 119 |         i: &'v Item<'v>
[INFO] [stdout]     |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:61:20
[INFO] [stdout]    |
[INFO] [stdout] 61 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn path_resolves_to_struct(&self, pat: &Pat) -> bool {
[INFO] [stdout]    |                                             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PatKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:80:54
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn struct_pattern_used(&mut self, pattern_kind: &PatKind, span: Span) {
[INFO] [stdout]    |                                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:80:69
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn struct_pattern_used(&mut self, pattern_kind: &PatKind, span: Span) {
[INFO] [stdout]    |                                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:101:10
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl<'v> Visitor<'v> for StructPatternCollector<'v> {
[INFO] [stdout]     |          ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   | use serde::de::Visitor;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:102:16
[INFO] [stdout]     |
[INFO] [stdout] 102 |     type Map = Map<'v>;
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::iter::Map;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use itertools::__std_iter::Map;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use serde_json::Map;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::iter::Map;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:103:39
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:106:36
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn visit_pat(&mut self, p: &'v Pat) {
[INFO] [stdout]     |                                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:118:37
[INFO] [stdout]     |
[INFO] [stdout] 118 |     fn visit_item(&mut self, i: &'v Item<'v>) {
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/mod.rs:12:55
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn do_refactoring(tcx: &TyContext, struct_hir_id: HirId, field_ident: &str, field_ty_span: Span) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/mod.rs:12:96
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn do_refactoring(tcx: &TyContext, struct_hir_id: HirId, field_ident: &str, field_ty_span: Span) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                                                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/mod.rs:53:46
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn is_impl_from_std_derive_expansion(i: &Item<'_>) -> bool {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn collect_struct_constructor_calls(
[INFO] [stdout]    |                                        - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 27 | ) -> Vec<Span> {
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct StructConstructorCallCollector<'v> {
[INFO] [stdout]    |                                         - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 44 |     field: Vec<Span>,
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct StructConstructorCallCollector<'v> {
[INFO] [stdout]    |                                         - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 46 |     body_id: Option<BodyId>,
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:50:46
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn expr_resolves_to_struct(&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]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:59:38
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn handle_call(&mut self, expr: &Expr, function: &Expr, 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]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:59:55
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn handle_call(&mut self, expr: &Expr, function: &Expr, 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]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:59:69
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn handle_call(&mut self, expr: &Expr, function: &Expr, args: &[Expr]) {
[INFO] [stdout]    |                                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl<'v> Visitor<'v> for StructConstructorCallCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:77:16
[INFO] [stdout]    |
[INFO] [stdout] 77 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:78:39
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         fk: FnKind<'v>,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 84 |         fd: &'v FnDecl,
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:85:18
[INFO] [stdout]    |
[INFO] [stdout] 85 |         body_id: BodyId,
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 |         s: Span,
[INFO] [stdout]    |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |         h: HirId,
[INFO] [stdout]    |            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:92:40
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn visit_expr(&mut self, expr: &'v Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:61:20
[INFO] [stdout]    |
[INFO] [stdout] 61 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn path_resolves_to_struct(&self, pat: &Pat) -> bool {
[INFO] [stdout]    |                                             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PatKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:80:54
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn struct_pattern_used(&mut self, pattern_kind: &PatKind, span: Span) {
[INFO] [stdout]    |                                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:80:69
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn struct_pattern_used(&mut self, pattern_kind: &PatKind, span: Span) {
[INFO] [stdout]    |                                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:101:10
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl<'v> Visitor<'v> for StructPatternCollector<'v> {
[INFO] [stdout]     |          ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   | use serde::de::Visitor;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:102:16
[INFO] [stdout]     |
[INFO] [stdout] 102 |     type Map = Map<'v>;
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::iter::Map;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use itertools::__std_iter::Map;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use serde_json::Map;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::iter::Map;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:103:39
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:106:36
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn visit_pat(&mut self, p: &'v Pat) {
[INFO] [stdout]     |                                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/mod.rs:12:55
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn do_refactoring(tcx: &TyContext, struct_hir_id: HirId, field_index: usize, field_ty_span: Span) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/mod.rs:12:97
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn do_refactoring(tcx: &TyContext, struct_hir_id: HirId, field_index: usize, field_ty_span: Span) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                                                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |     extract_span: Span,
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct VariableCollectorDelegate<'tcx> {
[INFO] [stdout]    |                                      - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 19 |     usages: Vec<(HirId, String, ExpressionUseKind, String, TypeKind)>,
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:24:51
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn get_ident_and_decl_span(&mut self, place: &Place, bk: ExpressionUseKind) -> QueryResult<()> {
[INFO] [stdout]    |                                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:48:20
[INFO] [stdout]    |
[INFO] [stdout] 48 |         used_span: Span,
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:49:17
[INFO] [stdout]    |
[INFO] [stdout] 49 |         place: &Place,
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Delegate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:81:16
[INFO] [stdout]    |
[INFO] [stdout] 81 | impl<'a, 'tcx> Delegate<'tcx> for VariableCollectorDelegate<'tcx> {
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:82:35
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn consume(&mut self, place: &Place<'tcx>, cm: ConsumeMode) {
[INFO] [stdout]    |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ConsumeMode` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:82:52
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn consume(&mut self, place: &Place<'tcx>, cm: ConsumeMode) {
[INFO] [stdout]    |                                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:86:34
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn borrow(&mut self, place: &Place<'tcx>, bk: ty::BorrowKind) {
[INFO] [stdout]    |                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:90:34
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn mutate(&mut self, place: &Place<'tcx>) {
[INFO] [stdout]    |                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:95:26
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn collect_vars(tcx: TyCtxt<'_>, body_id: BodyId) -> QueryResult<Vec<(HirId, String, ExpressionUseKind, String, TypeKind)>> {
[INFO] [stdout]    |                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:95:47
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn collect_vars(tcx: TyCtxt<'_>, body_id: BodyId) -> QueryResult<Vec<(HirId, String, ExpressionUseKind, String, TypeKind)>> {
[INFO] [stdout]    |                                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compilation`
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 Compilation::Continue
[INFO] [stdout]    |                 ^^^^^^^^^^^ use of undeclared type `Compilation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:95:75
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn collect_vars(tcx: TyCtxt<'_>, body_id: BodyId) -> QueryResult<Vec<(HirId, String, ExpressionUseKind, String, TypeKind)>> {
[INFO] [stdout]    |                    -                                                      ^^^^^ not found in this scope
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    help: you might be missing a type parameter: `<HirId>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compilation`
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 Compilation::Stop
[INFO] [stdout]    |                 ^^^^^^^^^^^ use of undeclared type `Compilation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |     tcx: TyCtxt<'v>,
[INFO] [stdout]   |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compilation`
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Compilation::Continue
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared type `Compilation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct BlockCollector<'v> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] 9  |     tcx: TyCtxt<'v>,
[INFO] [stdout] 10 |     pos: Vec<HirId>,
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct BlockCollector<'v> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     result: Vec<Span>
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:18:61
[INFO] [stdout]    |
[INFO] [stdout] 18 |  pub fn collect_local_uses<'v>(tcx: &'v TyContext, pos: Vec<HirId>, body: BodyId) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                              -                              ^^^^^ not found in this scope
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:18:75
[INFO] [stdout]    |
[INFO] [stdout] 18 |  pub fn collect_local_uses<'v>(tcx: &'v TyContext, pos: Vec<HirId>, body: BodyId) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:18:102
[INFO] [stdout]    |
[INFO] [stdout] 18 |  pub fn collect_local_uses<'v>(tcx: &'v TyContext, pos: Vec<HirId>, body: BodyId) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                              - help: you might be missing a type parameter: `, Span`                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl<'v> Visitor<'v> for BlockCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 31 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:32:39
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:35:40
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn visit_path(&mut self, path: &'v Path<'v>, _id: HirId) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:35:55
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn visit_path(&mut self, path: &'v Path<'v>, _id: HirId) {
[INFO] [stdout]    |                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/collect_new_closure.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct NewClosure {
[INFO] [stdout]    |                      - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub uses: Vec<Span>,
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/collect_new_closure.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct NewClosure {
[INFO] [stdout]    |                      - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub selfs: Vec<Span>
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/collect_new_closure.rs:17:55
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn collect_vars3<'v>(tcx: &'v TyContext, body_id: BodyId) -> QueryResult<NewClosure> {
[INFO] [stdout]    |                                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/mod.rs:18:46
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn do_refactoring(tcx: &TyContext, span: Span, _add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:21:46
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn do_refactoring(tcx: &TyContext, span: Span, add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Param` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:85:19
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn get_ident(ty: &Param) -> String {
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `core::fmt::rt::v1::Count::Param` and 3 others; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn get_ident(ty: &core::fmt::rt::v1::Count) -> String {
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 85 | fn get_ident(ty: &serde::export::fmt::rt::v1::Count) -> String {
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 85 | fn get_ident(ty: &std::fmt::rt::v1::Count) -> String {
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyS` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:93:19
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn format_ty(ty: &TyS) -> 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]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:97:58
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn get_type_of_expression<'v>(tcx: &'v TyContext, expr: &Expr, body_id: BodyId) -> QueryResult<&'v TyS<'v>> {
[INFO] [stdout]    |                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:97:73
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn get_type_of_expression<'v>(tcx: &'v TyContext, expr: &Expr, body_id: BodyId) -> QueryResult<&'v TyS<'v>> {
[INFO] [stdout]    |                                                                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyS` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:97:100
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn get_type_of_expression<'v>(tcx: &'v TyContext, expr: &Expr, body_id: BodyId) -> QueryResult<&'v TyS<'v>> {
[INFO] [stdout]    |                                                                                                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 |     extract_span: Span,
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:18:47
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn get_ident_and_decl_span(&self, place: &Place) -> QueryResult<Option<String>> {
[INFO] [stdout]    |                                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 42 |         used_span: Span,
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |         place: &Place,
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Delegate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:61:16
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl<'a, 'tcx> Delegate<'tcx> for VariableCollectorDelegate<'tcx> {
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn consume(&mut self, place: &Place<'tcx>, cm: ConsumeMode) {
[INFO] [stdout]    |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ConsumeMode` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:62:52
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn consume(&mut self, place: &Place<'tcx>, cm: ConsumeMode) {
[INFO] [stdout]    |                                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compilation`
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             Compilation::Continue
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared type `Compilation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:66:34
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn borrow(&mut self, place: &Place<'tcx>, bk: ty::BorrowKind) {
[INFO] [stdout]    |                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compilation`
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |             Compilation::Stop
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared type `Compilation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:70:34
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn mutate(&mut self, place: &Place<'tcx>) {
[INFO] [stdout]    |                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:77:84
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn collect_variables_declared_in_span_and_used_later(tcx: &TyContext, body_id: BodyId, span: Span) -> QueryResult<VariableUseCollecti...
[INFO] [stdout]    |                                                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:77:98
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn collect_variables_declared_in_span_and_used_later(tcx: &TyContext, body_id: BodyId, span: Span) -> QueryResult<VariableUseCollecti...
[INFO] [stdout]    |                                                                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/extract_block/push_stmt_into_block.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     body_id: BodyId,
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/extract_block/push_stmt_into_block.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 |     span: Span,
[INFO] [stdout]   |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/mod.rs:31:46
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn do_refactoring(tcx: &TyContext, span: Span, add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/inline_macro/mod.rs:6:47
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn do_refactoring(ast: &AstContext, span: Span, _: bool) -> QueryResult<AstDiff>{
[INFO] [stdout]   |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/introduce_closure/mod.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn get_call(tcx: TyCtxt, span: Span, add_comment: bool) -> QueryResult<FileStringReplacement> {
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/introduce_closure/mod.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn get_call(tcx: TyCtxt, span: Span, add_comment: bool) -> QueryResult<FileStringReplacement> {
[INFO] [stdout]   |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/introduce_closure/mod.rs:38:46
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn do_refactoring(tcx: &TyContext, span: Span, add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/introduce_closure/mod.rs:73:75
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn get_parent_mod_inner(tcx: &TyContext, hir_id: rustc_hir::HirId) -> Span {
[INFO] [stdout]    |                                                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:8:55
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn collect_qpaths<'v>(tcx: &'v TyContext, def_id: DefId) -> Vec<Span> {
[INFO] [stdout]   |                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:8:69
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn collect_qpaths<'v>(tcx: &'v TyContext, def_id: DefId) -> Vec<Span> {
[INFO] [stdout]   |                         -                                           ^^^^ not found in this scope
[INFO] [stdout]   |                         |
[INFO] [stdout]   |                         help: you might be missing a type parameter: `, Span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<'v> Visitor<'v> for CallExprCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:23:39
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Body` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn visit_body(&mut self, b: &'v Body<'v>) {
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `QPath` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:31:42
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn visit_qpath(&mut self, qpath: &'v QPath<'v>, id: HirId, span: Span) {
[INFO] [stdout]    |                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:31:57
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn visit_qpath(&mut self, qpath: &'v QPath<'v>, id: HirId, span: Span) {
[INFO] [stdout]    |                                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:31:70
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn visit_qpath(&mut self, qpath: &'v QPath<'v>, id: HirId, span: Span) {
[INFO] [stdout]    |                                                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 43 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct CallExprCollector<'v> {
[INFO] [stdout]    |                            - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] 43 |     tcx: TyCtxt<'v>,
[INFO] [stdout] 44 |     paths: Vec<Span>,
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |     def_id: DefId,
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct CallExprCollector<'v> {
[INFO] [stdout]    |                            - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 46 |     bodies: Vec<BodyId>
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/lift_function_declaration/mod.rs:9:46
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn do_refactoring(tcx: &TyContext, span: Span, _add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]   |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:10:51
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn do_refactoring(context: &AstContext, span: Span, add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn filter_items(stmts: &[Stmt]) -> Vec<&Stmt> {
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:39:41
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn filter_items(stmts: &[Stmt]) -> Vec<&Stmt> {
[INFO] [stdout]    |                -                        ^^^^ not found in this scope
[INFO] [stdout]    |                |
[INFO] [stdout]    |                help: you might be missing a type parameter: `<Stmt>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:42:39
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn contains_stmt_from_macro(stmts: &[&Stmt]) -> bool {
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:45:42
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn filter_stmts_in_span<'a>(stmts: &[&'a Stmt], span: Span) -> Vec<&'a Stmt> {
[INFO] [stdout]    |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:45:55
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn filter_stmts_in_span<'a>(stmts: &[&'a Stmt], span: Span) -> Vec<&'a Stmt> {
[INFO] [stdout]    |                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:45:72
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn filter_stmts_in_span<'a>(stmts: &[&'a Stmt], span: Span) -> Vec<&'a Stmt> {
[INFO] [stdout]    |                           -                                            ^^^^ not found in this scope
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           help: you might be missing a type parameter: `, Stmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/remove_refactoring_comments/mod.rs:6:52
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn do_refactoring(context: &AstContext, _span: Span, _add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]   |                                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/utils.rs:8:44
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) fn get_file_offset(source_map: &SourceMap, file_name: &str) -> QueryResult<u32> {
[INFO] [stdout]   |                                            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn get_local_filename(source_map: &SourceMap, span: Span) -> QueryResult<String> {
[INFO] [stdout]    |                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:13:53
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn get_local_filename(source_map: &SourceMap, span: Span) -> QueryResult<String> {
[INFO] [stdout]    |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:27:30
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn get_filename(source_map: &SourceMap, span: Span) -> QueryResult<String> {
[INFO] [stdout]    |                              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:27:47
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn get_filename(source_map: &SourceMap, span: Span) -> QueryResult<String> {
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:37:49
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub(crate) fn map_change_from_span(source_map: &SourceMap, span: Span, replacement: String) -> QueryResult<FileStringReplacement> {
[INFO] [stdout]    |                                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:37:66
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub(crate) fn map_change_from_span(source_map: &SourceMap, span: Span, replacement: String) -> QueryResult<FileStringReplacement> {
[INFO] [stdout]    |                                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub(crate) fn get_source(tcx: TyCtxt, span: Span) -> String {
[INFO] [stdout]    |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:55:45
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub(crate) fn get_source(tcx: TyCtxt, span: Span) -> String {
[INFO] [stdout]    |                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:60:46
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub(crate) fn map_span_to_index(source_map: &SourceMap, span: Span) -> QueryResult<(String, Range)> {
[INFO] [stdout]    |                                              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:60:63
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub(crate) fn map_span_to_index(source_map: &SourceMap, span: Span) -> QueryResult<(String, Range)> {
[INFO] [stdout]    |                                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiagnosticOutput`
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/rustc_rerun.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             DiagnosticOutput::Raw(Box::new(self.0.clone()));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `DiagnosticOutput`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     span: Span,
[INFO] [stdout]   |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct BlockVisitorCollector<'v> {
[INFO] [stdout]   |                                - help: you might be missing a type parameter: `, Block`
[INFO] [stdout] 7 |     span: Span,
[INFO] [stdout] 8 |     result: Option<&'v Block>,
[INFO] [stdout]   |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:16:67
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn collect_innermost_block<'v>(context: &'v AstContext, span: Span) -> QueryResult<&'v Block> {
[INFO] [stdout]    |                                                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:16:92
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn collect_innermost_block<'v>(context: &'v AstContext, span: Span) -> QueryResult<&'v Block> {
[INFO] [stdout]    |                                  - help: you might be missing a type parameter: `, Block`  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl<'v> Visitor<'v> for BlockVisitorCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:32:32
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn visit_fn(&mut self, fk: FnKind<'v>, s: Span, _: NodeId) {
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:32:47
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn visit_fn(&mut self, fk: FnKind<'v>, s: Span, _: NodeId) {
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:32:56
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn visit_fn(&mut self, fk: FnKind<'v>, s: Span, _: NodeId) {
[INFO] [stdout]    |                                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:39:42
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn visit_block(&mut self, block: &'v Block) {
[INFO] [stdout]    |                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/ast/refactor_comment_collector.rs:9:72
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn collect_comments(context: &SourceMapContext) -> QueryResult<Vec<Span>> {
[INFO] [stdout]   |                        -                                               ^^^^ not found in this scope
[INFO] [stdout]   |                        |
[INFO] [stdout]   |                        help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/refactor_comment_collector.rs:49:93
[INFO] [stdout]    |
[INFO] [stdout] 49 |  pub fn collect_comments_with_id(context: &SourceMapContext, range_id: &str) -> QueryResult<Span> {
[INFO] [stdout]    |                                 - help: you might be missing a type parameter: `<Span>`     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:8:63
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn collect_anonymous_closure<'v>(tcx: &'v TyContext, pos: Span) -> QueryResult<Closure<'v>> {
[INFO] [stdout]   |                                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<'v> Visitor<'v> for ClosureCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:22:39
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:25:38
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn visit_expr(&mut self, ex: &'v Expr<'v>) {
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:55:22
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub params_span: Span,
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:56:24
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub call_expr: &'v Expr<'v>,
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:57:27
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub call_fn_expr: &'v Expr<'v>,
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub body_id: BodyId,
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:60:22
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn_decl: &'v FnDecl<'v>,
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub args_1: &'v [Expr<'v>]
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:64:25
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn get_arg_span(args: &[Expr], call_expr: &Expr) -> Span {
[INFO] [stdout]    |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileName`
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let file_name_real = FileName::Real(std::path::PathBuf::from(file_name));
[INFO] [stdout]    |                              ^^^^^^^^ use of undeclared type `FileName`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:64:44
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn get_arg_span(args: &[Expr], call_expr: &Expr) -> Span {
[INFO] [stdout]    |                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:64:53
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn get_arg_span(args: &[Expr], call_expr: &Expr) -> Span {
[INFO] [stdout]    |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:73:41
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub fn get_next_param_pos(&self) -> Span {
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:76:39
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn get_next_arg_pos(&self) -> Span {
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:83:10
[INFO] [stdout]    |
[INFO] [stdout] 83 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pos: Span,
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Span`
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 |             Ok(Span::with_root_ctxt(
[INFO] [stdout]    |                ^^^^ use of undeclared type `Span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub cf_key_span: Span,
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub cf_expr_span: Span,
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:15:31
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ControlFlowExpr {
[INFO] [stdout]    |                           - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub sub_expr_span: Option<Span>,
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:63:39
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl ControlFlowExprCollection {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn replace_cfs(&self) -> Vec<(Span, String)> {
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:144:47
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn new(cf_type: CfType, cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:144:66
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn new(cf_type: CfType, cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:144:94
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl ControlFlowExpr {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub fn new(cf_type: CfType, cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                                                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:153:31
[INFO] [stdout]     |
[INFO] [stdout] 153 |     pub fn cont(cf_expr_span: Span) -> Self {
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:162:30
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub fn brk(cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:162:49
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub fn brk(cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:162:77
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl ControlFlowExpr {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn brk(cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:171:30
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub fn ret(cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:171:49
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub fn ret(cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:171:77
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl ControlFlowExpr {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn ret(cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:180:31
[INFO] [stdout]     |
[INFO] [stdout] 180 |     pub fn expr(cf_expr_span: Span, sub_expr_type: String) -> Self {
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |     block_span: Span,
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn collect_cfs(tcx: TyCtxt<'_>, block_hir_id: HirId) -> ControlFlowExprCollection {
[INFO] [stdout]    |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:19:51
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn collect_cfs(tcx: TyCtxt<'_>, block_hir_id: HirId) -> ControlFlowExprCollection {
[INFO] [stdout]    |                                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Destination` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:45:37
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn points_outside(&self, dest: &Destination) -> bool {
[INFO] [stdout]    |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl<'v> Visitor<'v> for CfExprCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:60:16
[INFO] [stdout]    |
[INFO] [stdout] 60 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:61:39
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |         _fk: FnKind<'v>,
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:67:18
[INFO] [stdout]    |
[INFO] [stdout] 67 |         _fd: &'v FnDecl,
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         _b: BodyId,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         _s: Span,
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 |         _id: HirId,
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:74:38
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn visit_expr(&mut self, ex: &'v Expr<'v>) {
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:121:27
[INFO] [stdout]     |
[INFO] [stdout] 121 | fn get_type_of_expr(tcx: &TyCtxt, expr: &Expr) -> 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]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:121:42
[INFO] [stdout]     |
[INFO] [stdout] 121 | fn get_type_of_expr(tcx: &TyCtxt, expr: &Expr) -> String {
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:5:79
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn walk_desugars<'v, T>(visitor: &mut T, expr: &'v Expr) -> bool where T: Visitor<'v> {
[INFO] [stdout]   |                                                                               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::de::Visitor;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:5:56
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn walk_desugars<'v, T>(visitor: &mut T, expr: &'v Expr) -> bool where T: Visitor<'v> {
[INFO] [stdout]   |                                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |     expr: &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:36:15
[INFO] [stdout]    |
[INFO] [stdout] 36 | ) -> Option<(&Pat<'_>, &'tcx Expr<'tcx>, &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:36:30
[INFO] [stdout]    |
[INFO] [stdout] 36 | ) -> Option<(&Pat<'_>, &'tcx Expr<'tcx>, &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:36:48
[INFO] [stdout]    |
[INFO] [stdout] 36 | ) -> Option<(&Pat<'_>, &'tcx Expr<'tcx>, &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn while_loop<'tcx>(expr: &'tcx Expr<'tcx>) -> Option<(&'tcx Expr<'tcx>, &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:55:62
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn while_loop<'tcx>(expr: &'tcx Expr<'tcx>) -> Option<(&'tcx Expr<'tcx>, &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:55:80
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn while_loop<'tcx>(expr: &'tcx Expr<'tcx>) -> Option<(&'tcx Expr<'tcx>, &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     expr: &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:76:11
[INFO] [stdout]    |
[INFO] [stdout] 76 |     &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:77:11
[INFO] [stdout]    |
[INFO] [stdout] 77 |     &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 78 |     Option<&'tcx Expr<'tcx>>,
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ConsumeMode` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/expression_use_kind.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn from_consume_mode(cm: ConsumeMode) -> Self {
[INFO] [stdout]    |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:13:78
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn collect_box_field_all_candidates(ctx: &AstContext) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                                        -                                     ^^^^ not found in this scope
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BorrowKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/expression_use_kind.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn from_borrow_kind(bk: BorrowKind) -> Self {
[INFO] [stdout]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:16:80
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn collect_box_field_named_candidates(ctx: &AstContext) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                                          -                                     ^^^^ not found in this scope
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:8:73
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn collect_function_definition<'a, 'v>(tcx: &'a TyContext<'v>, pos: Span) -> QueryResult<FnDefinition<'v>> {
[INFO] [stdout]   |                                                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:19:80
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn collect_box_field_tuple_candidates(ctx: &AstContext) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                                          -                                     ^^^^ not found in this scope
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:22:98
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn collect_box_field_candidates(ctx: &AstContext, mode: CollectFieldMode) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `<Span>`       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<'a, 'v> Visitor<'v> for FnDefCollector<'a, 'v> {
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     walk_crate(&mut visitor, crate_);
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct ExtractBlockCandidateVisitor {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 33 |     candidates: Vec<Span>,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl<'ast> Visitor<'ast> for ExtractBlockCandidateVisitor {
[INFO] [stdout]    |            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:23:39
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:46:39
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn visit_item(&mut self, i: &'ast Item) {
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_item` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 |             _ => walk_item(self, i)
[INFO] [stdout]    |                  ^^^^^^^^^---------
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  help: try calling `walk_item` as a method: `self.walk_item(i)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:26:43
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn visit_impl_item(&mut self, ii: &'v ImplItem<'v>) {
[INFO] [stdout]    |                                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/box_field_candidate_collector.rs:53:47
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn visit_struct_field(&mut self, b: &'ast StructField) {
[INFO] [stdout]    |                                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:32:37
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn visit_item(&mut self, i: &'v Item<'v>) {
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/candidates/extract_method_candidate_collector.rs:9:78
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn collect_extract_block_candidates(ctx: &AstContext) -> QueryResult<Vec<Span>> {
[INFO] [stdout]   |                                        -                                     ^^^^ not found in this scope
[INFO] [stdout]   |                                        |
[INFO] [stdout]   |                                        help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/extract_method_candidate_collector.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     walk_crate(&mut visitor, crate_);
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:62:15
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub span: Span,
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/extract_method_candidate_collector.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct ExtractBlockCandidateVisitor {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 20 |     candidates: Vec<Span>
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/extract_method_candidate_collector.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl<'ast> Visitor<'ast> for ExtractBlockCandidateVisitor {
[INFO] [stdout]    |            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub hir_id: DefId,
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/extract_method_candidate_collector.rs:24:40
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn visit_block(&mut self, b: &'ast Block) {
[INFO] [stdout]    |                                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Mod` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:64:25
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub parent_mod: &'v Mod<'v>,
[INFO] [stdout]    |                         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/candidates/extract_method_candidate_collector.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         walk_block(self, b);
[INFO] [stdout]    |         ^^^^^^^^^^---------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_block` as a method: `self.walk_block(b)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub mod_span: Span,
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/candidates/query_candidates.rs:7:93
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn map_to_pos_query(args: CandidateQueryArgs, f: Box<dyn Fn(&AstContext) -> QueryResult<Vec<Span>> + Send>) -> Query<CandidateOutput> {
[INFO] [stdout]   |                    - help: you might be missing a type parameter: `<Span>`                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/box_field/mod.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct StructPatternCollection {
[INFO] [stdout]   |                                   - help: you might be missing a type parameter: `<HirId>`
[INFO] [stdout] 9 |     pub new_bindings: Vec<HirId>,
[INFO] [stdout]   |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:66:24
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct FnDefinition<'v> {
[INFO] [stdout]    |                           - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub impl_: Option<(Span, bool)>
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_field/mod.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct StructPatternCollection {
[INFO] [stdout]    |                                   - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 9  |     pub new_bindings: Vec<HirId>,
[INFO] [stdout] 10 |     pub other: Vec<Span>
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_field/mod.rs:34:46
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn do_refactoring(tcx: &TyContext, span: Span, _add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:71:43
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn get_parent_mod_inner(&self) -> Span {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:82:10
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pos: Span,
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn collect_struct_expressions(
[INFO] [stdout]    |                                  - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 33 | ) -> QueryResult<(Vec<Span>, Vec<(Span, String)>)> {
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn collect_struct_expressions(
[INFO] [stdout]    |                                  - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 33 | ) -> QueryResult<(Vec<Span>, Vec<(Span, String)>)> {
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 80 | struct FnDefCollector<'a, 'v> {
[INFO] [stdout]    |                             - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 84 |     impl_items: Vec<Span>,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     walk_crate(&mut v, tcx.0.hir().krate());
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct StructExpressionCollector<'v> {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 53 |     field: Vec<Span>,
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:54:22
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct StructExpressionCollector<'v> {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 54 |     shorthands: Vec<(Span, String)>,
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:56:19
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct StructExpressionCollector<'v> {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 56 |     body_ids: Vec<BodyId>,
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pos: Span,
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:61:50
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn expr_resolves_to_struct(&mut 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]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:75:38
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn handle_expr(&mut self, expr: &Expr, fields: &[Field]) {
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Field` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:75:54
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn handle_expr(&mut self, expr: &Expr, fields: &[Field]) {
[INFO] [stdout]    |                                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct BlockCollector<'v> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     body_id: Vec<BodyId>,
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:90:10
[INFO] [stdout]    |
[INFO] [stdout] 90 | impl<'v> Visitor<'v> for StructExpressionCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 |     result: Option<(&'v Block<'v>, BodyId)>
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:91:16
[INFO] [stdout]    |
[INFO] [stdout] 91 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:92:39
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct BlockCollector<'v> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     result: Option<(&'v Block<'v>, BodyId)>
[INFO] [stdout]    |                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:95:40
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn visit_expr(&mut self, expr: &'v Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:20:61
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn collect_innermost_block<'v>(tcx: &'v TyContext, pos: Span) -> QueryResult<(&'v Block<'v>, BodyId)> {
[INFO] [stdout]    |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         walk_expr(self, expr);
[INFO] [stdout]    |         ^^^^^^^^^------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_expr` as a method: `self.walk_expr(expr)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |         i: &'v ImplItem<'v>
[INFO] [stdout]     |                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:20:87
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn collect_innermost_block<'v>(tcx: &'v TyContext, pos: Span) -> QueryResult<(&'v Block<'v>, BodyId)> {
[INFO] [stdout]    |                                                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_impl_item` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 walk_impl_item(self, i);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^---------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: try calling `walk_impl_item` as a method: `self.walk_impl_item(i)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_impl_item` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 walk_impl_item(self, i);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^---------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: try calling `walk_impl_item` as a method: `self.walk_impl_item(i)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:119:16
[INFO] [stdout]     |
[INFO] [stdout] 119 |         i: &'v Item<'v>
[INFO] [stdout]     |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:20:98
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn collect_innermost_block<'v>(tcx: &'v TyContext, pos: Span) -> QueryResult<(&'v Block<'v>, BodyId)> {
[INFO] [stdout]    |                                  - help: you might be missing a type parameter: `, BodyId`       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_item` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 walk_item(self, i);
[INFO] [stdout]     |                 ^^^^^^^^^---------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: try calling `walk_item` as a method: `self.walk_item(i)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_item` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_expression_collector.rs:134:17
[INFO] [stdout]     |
[INFO] [stdout] 134 |                 walk_item(self, i);
[INFO] [stdout]     |                 ^^^^^^^^^---------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: try calling `walk_item` as a method: `self.walk_item(i)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<'v> Visitor<'v> for BlockCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     walk_crate(&mut v, tcx.0.hir().krate());
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:61:20
[INFO] [stdout]    |
[INFO] [stdout] 61 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn path_resolves_to_struct(&self, pat: &Pat) -> bool {
[INFO] [stdout]    |                                             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PatKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:80:54
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn struct_pattern_used(&mut self, pattern_kind: &PatKind, span: Span) {
[INFO] [stdout]    |                                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:80:69
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn struct_pattern_used(&mut self, pattern_kind: &PatKind, span: Span) {
[INFO] [stdout]    |                                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         fk: FnKind<'v>,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:101:10
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl<'v> Visitor<'v> for StructPatternCollector<'v> {
[INFO] [stdout]     |          ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   | use serde::de::Visitor;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |         fd: &'v FnDecl,
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:102:16
[INFO] [stdout]     |
[INFO] [stdout] 102 |     type Map = Map<'v>;
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::iter::Map;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use itertools::__std_iter::Map;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use serde_json::Map;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::iter::Map;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:103:39
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |         b: BodyId,
[INFO] [stdout]    |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:106:36
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn visit_pat(&mut self, p: &'v Pat) {
[INFO] [stdout]     |                                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_pat` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         walk_pat(self, p);
[INFO] [stdout]     |         ^^^^^^^^---------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: try calling `walk_pat` as a method: `self.walk_pat(p)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |         s: Span,
[INFO] [stdout]    |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:118:37
[INFO] [stdout]     |
[INFO] [stdout] 118 |     fn visit_item(&mut self, i: &'v Item<'v>) {
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_item` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_named_field/struct_named_pattern_collector.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |             walk_item(self, i);
[INFO] [stdout]     |             ^^^^^^^^^---------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: try calling `walk_item` as a method: `self.walk_item(i)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         id: HirId,
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/mod.rs:12:55
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn do_refactoring(tcx: &TyContext, struct_hir_id: HirId, field_ident: &str, field_ty_span: Span) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/mod.rs:12:96
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn do_refactoring(tcx: &TyContext, struct_hir_id: HirId, field_ident: &str, field_ty_span: Span) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                                                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_named_field/mod.rs:53:46
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn is_impl_from_std_derive_expansion(i: &Item<'_>) -> bool {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:55:41
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn visit_block(&mut self, body: &'v Block) {
[INFO] [stdout]    |                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn collect_struct_constructor_calls(
[INFO] [stdout]    |                                        - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 27 | ) -> Vec<Span> {
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     walk_crate(&mut v, tcx.0.hir().krate());
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:74:40
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn visit_expr(&mut self, expr: &'v Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct StructConstructorCallCollector<'v> {
[INFO] [stdout]    |                                         - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 44 |     field: Vec<Span>,
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pos: Span,
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct StructConstructorCallCollector<'v> {
[INFO] [stdout]    |                                         - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 46 |     body_id: Option<BodyId>,
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:50:46
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn expr_resolves_to_struct(&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]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:59:38
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn handle_call(&mut self, expr: &Expr, function: &Expr, args: &[Expr]) {
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct BlockCollector<'v> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     body_ids: Vec<BodyId>,
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:59:55
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn handle_call(&mut self, expr: &Expr, function: &Expr, args: &[Expr]) {
[INFO] [stdout]    |                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 |     selected_block: Option<(&'v Block<'v>, BodyId)>
[INFO] [stdout]    |                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:59:69
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn handle_call(&mut self, expr: &Expr, function: &Expr, args: &[Expr]) {
[INFO] [stdout]    |                                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl<'v> Visitor<'v> for StructConstructorCallCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:13:44
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct BlockCollector<'v> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     selected_block: Option<(&'v Block<'v>, BodyId)>
[INFO] [stdout]    |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:77:16
[INFO] [stdout]    |
[INFO] [stdout] 77 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:78:39
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:33:71
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn collect_innermost_contained_block<'v>(tcx: &'v TyContext, pos: Span) -> Option<(&'v Block<'v>, BodyId)> {
[INFO] [stdout]    |                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         fk: FnKind<'v>,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 84 |         fd: &'v FnDecl,
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:85:18
[INFO] [stdout]    |
[INFO] [stdout] 85 |         body_id: BodyId,
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:33:92
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn collect_innermost_contained_block<'v>(tcx: &'v TyContext, pos: Span) -> Option<(&'v Block<'v>, BodyId)> {
[INFO] [stdout]    |                                                                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 |         s: Span,
[INFO] [stdout]    |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |         h: HirId,
[INFO] [stdout]    |            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:33:103
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn collect_innermost_contained_block<'v>(tcx: &'v TyContext, pos: Span) -> Option<(&'v Block<'v>, BodyId)> {
[INFO] [stdout]    |                                            - help: you might be missing a type parameter: `, BodyId`  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_fn` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |         walk_fn(self, fk, fd, body_id, s, h);
[INFO] [stdout]    |         ^^^^^^^-----------------------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_fn` as a method: `self.walk_fn(fk, fd, body_id, s, h)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:47:45
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn selection_contains_span(&self, span: Span) -> 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]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:92:40
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn visit_expr(&mut self, expr: &'v Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_constructor_call_collector.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         walk_expr(self, expr);
[INFO] [stdout]    |         ^^^^^^^^^------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_expr` as a method: `self.walk_expr(expr)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'v> Visitor<'v> for BlockCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     walk_crate(&mut v, tcx.0.hir().krate());
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:61:20
[INFO] [stdout]    |
[INFO] [stdout] 61 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 53 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn path_resolves_to_struct(&self, pat: &Pat) -> bool {
[INFO] [stdout]    |                                             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PatKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:80:54
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn struct_pattern_used(&mut self, pattern_kind: &PatKind, span: Span) {
[INFO] [stdout]    |                                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:54:39
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:80:69
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn struct_pattern_used(&mut self, pattern_kind: &PatKind, span: Span) {
[INFO] [stdout]    |                                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fk: FnKind<'v>,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:101:10
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl<'v> Visitor<'v> for StructPatternCollector<'v> {
[INFO] [stdout]     |          ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   | use serde::de::Visitor;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |         fd: &'v FnDecl,
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:102:16
[INFO] [stdout]     |
[INFO] [stdout] 102 |     type Map = Map<'v>;
[INFO] [stdout]     |                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::iter::Map;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use itertools::__std_iter::Map;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use serde_json::Map;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::iter::Map;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:103:39
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:106:36
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn visit_pat(&mut self, p: &'v Pat) {
[INFO] [stdout]     |                                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |         b: BodyId,
[INFO] [stdout]    |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_pat` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/box_tuple_field/struct_tuple_pattern_collector.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         walk_pat(self, p);
[INFO] [stdout]     |         ^^^^^^^^---------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: try calling `walk_pat` as a method: `self.walk_pat(p)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 |         s: Span,
[INFO] [stdout]    |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/mod.rs:12:55
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn do_refactoring(tcx: &TyContext, struct_hir_id: HirId, field_index: usize, field_ty_span: Span) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/box_tuple_field/mod.rs:12:97
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn do_refactoring(tcx: &TyContext, struct_hir_id: HirId, field_index: usize, field_ty_span: Span) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                                                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         id: HirId,
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |     extract_span: Span,
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:70:42
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn visit_block(&mut self, block: &'v Block) {
[INFO] [stdout]    |                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct VariableCollectorDelegate<'tcx> {
[INFO] [stdout]    |                                      - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 19 |     usages: Vec<(HirId, String, ExpressionUseKind, String, TypeKind)>,
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:24:51
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn get_ident_and_decl_span(&mut self, place: &Place, bk: ExpressionUseKind) -> QueryResult<()> {
[INFO] [stdout]    |                                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:80:40
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn visit_expr(&mut self, expr: &'v Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:48:20
[INFO] [stdout]    |
[INFO] [stdout] 48 |         used_span: Span,
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:49:17
[INFO] [stdout]    |
[INFO] [stdout] 49 |         place: &Place,
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `with_crate_prefix` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:71:25
[INFO] [stdout]    |
[INFO] [stdout] 71 |             let type_ = with_crate_prefix(|| format!("{}", pat_type));
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn collect_inline_macro(span: Span, crate_: &Crate) -> Option<(String, Span)> {
[INFO] [stdout]   |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Delegate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:81:16
[INFO] [stdout]    |
[INFO] [stdout] 81 | impl<'a, 'tcx> Delegate<'tcx> for VariableCollectorDelegate<'tcx> {
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:82:35
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn consume(&mut self, place: &Place<'tcx>, cm: ConsumeMode) {
[INFO] [stdout]    |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Crate` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:7:50
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn collect_inline_macro(span: Span, crate_: &Crate) -> Option<(String, Span)> {
[INFO] [stdout]   |                                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ConsumeMode` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:82:52
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn consume(&mut self, place: &Place<'tcx>, cm: ConsumeMode) {
[INFO] [stdout]    |                                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:86:34
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn borrow(&mut self, place: &Place<'tcx>, bk: ty::BorrowKind) {
[INFO] [stdout]    |                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:90:34
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn mutate(&mut self, place: &Place<'tcx>) {
[INFO] [stdout]    |                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:7:76
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn collect_inline_macro(span: Span, crate_: &Crate) -> Option<(String, Span)> {
[INFO] [stdout]   |                            -                                               ^^^^ not found in this scope
[INFO] [stdout]   |                            |
[INFO] [stdout]   |                            help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:95:26
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn collect_vars(tcx: TyCtxt<'_>, body_id: BodyId) -> QueryResult<Vec<(HirId, String, ExpressionUseKind, String, TypeKind)>> {
[INFO] [stdout]    |                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 |     span: Span,
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:95:47
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn collect_vars(tcx: TyCtxt<'_>, body_id: BodyId) -> QueryResult<Vec<(HirId, String, ExpressionUseKind, String, TypeKind)>> {
[INFO] [stdout]    |                                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct MacroCollector {
[INFO] [stdout]    |                      - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 26 |     res_span: Option<Span>
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/expr_use_visit.rs:95:75
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn collect_vars(tcx: TyCtxt<'_>, body_id: BodyId) -> QueryResult<Vec<(HirId, String, ExpressionUseKind, String, TypeKind)>> {
[INFO] [stdout]    |                    -                                                      ^^^^^ not found in this scope
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    help: you might be missing a type parameter: `<HirId>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |     tcx: TyCtxt<'v>,
[INFO] [stdout]   |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl<'ast> Visitor<'ast> for MacroCollector {
[INFO] [stdout]    |            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct BlockCollector<'v> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] 9  |     tcx: TyCtxt<'v>,
[INFO] [stdout] 10 |     pos: Vec<HirId>,
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct BlockCollector<'v> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     result: Vec<Span>
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:30:40
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn visit_expr(&mut self, ex: &'ast Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:18:61
[INFO] [stdout]    |
[INFO] [stdout] 18 |  pub fn collect_local_uses<'v>(tcx: &'v TyContext, pos: Vec<HirId>, body: BodyId) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                              -                              ^^^^^ not found in this scope
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:18:75
[INFO] [stdout]    |
[INFO] [stdout] 18 |  pub fn collect_local_uses<'v>(tcx: &'v TyContext, pos: Vec<HirId>, body: BodyId) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:38:42
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn visit_stmt(&mut self, stmt: &'ast Stmt) {
[INFO] [stdout]    |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:18:102
[INFO] [stdout]    |
[INFO] [stdout] 18 |  pub fn collect_local_uses<'v>(tcx: &'v TyContext, pos: Vec<HirId>, body: BodyId) -> QueryResult<Vec<Span>> {
[INFO] [stdout]    |                              - help: you might be missing a type parameter: `, Span`                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_body` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     walk_body(&mut v, tcx.0.hir().body(body));
[INFO] [stdout]    |     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:27:60
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn collect_local_variable_use(tcx: &TyContext, hir_id: HirId) -> Vec<Span> {
[INFO] [stdout]    |                                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl<'v> Visitor<'v> for BlockCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:27:74
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn collect_local_variable_use(tcx: &TyContext, hir_id: HirId) -> Vec<Span> {
[INFO] [stdout]    |                                  -                                       ^^^^ not found in this scope
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 31 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:32:39
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:35:40
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn visit_path(&mut self, path: &'v Path<'v>, _id: HirId) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:35:55
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn visit_path(&mut self, path: &'v Path<'v>, _id: HirId) {
[INFO] [stdout]    |                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |     hir_id: HirId,
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_path` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/local_use_collector.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |         walk_path(self, path);
[INFO] [stdout]    |         ^^^^^^^^^------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_path` as a method: `self.walk_path(path)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:42:15
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct LocalVariableUseCollector<'v> {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 42 |     uses: Vec<Span>,
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/collect_new_closure.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct NewClosure {
[INFO] [stdout]    |                      - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub uses: Vec<Span>,
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/collect_new_closure.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct NewClosure {
[INFO] [stdout]    |                      - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub selfs: Vec<Span>
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl<'v> Visitor<'v> for LocalVariableUseCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/collect_new_closure.rs:17:55
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn collect_vars3<'v>(tcx: &'v TyContext, body_id: BodyId) -> QueryResult<NewClosure> {
[INFO] [stdout]    |                                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/close_over_variables/mod.rs:18:46
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn do_refactoring(tcx: &TyContext, span: Span, _add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:21:46
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn do_refactoring(tcx: &TyContext, span: Span, add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:46:16
[INFO] [stdout]    |
[INFO] [stdout] 46 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Param` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:85:19
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn get_ident(ty: &Param) -> String {
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `core::fmt::rt::v1::Count::Param` and 3 others; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn get_ident(ty: &core::fmt::rt::v1::Count) -> String {
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 85 | fn get_ident(ty: &serde::export::fmt::rt::v1::Count) -> String {
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 85 | fn get_ident(ty: &std::fmt::rt::v1::Count) -> String {
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:47:39
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyS` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:93:19
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn format_ty(ty: &TyS) -> String {
[INFO] [stdout]    |                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `with_crate_prefix` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 |     with_crate_prefix(||  format!("{}", 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]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:97:58
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn get_type_of_expression<'v>(tcx: &'v TyContext, expr: &Expr, body_id: BodyId) -> QueryResult<&'v TyS<'v>> {
[INFO] [stdout]    |                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:50:40
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn visit_expr(&mut self, expr: &'v Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:97:73
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn get_type_of_expression<'v>(tcx: &'v TyContext, expr: &Expr, body_id: BodyId) -> QueryResult<&'v TyS<'v>> {
[INFO] [stdout]    |                                                                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyS` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/convert_closure_to_fn/mod.rs:97:100
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn get_type_of_expression<'v>(tcx: &'v TyContext, expr: &Expr, body_id: BodyId) -> QueryResult<&'v TyS<'v>> {
[INFO] [stdout]    |                                                                                                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 |     extract_span: Span,
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:18:47
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn get_ident_and_decl_span(&self, place: &Place) -> QueryResult<Option<String>> {
[INFO] [stdout]    |                                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn collect_struct_field_access_expressions(
[INFO] [stdout]    |                                               - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 31 | ) -> Vec<Span> {
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 42 |         used_span: Span,
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |         place: &Place,
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Delegate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:61:16
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl<'a, 'tcx> Delegate<'tcx> for VariableCollectorDelegate<'tcx> {
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:47:20
[INFO] [stdout]    |
[INFO] [stdout] 47 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn consume(&mut self, place: &Place<'tcx>, cm: ConsumeMode) {
[INFO] [stdout]    |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ConsumeMode` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:62:52
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn consume(&mut self, place: &Place<'tcx>, cm: ConsumeMode) {
[INFO] [stdout]    |                                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:66:34
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn borrow(&mut self, place: &Place<'tcx>, bk: ty::BorrowKind) {
[INFO] [stdout]    |                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:48:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct StructFieldAccessExpressionCollector<'v> {
[INFO] [stdout]    |                                               - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 48 |     field: Vec<Span>,
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Place` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:70:34
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn mutate(&mut self, place: &Place<'tcx>) {
[INFO] [stdout]    |                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:77:84
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn collect_variables_declared_in_span_and_used_later(tcx: &TyContext, body_id: BodyId, span: Span) -> QueryResult<VariableUseCollecti...
[INFO] [stdout]    |                                                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/expr_use_visit.rs:77:98
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn collect_variables_declared_in_span_and_used_later(tcx: &TyContext, body_id: BodyId, span: Span) -> QueryResult<VariableUseCollecti...
[INFO] [stdout]    |                                                                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct StructFieldAccessExpressionCollector<'v> {
[INFO] [stdout]    |                                               - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 50 |     body_id: Option<BodyId>,
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/extract_block/push_stmt_into_block.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     body_id: BodyId,
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/extract_block/push_stmt_into_block.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 |     span: Span,
[INFO] [stdout]   |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:54:46
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn expr_resolves_to_struct(&self, expr: &Expr, hir_id: HirId) -> bool {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/extract_block/mod.rs:31:46
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn do_refactoring(tcx: &TyContext, span: Span, add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/inline_macro/mod.rs:6:47
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn do_refactoring(ast: &AstContext, span: Span, _: bool) -> QueryResult<AstDiff>{
[INFO] [stdout]   |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:54:60
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn expr_resolves_to_struct(&self, expr: &Expr, hir_id: HirId) -> bool {
[INFO] [stdout]    |                                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/introduce_closure/mod.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn get_call(tcx: TyCtxt, span: Span, add_comment: bool) -> QueryResult<FileStringReplacement> {
[INFO] [stdout]   |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/introduce_closure/mod.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn get_call(tcx: TyCtxt, span: Span, add_comment: bool) -> QueryResult<FileStringReplacement> {
[INFO] [stdout]   |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:67:10
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl<'v> Visitor<'v> for StructFieldAccessExpressionCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/introduce_closure/mod.rs:38:46
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn do_refactoring(tcx: &TyContext, span: Span, add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/introduce_closure/mod.rs:73:75
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn get_parent_mod_inner(tcx: &TyContext, hir_id: rustc_hir::HirId) -> Span {
[INFO] [stdout]    |                                                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:8:55
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn collect_qpaths<'v>(tcx: &'v TyContext, def_id: DefId) -> Vec<Span> {
[INFO] [stdout]   |                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:8:69
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn collect_qpaths<'v>(tcx: &'v TyContext, def_id: DefId) -> Vec<Span> {
[INFO] [stdout]   |                         -                                           ^^^^ not found in this scope
[INFO] [stdout]   |                         |
[INFO] [stdout]   |                         help: you might be missing a type parameter: `, Span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     walk_crate(&mut v, tcx.0.hir().krate());
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:69:39
[INFO] [stdout]    |
[INFO] [stdout] 69 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<'v> Visitor<'v> for CallExprCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         fk: FnKind<'v>,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:23:39
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |         fd: &'v FnDecl,
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Body` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn visit_body(&mut self, b: &'v Body<'v>) {
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_body` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         walk_body(self, b);
[INFO] [stdout]    |         ^^^^^^^^^---------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_body` as a method: `self.walk_body(b)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |         body_id: BodyId,
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `QPath` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:31:42
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn visit_qpath(&mut self, qpath: &'v QPath<'v>, id: HirId, span: Span) {
[INFO] [stdout]    |                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |         s: Span,
[INFO] [stdout]    |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:31:57
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn visit_qpath(&mut self, qpath: &'v QPath<'v>, id: HirId, span: Span) {
[INFO] [stdout]    |                                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:31:70
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn visit_qpath(&mut self, qpath: &'v QPath<'v>, id: HirId, span: Span) {
[INFO] [stdout]    |                                                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 |         h: HirId,
[INFO] [stdout]    |            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 43 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct CallExprCollector<'v> {
[INFO] [stdout]    |                            - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] 43 |     tcx: TyCtxt<'v>,
[INFO] [stdout] 44 |     paths: Vec<Span>,
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:83:40
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn visit_expr(&mut self, expr: &'v Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |     def_id: DefId,
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/lift_function_declaration/qpath_res_collector.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct CallExprCollector<'v> {
[INFO] [stdout]    |                            - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 46 |     bodies: Vec<BodyId>
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn collect_field(tcx: TyCtxt, span: Span) -> Option<(&StructField, usize)> {
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/lift_function_declaration/mod.rs:9:46
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn do_refactoring(tcx: &TyContext, span: Span, _add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]   |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:10:51
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn do_refactoring(context: &AstContext, span: Span, add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]    |                                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:32:41
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn collect_field(tcx: TyCtxt, span: Span) -> Option<(&StructField, usize)> {
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn filter_items(stmts: &[Stmt]) -> Vec<&Stmt> {
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:39:41
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn filter_items(stmts: &[Stmt]) -> Vec<&Stmt> {
[INFO] [stdout]    |                -                        ^^^^ not found in this scope
[INFO] [stdout]    |                |
[INFO] [stdout]    |                help: you might be missing a type parameter: `<Stmt>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:42:39
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn contains_stmt_from_macro(stmts: &[&Stmt]) -> bool {
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:32:59
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn collect_field(tcx: TyCtxt, span: Span) -> Option<(&StructField, usize)> {
[INFO] [stdout]    |                     -                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: you might be missing a type parameter: `<StructField>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:45:42
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn filter_stmts_in_span<'a>(stmts: &[&'a Stmt], span: Span) -> Vec<&'a Stmt> {
[INFO] [stdout]    |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:45:55
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn filter_stmts_in_span<'a>(stmts: &[&'a Stmt], span: Span) -> Vec<&'a Stmt> {
[INFO] [stdout]    |                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/pull_up_item_declaration/mod.rs:45:72
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn filter_stmts_in_span<'a>(stmts: &[&'a Stmt], span: Span) -> Vec<&'a Stmt> {
[INFO] [stdout]    |                           -                                            ^^^^ not found in this scope
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           help: you might be missing a type parameter: `, Stmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:46:11
[INFO] [stdout]    |
[INFO] [stdout] 46 |     span: Span,
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/remove_refactoring_comments/mod.rs:6:52
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn do_refactoring(context: &AstContext, _span: Span, _add_comment: bool) -> QueryResult<AstDiff> {
[INFO] [stdout]   |                                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:47:24
[INFO] [stdout]    |
[INFO] [stdout] 47 |     field: Option<(&'v StructField<'v>, usize)>,
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/utils.rs:8:44
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) fn get_file_offset(source_map: &SourceMap, file_name: &str) -> QueryResult<u32> {
[INFO] [stdout]   |                                            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn get_local_filename(source_map: &SourceMap, span: Span) -> QueryResult<String> {
[INFO] [stdout]    |                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl<'v> Visitor<'v> for FieldCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:13:53
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn get_local_filename(source_map: &SourceMap, span: Span) -> QueryResult<String> {
[INFO] [stdout]    |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:27:30
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn get_filename(source_map: &SourceMap, span: Span) -> QueryResult<String> {
[INFO] [stdout]    |                              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:27:47
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn get_filename(source_map: &SourceMap, span: Span) -> QueryResult<String> {
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:52:39
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:37:49
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub(crate) fn map_change_from_span(source_map: &SourceMap, span: Span, replacement: String) -> QueryResult<FileStringReplacement> {
[INFO] [stdout]    |                                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:55:40
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn visit_item(&mut self, item: &'v Item<'v>) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:37:66
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub(crate) fn map_change_from_span(source_map: &SourceMap, span: Span, replacement: String) -> QueryResult<FileStringReplacement> {
[INFO] [stdout]    |                                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub(crate) fn get_source(tcx: TyCtxt, span: Span) -> String {
[INFO] [stdout]    |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Compiler` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub compiler: &'a Compiler,
[INFO] [stdout]    |                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:55:45
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub(crate) fn get_source(tcx: TyCtxt, span: Span) -> String {
[INFO] [stdout]    |                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Queries` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub queries: &'b Queries<'b>,
[INFO] [stdout]    |                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:60:46
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub(crate) fn map_span_to_index(source_map: &SourceMap, span: Span) -> QueryResult<(String, Range)> {
[INFO] [stdout]    |                                              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/utils.rs:60:63
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub(crate) fn map_span_to_index(source_map: &SourceMap, span: Span) -> QueryResult<(String, Range)> {
[INFO] [stdout]    |                                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AstContext<'a, 'b> {
[INFO] [stdout]    |                             - help: you might be missing a type parameter: `, Crate`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub crate_: Option<Crate>
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     span: Span,
[INFO] [stdout]   |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:22:45
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub(crate) fn get_source_map(&self) -> &SourceMap {
[INFO] [stdout]    |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct BlockVisitorCollector<'v> {
[INFO] [stdout]   |                                - help: you might be missing a type parameter: `, Block`
[INFO] [stdout] 7 |     span: Span,
[INFO] [stdout] 8 |     result: Option<&'v Block>,
[INFO] [stdout]   |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:25:43
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub(crate) fn get_source(&self, span: Span) -> String {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:16:67
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn collect_innermost_block<'v>(context: &'v AstContext, span: Span) -> QueryResult<&'v Block> {
[INFO] [stdout]    |                                                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:29:43
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub(crate) fn map_change(&self, span: Span, replacement: String) -> QueryResult<FileStringReplacement> {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:16:92
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn collect_innermost_block<'v>(context: &'v AstContext, span: Span) -> QueryResult<&'v Block> {
[INFO] [stdout]    |                                  - help: you might be missing a type parameter: `, Block`  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     walk_crate(&mut v, &context.get_crate());
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:39:40
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub(crate) fn get_crate(&self) -> &Crate {
[INFO] [stdout]    |                                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl<'v> Visitor<'v> for BlockVisitorCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Compiler` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:45:37
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub(crate) fn new(compiler: &'a Compiler, queries: &'b Queries<'b>) -> Self {
[INFO] [stdout]    |                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:32:32
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn visit_fn(&mut self, fk: FnKind<'v>, s: Span, _: NodeId) {
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Queries` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:45:60
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub(crate) fn new(compiler: &'a Compiler, queries: &'b Queries<'b>) -> Self {
[INFO] [stdout]    |                                                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:32:47
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn visit_fn(&mut self, fk: FnKind<'v>, s: Span, _: NodeId) {
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:32:56
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn visit_fn(&mut self, fk: FnKind<'v>, s: Span, _: NodeId) {
[INFO] [stdout]    |                                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Callbacks` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<T> Callbacks for MyRefactorCallbacks<T> {
[INFO] [stdout]    |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_fn` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             walk_fn(self, fk, s);
[INFO] [stdout]    |             ^^^^^^^-------------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: try calling `walk_fn` as a method: `self.walk_fn(fk, s)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Compiler` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 |         compiler: &Compiler,
[INFO] [stdout]    |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:39:42
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn visit_block(&mut self, block: &'v Block) {
[INFO] [stdout]    |                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Queries` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |         queries: &'tcx Queries<'tcx>
[INFO] [stdout]    |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/innermost_block_collector.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         walk_block(self, block);
[INFO] [stdout]    |         ^^^^^^^^^^-------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_block` as a method: `self.walk_block(block)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Compilation` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |     ) -> Compilation {
[INFO] [stdout]    |          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/ast/refactor_comment_collector.rs:9:72
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn collect_comments(context: &SourceMapContext) -> QueryResult<Vec<Span>> {
[INFO] [stdout]   |                        -                                               ^^^^ not found in this scope
[INFO] [stdout]   |                        |
[INFO] [stdout]   |                        help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/refactor_comment_collector.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 | ...                   BytePos(i0 as u32 + file.start_pos.0),
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Compiler` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:60:20
[INFO] [stdout]    |
[INFO] [stdout] 60 |         compiler: &Compiler,
[INFO] [stdout]    |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/refactor_comment_collector.rs:30:33
[INFO] [stdout]    |
[INFO] [stdout] 30 | ...                   BytePos(i1 as u32 + file.start_pos.0),
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Queries` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:61:24
[INFO] [stdout]    |
[INFO] [stdout] 61 |         queries: &'tcx Queries<'tcx>
[INFO] [stdout]    |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/refactor_comment_collector.rs:49:93
[INFO] [stdout]    |
[INFO] [stdout] 49 |  pub fn collect_comments_with_id(context: &SourceMapContext, range_id: &str) -> QueryResult<Span> {
[INFO] [stdout]    |                                 - help: you might be missing a type parameter: `<Span>`     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Compilation` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 |     ) -> Compilation {
[INFO] [stdout]    |          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/refactor_comment_collector.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |             BytePos(i0 + f0),
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/ast/refactor_comment_collector.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             BytePos(i1 + f0),
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/file_loader.rs:10:34
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct InMemoryFileLoader<T: FileLoader + Send + Sync> {
[INFO] [stdout]    |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:8:63
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn collect_anonymous_closure<'v>(tcx: &'v TyContext, pos: Span) -> QueryResult<Closure<'v>> {
[INFO] [stdout]   |                                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     walk_crate(&mut v, tcx.0.hir().krate());
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/file_loader.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T: FileLoader + Send + Sync> InMemoryFileLoader<T> {
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<'v> Visitor<'v> for ClosureCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/file_loader.rs:27:35
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl<T: FileLoader + Send + Sync> FileLoader for InMemoryFileLoader<T> {
[INFO] [stdout]    |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/file_loader.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl<T: FileLoader + Send + Sync> FileLoader for InMemoryFileLoader<T> {
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:22:39
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:25:38
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn visit_expr(&mut self, ex: &'v Expr<'v>) {
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/refactor_definition_parser.rs:24:64
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn to_ast_query(args: RefactorArgs, f: Box<dyn Fn(&AstContext, Span, bool) -> QueryResult<AstDiff> + Send>) -> Query<AstDiff> {
[INFO] [stdout]    |                -                                               ^^^^ not found in this scope
[INFO] [stdout]    |                |
[INFO] [stdout]    |                help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         walk_expr(self, ex);
[INFO] [stdout]    |         ^^^^^^^^^----------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_expr` as a method: `self.walk_expr(ex)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:55:22
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub params_span: Span,
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/refactor_definition_parser.rs:32:62
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn to_ty_query(args: RefactorArgs, f: Box<dyn Fn(&TyContext, Span, bool) -> QueryResult<AstDiff> + Send>) -> Query<AstDiff> {
[INFO] [stdout]    |               -                                              ^^^^ not found in this scope
[INFO] [stdout]    |               |
[INFO] [stdout]    |               help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:56:24
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub call_expr: &'v Expr<'v>,
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub source_map: &'a SourceMap,
[INFO] [stdout]   |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:57:27
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub call_fn_expr: &'v Expr<'v>,
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub body_id: BodyId,
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:11:95
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<'a> SourceMapContext<'a> {
[INFO] [stdout]    |        - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] 11 |     pub(crate) fn map_selection_to_span(&self, r: SelectionType, file: String) -> QueryResult<Span> {
[INFO] [stdout]    |                                                                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:60:22
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn_decl: &'v FnDecl<'v>,
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub args_1: &'v [Expr<'v>]
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:23:87
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<'a> SourceMapContext<'a> {
[INFO] [stdout]    |        - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub(crate) fn map_span(&self, file_name: &str, from: u32, to: u32) -> QueryResult<Span> {
[INFO] [stdout]    |                                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:64:25
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn get_arg_span(args: &[Expr], call_expr: &Expr) -> Span {
[INFO] [stdout]    |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:44:41
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub(crate) fn span_err(&self, span: Span, is_error: bool) -> RefactoringErrorInternal {
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:64:44
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn get_arg_span(args: &[Expr], call_expr: &Expr) -> Span {
[INFO] [stdout]    |                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:64:53
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn get_arg_span(args: &[Expr], call_expr: &Expr) -> Span {
[INFO] [stdout]    |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:47:43
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub(crate) fn get_source(&self, span: Span) -> String {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:68:32
[INFO] [stdout]    |
[INFO] [stdout] 68 |         call_expr.span.with_hi(BytePos(call_expr.span.hi().0 - 1)).shrink_to_hi()
[INFO] [stdout]    |                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactoring_invocation/ty_context.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct TyContext<'a>(pub TyCtxt<'a>);
[INFO] [stdout]   |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:73:41
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub fn get_next_param_pos(&self) -> Span {
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:74:34
[INFO] [stdout]    |
[INFO] [stdout] 74 |         self.params_span.with_hi(BytePos(self.params_span.hi().0 - 1)).shrink_to_hi()
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ty_context.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub(crate) fn new(ty: TyCtxt<'a>) -> Self {
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:76:39
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn get_next_arg_pos(&self) -> Span {
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ty_context.rs:18:43
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub(crate) fn get_source(&self, span: Span) -> String {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:78:26
[INFO] [stdout]    |
[INFO] [stdout] 78 |         arg_span.with_hi(BytePos(arg_span.hi().0 - 1)).shrink_to_hi()
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:83:10
[INFO] [stdout]    |
[INFO] [stdout] 83 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ty_context.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub(crate) fn map_change(&self, span: Span, replacement: String) -> QueryResult<FileStringReplacement> {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/anonymous_closure_collector.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pos: Span,
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ty_context.rs:25:52
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub(crate) fn get_struct_hir_id(&self, field: &StructField) -> HirId {
[INFO] [stdout]    |                                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub cf_key_span: Span,
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub cf_expr_span: Span,
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ty_context.rs:25:68
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub(crate) fn get_struct_hir_id(&self, field: &StructField) -> HirId {
[INFO] [stdout]    |                                                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:15:31
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ControlFlowExpr {
[INFO] [stdout]    |                           - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub sub_expr_span: Option<Span>,
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]  --> em-refactor-lib/src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(rustc_private)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:63:39
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl ControlFlowExprCollection {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn replace_cfs(&self) -> Vec<(Span, String)> {
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:144:47
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn new(cf_type: CfType, cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:144:66
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn new(cf_type: CfType, cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:144:94
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl ControlFlowExpr {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub fn new(cf_type: CfType, cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                                                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:153:31
[INFO] [stdout]     |
[INFO] [stdout] 153 |     pub fn cont(cf_expr_span: Span) -> Self {
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:162:30
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub fn brk(cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:162:49
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub fn brk(cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:162:77
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl ControlFlowExpr {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn brk(cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:171:30
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub fn ret(cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:171:49
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub fn ret(cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:171:77
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl ControlFlowExpr {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn ret(cf_expr_span: Span, cf_key_span: Span, sub_expr_span: Option<Span>, sub_expr_type: Option<String>) -> Self {
[INFO] [stdout]     |                                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_collection.rs:180:31
[INFO] [stdout]     |
[INFO] [stdout] 180 |     pub fn expr(cf_expr_span: Span, sub_expr_type: String) -> Self {
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |     block_span: Span,
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn collect_cfs(tcx: TyCtxt<'_>, block_hir_id: HirId) -> ControlFlowExprCollection {
[INFO] [stdout]    |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:19:51
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn collect_cfs(tcx: TyCtxt<'_>, block_hir_id: HirId) -> ControlFlowExprCollection {
[INFO] [stdout]    |                                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     walk_block(&mut v, block);
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:38:61
[INFO] [stdout]    |
[INFO] [stdout] 38 |         v.res.push(ControlFlowExpr::expr(block.span.with_hi(BytePos((block.span.hi().0 - 1) as u32)).shrink_to_hi(), "()".to_owned()))
[INFO] [stdout]    |                                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Destination` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:45:37
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn points_outside(&self, dest: &Destination) -> bool {
[INFO] [stdout]    |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl<'v> Visitor<'v> for CfExprCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:60:16
[INFO] [stdout]    |
[INFO] [stdout] 60 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:61:39
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |         _fk: FnKind<'v>,
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:67:18
[INFO] [stdout]    |
[INFO] [stdout] 67 |         _fd: &'v FnDecl,
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 385 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463, E0554.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         _b: BodyId,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         _s: Span,
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 |         _id: HirId,
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:74:38
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn visit_expr(&mut self, ex: &'v Expr<'v>) {
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Arm` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:78:25
[INFO] [stdout]    |
[INFO] [stdout] 78 |                     let Arm { body, .. } = arm;
[INFO] [stdout]    |                         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:79:21
[INFO] [stdout]    |
[INFO] [stdout] 79 |                     walk_expr(self, &**body);
[INFO] [stdout]    |                     ^^^^^^^^^---------------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: try calling `walk_expr` as a method: `self.walk_expr(&**body)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |                 walk_expr(self, ex);
[INFO] [stdout]     |                 ^^^^^^^^^----------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: try calling `walk_expr` as a method: `self.walk_expr(ex)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:121:27
[INFO] [stdout]     |
[INFO] [stdout] 121 | fn get_type_of_expr(tcx: &TyCtxt, expr: &Expr) -> 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]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:121:42
[INFO] [stdout]     |
[INFO] [stdout] 121 | fn get_type_of_expr(tcx: &TyCtxt, expr: &Expr) -> String {
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `with_crate_prefix` in this scope
[INFO] [stdout]    --> em-refactor-lib/src/refactorings/visitors/hir/cf_expr_collector.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 125 |     with_crate_prefix(|| format!("{}", ty))
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:5:79
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn walk_desugars<'v, T>(visitor: &mut T, expr: &'v Expr) -> bool where T: Visitor<'v> {
[INFO] [stdout]   |                                                                               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::de::Visitor;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:5:56
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn walk_desugars<'v, T>(visitor: &mut T, expr: &'v Expr) -> bool where T: Visitor<'v> {
[INFO] [stdout]   |                                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         walk_expr(visitor, arg);
[INFO] [stdout]   |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |         walk_expr(visitor, body);
[INFO] [stdout]   |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         walk_expr(visitor, cond);
[INFO] [stdout]    |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         walk_expr(visitor, then);
[INFO] [stdout]    |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             walk_expr(visitor, e);
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         walk_expr(visitor, cond);
[INFO] [stdout]    |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         walk_expr(visitor, body);
[INFO] [stdout]    |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |     expr: &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:36:15
[INFO] [stdout]    |
[INFO] [stdout] 36 | ) -> Option<(&Pat<'_>, &'tcx Expr<'tcx>, &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:36:30
[INFO] [stdout]    |
[INFO] [stdout] 36 | ) -> Option<(&Pat<'_>, &'tcx Expr<'tcx>, &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:36:48
[INFO] [stdout]    |
[INFO] [stdout] 36 | ) -> Option<(&Pat<'_>, &'tcx Expr<'tcx>, &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn while_loop<'tcx>(expr: &'tcx Expr<'tcx>) -> Option<(&'tcx Expr<'tcx>, &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:55:62
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn while_loop<'tcx>(expr: &'tcx Expr<'tcx>) -> Option<(&'tcx Expr<'tcx>, &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:55:80
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn while_loop<'tcx>(expr: &'tcx Expr<'tcx>) -> Option<(&'tcx Expr<'tcx>, &'tcx Expr<'tcx>)> {
[INFO] [stdout]    |                                                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |         if let Block { expr: Some(expr), .. } = &**block;
[INFO] [stdout]    |                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Arm` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:62:16
[INFO] [stdout]    |
[INFO] [stdout] 62 |         if let Arm { body, .. } = arm;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     expr: &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:76:11
[INFO] [stdout]    |
[INFO] [stdout] 76 |     &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:77:11
[INFO] [stdout]    |
[INFO] [stdout] 77 |     &'tcx Expr<'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]   --> em-refactor-lib/src/refactorings/visitors/hir/desugaring.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 78 |     Option<&'tcx Expr<'tcx>>,
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ConsumeMode` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/expression_use_kind.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn from_consume_mode(cm: ConsumeMode) -> Self {
[INFO] [stdout]    |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BorrowKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/expression_use_kind.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn from_borrow_kind(bk: BorrowKind) -> Self {
[INFO] [stdout]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:8:73
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn collect_function_definition<'a, 'v>(tcx: &'a TyContext<'v>, pos: Span) -> QueryResult<FnDefinition<'v>> {
[INFO] [stdout]   |                                                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not document `em-refactor-lib`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name em_refactor_lib em-refactor-lib/src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,future-incompat --document-private-items -C metadata=70dd677591f1199b -L dependency=/opt/rustwide/target/debug/deps --extern em_refactor_lib_types=/opt/rustwide/target/debug/deps/libem_refactor_lib_types-76a004de3a70be36.rmeta --extern if_chain=/opt/rustwide/target/debug/deps/libif_chain-ffa5023631ac66b6.rmeta --extern itertools=/opt/rustwide/target/debug/deps/libitertools-38a7ab56ceccc4d2.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-0115b4d76bde060e.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-9978ea03a2a914a5.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     walk_crate(&mut v, tcx.0.hir().krate());
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<'a, 'v> Visitor<'v> for FnDefCollector<'a, 'v> {
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:23:39
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:26:43
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn visit_impl_item(&mut self, ii: &'v ImplItem<'v>) {
[INFO] [stdout]    |                                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_impl_item` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         walk_impl_item(self, ii);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^----------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_impl_item` as a method: `self.walk_impl_item(ii)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:32:37
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn visit_item(&mut self, i: &'v Item<'v>) {
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_item` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 walk_item(self, i);
[INFO] [stdout]    |                 ^^^^^^^^^---------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: try calling `walk_item` as a method: `self.walk_item(i)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_item` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         walk_item(self, i);
[INFO] [stdout]    |         ^^^^^^^^^---------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_item` as a method: `self.walk_item(i)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:62:15
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub span: Span,
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub hir_id: DefId,
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Mod` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:64:25
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub parent_mod: &'v Mod<'v>,
[INFO] [stdout]    |                         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub mod_span: Span,
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:66:24
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct FnDefinition<'v> {
[INFO] [stdout]    |                           - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub impl_: Option<(Span, bool)>
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:71:43
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn get_parent_mod_inner(&self) -> Span {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:73:43
[INFO] [stdout]    |
[INFO] [stdout] 73 |             self.parent_mod.inner.with_hi(BytePos(self.parent_mod.inner.hi().0 - 1))
[INFO] [stdout]    |                                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:82:10
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pos: Span,
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/function_definition_collector.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 80 | struct FnDefCollector<'a, 'v> {
[INFO] [stdout]    |                             - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 84 |     impl_items: Vec<Span>,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pos: Span,
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct BlockCollector<'v> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     body_id: Vec<BodyId>,
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 |     result: Option<(&'v Block<'v>, BodyId)>
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct BlockCollector<'v> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     result: Option<(&'v Block<'v>, BodyId)>
[INFO] [stdout]    |                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:20:61
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn collect_innermost_block<'v>(tcx: &'v TyContext, pos: Span) -> QueryResult<(&'v Block<'v>, BodyId)> {
[INFO] [stdout]    |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:20:87
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn collect_innermost_block<'v>(tcx: &'v TyContext, pos: Span) -> QueryResult<(&'v Block<'v>, BodyId)> {
[INFO] [stdout]    |                                                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:20:98
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn collect_innermost_block<'v>(tcx: &'v TyContext, pos: Span) -> QueryResult<(&'v Block<'v>, BodyId)> {
[INFO] [stdout]    |                                  - help: you might be missing a type parameter: `, BodyId`       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     walk_crate(&mut v, tcx.0.hir().krate());
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<'v> Visitor<'v> for BlockCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         fk: FnKind<'v>,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |         fd: &'v FnDecl,
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |         b: BodyId,
[INFO] [stdout]    |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |         s: Span,
[INFO] [stdout]    |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         id: HirId,
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_fn` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         walk_fn(self, fk, fd, b, s, id);
[INFO] [stdout]    |         ^^^^^^^------------------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_fn` as a method: `self.walk_fn(fk, fd, b, s, id)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:55:41
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn visit_block(&mut self, body: &'v Block) {
[INFO] [stdout]    |                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         walk_block(self, body);
[INFO] [stdout]    |         ^^^^^^^^^^------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_block` as a method: `self.walk_block(body)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:74:40
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn visit_expr(&mut self, expr: &'v Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_block_collector.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |             walk_expr(self, expr);
[INFO] [stdout]    |             ^^^^^^^^^------------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: try calling `walk_expr` as a method: `self.walk_expr(expr)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pos: Span,
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct BlockCollector<'v> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     body_ids: Vec<BodyId>,
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 |     selected_block: Option<(&'v Block<'v>, BodyId)>
[INFO] [stdout]    |                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:13:44
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct BlockCollector<'v> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     selected_block: Option<(&'v Block<'v>, BodyId)>
[INFO] [stdout]    |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:33:71
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn collect_innermost_contained_block<'v>(tcx: &'v TyContext, pos: Span) -> Option<(&'v Block<'v>, BodyId)> {
[INFO] [stdout]    |                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:33:92
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn collect_innermost_contained_block<'v>(tcx: &'v TyContext, pos: Span) -> Option<(&'v Block<'v>, BodyId)> {
[INFO] [stdout]    |                                                                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:33:103
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn collect_innermost_contained_block<'v>(tcx: &'v TyContext, pos: Span) -> Option<(&'v Block<'v>, BodyId)> {
[INFO] [stdout]    |                                            - help: you might be missing a type parameter: `, BodyId`  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     walk_crate(&mut v, tcx.0.hir().krate());
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:47:45
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn selection_contains_span(&self, span: Span) -> bool {
[INFO] [stdout]    |                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'v> Visitor<'v> for BlockCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 53 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:54:39
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fk: FnKind<'v>,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |         fd: &'v FnDecl,
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |         b: BodyId,
[INFO] [stdout]    |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 |         s: Span,
[INFO] [stdout]    |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         id: HirId,
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_fn` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         walk_fn(self, fk, fd, b, s, id);
[INFO] [stdout]    |         ^^^^^^^------------------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_fn` as a method: `self.walk_fn(fk, fd, b, s, id)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:70:42
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn visit_block(&mut self, block: &'v Block) {
[INFO] [stdout]    |                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_block` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         walk_block(self, block);
[INFO] [stdout]    |         ^^^^^^^^^^-------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_block` as a method: `self.walk_block(block)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:80:40
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn visit_expr(&mut self, expr: &'v Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/hir/innermost_contained_block_collector.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             walk_expr(self, expr);
[INFO] [stdout]    |             ^^^^^^^^^------------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: try calling `walk_expr` as a method: `self.walk_expr(expr)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn collect_inline_macro(span: Span, crate_: &Crate) -> Option<(String, Span)> {
[INFO] [stdout]   |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Crate` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:7:50
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn collect_inline_macro(span: Span, crate_: &Crate) -> Option<(String, Span)> {
[INFO] [stdout]   |                                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:7:76
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn collect_inline_macro(span: Span, crate_: &Crate) -> Option<(String, Span)> {
[INFO] [stdout]   |                            -                                               ^^^^ not found in this scope
[INFO] [stdout]   |                            |
[INFO] [stdout]   |                            help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     walk_crate(&mut v, crate_);
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 |     span: Span,
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct MacroCollector {
[INFO] [stdout]    |                      - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 26 |     res_span: Option<Span>
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl<'ast> Visitor<'ast> for MacroCollector {
[INFO] [stdout]    |            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:30:40
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn visit_expr(&mut self, ex: &'ast Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `expr_to_string` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 |             self.res.push(expr_to_string(ex));
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             walk_expr(self, ex);
[INFO] [stdout]    |             ^^^^^^^^^----------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: try calling `walk_expr` as a method: `self.walk_expr(ex)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:38:42
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn visit_stmt(&mut self, stmt: &'ast Stmt) {
[INFO] [stdout]    |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `stmt_to_string` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:40:27
[INFO] [stdout]    |
[INFO] [stdout] 40 |             self.res.push(stmt_to_string(stmt));
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_stmt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/inline_macro_collector.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             walk_stmt(self, stmt);
[INFO] [stdout]    |             ^^^^^^^^^------------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: try calling `walk_stmt` as a method: `self.walk_stmt(stmt)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:27:60
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn collect_local_variable_use(tcx: &TyContext, hir_id: HirId) -> Vec<Span> {
[INFO] [stdout]    |                                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:27:74
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn collect_local_variable_use(tcx: &TyContext, hir_id: HirId) -> Vec<Span> {
[INFO] [stdout]    |                                  -                                       ^^^^ not found in this scope
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     walk_crate(&mut v, tcx.0.hir().krate());
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |     hir_id: HirId,
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:42:15
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct LocalVariableUseCollector<'v> {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 42 |     uses: Vec<Span>,
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl<'v> Visitor<'v> for LocalVariableUseCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:46:16
[INFO] [stdout]    |
[INFO] [stdout] 46 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:47:39
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:50:40
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn visit_expr(&mut self, expr: &'v Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/local_variable_use_collector.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |         walk_expr(self, expr);
[INFO] [stdout]    |         ^^^^^^^^^------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_expr` as a method: `self.walk_expr(expr)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn collect_struct_field_access_expressions(
[INFO] [stdout]    |                                               - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] ...
[INFO] [stdout] 31 | ) -> Vec<Span> {
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     walk_crate(&mut v, tcx.0.hir().krate());
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:47:20
[INFO] [stdout]    |
[INFO] [stdout] 47 |     struct_hir_id: HirId,
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:48:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct StructFieldAccessExpressionCollector<'v> {
[INFO] [stdout]    |                                               - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 48 |     field: Vec<Span>,
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct StructFieldAccessExpressionCollector<'v> {
[INFO] [stdout]    |                                               - help: you might be missing a type parameter: `, BodyId`
[INFO] [stdout] ...
[INFO] [stdout] 50 |     body_id: Option<BodyId>,
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:54:46
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn expr_resolves_to_struct(&self, expr: &Expr, hir_id: HirId) -> bool {
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:54:60
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn expr_resolves_to_struct(&self, expr: &Expr, hir_id: HirId) -> bool {
[INFO] [stdout]    |                                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:67:10
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl<'v> Visitor<'v> for StructFieldAccessExpressionCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:69:39
[INFO] [stdout]    |
[INFO] [stdout] 69 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         fk: FnKind<'v>,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |         fd: &'v FnDecl,
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BodyId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |         body_id: BodyId,
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |         s: Span,
[INFO] [stdout]    |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 |         h: HirId,
[INFO] [stdout]    |            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_fn` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |         walk_fn(self, fk, fd, body_id, s, h);
[INFO] [stdout]    |         ^^^^^^^-----------------------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_fn` as a method: `self.walk_fn(fk, fd, body_id, s, h)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:83:40
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn visit_expr(&mut self, expr: &'v Expr) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_field_access_expression_collector.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         walk_expr(self, expr);
[INFO] [stdout]    |         ^^^^^^^^^------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_expr` as a method: `self.walk_expr(expr)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn collect_field(tcx: TyCtxt, span: Span) -> Option<(&StructField, usize)> {
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:32:41
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn collect_field(tcx: TyCtxt, span: Span) -> Option<(&StructField, usize)> {
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:32:59
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn collect_field(tcx: TyCtxt, span: Span) -> Option<(&StructField, usize)> {
[INFO] [stdout]    |                     -                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: you might be missing a type parameter: `<StructField>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     walk_crate(&mut v, tcx.hir().krate());
[INFO] [stdout]    |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 |     tcx: TyCtxt<'v>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:46:11
[INFO] [stdout]    |
[INFO] [stdout] 46 |     span: Span,
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:47:24
[INFO] [stdout]    |
[INFO] [stdout] 47 |     field: Option<(&'v StructField<'v>, usize)>,
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl<'v> Visitor<'v> for FieldCollector<'v> {
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde::de::Visitor;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Map` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 |     type Map = Map<'v>;
[INFO] [stdout]    |                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use itertools::__std_iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use serde_json::Map;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NestedVisitorMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:52:39
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:55:40
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn visit_item(&mut self, item: &'v Item<'v>) {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `walk_item` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactorings/visitors/struct_def_field_collector.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         walk_item(self, item);
[INFO] [stdout]    |         ^^^^^^^^^------------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: try calling `walk_item` as a method: `self.walk_item(item)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Compiler` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub compiler: &'a Compiler,
[INFO] [stdout]    |                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Queries` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub queries: &'b Queries<'b>,
[INFO] [stdout]    |                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AstContext<'a, 'b> {
[INFO] [stdout]    |                             - help: you might be missing a type parameter: `, Crate`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub crate_: Option<Crate>
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:22:45
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub(crate) fn get_source_map(&self) -> &SourceMap {
[INFO] [stdout]    |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:25:43
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub(crate) fn get_source(&self, span: Span) -> String {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:29:43
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub(crate) fn map_change(&self, span: Span, replacement: String) -> QueryResult<FileStringReplacement> {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Crate` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:39:40
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub(crate) fn get_crate(&self) -> &Crate {
[INFO] [stdout]    |                                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Compiler` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:45:37
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub(crate) fn new(compiler: &'a Compiler, queries: &'b Queries<'b>) -> Self {
[INFO] [stdout]    |                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Queries` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ast_context.rs:45:60
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub(crate) fn new(compiler: &'a Compiler, queries: &'b Queries<'b>) -> Self {
[INFO] [stdout]    |                                                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Callbacks` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<T> Callbacks for MyRefactorCallbacks<T> {
[INFO] [stdout]    |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Compiler` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 |         compiler: &Compiler,
[INFO] [stdout]    |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Queries` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |         queries: &'tcx Queries<'tcx>
[INFO] [stdout]    |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Compilation` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |     ) -> Compilation {
[INFO] [stdout]    |          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Compiler` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:60:20
[INFO] [stdout]    |
[INFO] [stdout] 60 |         compiler: &Compiler,
[INFO] [stdout]    |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Queries` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:61:24
[INFO] [stdout]    |
[INFO] [stdout] 61 |         queries: &'tcx Queries<'tcx>
[INFO] [stdout]    |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Compilation` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/my_refactor_callbacks.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 |     ) -> Compilation {
[INFO] [stdout]    |          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/file_loader.rs:10:34
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct InMemoryFileLoader<T: FileLoader + Send + Sync> {
[INFO] [stdout]    |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/file_loader.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T: FileLoader + Send + Sync> InMemoryFileLoader<T> {
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/file_loader.rs:27:35
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl<T: FileLoader + Send + Sync> FileLoader for InMemoryFileLoader<T> {
[INFO] [stdout]    |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/file_loader.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl<T: FileLoader + Send + Sync> FileLoader for InMemoryFileLoader<T> {
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/refactor_definition_parser.rs:24:64
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn to_ast_query(args: RefactorArgs, f: Box<dyn Fn(&AstContext, Span, bool) -> QueryResult<AstDiff> + Send>) -> Query<AstDiff> {
[INFO] [stdout]    |                -                                               ^^^^ not found in this scope
[INFO] [stdout]    |                |
[INFO] [stdout]    |                help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/refactor_definition_parser.rs:32:62
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn to_ty_query(args: RefactorArgs, f: Box<dyn Fn(&TyContext, Span, bool) -> QueryResult<AstDiff> + Send>) -> Query<AstDiff> {
[INFO] [stdout]    |               -                                              ^^^^ not found in this scope
[INFO] [stdout]    |               |
[INFO] [stdout]    |               help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `run_compiler` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/rustc_pass.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let err = run_compiler(&rustc_args, &mut default, None, None); /* Some(Box::new(Vec::new())) */
[INFO] [stdout]    |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub source_map: &'a SourceMap,
[INFO] [stdout]   |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:11:95
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<'a> SourceMapContext<'a> {
[INFO] [stdout]    |        - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] 11 |     pub(crate) fn map_selection_to_span(&self, r: SelectionType, file: String) -> QueryResult<Span> {
[INFO] [stdout]    |                                                                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:23:87
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<'a> SourceMapContext<'a> {
[INFO] [stdout]    |        - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub(crate) fn map_span(&self, file_name: &str, from: u32, to: u32) -> QueryResult<Span> {
[INFO] [stdout]    |                                                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 BytePos(from + source_file.start_pos.0),
[INFO] [stdout]    |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 BytePos(to + source_file.start_pos.0),
[INFO] [stdout]    |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:44:41
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub(crate) fn span_err(&self, span: Span, is_error: bool) -> RefactoringErrorInternal {
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/source_map_context.rs:47:43
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub(crate) fn get_source(&self, span: Span) -> String {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]  --> em-refactor-lib/src/refactoring_invocation/ty_context.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct TyContext<'a>(pub TyCtxt<'a>);
[INFO] [stdout]   |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ty_context.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub(crate) fn new(ty: TyCtxt<'a>) -> Self {
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ty_context.rs:18:43
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub(crate) fn get_source(&self, span: Span) -> String {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ty_context.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub(crate) fn map_change(&self, span: Span, replacement: String) -> QueryResult<FileStringReplacement> {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ty_context.rs:25:52
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub(crate) fn get_struct_hir_id(&self, field: &StructField) -> HirId {
[INFO] [stdout]    |                                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> em-refactor-lib/src/refactoring_invocation/ty_context.rs:25:68
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub(crate) fn get_struct_hir_id(&self, field: &StructField) -> HirId {
[INFO] [stdout]    |                                                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]  --> em-refactor-lib/src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(rustc_private)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 555 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0433, E0463, E0554.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "3094a7945bd95939527883aac68de8c732898315170979570f21200406255cd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3094a7945bd95939527883aac68de8c732898315170979570f21200406255cd6", kill_on_drop: false }`
[INFO] [stdout] 3094a7945bd95939527883aac68de8c732898315170979570f21200406255cd6
