[INFO] fetching crate rerast 0.1.95...
[INFO] documenting rerast-0.1.95 against 1.59.0 for beta-1.60-rustdoc-1
[INFO] extracting crate rerast 0.1.95 into /workspace/builds/worker-18/source
[INFO] validating manifest of crates.io crate rerast 0.1.95 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] started tweaking crates.io crate rerast 0.1.95
[INFO] finished tweaking crates.io crate rerast 0.1.95
[INFO] tweaked toml for crates.io crate rerast 0.1.95 written to /workspace/builds/worker-18/source/Cargo.toml
[INFO] crate crates.io crate rerast 0.1.95 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b2da438ef67707bb0da72af7e1a65b97486ac9ba76aa3d409a0469bcfbea14b0
[INFO] running `Command { std: "docker" "start" "-a" "b2da438ef67707bb0da72af7e1a65b97486ac9ba76aa3d409a0469bcfbea14b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b2da438ef67707bb0da72af7e1a65b97486ac9ba76aa3d409a0469bcfbea14b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2da438ef67707bb0da72af7e1a65b97486ac9ba76aa3d409a0469bcfbea14b0", kill_on_drop: false }`
[INFO] [stdout] b2da438ef67707bb0da72af7e1a65b97486ac9ba76aa3d409a0469bcfbea14b0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/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] 8bafc0dbd375203cc57ba7f26d622f8336688dd65416b8fd6cb03609a54d4805
[INFO] running `Command { std: "docker" "start" "-a" "8bafc0dbd375203cc57ba7f26d622f8336688dd65416b8fd6cb03609a54d4805", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling autocfg v0.1.6
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling cc v1.0.41
[INFO] [stderr]    Compiling cgmath v0.16.1
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]     Checking approx v0.1.1
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]     Checking unicode-width v0.1.6
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking rgb v0.8.14
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]     Checking either v1.5.2
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking json v0.11.15
[INFO] [stderr]     Checking rerast_macros v0.1.12
[INFO] [stderr]     Checking diff v0.1.11
[INFO] [stderr]     Checking itertools v0.8.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking atty v0.2.13
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking backtrace v0.3.35
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]     Checking winconsole v0.10.0
[INFO] [stderr]     Checking colored v1.8.0
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking rerast v0.1.95 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting rerast v0.1.95 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `rustc_ast`
[INFO] [stdout]   --> src/lib.rs:75:1
[INFO] [stdout]    |
[INFO] [stdout] 75 | 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_data_structures`
[INFO] [stdout]   --> src/lib.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | extern crate rustc_data_structures;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_driver`
[INFO] [stdout]   --> src/lib.rs:77:1
[INFO] [stdout]    |
[INFO] [stdout] 77 | 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_hir`
[INFO] [stdout]   --> src/lib.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | 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_infer`
[INFO] [stdout]   --> src/lib.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | 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]   --> src/lib.rs:80:1
[INFO] [stdout]    |
[INFO] [stdout] 80 | extern crate rustc_interface;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_middle`
[INFO] [stdout]   --> src/lib.rs:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | extern crate rustc_middle;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_parse`
[INFO] [stdout]   --> src/lib.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | extern crate rustc_parse;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_session`
[INFO] [stdout]   --> src/lib.rs:83:1
[INFO] [stdout]    |
[INFO] [stdout] 83 | extern crate rustc_session;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_span`
[INFO] [stdout]   --> src/lib.rs:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | 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_ast`
[INFO] [stdout]   --> src/change_to_rule.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | 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_driver`
[INFO] [stdout]   --> src/change_to_rule.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | 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_hir`
[INFO] [stdout]   --> src/change_to_rule.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | 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_middle`
[INFO] [stdout]   --> src/change_to_rule.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | extern crate rustc_middle;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_parse`
[INFO] [stdout]   --> src/change_to_rule.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | extern crate rustc_parse;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_session`
[INFO] [stdout]   --> src/change_to_rule.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | extern crate rustc_session;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_span`
[INFO] [stdout]   --> src/change_to_rule.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | 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_ast`
[INFO] [stdout]   --> src/lib.rs:75:1
[INFO] [stdout]    |
[INFO] [stdout] 75 | 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_data_structures`
[INFO] [stdout]   --> src/lib.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | extern crate rustc_data_structures;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_driver`
[INFO] [stdout]   --> src/lib.rs:77:1
[INFO] [stdout]    |
[INFO] [stdout] 77 | 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_hir`
[INFO] [stdout]   --> src/lib.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | 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_infer`
[INFO] [stdout]   --> src/lib.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | 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]   --> src/lib.rs:80:1
[INFO] [stdout]    |
[INFO] [stdout] 80 | extern crate rustc_interface;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_middle`
[INFO] [stdout]   --> src/lib.rs:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | extern crate rustc_middle;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_parse`
[INFO] [stdout]   --> src/lib.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | extern crate rustc_parse;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_session`
[INFO] [stdout]   --> src/lib.rs:83:1
[INFO] [stdout]    |
[INFO] [stdout] 83 | extern crate rustc_session;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_span`
[INFO] [stdout]   --> src/lib.rs:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | 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_ast`
[INFO] [stdout]   --> src/change_to_rule.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | 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_driver`
[INFO] [stdout]   --> src/change_to_rule.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | 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_hir`
[INFO] [stdout]   --> src/change_to_rule.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | 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_middle`
[INFO] [stdout]   --> src/change_to_rule.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | extern crate rustc_middle;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_parse`
[INFO] [stdout]   --> src/change_to_rule.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | extern crate rustc_parse;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_session`
[INFO] [stdout]   --> src/change_to_rule.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | extern crate rustc_session;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_span`
[INFO] [stdout]   --> src/change_to_rule.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | extern crate rustc_span;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `source_map` in the crate root
[INFO] [stdout]     --> src/rule_matcher.rs:1549:16
[INFO] [stdout]      |
[INFO] [stdout] 1549 |     use crate::source_map::ExpnKind::*;
[INFO] [stdout]      |                ^^^^^^^^^^ could not find `source_map` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::source_map::ExpnKind::*`
[INFO] [stdout]     --> src/rule_matcher.rs:1549:9
[INFO] [stdout]      |
[INFO] [stdout] 1549 |     use crate::source_map::ExpnKind::*;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree`
[INFO] [stdout]   --> src/change_to_rule.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             TokenTree::Token(_token) => {
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `TokenTree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree`
[INFO] [stdout]   --> src/change_to_rule.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             TokenTree::Delimited(_span, _delimited, tts) => hash_token_stream(&tts, hasher),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `TokenTree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 |             intravisit::walk_expr(self, expr);
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:134:18
[INFO] [stdout]     |
[INFO] [stdout] 134 | impl<'tcx, T, F> intravisit::Visitor<'tcx> for PlaceholderCandidateFinder<'tcx, T, F>
[INFO] [stdout]     |                  ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:140:39
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         intravisit::NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParseSess`
[INFO] [stdout]    --> src/change_to_rule.rs:159:27
[INFO] [stdout]     |
[INFO] [stdout] 159 |             let session = ParseSess::new(FilePathMapping::empty());
[INFO] [stdout]     |                           ^^^^^^^^^ use of undeclared type `ParseSess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilePathMapping`
[INFO] [stdout]    --> src/change_to_rule.rs:159:42
[INFO] [stdout]     |
[INFO] [stdout] 159 |             let session = ParseSess::new(FilePathMapping::empty());
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^ use of undeclared type `FilePathMapping`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Span`
[INFO] [stdout]    --> src/change_to_rule.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |             Span::with_root_ctxt(filemap.start_pos, filemap.end_pos),
[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]    --> src/change_to_rule.rs:203:22
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let result = Span::with_root_ctxt(self.0.start + start_pos, self.0.end + start_pos);
[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]    --> src/change_to_rule.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         Span::new(
[INFO] [stdout]     |         ^^^^ use of undeclared type `Span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BytePos`
[INFO] [stdout]    --> src/change_to_rule.rs:235:33
[INFO] [stdout]     |
[INFO] [stdout] 235 |             filemap.start_pos + BytePos::from_usize(self.common_prefix),
[INFO] [stdout]     |                                 ^^^^^^^ use of undeclared type `BytePos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BytePos`
[INFO] [stdout]    --> src/change_to_rule.rs:236:31
[INFO] [stdout]     |
[INFO] [stdout] 236 |             filemap.end_pos - BytePos::from_usize(self.common_suffix),
[INFO] [stdout]     |                               ^^^^^^^ use of undeclared type `BytePos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyntaxContext`
[INFO] [stdout]    --> src/change_to_rule.rs:237:13
[INFO] [stdout]     |
[INFO] [stdout] 237 |             SyntaxContext::root(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `SyntaxContext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interface`
[INFO] [stdout]    --> src/change_to_rule.rs:264:20
[INFO] [stdout]     |
[INFO] [stdout] 264 |         compiler: &interface::Compiler,
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared crate or module `interface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:286:13
[INFO] [stdout]     |
[INFO] [stdout] 286 |             intravisit::walk_crate(&mut rule_finder, tcx.hir().krate());
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `source_map` in the crate root
[INFO] [stdout]     --> src/rule_matcher.rs:1549:16
[INFO] [stdout]      |
[INFO] [stdout] 1549 |     use crate::source_map::ExpnKind::*;
[INFO] [stdout]      |                ^^^^^^^^^^ could not find `source_map` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::source_map::ExpnKind::*`
[INFO] [stdout]     --> src/rule_matcher.rs:1549:9
[INFO] [stdout]      |
[INFO] [stdout] 1549 |     use crate::source_map::ExpnKind::*;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericArgKind`
[INFO] [stdout]    --> src/change_to_rule.rs:387:20
[INFO] [stdout]     |
[INFO] [stdout] 387 |             if let GenericArgKind::Type(subtype) = generic.unpack() {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of undeclared type `GenericArgKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/change_to_rule.rs:388:24
[INFO] [stdout]     |
[INFO] [stdout] 388 |                 if let TyKind::Param(..) = subtype.kind {
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:134:18
[INFO] [stdout]     |
[INFO] [stdout] 134 | impl<'tcx, T, F> intravisit::Visitor<'tcx> for PlaceholderCandidateFinder<'tcx, T, F>
[INFO] [stdout]     |                  ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:140:39
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Span`
[INFO] [stdout]    --> src/change_to_rule.rs:461:30
[INFO] [stdout]     |
[INFO] [stdout] 461 |             .span_to_snippet(Span::with_root_ctxt(start, subst_span.lo()))
[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]    --> src/change_to_rule.rs:467:26
[INFO] [stdout]     |
[INFO] [stdout] 467 |         .span_to_snippet(Span::with_root_ctxt(start, span.hi()))
[INFO] [stdout]     |                          ^^^^ use of undeclared type `Span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParseSess`
[INFO] [stdout]    --> src/change_to_rule.rs:497:35
[INFO] [stdout]     |
[INFO] [stdout] 497 |                     let session = ParseSess::new(FilePathMapping::empty());
[INFO] [stdout]     |                                   ^^^^^^^^^ use of undeclared type `ParseSess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilePathMapping`
[INFO] [stdout]    --> src/change_to_rule.rs:497:50
[INFO] [stdout]     |
[INFO] [stdout] 497 |                     let session = ParseSess::new(FilePathMapping::empty());
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^ use of undeclared type `FilePathMapping`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:562:9
[INFO] [stdout]     |
[INFO] [stdout] 562 |         intravisit::walk_expr(&mut finder, expr);
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:567:12
[INFO] [stdout]     |
[INFO] [stdout] 567 | impl<'tcx> intravisit::Visitor<'tcx> for ReferencedPathsFinder<'tcx> {
[INFO] [stdout]     |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:570:39
[INFO] [stdout]     |
[INFO] [stdout] 570 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:571:9
[INFO] [stdout]     |
[INFO] [stdout] 571 |         intravisit::NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:602:12
[INFO] [stdout]     |
[INFO] [stdout] 602 | impl<'tcx> intravisit::Visitor<'tcx> for RuleFinder<'tcx> {
[INFO] [stdout]     |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:605:39
[INFO] [stdout]     |
[INFO] [stdout] 605 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:606:9
[INFO] [stdout]     |
[INFO] [stdout] 606 |         intravisit::NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interface`
[INFO] [stdout]    --> src/change_to_rule.rs:264:20
[INFO] [stdout]     |
[INFO] [stdout] 264 |         compiler: &interface::Compiler,
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared crate or module `interface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:614:9
[INFO] [stdout]     |
[INFO] [stdout] 614 |         intravisit::walk_item(self, item);
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:621:9
[INFO] [stdout]     |
[INFO] [stdout] 621 |         intravisit::walk_body(self, body);
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:627:13
[INFO] [stdout]     |
[INFO] [stdout] 627 |             intravisit::walk_expr(self, expr);
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:631:17
[INFO] [stdout]     |
[INFO] [stdout] 631 |                 intravisit::walk_expr(self, expr);
[INFO] [stdout]     |                 ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Span`
[INFO] [stdout]   --> src/code_substitution.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Span::lo(*self)
[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]   --> src/code_substitution.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         Span::hi(*self)
[INFO] [stdout]    |         ^^^^ use of undeclared type `Span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:567:12
[INFO] [stdout]     |
[INFO] [stdout] 567 | impl<'tcx> intravisit::Visitor<'tcx> for ReferencedPathsFinder<'tcx> {
[INFO] [stdout]     |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:570:39
[INFO] [stdout]     |
[INFO] [stdout] 570 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:602:12
[INFO] [stdout]     |
[INFO] [stdout] 602 | impl<'tcx> intravisit::Visitor<'tcx> for RuleFinder<'tcx> {
[INFO] [stdout]     |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/change_to_rule.rs:605:39
[INFO] [stdout]     |
[INFO] [stdout] 605 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParseSess`
[INFO] [stdout]    --> src/code_substitution.rs:181:19
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let session = ParseSess::new(FilePathMapping::empty());
[INFO] [stdout]     |                   ^^^^^^^^^ use of undeclared type `ParseSess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilePathMapping`
[INFO] [stdout]    --> src/code_substitution.rs:181:34
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let session = ParseSess::new(FilePathMapping::empty());
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^ use of undeclared type `FilePathMapping`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree`
[INFO] [stdout]    --> src/code_substitution.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |             TokenTree::Delimited(..) => {
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `TokenTree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/definitions.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub(crate) statements: ty::Ty<'tcx>,
[INFO] [stdout]    |                            ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/definitions.rs:23:34
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub(crate) expr_rule_marker: ty::Ty<'tcx>,
[INFO] [stdout]    |                                  ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/definitions.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) pattern_rule_marker: ty::Ty<'tcx>,
[INFO] [stdout]    |                                     ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/definitions.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub(crate) type_rule_marker: ty::Ty<'tcx>,
[INFO] [stdout]    |                                  ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/definitions.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub(crate) trait_ref_rule_marker: ty::Ty<'tcx>,
[INFO] [stdout]    |                                       ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol`
[INFO] [stdout]   --> src/definitions.rs:50:32
[INFO] [stdout]    |
[INFO] [stdout] 50 |             rerast_mod_symbol: Symbol::intern(super::RERAST_INTERNAL_MOD_NAME),
[INFO] [stdout]    |                                ^^^^^^ use of undeclared type `Symbol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol`
[INFO] [stdout]   --> src/definitions.rs:51:34
[INFO] [stdout]    |
[INFO] [stdout] 51 |             rerast_types_symbol: Symbol::intern("rerast_types"),
[INFO] [stdout]    |                                  ^^^^^^ use of undeclared type `Symbol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/definitions.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         intravisit::walk_crate(&mut finder, krate);
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/definitions.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl<'tcx> intravisit::Visitor<'tcx> for RerastDefinitionsFinder<'tcx> {
[INFO] [stdout]    |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/definitions.rs:65:39
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/definitions.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         intravisit::NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/definitions.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             intravisit::walk_item(self, item);
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/definitions.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 intravisit::walk_item(self, item);
[INFO] [stdout]    |                 ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol`
[INFO] [stdout]    --> src/definitions.rs:102:32
[INFO] [stdout]     |
[INFO] [stdout] 102 |                 search_symbol: Symbol::intern("Search"),
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `Symbol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol`
[INFO] [stdout]    --> src/definitions.rs:103:33
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 replace_symbol: Symbol::intern("Replace"),
[INFO] [stdout]     |                                 ^^^^^^ use of undeclared type `Symbol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/definitions.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub(crate) statements: ty::Ty<'tcx>,
[INFO] [stdout]    |                            ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/definitions.rs:23:34
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub(crate) expr_rule_marker: ty::Ty<'tcx>,
[INFO] [stdout]    |                                  ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/definitions.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) pattern_rule_marker: ty::Ty<'tcx>,
[INFO] [stdout]    |                                     ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/definitions.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub(crate) type_rule_marker: ty::Ty<'tcx>,
[INFO] [stdout]    |                                  ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/definitions.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub(crate) trait_ref_rule_marker: ty::Ty<'tcx>,
[INFO] [stdout]    |                                       ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpanLinesError`
[INFO] [stdout]    --> src/errors.rs:104:21
[INFO] [stdout]     |
[INFO] [stdout] 104 |                     SpanLinesError::DistinctSources(_) => {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ use of undeclared type `SpanLinesError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/definitions.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl<'tcx> intravisit::Visitor<'tcx> for RerastDefinitionsFinder<'tcx> {
[INFO] [stdout]    |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/definitions.rs:65:39
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol`
[INFO] [stdout]   --> src/rule_finder.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |             rules_mod_symbol: Symbol::intern(super::RULES_MOD_NAME),
[INFO] [stdout]    |                               ^^^^^^ use of undeclared type `Symbol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/rule_finder.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         intravisit::walk_crate(&mut rule_finder, krate);
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/rule_finder.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |         arg_ty: ty::Ty<'tcx>,
[INFO] [stdout]    |                 ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/rule_finder.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 87 |         arg_ty: ty::Ty<'tcx>,
[INFO] [stdout]    |                 ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout] 166 | impl<'tcx> intravisit::Visitor<'tcx> for RuleFinder<'tcx> {
[INFO] [stdout]     |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:169:39
[INFO] [stdout]     |
[INFO] [stdout] 169 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |         intravisit::NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 intravisit::walk_item(self, item);
[INFO] [stdout]     |                 ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |         intravisit::walk_item(self, item);
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_finder.rs:193:16
[INFO] [stdout]     |
[INFO] [stdout] 193 |         if let ExprKind::Match(ref match_expr, ref arms, _) = expr.kind {
[INFO] [stdout]     |                ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_finder.rs:194:20
[INFO] [stdout]     |
[INFO] [stdout] 194 |             if let ExprKind::MethodCall(ref _name, ref _tys, ref args) = match_expr.kind {
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |         intravisit::walk_expr(self, expr)
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:217:9
[INFO] [stdout]     |
[INFO] [stdout] 217 |         intravisit::walk_body(self, body);
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:225:16
[INFO] [stdout]     |
[INFO] [stdout] 225 |     fn walk<V: intravisit::Visitor<'tcx>>(visitor: &mut V, node: &'tcx Self);
[INFO] [stdout]     |                ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_finder.rs:236:77
[INFO] [stdout]     |
[INFO] [stdout] 236 |     fn replace_marker_type(rerast_definitions: &RerastDefinitions<'tcx>) -> ty::Ty<'tcx>;
[INFO] [stdout]     |                                                                             ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/rule_finder.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |         arg_ty: ty::Ty<'tcx>,
[INFO] [stdout]    |                 ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:248:16
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn walk<V: intravisit::Visitor<'tcx>>(visitor: &mut V, node: &'tcx Self) {
[INFO] [stdout]     |                ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_finder.rs:270:77
[INFO] [stdout]     |
[INFO] [stdout] 270 |     fn replace_marker_type(rerast_definitions: &RerastDefinitions<'tcx>) -> ty::Ty<'tcx> {
[INFO] [stdout]     |                                                                             ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]   --> src/rule_finder.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 87 |         arg_ty: ty::Ty<'tcx>,
[INFO] [stdout]    |                 ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout] 166 | impl<'tcx> intravisit::Visitor<'tcx> for RuleFinder<'tcx> {
[INFO] [stdout]     |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:169:39
[INFO] [stdout]     |
[INFO] [stdout] 169 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:282:16
[INFO] [stdout]     |
[INFO] [stdout] 282 |     fn walk<V: intravisit::Visitor<'tcx>>(visitor: &mut V, node: &'tcx Self) {
[INFO] [stdout]     |                ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_finder.rs:303:77
[INFO] [stdout]     |
[INFO] [stdout] 303 |     fn replace_marker_type(rerast_definitions: &RerastDefinitions<'tcx>) -> ty::Ty<'tcx> {
[INFO] [stdout]     |                                                                             ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:315:16
[INFO] [stdout]     |
[INFO] [stdout] 315 |     fn walk<V: intravisit::Visitor<'tcx>>(visitor: &mut V, node: &'tcx Self) {
[INFO] [stdout]     |                ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_finder.rs:339:77
[INFO] [stdout]     |
[INFO] [stdout] 339 |     fn replace_marker_type(rerast_definitions: &RerastDefinitions<'tcx>) -> ty::Ty<'tcx> {
[INFO] [stdout]     |                                                                             ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:351:16
[INFO] [stdout]     |
[INFO] [stdout] 351 |     fn walk<V: intravisit::Visitor<'tcx>>(visitor: &mut V, node: &'tcx Self) {
[INFO] [stdout]     |                ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_finder.rs:377:79
[INFO] [stdout]     |
[INFO] [stdout] 377 |     fn replace_marker_type<'a>(rerast_definitions: &RerastDefinitions<'a>) -> ty::Ty<'a> {
[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 `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:225:16
[INFO] [stdout]     |
[INFO] [stdout] 225 |     fn walk<V: intravisit::Visitor<'tcx>>(visitor: &mut V, node: &'tcx Self);
[INFO] [stdout]     |                ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_finder.rs:236:77
[INFO] [stdout]     |
[INFO] [stdout] 236 |     fn replace_marker_type(rerast_definitions: &RerastDefinitions<'tcx>) -> ty::Ty<'tcx>;
[INFO] [stdout]     |                                                                             ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:248:16
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn walk<V: intravisit::Visitor<'tcx>>(visitor: &mut V, node: &'tcx Self) {
[INFO] [stdout]     |                ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_finder.rs:270:77
[INFO] [stdout]     |
[INFO] [stdout] 270 |     fn replace_marker_type(rerast_definitions: &RerastDefinitions<'tcx>) -> ty::Ty<'tcx> {
[INFO] [stdout]     |                                                                             ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol`
[INFO] [stdout]   --> src/rule_matcher.rs:69:30
[INFO] [stdout]    |
[INFO] [stdout] 69 |             rule_mod_symbol: Symbol::intern(super::RULES_MOD_NAME),
[INFO] [stdout]    |                              ^^^^^^ use of undeclared type `Symbol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:282:16
[INFO] [stdout]     |
[INFO] [stdout] 282 |     fn walk<V: intravisit::Visitor<'tcx>>(visitor: &mut V, node: &'tcx Self) {
[INFO] [stdout]     |                ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_finder.rs:303:77
[INFO] [stdout]     |
[INFO] [stdout] 303 |     fn replace_marker_type(rerast_definitions: &RerastDefinitions<'tcx>) -> ty::Ty<'tcx> {
[INFO] [stdout]     |                                                                             ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/rule_matcher.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         intravisit::walk_crate(&mut matcher, krate);
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:315:16
[INFO] [stdout]     |
[INFO] [stdout] 315 |     fn walk<V: intravisit::Visitor<'tcx>>(visitor: &mut V, node: &'tcx Self) {
[INFO] [stdout]     |                ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_finder.rs:339:77
[INFO] [stdout]     |
[INFO] [stdout] 339 |     fn replace_marker_type(rerast_definitions: &RerastDefinitions<'tcx>) -> ty::Ty<'tcx> {
[INFO] [stdout]     |                                                                             ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |         intravisit::walk_expr(self, expr);
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:197:25
[INFO] [stdout]     |
[INFO] [stdout] 197 |                         intravisit::Visitor::visit_expr(self, placeholder_expr);
[INFO] [stdout]     |                         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_finder.rs:351:16
[INFO] [stdout]     |
[INFO] [stdout] 351 |     fn walk<V: intravisit::Visitor<'tcx>>(visitor: &mut V, node: &'tcx Self) {
[INFO] [stdout]     |                ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_finder.rs:377:79
[INFO] [stdout]     |
[INFO] [stdout] 377 |     fn replace_marker_type<'a>(rerast_definitions: &RerastDefinitions<'a>) -> ty::Ty<'a> {
[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 `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:202:25
[INFO] [stdout]     |
[INFO] [stdout] 202 |                         intravisit::Visitor::visit_stmt(self, stmt);
[INFO] [stdout]     |                         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:209:21
[INFO] [stdout]     |
[INFO] [stdout] 209 |                     intravisit::Visitor::visit_pat(self, pattern);
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:217:16
[INFO] [stdout]     |
[INFO] [stdout] 217 | impl<'r, 'tcx> intravisit::Visitor<'tcx> for RuleMatcher<'r, 'tcx> {
[INFO] [stdout]     |                ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:220:39
[INFO] [stdout]     |
[INFO] [stdout] 220 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |         intravisit::NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |         intravisit::walk_item(self, item);
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:238:13
[INFO] [stdout]     |
[INFO] [stdout] 238 |             intravisit::walk_trait_ref(self, trait_ref);
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:260:17
[INFO] [stdout]     |
[INFO] [stdout] 260 |                 intravisit::walk_body(self, body);
[INFO] [stdout]     |                 ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |         intravisit::walk_ty(self, ty);
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:292:13
[INFO] [stdout]     |
[INFO] [stdout] 292 |             intravisit::walk_pat(self, pat);
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:217:16
[INFO] [stdout]     |
[INFO] [stdout] 217 | impl<'r, 'tcx> intravisit::Visitor<'tcx> for RuleMatcher<'r, 'tcx> {
[INFO] [stdout]     |                ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/rule_matcher.rs:220:39
[INFO] [stdout]     |
[INFO] [stdout] 220 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_matcher.rs:301:29
[INFO] [stdout]     |
[INFO] [stdout] 301 |     rule_type_tables: &'tcx ty::TypeckTables<'tcx>,
[INFO] [stdout]     |                             ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_matcher.rs:305:45
[INFO] [stdout]     |
[INFO] [stdout] 305 |     placeholder_types_by_id: HashMap<HirId, ty::Ty<'tcx>>,
[INFO] [stdout]     |                                             ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObligationCause`
[INFO] [stdout]    --> src/rule_matcher.rs:329:29
[INFO] [stdout]     |
[INFO] [stdout] 329 |                 let cause = ObligationCause::dummy();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ use of undeclared type `ObligationCause`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_matcher.rs:330:33
[INFO] [stdout]     |
[INFO] [stdout] 330 |                 let param_env = ty::ParamEnv::empty();
[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 `infer`
[INFO] [stdout]    --> src/rule_matcher.rs:358:12
[INFO] [stdout]     |
[INFO] [stdout] 358 |         T: infer::at::ToTrace<'tcx>,
[INFO] [stdout]     |            ^^^^^ use of undeclared crate or module `infer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_matcher.rs:360:28
[INFO] [stdout]     |
[INFO] [stdout] 360 |         self.infcx.can_sub(ty::ParamEnv::empty(), a, b).is_ok()
[INFO] [stdout]     |                            ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_matcher.rs:368:26
[INFO] [stdout]     |
[INFO] [stdout] 368 |         fn_type_tables: &ty::TypeckTables<'tcx>,
[INFO] [stdout]     |                          ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_matcher.rs:370:30
[INFO] [stdout]     |
[INFO] [stdout] 370 |         method_type_tables: &ty::TypeckTables<'tcx>,
[INFO] [stdout]     |                              ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_matcher.rs:404:41
[INFO] [stdout]     |
[INFO] [stdout] 404 |     fn code_type_tables(&self) -> &'tcx ty::TypeckTables<'tcx> {
[INFO] [stdout]     |                                         ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_matcher.rs:301:29
[INFO] [stdout]     |
[INFO] [stdout] 301 |     rule_type_tables: &'tcx ty::TypeckTables<'tcx>,
[INFO] [stdout]     |                             ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_matcher.rs:305:45
[INFO] [stdout]     |
[INFO] [stdout] 305 |     placeholder_types_by_id: HashMap<HirId, ty::Ty<'tcx>>,
[INFO] [stdout]     |                                             ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:502:15
[INFO] [stdout]     |
[INFO] [stdout] 502 |             (&ExprKind::Call(ref p_fn, ref p_args), &ExprKind::Call(ref c_fn, ref c_args)) => {
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:502:54
[INFO] [stdout]     |
[INFO] [stdout] 502 |             (&ExprKind::Call(ref p_fn, ref p_args), &ExprKind::Call(ref c_fn, ref c_args)) => {
[INFO] [stdout]     |                                                      ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:506:18
[INFO] [stdout]     |
[INFO] [stdout] 506 |                 &ExprKind::MethodCall(ref p_name, _, ref p_args),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:507:18
[INFO] [stdout]     |
[INFO] [stdout] 507 |                 &ExprKind::MethodCall(ref c_name, _, ref c_args),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:509:15
[INFO] [stdout]     |
[INFO] [stdout] 509 |             (&ExprKind::MethodCall(_, _, ref p_args), &ExprKind::Call(ref c_fn, ref c_args)) => {
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:509:56
[INFO] [stdout]     |
[INFO] [stdout] 509 |             (&ExprKind::MethodCall(_, _, ref p_args), &ExprKind::Call(ref c_fn, ref c_args)) => {
[INFO] [stdout]     |                                                        ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:517:15
[INFO] [stdout]     |
[INFO] [stdout] 517 |             (&ExprKind::Call(ref p_fn, ref p_args), &ExprKind::MethodCall(_, _, ref c_args)) => {
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:517:54
[INFO] [stdout]     |
[INFO] [stdout] 517 |             (&ExprKind::Call(ref p_fn, ref p_args), &ExprKind::MethodCall(_, _, ref c_args)) => {
[INFO] [stdout]     |                                                      ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `infer`
[INFO] [stdout]    --> src/rule_matcher.rs:358:12
[INFO] [stdout]     |
[INFO] [stdout] 358 |         T: infer::at::ToTrace<'tcx>,
[INFO] [stdout]     |            ^^^^^ use of undeclared crate or module `infer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:526:18
[INFO] [stdout]     |
[INFO] [stdout] 526 |                 &ExprKind::Binary(ref p_op, ref p1, ref p2),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:527:18
[INFO] [stdout]     |
[INFO] [stdout] 527 |                 &ExprKind::Binary(ref c_op, ref c1, ref c2),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:533:15
[INFO] [stdout]     |
[INFO] [stdout] 533 |             (&ExprKind::Unary(p_op, ref p_expr), &ExprKind::Unary(c_op, ref c_expr)) => {
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:533:51
[INFO] [stdout]     |
[INFO] [stdout] 533 |             (&ExprKind::Unary(p_op, ref p_expr), &ExprKind::Unary(c_op, ref c_expr)) => {
[INFO] [stdout]     |                                                   ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:537:18
[INFO] [stdout]     |
[INFO] [stdout] 537 |                 &ExprKind::AddrOf(p_kind, p_mut, ref p_expr),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:538:18
[INFO] [stdout]     |
[INFO] [stdout] 538 |                 &ExprKind::AddrOf(c_kind, c_mut, ref c_expr),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:540:15
[INFO] [stdout]     |
[INFO] [stdout] 540 |             (&ExprKind::Lit(ref p_lit), &ExprKind::Lit(ref c_lit)) => {
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:540:42
[INFO] [stdout]     |
[INFO] [stdout] 540 |             (&ExprKind::Lit(ref p_lit), &ExprKind::Lit(ref c_lit)) => {
[INFO] [stdout]     |                                          ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:554:18
[INFO] [stdout]     |
[INFO] [stdout] 554 |                 &ExprKind::Loop(ref p_block, ref p_name, ref p_type),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:555:18
[INFO] [stdout]     |
[INFO] [stdout] 555 |                 &ExprKind::Loop(ref c_block, ref c_name, ref c_type),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:561:15
[INFO] [stdout]     |
[INFO] [stdout] 561 |             (&ExprKind::Tup(ref p_vec), &ExprKind::Tup(ref c_vec))
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:561:42
[INFO] [stdout]     |
[INFO] [stdout] 561 |             (&ExprKind::Tup(ref p_vec), &ExprKind::Tup(ref c_vec))
[INFO] [stdout]     |                                          ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:562:17
[INFO] [stdout]     |
[INFO] [stdout] 562 |             | (&ExprKind::Array(ref p_vec), &ExprKind::Array(ref c_vec)) => {
[INFO] [stdout]     |                 ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:562:46
[INFO] [stdout]     |
[INFO] [stdout] 562 |             | (&ExprKind::Array(ref p_vec), &ExprKind::Array(ref c_vec)) => {
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:566:18
[INFO] [stdout]     |
[INFO] [stdout] 566 |                 &ExprKind::Repeat(ref p_expr, ref p_const),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:567:18
[INFO] [stdout]     |
[INFO] [stdout] 567 |                 &ExprKind::Repeat(ref c_expr, ref c_const),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:570:18
[INFO] [stdout]     |
[INFO] [stdout] 570 |                 &ExprKind::Match(ref p_expr, ref p_arms, ref p_source),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:571:18
[INFO] [stdout]     |
[INFO] [stdout] 571 |                 &ExprKind::Match(ref c_expr, ref c_arms, ref c_source),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:578:18
[INFO] [stdout]     |
[INFO] [stdout] 578 |                 &ExprKind::Struct(ref p_path, ref p_fields, ref p_expr),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:579:18
[INFO] [stdout]     |
[INFO] [stdout] 579 |                 &ExprKind::Struct(ref c_path, ref c_fields, ref c_expr),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:586:18
[INFO] [stdout]     |
[INFO] [stdout] 586 |                 &ExprKind::Block(ref p_block, ref p_label),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:587:18
[INFO] [stdout]     |
[INFO] [stdout] 587 |                 &ExprKind::Block(ref c_block, ref c_label),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:589:15
[INFO] [stdout]     |
[INFO] [stdout] 589 |             (&ExprKind::Cast(ref p_expr, ref _p_ty), &ExprKind::Cast(ref c_expr, ref _c_ty)) => {
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:589:55
[INFO] [stdout]     |
[INFO] [stdout] 589 |             (&ExprKind::Cast(ref p_expr, ref _p_ty), &ExprKind::Cast(ref c_expr, ref _c_ty)) => {
[INFO] [stdout]     |                                                       ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:597:18
[INFO] [stdout]     |
[INFO] [stdout] 597 |                 &ExprKind::Index(ref p_expr, ref p_index),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:598:18
[INFO] [stdout]     |
[INFO] [stdout] 598 |                 &ExprKind::Index(ref c_expr, ref c_index),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:601:18
[INFO] [stdout]     |
[INFO] [stdout] 601 |                 &ExprKind::Field(ref p_expr, ref p_name),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_matcher.rs:368:26
[INFO] [stdout]     |
[INFO] [stdout] 368 |         fn_type_tables: &ty::TypeckTables<'tcx>,
[INFO] [stdout]     |                          ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:602:18
[INFO] [stdout]     |
[INFO] [stdout] 602 |                 &ExprKind::Field(ref c_expr, ref c_name),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:605:18
[INFO] [stdout]     |
[INFO] [stdout] 605 |                 &ExprKind::Assign(ref p_lhs, ref p_rhs, _),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:606:18
[INFO] [stdout]     |
[INFO] [stdout] 606 |                 &ExprKind::Assign(ref c_lhs, ref c_rhs, _),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:609:18
[INFO] [stdout]     |
[INFO] [stdout] 609 |                 &ExprKind::AssignOp(ref p_op, ref p_lhs, ref p_rhs),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:610:18
[INFO] [stdout]     |
[INFO] [stdout] 610 |                 &ExprKind::AssignOp(ref c_op, ref c_lhs, ref c_rhs),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:617:18
[INFO] [stdout]     |
[INFO] [stdout] 617 |                 &ExprKind::Break(ref p_label, ref p_expr),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:618:18
[INFO] [stdout]     |
[INFO] [stdout] 618 |                 &ExprKind::Break(ref c_label, ref c_expr),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:623:15
[INFO] [stdout]     |
[INFO] [stdout] 623 |             (&ExprKind::Continue(ref p_label), &ExprKind::Continue(ref c_label)) => {
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:623:49
[INFO] [stdout]     |
[INFO] [stdout] 623 |             (&ExprKind::Continue(ref p_label), &ExprKind::Continue(ref c_label)) => {
[INFO] [stdout]     |                                                 ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_matcher.rs:370:30
[INFO] [stdout]     |
[INFO] [stdout] 370 |         method_type_tables: &ty::TypeckTables<'tcx>,
[INFO] [stdout]     |                              ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:627:18
[INFO] [stdout]     |
[INFO] [stdout] 627 |                 &ExprKind::Closure(ref p_capture, _, ref p_body_id, _, ref p_gen),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:628:18
[INFO] [stdout]     |
[INFO] [stdout] 628 |                 &ExprKind::Closure(ref c_capture, _, ref c_body_id, _, ref c_gen),
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:634:15
[INFO] [stdout]     |
[INFO] [stdout] 634 |             (&ExprKind::Ret(ref p_expr), &ExprKind::Ret(ref c_expr)) => {
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:634:43
[INFO] [stdout]     |
[INFO] [stdout] 634 |             (&ExprKind::Ret(ref p_expr), &ExprKind::Ret(ref c_expr)) => {
[INFO] [stdout]     |                                           ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:637:15
[INFO] [stdout]     |
[INFO] [stdout] 637 |             (&ExprKind::Box(ref p_expr), &ExprKind::Box(ref c_expr)) => {
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:637:43
[INFO] [stdout]     |
[INFO] [stdout] 637 |             (&ExprKind::Box(ref p_expr), &ExprKind::Box(ref c_expr)) => {
[INFO] [stdout]     |                                           ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:640:15
[INFO] [stdout]     |
[INFO] [stdout] 640 |             (&ExprKind::DropTemps(ref p_expr), &ExprKind::DropTemps(ref c_expr)) => {
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:640:49
[INFO] [stdout]     |
[INFO] [stdout] 640 |             (&ExprKind::DropTemps(ref p_expr), &ExprKind::DropTemps(ref c_expr)) => {
[INFO] [stdout]     |                                                 ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:643:15
[INFO] [stdout]     |
[INFO] [stdout] 643 |             (&ExprKind::Yield(ref p_expr, _), &ExprKind::Yield(ref c_expr, _)) => {
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty`
[INFO] [stdout]    --> src/rule_matcher.rs:404:41
[INFO] [stdout]     |
[INFO] [stdout] 404 |     fn code_type_tables(&self) -> &'tcx ty::TypeckTables<'tcx> {
[INFO] [stdout]     |                                         ^^ use of undeclared crate or module `ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:643:48
[INFO] [stdout]     |
[INFO] [stdout] 643 |             (&ExprKind::Yield(ref p_expr, _), &ExprKind::Yield(ref c_expr, _)) => {
[INFO] [stdout]     |                                                ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:646:15
[INFO] [stdout]     |
[INFO] [stdout] 646 |             (&ExprKind::Path(ref p_path), &ExprKind::Path(ref c_path)) => {
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:646:44
[INFO] [stdout]     |
[INFO] [stdout] 646 |             (&ExprKind::Path(ref p_path), &ExprKind::Path(ref c_path)) => {
[INFO] [stdout]     |                                            ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]    --> src/rule_matcher.rs:656:15
[INFO] [stdout]     |
[INFO] [stdout] 656 |             (&ExprKind::Path(ref path), _) => {
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:718:15
[INFO] [stdout]     |
[INFO] [stdout] 718 |             (&TyKind::Slice(ref p), &TyKind::Slice(ref c))
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:718:38
[INFO] [stdout]     |
[INFO] [stdout] 718 |             (&TyKind::Slice(ref p), &TyKind::Slice(ref c))
[INFO] [stdout]     |                                      ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:719:17
[INFO] [stdout]     |
[INFO] [stdout] 719 |             | (&TyKind::Array(ref p, _), &TyKind::Array(ref c, _)) => p.attempt_match(state, c),
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:719:43
[INFO] [stdout]     |
[INFO] [stdout] 719 |             | (&TyKind::Array(ref p, _), &TyKind::Array(ref c, _)) => p.attempt_match(state, c),
[INFO] [stdout]     |                                           ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:720:15
[INFO] [stdout]     |
[INFO] [stdout] 720 |             (&TyKind::Ptr(ref p), &TyKind::Ptr(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:720:36
[INFO] [stdout]     |
[INFO] [stdout] 720 |             (&TyKind::Ptr(ref p), &TyKind::Ptr(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]     |                                    ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:721:15
[INFO] [stdout]     |
[INFO] [stdout] 721 |             (&TyKind::Rptr(ref p_lifetime, ref p_ty), &TyKind::Rptr(ref c_lifetime, ref c_ty)) => {
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:721:56
[INFO] [stdout]     |
[INFO] [stdout] 721 |             (&TyKind::Rptr(ref p_lifetime, ref p_ty), &TyKind::Rptr(ref c_lifetime, ref c_ty)) => {
[INFO] [stdout]     |                                                        ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:724:15
[INFO] [stdout]     |
[INFO] [stdout] 724 |             (&TyKind::BareFn(ref p), &TyKind::BareFn(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:724:39
[INFO] [stdout]     |
[INFO] [stdout] 724 |             (&TyKind::BareFn(ref p), &TyKind::BareFn(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]     |                                       ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:725:15
[INFO] [stdout]     |
[INFO] [stdout] 725 |             (&TyKind::Never, &TyKind::Never) => true,
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:725:31
[INFO] [stdout]     |
[INFO] [stdout] 725 |             (&TyKind::Never, &TyKind::Never) => true,
[INFO] [stdout]     |                               ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:726:15
[INFO] [stdout]     |
[INFO] [stdout] 726 |             (&TyKind::Tup(ref p), &TyKind::Tup(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:726:36
[INFO] [stdout]     |
[INFO] [stdout] 726 |             (&TyKind::Tup(ref p), &TyKind::Tup(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]     |                                    ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:727:15
[INFO] [stdout]     |
[INFO] [stdout] 727 |             (&TyKind::Path(ref p), &TyKind::Path(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:727:37
[INFO] [stdout]     |
[INFO] [stdout] 727 |             (&TyKind::Path(ref p), &TyKind::Path(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]     |                                     ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:729:18
[INFO] [stdout]     |
[INFO] [stdout] 729 |                 &TyKind::TraitObject(ref p, ref p_lifetime),
[INFO] [stdout]     |                  ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind`
[INFO] [stdout]    --> src/rule_matcher.rs:730:18
[INFO] [stdout]     |
[INFO] [stdout] 730 |                 &TyKind::TraitObject(ref c, ref c_lifetime),
[INFO] [stdout]     |                  ^^^^^^ use of undeclared type `TyKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast`
[INFO] [stdout]    --> src/rule_matcher.rs:797:20
[INFO] [stdout]     |
[INFO] [stdout] 797 | impl Matchable for ast::CrateSugar {
[INFO] [stdout]     |                    ^^^ use of undeclared crate or module `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast`
[INFO] [stdout]    --> src/rule_matcher.rs:804:14
[INFO] [stdout]     |
[INFO] [stdout] 804 |             (ast::CrateSugar::PubCrate, ast::CrateSugar::PubCrate)
[INFO] [stdout]     |              ^^^ use of undeclared crate or module `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast`
[INFO] [stdout]    --> src/rule_matcher.rs:804:41
[INFO] [stdout]     |
[INFO] [stdout] 804 |             (ast::CrateSugar::PubCrate, ast::CrateSugar::PubCrate)
[INFO] [stdout]     |                                         ^^^ use of undeclared crate or module `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast`
[INFO] [stdout]    --> src/rule_matcher.rs:805:16
[INFO] [stdout]     |
[INFO] [stdout] 805 |             | (ast::CrateSugar::JustCrate, ast::CrateSugar::JustCrate) => true,
[INFO] [stdout]     |                ^^^ use of undeclared crate or module `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast`
[INFO] [stdout]    --> src/rule_matcher.rs:805:44
[INFO] [stdout]     |
[INFO] [stdout] 805 |             | (ast::CrateSugar::JustCrate, ast::CrateSugar::JustCrate) => true,
[INFO] [stdout]     |                                            ^^^ use of undeclared crate or module `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast`
[INFO] [stdout]    --> src/rule_matcher.rs:797:20
[INFO] [stdout]     |
[INFO] [stdout] 797 | impl Matchable for ast::CrateSugar {
[INFO] [stdout]     |                    ^^^ use of undeclared crate or module `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0416]: identifier `Wild` is bound more than once in the same pattern
[INFO] [stdout]    --> src/rule_matcher.rs:869:22
[INFO] [stdout]     |
[INFO] [stdout] 869 |             (&Wild, &Wild) => true,
[INFO] [stdout]     |                      ^^^^ used in a pattern more than once
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast`
[INFO] [stdout]     --> src/rule_matcher.rs:1200:20
[INFO] [stdout]      |
[INFO] [stdout] 1200 | impl Matchable for ast::Attribute {
[INFO] [stdout]      |                    ^^^ use of undeclared crate or module `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1089:15
[INFO] [stdout]      |
[INFO] [stdout] 1089 |             (&StmtKind::Expr(ref p), &StmtKind::Expr(ref c))
[INFO] [stdout]      |               ^^^^^^^^ use of undeclared type `StmtKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1089:39
[INFO] [stdout]      |
[INFO] [stdout] 1089 |             (&StmtKind::Expr(ref p), &StmtKind::Expr(ref c))
[INFO] [stdout]      |                                       ^^^^^^^^ use of undeclared type `StmtKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1090:17
[INFO] [stdout]      |
[INFO] [stdout] 1090 |             | (&StmtKind::Semi(ref p), &StmtKind::Semi(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]      |                 ^^^^^^^^ use of undeclared type `StmtKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1090:41
[INFO] [stdout]      |
[INFO] [stdout] 1090 |             | (&StmtKind::Semi(ref p), &StmtKind::Semi(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]      |                                         ^^^^^^^^ use of undeclared type `StmtKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1091:15
[INFO] [stdout]      |
[INFO] [stdout] 1091 |             (&StmtKind::Local(ref p), &StmtKind::Local(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]      |               ^^^^^^^^ use of undeclared type `StmtKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1091:40
[INFO] [stdout]      |
[INFO] [stdout] 1091 |             (&StmtKind::Local(ref p), &StmtKind::Local(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]      |                                        ^^^^^^^^ use of undeclared type `StmtKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map`
[INFO] [stdout]     --> src/rule_matcher.rs:1548:26
[INFO] [stdout]      |
[INFO] [stdout] 1548 | fn is_same_expansion(a: &source_map::ExpnData, b: &source_map::ExpnData) -> bool {
[INFO] [stdout]      |                          ^^^^^^^^^^ use of undeclared crate or module `source_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1092:15
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             (&StmtKind::Item(ref p), &StmtKind::Item(ref c)) => {
[INFO] [stdout]      |               ^^^^^^^^ use of undeclared type `StmtKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StmtKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1092:39
[INFO] [stdout]      |
[INFO] [stdout] 1092 |             (&StmtKind::Item(ref p), &StmtKind::Item(ref c)) => {
[INFO] [stdout]      |                                       ^^^^^^^^ use of undeclared type `StmtKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map`
[INFO] [stdout]     --> src/rule_matcher.rs:1548:52
[INFO] [stdout]      |
[INFO] [stdout] 1548 | fn is_same_expansion(a: &source_map::ExpnData, b: &source_map::ExpnData) -> bool {
[INFO] [stdout]      |                                                    ^^^^^^^^^^ use of undeclared crate or module `source_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1142:18
[INFO] [stdout]      |
[INFO] [stdout] 1142 |                 &ItemKind::Static(ref p_ty, p_mut, ref p_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]     --> src/rule_matcher.rs:1143:18
[INFO] [stdout]      |
[INFO] [stdout] 1143 |                 &ItemKind::Static(ref c_ty, c_mut, ref c_body_id),
[INFO] [stdout]      |                  ^^^^^^^^ use of undeclared type `ItemKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0416]: identifier `Public` is bound more than once in the same pattern
[INFO] [stdout]     --> src/rule_matcher.rs:1194:22
[INFO] [stdout]      |
[INFO] [stdout] 1194 |             (Public, Public) | (Inherited, Inherited) => true,
[INFO] [stdout]      |                      ^^^^^^ used in a pattern more than once
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0416]: identifier `Inherited` is bound more than once in the same pattern
[INFO] [stdout]     --> src/rule_matcher.rs:1194:44
[INFO] [stdout]      |
[INFO] [stdout] 1194 |             (Public, Public) | (Inherited, Inherited) => true,
[INFO] [stdout]      |                                            ^^^^^^^^^ used in a pattern more than once
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `Inherited` is not bound in all patterns
[INFO] [stdout]     --> src/rule_matcher.rs:1194:13
[INFO] [stdout]      |
[INFO] [stdout] 1194 |             (Public, Public) | (Inherited, Inherited) => true,
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^               --------- variable not in all patterns
[INFO] [stdout]      |             |
[INFO] [stdout]      |             pattern doesn't bind `Inherited`
[INFO] [stdout]      |
[INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Inherited`
[INFO] [stdout]     --> src/rule_matcher.rs:1194:44
[INFO] [stdout]      |
[INFO] [stdout] 1194 |             (Public, Public) | (Inherited, Inherited) => true,
[INFO] [stdout]      |                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `Public` is not bound in all patterns
[INFO] [stdout]     --> src/rule_matcher.rs:1194:32
[INFO] [stdout]      |
[INFO] [stdout] 1194 |             (Public, Public) | (Inherited, Inherited) => true,
[INFO] [stdout]      |                      ------    ^^^^^^^^^^^^^^^^^^^^^^ pattern doesn't bind `Public`
[INFO] [stdout]      |                      |
[INFO] [stdout]      |                      variable not in all patterns
[INFO] [stdout]      |
[INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::Public`
[INFO] [stdout]     --> src/rule_matcher.rs:1194:22
[INFO] [stdout]      |
[INFO] [stdout] 1194 |             (Public, Public) | (Inherited, Inherited) => true,
[INFO] [stdout]      |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast`
[INFO] [stdout]     --> src/rule_matcher.rs:1200:20
[INFO] [stdout]      |
[INFO] [stdout] 1200 | impl Matchable for ast::Attribute {
[INFO] [stdout]      |                    ^^^ use of undeclared crate or module `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]     --> src/rule_matcher.rs:1633:37
[INFO] [stdout]      |
[INFO] [stdout] 1633 | impl<'r, 'tcx, T: StartMatch<'tcx>> intravisit::Visitor<'tcx> for ReplacementVisitor<'r, 'tcx, T> {
[INFO] [stdout]      |                                     ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1484:13
[INFO] [stdout]      |
[INFO] [stdout] 1484 |             ExprKind::Unary(..) => OperatorPrecedence::Unary,
[INFO] [stdout]      |             ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1485:13
[INFO] [stdout]      |
[INFO] [stdout] 1485 |             ExprKind::Binary(op, ..) => {
[INFO] [stdout]      |             ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1488:21
[INFO] [stdout]      |
[INFO] [stdout] 1488 |                     BinOpKind::Add | BinOpKind::Sub => OperatorPrecedence::AddSub,
[INFO] [stdout]      |                     ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1488:38
[INFO] [stdout]      |
[INFO] [stdout] 1488 |                     BinOpKind::Add | BinOpKind::Sub => OperatorPrecedence::AddSub,
[INFO] [stdout]      |                                      ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]     --> src/rule_matcher.rs:1636:39
[INFO] [stdout]      |
[INFO] [stdout] 1636 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]      |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1489:21
[INFO] [stdout]      |
[INFO] [stdout] 1489 |                     BinOpKind::Mul | BinOpKind::Div | BinOpKind::Rem => {
[INFO] [stdout]      |                     ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1489:38
[INFO] [stdout]      |
[INFO] [stdout] 1489 |                     BinOpKind::Mul | BinOpKind::Div | BinOpKind::Rem => {
[INFO] [stdout]      |                                      ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1489:55
[INFO] [stdout]      |
[INFO] [stdout] 1489 |                     BinOpKind::Mul | BinOpKind::Div | BinOpKind::Rem => {
[INFO] [stdout]      |                                                       ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1492:21
[INFO] [stdout]      |
[INFO] [stdout] 1492 |                     BinOpKind::And => OperatorPrecedence::LogicalAnd,
[INFO] [stdout]      |                     ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1493:21
[INFO] [stdout]      |
[INFO] [stdout] 1493 |                     BinOpKind::Or => OperatorPrecedence::LogicalOr,
[INFO] [stdout]      |                     ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1494:21
[INFO] [stdout]      |
[INFO] [stdout] 1494 |                     BinOpKind::BitXor => OperatorPrecedence::BitXor,
[INFO] [stdout]      |                     ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1495:21
[INFO] [stdout]      |
[INFO] [stdout] 1495 |                     BinOpKind::BitAnd => OperatorPrecedence::BitAnd,
[INFO] [stdout]      |                     ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1496:21
[INFO] [stdout]      |
[INFO] [stdout] 1496 |                     BinOpKind::BitOr => OperatorPrecedence::BitOr,
[INFO] [stdout]      |                     ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1497:21
[INFO] [stdout]      |
[INFO] [stdout] 1497 |                     BinOpKind::Shl | BinOpKind::Shr => OperatorPrecedence::BitShift,
[INFO] [stdout]      |                     ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1497:38
[INFO] [stdout]      |
[INFO] [stdout] 1497 |                     BinOpKind::Shl | BinOpKind::Shr => OperatorPrecedence::BitShift,
[INFO] [stdout]      |                                      ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1498:21
[INFO] [stdout]      |
[INFO] [stdout] 1498 |                     BinOpKind::Eq
[INFO] [stdout]      |                     ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1499:23
[INFO] [stdout]      |
[INFO] [stdout] 1499 |                     | BinOpKind::Lt
[INFO] [stdout]      |                       ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1500:23
[INFO] [stdout]      |
[INFO] [stdout] 1500 |                     | BinOpKind::Le
[INFO] [stdout]      |                       ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1501:23
[INFO] [stdout]      |
[INFO] [stdout] 1501 |                     | BinOpKind::Ne
[INFO] [stdout]      |                       ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1502:23
[INFO] [stdout]      |
[INFO] [stdout] 1502 |                     | BinOpKind::Ge
[INFO] [stdout]      |                       ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1503:23
[INFO] [stdout]      |
[INFO] [stdout] 1503 |                     | BinOpKind::Gt => OperatorPrecedence::Comparison,
[INFO] [stdout]      |                       ^^^^^^^^^ use of undeclared type `BinOpKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind`
[INFO] [stdout]     --> src/rule_matcher.rs:1506:13
[INFO] [stdout]      |
[INFO] [stdout] 1506 |             ExprKind::Assign(..) => OperatorPrecedence::Assignment,
[INFO] [stdout]      |             ^^^^^^^^ use of undeclared type `ExprKind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map`
[INFO] [stdout]     --> src/rule_matcher.rs:1548:26
[INFO] [stdout]      |
[INFO] [stdout] 1548 | fn is_same_expansion(a: &source_map::ExpnData, b: &source_map::ExpnData) -> bool {
[INFO] [stdout]      |                          ^^^^^^^^^^ use of undeclared crate or module `source_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map`
[INFO] [stdout]     --> src/rule_matcher.rs:1548:52
[INFO] [stdout]      |
[INFO] [stdout] 1548 | fn is_same_expansion(a: &source_map::ExpnData, b: &source_map::ExpnData) -> bool {
[INFO] [stdout]      |                                                    ^^^^^^^^^^ use of undeclared crate or module `source_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0416]: identifier `Root` is bound more than once in the same pattern
[INFO] [stdout]     --> src/rule_matcher.rs:1551:16
[INFO] [stdout]      |
[INFO] [stdout] 1551 |         (Root, Root) => true,
[INFO] [stdout]      |                ^^^^ used in a pattern more than once
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/validation.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<'tcx> intravisit::Visitor<'tcx> for SearchValidator<'tcx> {
[INFO] [stdout]    |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/validation.rs:71:39
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/validation.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | impl<'tcx> intravisit::Visitor<'tcx> for ReplacementValidator<'tcx> {
[INFO] [stdout]    |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/validation.rs:97:39
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]     --> src/rule_matcher.rs:1633:37
[INFO] [stdout]      |
[INFO] [stdout] 1633 | impl<'r, 'tcx, T: StartMatch<'tcx>> intravisit::Visitor<'tcx> for ReplacementVisitor<'r, 'tcx, T> {
[INFO] [stdout]      |                                     ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]     --> src/rule_matcher.rs:1636:39
[INFO] [stdout]      |
[INFO] [stdout] 1636 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]      |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]     --> src/rule_matcher.rs:1637:9
[INFO] [stdout]      |
[INFO] [stdout] 1637 |         intravisit::NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]      |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]     --> src/rule_matcher.rs:1644:9
[INFO] [stdout]      |
[INFO] [stdout] 1644 |         intravisit::walk_expr(self, expr);
[INFO] [stdout]      |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]     --> src/rule_matcher.rs:1656:9
[INFO] [stdout]      |
[INFO] [stdout] 1656 |         intravisit::walk_stmt(self, stmt);
[INFO] [stdout]      |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interface`
[INFO] [stdout]    --> src/lib.rs:158:10
[INFO] [stdout]     |
[INFO] [stdout] 158 |     ) -> interface::Result<()> {
[INFO] [stdout]     |          ^^^^^^^^^ use of undeclared crate or module `interface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]     --> src/rule_matcher.rs:1705:9
[INFO] [stdout]      |
[INFO] [stdout] 1705 |         intravisit::walk_pat(self, pat);
[INFO] [stdout]      |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interface`
[INFO] [stdout]    --> src/lib.rs:335:20
[INFO] [stdout]     |
[INFO] [stdout] 335 |         compiler: &interface::Compiler,
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared crate or module `interface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/validation.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl<'tcx> intravisit::Visitor<'tcx> for SearchValidator<'tcx> {
[INFO] [stdout]    |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/validation.rs:71:39
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/validation.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |         intravisit::NestedVisitorMap::All(self.state.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/lib.rs:407:12
[INFO] [stdout]     |
[INFO] [stdout] 407 | impl<'tcx> intravisit::Visitor<'tcx> for DeclaredNamesFinder<'tcx> {
[INFO] [stdout]     |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/lib.rs:410:39
[INFO] [stdout]     |
[INFO] [stdout] 410 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/validation.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         intravisit::walk_qpath(self, qpath, id, span);
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/validation.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | impl<'tcx> intravisit::Visitor<'tcx> for ReplacementValidator<'tcx> {
[INFO] [stdout]    |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/validation.rs:97:39
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]    |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]   --> src/validation.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |         intravisit::NestedVisitorMap::All(self.state.tcx.hir())
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> src/change_to_rule.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 68 | struct Placeholder<'tcx> {
[INFO] [stdout]    |                        - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] 69 |     expr: &'tcx rustc_hir::Expr<'tcx>,
[INFO] [stdout] 70 |     uses: Vec<Span>,
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TokenStream` in this scope
[INFO] [stdout]   --> src/change_to_rule.rs:79:31
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn hash_token_stream(stream: &TokenStream, hasher: &mut DefaultHasher) {
[INFO] [stdout]    |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/change_to_rule.rs:98:10
[INFO] [stdout]    |
[INFO] [stdout] 98 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/validation.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         intravisit::walk_qpath(self, qpath, id, span);
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:108:14
[INFO] [stdout]     |
[INFO] [stdout] 108 |         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]    --> src/change_to_rule.rs:178:27
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn span_within_span(span: Span, target: 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]    --> src/change_to_rule.rs:178:41
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn span_within_span(span: Span, target: 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]    --> src/change_to_rule.rs:178:50
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn span_within_span(span: Span, target: Span) -> Span {
[INFO] [stdout]     |                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:187:27
[INFO] [stdout]     |
[INFO] [stdout] 187 | struct RelativeSpan(Range<BytePos>);
[INFO] [stdout]     |                    -      ^^^^^^^ not found in this scope
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    help: you might be missing a type parameter: `<BytePos>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:190:27
[INFO] [stdout]     |
[INFO] [stdout] 190 |     fn new(absolute_span: Span, filemap: &rustc_span::SourceFile) -> RelativeSpan {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:201:61
[INFO] [stdout]     |
[INFO] [stdout] 201 |     fn absolute(&self, filemap: &rustc_span::SourceFile) -> Span {
[INFO] [stdout]     |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:226:24
[INFO] [stdout]     |
[INFO] [stdout] 226 |     fn from_span(span: Span, filemap: &rustc_span::SourceFile) -> ChangedSpan {
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:233:60
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn to_span(&self, filemap: &rustc_span::SourceFile) -> Span {
[INFO] [stdout]     |                                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interface`
[INFO] [stdout]    --> src/lib.rs:158:10
[INFO] [stdout]     |
[INFO] [stdout] 158 |     ) -> interface::Result<()> {
[INFO] [stdout]     |          ^^^^^^^^^ use of undeclared crate or module `interface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:329:10
[INFO] [stdout]     |
[INFO] [stdout] 329 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]     |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:373:10
[INFO] [stdout]     |
[INFO] [stdout] 373 |     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]    --> src/change_to_rule.rs:379:23
[INFO] [stdout]     |
[INFO] [stdout] 379 |     replacement_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]    --> src/change_to_rule.rs:452:18
[INFO] [stdout]     |
[INFO] [stdout] 452 |     source_map: &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]    --> src/change_to_rule.rs:453:11
[INFO] [stdout]     |
[INFO] [stdout] 453 |     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]    --> src/change_to_rule.rs:454:27
[INFO] [stdout]     |
[INFO] [stdout] 454 |     substitutions: &mut [(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]    --> src/change_to_rule.rs:473:10
[INFO] [stdout]     |
[INFO] [stdout] 473 |     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]    --> src/change_to_rule.rs:477:33
[INFO] [stdout]     |
[INFO] [stdout] 472 | struct PlaceholderMatcher<'tcx, 'placeholders> {
[INFO] [stdout]     |                                              - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 477 |     used_placeholder_spans: 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]    --> src/change_to_rule.rs:552:10
[INFO] [stdout]     |
[INFO] [stdout] 552 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]     |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:557:27
[INFO] [stdout]     |
[INFO] [stdout] 557 |     fn paths_in_expr(tcx: TyCtxt<'tcx>, expr: &'tcx rustc_hir::Expr) -> HashSet<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]    --> src/change_to_rule.rs:595:10
[INFO] [stdout]     |
[INFO] [stdout] 595 |     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]    --> src/change_to_rule.rs:596:19
[INFO] [stdout]     |
[INFO] [stdout] 596 |     changed_span: Span,
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:654:39
[INFO] [stdout]     |
[INFO] [stdout] 654 | fn determine_rule_with_file_loader<T: FileLoader + Clone + Send + Sync + 'static>(
[INFO] [stdout]     |                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     lo: BytePos,
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     hi: BytePos,
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn lo(&self) -> BytePos;
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn hi(&self) -> BytePos;
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Res`
[INFO] [stdout]    --> src/lib.rs:232:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |             Res::Local(id) => Some(id),
[INFO] [stdout]     |             ^^^ use of undeclared type `Res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub(crate) trait SpanT {
[INFO] [stdout]    | ---------------------- similarly named trait `SpanT` defined here
[INFO] [stdout] ...
[INFO] [stdout] 37 | impl SpanT for Span {
[INFO] [stdout]    |                ^^^^ help: a trait with a similar name exists: `SpanT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn lo(&self) -> BytePos {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn hi(&self) -> BytePos {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:47:21
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn lo(&self) -> BytePos {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn hi(&self) -> BytePos {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |     start_pos: BytePos,
[INFO] [stdout]    |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:62:51
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub(crate) fn new(source: &'a str, start_pos: BytePos) -> SourceChunk<'a> {
[INFO] [stdout]    |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:66:31
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn get_snippet(&self, lo: BytePos, hi: BytePos) -> &'a str {
[INFO] [stdout]    |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:66:44
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn get_snippet(&self, lo: BytePos, hi: BytePos) -> &'a str {
[INFO] [stdout]    |                                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:71:33
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn to_end_from(&self, from: BytePos) -> &'a str {
[INFO] [stdout]    |                                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> src/code_substitution.rs:109:23
[INFO] [stdout]     |
[INFO] [stdout] 32  | pub(crate) trait SpanT {
[INFO] [stdout]     | ---------------------- similarly named trait `SpanT` defined here
[INFO] [stdout] ...
[INFO] [stdout] 109 | impl CodeSubstitution<Span> {
[INFO] [stdout]     |                       ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl CodeSubstitution<SpanT> {
[INFO] [stdout]     |                       ~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl<Span> CodeSubstitution<Span> {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> src/code_substitution.rs:111:43
[INFO] [stdout]     |
[INFO] [stdout] 32  | pub(crate) trait SpanT {
[INFO] [stdout]     | ---------------------- similarly named trait `SpanT` defined here
[INFO] [stdout] ...
[INFO] [stdout] 111 |         substitutions: &[CodeSubstitution<Span>],
[INFO] [stdout]     |                                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 111 |         substitutions: &[CodeSubstitution<SpanT>],
[INFO] [stdout]     |                                           ~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl<Span> CodeSubstitution<Span> {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]    --> src/code_substitution.rs:112:22
[INFO] [stdout]     |
[INFO] [stdout] 112 |         source_map: &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]    --> src/code_substitution.rs:113:20
[INFO] [stdout]     |
[INFO] [stdout] 32  | pub(crate) trait SpanT {
[INFO] [stdout]     | ---------------------- similarly named trait `SpanT` defined here
[INFO] [stdout] ...
[INFO] [stdout] 113 |         base_span: Span,
[INFO] [stdout]     |                    ^^^^ help: a trait with a similar name exists: `SpanT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]    --> src/code_substitution.rs:122:55
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn into_file_local_substitution(self, file_start: BytePos) -> CodeSubstitution<LocalSpan> {
[INFO] [stdout]     |                                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> src/code_substitution.rs:218:45
[INFO] [stdout]     |
[INFO] [stdout] 32  | pub(crate) trait SpanT {
[INFO] [stdout]     | ---------------------- similarly named trait `SpanT` defined here
[INFO] [stdout] ...
[INFO] [stdout] 218 |         substitutions: Vec<CodeSubstitution<Span>>,
[INFO] [stdout]     |                                             ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 218 |         substitutions: Vec<CodeSubstitution<SpanT>>,
[INFO] [stdout]     |                                             ~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 216 | impl<Span> FileRelativeSubstitutions {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]    --> src/code_substitution.rs:219:22
[INFO] [stdout]     |
[INFO] [stdout] 219 |         source_map: &SourceMap,
[INFO] [stdout]     |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/code_substitution.rs:262:27
[INFO] [stdout]     |
[INFO] [stdout] 262 |         file_loader: &dyn FileLoader,
[INFO] [stdout]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/definitions.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub(crate) search_symbol: Symbol,
[INFO] [stdout]    |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/definitions.rs:28:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub(crate) replace_symbol: Symbol,
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/definitions.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/definitions.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 |     rerast_mod_symbol: Symbol,
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/definitions.rs:35:26
[INFO] [stdout]    |
[INFO] [stdout] 35 |     rerast_types_symbol: Symbol,
[INFO] [stdout]    |                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/definitions.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |         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]   --> src/errors.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |     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]   --> src/errors.rs:30:58
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub(crate) fn new<T: Into<String>>(message: T, span: Span) -> ErrorWithSpan {
[INFO] [stdout]    |                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyntaxContext`
[INFO] [stdout]    --> src/lib.rs:271:27
[INFO] [stdout]     |
[INFO] [stdout] 271 |         if span.ctxt() == SyntaxContext::root() {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ use of undeclared type `SyntaxContext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/errors.rs:37:53
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub(crate) fn with_snippet<'a, 'tcx>(self, tcx: TyCtxt<'tcx>) -> RerastError {
[INFO] [stdout]    |                                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FileLinesResult` in this scope
[INFO] [stdout]   --> src/errors.rs:84:45
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn from_lines_result(file_lines_result: FileLinesResult) -> Result<FileLines, FileLinesError> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]   --> src/file_loader.rs:21:41
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub(crate) struct InMemoryFileLoader<T: FileLoader + Send + Sync> {
[INFO] [stdout]    |                                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interface`
[INFO] [stdout]    --> src/lib.rs:335:20
[INFO] [stdout]     |
[INFO] [stdout] 335 |         compiler: &interface::Compiler,
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared crate or module `interface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]   --> src/file_loader.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | 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]   --> src/file_loader.rs:39:35
[INFO] [stdout]    |
[INFO] [stdout] 39 | 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]   --> src/file_loader.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | 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]   --> src/file_loader.rs:56:6
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl FileLoader for ClonableRealFileLoader {
[INFO] [stdout]    |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/rule_finder.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/rule_finder.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     rules_mod_symbol: Symbol,
[INFO] [stdout]    |                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/rule_finder.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |         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]   --> src/rule_finder.rs:67:22
[INFO] [stdout]    |
[INFO] [stdout] 67 |         arg_ty_span: Span,
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/rule_finder.rs:93:23
[INFO] [stdout]    |
[INFO] [stdout] 93 |             arm_name: Symbol,
[INFO] [stdout]    |                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> src/rule_finder.rs:224:23
[INFO] [stdout]     |
[INFO] [stdout] 224 |     fn span(&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]    --> src/rule_finder.rs:241:25
[INFO] [stdout]     |
[INFO] [stdout] 241 |     fn hir_id(&self) -> 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]    --> src/rule_finder.rs:245:23
[INFO] [stdout]     |
[INFO] [stdout] 245 |     fn span(&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]    --> src/rule_finder.rs:273:25
[INFO] [stdout]     |
[INFO] [stdout] 273 |     fn hir_id(&self) -> 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]    --> src/rule_finder.rs:279:23
[INFO] [stdout]     |
[INFO] [stdout] 279 |     fn span(&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]    --> src/rule_finder.rs:306:25
[INFO] [stdout]     |
[INFO] [stdout] 306 |     fn hir_id(&self) -> 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]    --> src/rule_finder.rs:312:23
[INFO] [stdout]     |
[INFO] [stdout] 312 |     fn span(&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]    --> src/rule_finder.rs:342:25
[INFO] [stdout]     |
[INFO] [stdout] 342 |     fn hir_id(&self) -> 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]    --> src/rule_finder.rs:348:23
[INFO] [stdout]     |
[INFO] [stdout] 348 |     fn span(&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]    --> src/rule_finder.rs:383:25
[INFO] [stdout]     |
[INFO] [stdout] 383 |     fn hir_id(&self) -> 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]   --> src/rule_matcher.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/rule_matcher.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |     rule_mod_symbol: Symbol,
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/rule_matcher.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 |         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]    --> src/rule_matcher.rs:124:24
[INFO] [stdout]     |
[INFO] [stdout] 124 |         original_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]    --> src/rule_matcher.rs:298:10
[INFO] [stdout]     |
[INFO] [stdout] 298 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]     |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `InferCtxt` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:299:12
[INFO] [stdout]     |
[INFO] [stdout] 299 |     infcx: InferCtxt<'a, 'tcx>,
[INFO] [stdout]     |            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/lib.rs:407:12
[INFO] [stdout]     |
[INFO] [stdout] 407 | impl<'tcx> intravisit::Visitor<'tcx> for DeclaredNamesFinder<'tcx> {
[INFO] [stdout]     |            ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:305:38
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub(crate) struct MatchState<'r, 'a, 'tcx: 'a> {
[INFO] [stdout]     |                                              - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 305 |     placeholder_types_by_id: HashMap<HirId, ty::Ty<'tcx>>,
[INFO] [stdout]     |                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/lib.rs:410:39
[INFO] [stdout]     |
[INFO] [stdout] 410 |     fn nested_visit_map(&mut self) -> intravisit::NestedVisitorMap<Self::Map> {
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:369:25
[INFO] [stdout]     |
[INFO] [stdout] 369 |         method_call_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]    --> src/rule_matcher.rs:385:83
[INFO] [stdout]     |
[INFO] [stdout] 315 | impl<'r, 'a, 'tcx: 'a> MatchState<'r, 'a, 'tcx> {
[INFO] [stdout]     |                      - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 385 |     fn opt_statements_placeholder_hir_id(&self, stmt: &rustc_hir::Stmt) -> Option<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]    --> src/rule_matcher.rs:408:37
[INFO] [stdout]     |
[INFO] [stdout] 408 |     fn span_to_snippet(&self, span: Span) -> Result<String, SpanSnippetError> {
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/lib.rs:411:9
[INFO] [stdout]     |
[INFO] [stdout] 411 |         intravisit::NestedVisitorMap::All(self.tcx.hir())
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SpanSnippetError` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:408:61
[INFO] [stdout]     |
[INFO] [stdout] 315 | impl<'r, 'a, 'tcx: 'a> MatchState<'r, 'a, 'tcx> {
[INFO] [stdout]     |                      - help: you might be missing a type parameter: `, SpanSnippetError`
[INFO] [stdout] ...
[INFO] [stdout] 408 |     fn span_to_snippet(&self, span: Span) -> Result<String, SpanSnippetError> {
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:483:34
[INFO] [stdout]     |
[INFO] [stdout] 483 | impl<T: Matchable> Matchable for Spanned<T> {
[INFO] [stdout]     |                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:982:20
[INFO] [stdout]     |
[INFO] [stdout] 982 | impl Matchable for Symbol {
[INFO] [stdout]     |                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1358:20
[INFO] [stdout]      |
[INFO] [stdout] 1358 |     original_span: Span,
[INFO] [stdout]      |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `intravisit`
[INFO] [stdout]    --> src/lib.rs:426:9
[INFO] [stdout]     |
[INFO] [stdout] 426 |         intravisit::walk_pat(self, pat);
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `intravisit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1362:43
[INFO] [stdout]      |
[INFO] [stdout] 1362 |     fn get_replacement_source(&self, tcx: TyCtxt<'tcx>) -> String {
[INFO] [stdout]      |                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1386:18
[INFO] [stdout]      |
[INFO] [stdout] 1386 |     code_hir_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]     --> src/rule_matcher.rs:1394:33
[INFO] [stdout]      |
[INFO] [stdout] 1391 | pub(crate) struct MatchPlaceholders<'r, 'tcx: 'r> {
[INFO] [stdout]      |                                                 - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 1394 |     placeholders_by_id: HashMap<HirId, Placeholder<'r, '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]     --> src/rule_matcher.rs:1396:37
[INFO] [stdout]      |
[INFO] [stdout] 1391 | pub(crate) struct MatchPlaceholders<'r, 'tcx: 'r> {
[INFO] [stdout]      |                                                 - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 1396 |     matched_variable_decls: HashMap<HirId, MatchedVariableDecl>,
[INFO] [stdout]      |                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1407:52
[INFO] [stdout]      |
[INFO] [stdout] 1407 |     fn get_placeholder<'this>(&'this self, hir_id: HirId) -> Option<&'this Placeholder<'r, 'tcx>> {
[INFO] [stdout]      |                                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1420:32
[INFO] [stdout]      |
[INFO] [stdout] 1420 |     fn get_span(&self, target: 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]     --> src/rule_matcher.rs:1420:41
[INFO] [stdout]      |
[INFO] [stdout] 1420 |     fn get_span(&self, target: 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]     --> src/rule_matcher.rs:1532:36
[INFO] [stdout]      |
[INFO] [stdout] 1532 | fn get_original_spans(search_span: Span, code_span: Span) -> Option<(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]     --> src/rule_matcher.rs:1532:53
[INFO] [stdout]      |
[INFO] [stdout] 1532 | fn get_original_spans(search_span: Span, code_span: Span) -> Option<(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]   --> src/change_to_rule.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 68 | struct Placeholder<'tcx> {
[INFO] [stdout]    |                        - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] 69 |     expr: &'tcx rustc_hir::Expr<'tcx>,
[INFO] [stdout] 70 |     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]     --> src/rule_matcher.rs:1532:70
[INFO] [stdout]      |
[INFO] [stdout] 1532 | fn get_original_spans(search_span: Span, code_span: Span) -> Option<(Span, 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 `TokenStream` in this scope
[INFO] [stdout]   --> src/change_to_rule.rs:79:31
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn hash_token_stream(stream: &TokenStream, hasher: &mut DefaultHasher) {
[INFO] [stdout]    |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/change_to_rule.rs:98:10
[INFO] [stdout]    |
[INFO] [stdout] 98 |     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]     --> src/rule_matcher.rs:1532:76
[INFO] [stdout]      |
[INFO] [stdout] 1532 | fn get_original_spans(search_span: Span, code_span: Span) -> Option<(Span, 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]    --> src/change_to_rule.rs:108:14
[INFO] [stdout]     |
[INFO] [stdout] 108 |         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]    --> src/change_to_rule.rs:178:27
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn span_within_span(span: Span, target: 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]     --> src/rule_matcher.rs:1560:27
[INFO] [stdout]      |
[INFO] [stdout] 1560 | fn span_within_span(span: Span, target: 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]    --> src/change_to_rule.rs:178:41
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn span_within_span(span: Span, target: 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]    --> src/change_to_rule.rs:178:50
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn span_within_span(span: Span, target: 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]     --> src/rule_matcher.rs:1560:41
[INFO] [stdout]      |
[INFO] [stdout] 1560 | fn span_within_span(span: Span, target: Span) -> Span {
[INFO] [stdout]      |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:187:27
[INFO] [stdout]     |
[INFO] [stdout] 187 | struct RelativeSpan(Range<BytePos>);
[INFO] [stdout]     |                    -      ^^^^^^^ not found in this scope
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    help: you might be missing a type parameter: `<BytePos>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:190:27
[INFO] [stdout]     |
[INFO] [stdout] 190 |     fn new(absolute_span: Span, filemap: &rustc_span::SourceFile) -> RelativeSpan {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1560:50
[INFO] [stdout]      |
[INFO] [stdout] 1560 | fn span_within_span(span: Span, target: 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]    --> src/change_to_rule.rs:201:61
[INFO] [stdout]     |
[INFO] [stdout] 201 |     fn absolute(&self, filemap: &rustc_span::SourceFile) -> Span {
[INFO] [stdout]     |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:226:24
[INFO] [stdout]     |
[INFO] [stdout] 226 |     fn from_span(span: Span, filemap: &rustc_span::SourceFile) -> ChangedSpan {
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1571:36
[INFO] [stdout]      |
[INFO] [stdout] 1571 | fn all_expansions_equal(rule_span: Span, code_span: 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]    --> src/change_to_rule.rs:233:60
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn to_span(&self, filemap: &rustc_span::SourceFile) -> Span {
[INFO] [stdout]     |                                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1571:53
[INFO] [stdout]      |
[INFO] [stdout] 1571 | fn all_expansions_equal(rule_span: Span, code_span: Span) -> 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]    --> src/change_to_rule.rs:329:10
[INFO] [stdout]     |
[INFO] [stdout] 329 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]     |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1578:10
[INFO] [stdout]      |
[INFO] [stdout] 1578 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]      |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:373:10
[INFO] [stdout]     |
[INFO] [stdout] 373 |     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]    --> src/change_to_rule.rs:379:23
[INFO] [stdout]     |
[INFO] [stdout] 379 |     replacement_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]     --> src/rule_matcher.rs:1579:34
[INFO] [stdout]      |
[INFO] [stdout] 1577 | struct ReplacementVisitor<'r, 'tcx, T: StartMatch<'tcx>> {
[INFO] [stdout]      |                                                        - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] 1578 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout] 1579 |     result: Vec<CodeSubstitution<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]    --> src/change_to_rule.rs:452:18
[INFO] [stdout]     |
[INFO] [stdout] 452 |     source_map: &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]    --> src/change_to_rule.rs:453:11
[INFO] [stdout]     |
[INFO] [stdout] 453 |     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]     --> src/rule_matcher.rs:1584:33
[INFO] [stdout]      |
[INFO] [stdout] 1577 | struct ReplacementVisitor<'r, 'tcx, T: StartMatch<'tcx>> {
[INFO] [stdout]      |                                                        - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 1584 |     substitute_hir_ids: HashMap<HirId, 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]    --> src/change_to_rule.rs:454:27
[INFO] [stdout]     |
[INFO] [stdout] 454 |     substitutions: &mut [(Span, String)],
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1584:40
[INFO] [stdout]      |
[INFO] [stdout] 1577 | struct ReplacementVisitor<'r, 'tcx, T: StartMatch<'tcx>> {
[INFO] [stdout]      |                                                        - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 1584 |     substitute_hir_ids: HashMap<HirId, 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]    --> src/change_to_rule.rs:473:10
[INFO] [stdout]     |
[INFO] [stdout] 473 |     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]    --> src/change_to_rule.rs:477:33
[INFO] [stdout]     |
[INFO] [stdout] 472 | struct PlaceholderMatcher<'tcx, 'placeholders> {
[INFO] [stdout]     |                                              - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 477 |     used_placeholder_spans: 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]     --> src/rule_matcher.rs:1589:38
[INFO] [stdout]      |
[INFO] [stdout] 1589 |     fn hir_id_snippet(&self, hir_id: HirId) -> 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]    --> src/change_to_rule.rs:552:10
[INFO] [stdout]     |
[INFO] [stdout] 552 |     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]     --> src/rule_matcher.rs:1598:79
[INFO] [stdout]      |
[INFO] [stdout] 1598 |     fn process_expr(&mut self, expr: &'tcx rustc_hir::Expr, placeholder_span: Span) -> 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]    --> src/change_to_rule.rs:557:27
[INFO] [stdout]     |
[INFO] [stdout] 557 |     fn paths_in_expr(tcx: TyCtxt<'tcx>, expr: &'tcx rustc_hir::Expr) -> HashSet<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]     --> src/rule_matcher.rs:1618:94
[INFO] [stdout]      |
[INFO] [stdout] 1618 |     fn process_placeholder(&mut self, placeholder: &Placeholder<'r, 'tcx>, placeholder_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]    --> src/change_to_rule.rs:595:10
[INFO] [stdout]     |
[INFO] [stdout] 595 |     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]    --> src/change_to_rule.rs:596:19
[INFO] [stdout]     |
[INFO] [stdout] 596 |     changed_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]     --> src/rule_matcher.rs:1710:10
[INFO] [stdout]      |
[INFO] [stdout] 1710 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]      |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/change_to_rule.rs:654:39
[INFO] [stdout]     |
[INFO] [stdout] 654 | fn determine_rule_with_file_loader<T: FileLoader + Clone + Send + Sync + 'static>(
[INFO] [stdout]     |                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1712:27
[INFO] [stdout]      |
[INFO] [stdout] 1709 | pub(crate) fn substitions_for_matches<'r, 'a, 'tcx>(
[INFO] [stdout]      |                                                   - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 1712 | ) -> Vec<CodeSubstitution<Span>> {
[INFO] [stdout]      |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     lo: BytePos,
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1714:14
[INFO] [stdout]      |
[INFO] [stdout] 1714 |         tcx: TyCtxt<'tcx>,
[INFO] [stdout]      |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     hi: BytePos,
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1716:50
[INFO] [stdout]      |
[INFO] [stdout] 1713 |     fn add_substitions_for_matches<'r, 'a, 'tcx, T: StartMatch<'tcx>>(
[INFO] [stdout]      |                                                                     - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 1716 |         substitutions: &mut Vec<CodeSubstitution<Span>>,
[INFO] [stdout]      |                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct LocalSpan {
[INFO] [stdout]    |                 - help: you might be missing a type parameter: `<BytePos>`
[INFO] [stdout] 28 |     lo: BytePos,
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct LocalSpan {
[INFO] [stdout]    |                 - help: you might be missing a type parameter: `<BytePos>`
[INFO] [stdout] 28 |     lo: BytePos,
[INFO] [stdout] 29 |     hi: BytePos,
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> src/rules.rs:27:37
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) struct Rule<'tcx, T: StartMatch<'tcx>> {
[INFO] [stdout]    |                                                 - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub(crate) placeholder_ids: Vec<HirId>,
[INFO] [stdout]    |                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn lo(&self) -> BytePos;
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/rules.rs:34:47
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) struct Rule<'tcx, T: StartMatch<'tcx>> {
[INFO] [stdout]    |                                                 - help: you might be missing a type parameter: `, Symbol`
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub(crate) declared_name_hir_ids: HashMap<Symbol, HirId>,
[INFO] [stdout]    |                                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn hi(&self) -> BytePos;
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub(crate) trait SpanT {
[INFO] [stdout]    | ---------------------- similarly named trait `SpanT` defined here
[INFO] [stdout] ...
[INFO] [stdout] 37 | impl SpanT for Span {
[INFO] [stdout]    |                ^^^^ help: a trait with a similar name exists: `SpanT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> src/rules.rs:34:55
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) struct Rule<'tcx, T: StartMatch<'tcx>> {
[INFO] [stdout]    |                                                 - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub(crate) declared_name_hir_ids: HashMap<Symbol, HirId>,
[INFO] [stdout]    |                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn lo(&self) -> BytePos {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/validation.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn hi(&self) -> BytePos {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:47:21
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn lo(&self) -> BytePos {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> src/validation.rs:29:27
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct ValidatorState<'tcx> {
[INFO] [stdout]    |                           - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 29 |     placeholders: HashSet<HirId>,
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn hi(&self) -> BytePos {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]   --> src/validation.rs:31:33
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct ValidatorState<'tcx> {
[INFO] [stdout]    |                           - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 31 |     bound_placeholders: HashSet<HirId>,
[INFO] [stdout]    |                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |     start_pos: BytePos,
[INFO] [stdout]    |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:62:51
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub(crate) fn new(source: &'a str, start_pos: BytePos) -> SourceChunk<'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]   --> src/validation.rs:35:64
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn add_error<T: Into<String>>(&mut self, message: T, span: Span) {
[INFO] [stdout]    |                                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:66:31
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn get_snippet(&self, lo: BytePos, hi: BytePos) -> &'a str {
[INFO] [stdout]    |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/validation.rs:41:44
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub(crate) fn validate<'a>(&self, tcx: TyCtxt<'tcx>) -> Result<(), Vec<ErrorWithSpan>> {
[INFO] [stdout]    |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:66:44
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn get_snippet(&self, lo: BytePos, hi: BytePos) -> &'a str {
[INFO] [stdout]    |                                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]   --> src/code_substitution.rs:71:33
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn to_end_from(&self, from: BytePos) -> &'a str {
[INFO] [stdout]    |                                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> src/validation.rs:75:90
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn visit_qpath(&mut self, qpath: &'tcx rustc_hir::QPath, id: rustc_hir::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]    --> src/validation.rs:101:90
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn visit_qpath(&mut self, qpath: &'tcx rustc_hir::QPath, id: rustc_hir::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]    --> src/code_substitution.rs:109:23
[INFO] [stdout]     |
[INFO] [stdout] 32  | pub(crate) trait SpanT {
[INFO] [stdout]     | ---------------------- similarly named trait `SpanT` defined here
[INFO] [stdout] ...
[INFO] [stdout] 109 | impl CodeSubstitution<Span> {
[INFO] [stdout]     |                       ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl CodeSubstitution<SpanT> {
[INFO] [stdout]     |                       ~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl<Span> CodeSubstitution<Span> {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/lib.rs:157:37
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl CompilerInvocationInfo {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<FileLoader>`
[INFO] [stdout] ...
[INFO] [stdout] 157 |         file_loader: Option<Box<dyn FileLoader + Send + Sync + 'static>>,
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]    --> src/lib.rs:228:69
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub(crate) fn hir_id_from_path(q_path: &rustc_hir::QPath) -> Option<HirId> {
[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 `Span` in this scope
[INFO] [stdout]    --> src/code_substitution.rs:111:43
[INFO] [stdout]     |
[INFO] [stdout] 32  | pub(crate) trait SpanT {
[INFO] [stdout]     | ---------------------- similarly named trait `SpanT` defined here
[INFO] [stdout] ...
[INFO] [stdout] 111 |         substitutions: &[CodeSubstitution<Span>],
[INFO] [stdout]     |                                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 111 |         substitutions: &[CodeSubstitution<SpanT>],
[INFO] [stdout]     |                                           ~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl<Span> CodeSubstitution<Span> {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> src/lib.rs:241:10
[INFO] [stdout]     |
[INFO] [stdout] 241 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]     |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> src/lib.rs:249:14
[INFO] [stdout]     |
[INFO] [stdout] 249 |         tcx: TyCtxt<'tcx>,
[INFO] [stdout]     |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]    --> src/lib.rs:263:51
[INFO] [stdout]     |
[INFO] [stdout] 263 |     fn print_macro_backtrace(msg: &str, codemap: &SourceMap, 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]    --> src/code_substitution.rs:112:22
[INFO] [stdout]     |
[INFO] [stdout] 112 |         source_map: &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]    --> src/lib.rs:263:68
[INFO] [stdout]     |
[INFO] [stdout] 263 |     fn print_macro_backtrace(msg: &str, codemap: &SourceMap, span: Span) {
[INFO] [stdout]     |                                                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/lib.rs:307:27
[INFO] [stdout]     |
[INFO] [stdout] 307 |         file_loader: &dyn FileLoader,
[INFO] [stdout]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> src/code_substitution.rs:113:20
[INFO] [stdout]     |
[INFO] [stdout] 32  | pub(crate) trait SpanT {
[INFO] [stdout]     | ---------------------- similarly named trait `SpanT` defined here
[INFO] [stdout] ...
[INFO] [stdout] 113 |         base_span: Span,
[INFO] [stdout]     |                    ^^^^ help: a trait with a similar name exists: `SpanT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> src/lib.rs:347:10
[INFO] [stdout]     |
[INFO] [stdout] 347 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]     |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> src/lib.rs:392:10
[INFO] [stdout]     |
[INFO] [stdout] 392 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]     |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope
[INFO] [stdout]    --> src/code_substitution.rs:122:55
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn into_file_local_substitution(self, file_start: BytePos) -> CodeSubstitution<LocalSpan> {
[INFO] [stdout]     |                                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]    --> src/lib.rs:393:20
[INFO] [stdout]     |
[INFO] [stdout] 391 | struct DeclaredNamesFinder<'tcx> {
[INFO] [stdout]     |                                - help: you might be missing a type parameter: `, Symbol`
[INFO] [stdout] 392 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout] 393 |     names: HashMap<Symbol, 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]    --> src/lib.rs:393:28
[INFO] [stdout]     |
[INFO] [stdout] 391 | struct DeclaredNamesFinder<'tcx> {
[INFO] [stdout]     |                                - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] 392 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout] 393 |     names: HashMap<Symbol, HirId>,
[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]    --> src/code_substitution.rs:202:22
[INFO] [stdout]     |
[INFO] [stdout] 202 |     let mut max_hi = BytePos(0);
[INFO] [stdout]     |                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> src/lib.rs:397:39
[INFO] [stdout]     |
[INFO] [stdout] 397 |     fn find<T: StartMatch<'tcx>>(tcx: TyCtxt<'tcx>, node: &'tcx T) -> HashMap<Symbol, HirId> {
[INFO] [stdout]     |                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]    --> src/lib.rs:397:79
[INFO] [stdout]     |
[INFO] [stdout] 396 | impl<'tcx> DeclaredNamesFinder<'tcx> {
[INFO] [stdout]     |          - help: you might be missing a type parameter: `, Symbol`
[INFO] [stdout] 397 |     fn find<T: StartMatch<'tcx>>(tcx: TyCtxt<'tcx>, node: &'tcx T) -> HashMap<Symbol, 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]    --> src/lib.rs:397:87
[INFO] [stdout]     |
[INFO] [stdout] 396 | impl<'tcx> DeclaredNamesFinder<'tcx> {
[INFO] [stdout]     |          - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] 397 |     fn find<T: StartMatch<'tcx>>(tcx: TyCtxt<'tcx>, node: &'tcx T) -> HashMap<Symbol, 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]    --> src/code_substitution.rs:218:45
[INFO] [stdout]     |
[INFO] [stdout] 32  | pub(crate) trait SpanT {
[INFO] [stdout]     | ---------------------- similarly named trait `SpanT` defined here
[INFO] [stdout] ...
[INFO] [stdout] 218 |         substitutions: Vec<CodeSubstitution<Span>>,
[INFO] [stdout]     |                                             ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 218 |         substitutions: Vec<CodeSubstitution<SpanT>>,
[INFO] [stdout]     |                                             ~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 216 | impl<Span> FileRelativeSubstitutions {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/lib.rs:463:33
[INFO] [stdout]     |
[INFO] [stdout] 462 | fn run_compiler(
[INFO] [stdout]     |                - help: you might be missing a type parameter: `<FileLoader>`
[INFO] [stdout] 463 |     file_loader: Option<Box<dyn FileLoader + Send + Sync + 'static>>,
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/lib.rs:515:39
[INFO] [stdout]     |
[INFO] [stdout] 515 |     pub fn apply_rules_from_string<T: FileLoader + Send + Sync + 'static>(
[INFO] [stdout]     |                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/lib.rs:525:31
[INFO] [stdout]     |
[INFO] [stdout] 525 |     fn apply_rules_to_code<T: FileLoader + Send + Sync + 'static>(
[INFO] [stdout]     |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]    --> src/code_substitution.rs:219:22
[INFO] [stdout]     |
[INFO] [stdout] 219 |         source_map: &SourceMap,
[INFO] [stdout]     |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]   --> src/lib.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 69 | #![feature(rustc_private)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/code_substitution.rs:262:27
[INFO] [stdout]     |
[INFO] [stdout] 262 |         file_loader: &dyn FileLoader,
[INFO] [stdout]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]   --> src/lib.rs:70:1
[INFO] [stdout]    |
[INFO] [stdout] 70 | #![feature(box_syntax)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/definitions.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub(crate) search_symbol: Symbol,
[INFO] [stdout]    |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/definitions.rs:28:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub(crate) replace_symbol: Symbol,
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/definitions.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub(crate) struct RerastDefinitions<'tcx> {
[INFO] [stdout]    |                                         - help: you might be missing a type parameter: `, Symbol`
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub(crate) search_symbol: Symbol,
[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 `Symbol` in this scope
[INFO] [stdout]   --> src/definitions.rs:28:32
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub(crate) struct RerastDefinitions<'tcx> {
[INFO] [stdout]    |                                         - help: you might be missing a type parameter: `, Symbol`
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub(crate) replace_symbol: Symbol,
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/definitions.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/definitions.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 |     rerast_mod_symbol: Symbol,
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/definitions.rs:35:26
[INFO] [stdout]    |
[INFO] [stdout] 35 |     rerast_types_symbol: Symbol,
[INFO] [stdout]    |                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/definitions.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |         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]   --> src/errors.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |     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]   --> src/errors.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) struct ErrorWithSpan {
[INFO] [stdout]    |                                - help: you might be missing a type parameter: `<Span>`
[INFO] [stdout] 25 |     message: String,
[INFO] [stdout] 26 |     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]   --> src/errors.rs:30:58
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub(crate) fn new<T: Into<String>>(message: T, span: Span) -> ErrorWithSpan {
[INFO] [stdout]    |                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/errors.rs:37:53
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub(crate) fn with_snippet<'a, 'tcx>(self, tcx: TyCtxt<'tcx>) -> RerastError {
[INFO] [stdout]    |                                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FileLinesResult` in this scope
[INFO] [stdout]   --> src/errors.rs:84:45
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn from_lines_result(file_lines_result: FileLinesResult) -> Result<FileLines, FileLinesError> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]   --> src/file_loader.rs:21:41
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub(crate) 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]   --> src/file_loader.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl<T: FileLoader + Send + Sync> InMemoryFileLoader<T> {
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 217 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0463, E0554.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]   --> src/file_loader.rs:39:35
[INFO] [stdout]    |
[INFO] [stdout] 39 | 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]   --> src/file_loader.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | 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]   --> src/file_loader.rs:56:6
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl FileLoader for ClonableRealFileLoader {
[INFO] [stdout]    |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RealFileLoader` in this scope
[INFO] [stdout]   --> src/file_loader.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         RealFileLoader.file_exists(path)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `RealFileLoader` in this scope
[INFO] [stdout]   --> src/file_loader.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         RealFileLoader.read_file(path)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/rule_finder.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/rule_finder.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     rules_mod_symbol: Symbol,
[INFO] [stdout]    |                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/rule_finder.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |         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]   --> src/rule_finder.rs:67:22
[INFO] [stdout]    |
[INFO] [stdout] 67 |         arg_ty_span: Span,
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/rule_finder.rs:93:23
[INFO] [stdout]    |
[INFO] [stdout] 93 |             arm_name: Symbol,
[INFO] [stdout]    |                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> src/rule_finder.rs:224:23
[INFO] [stdout]     |
[INFO] [stdout] 224 |     fn span(&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]    --> src/rule_finder.rs:241:25
[INFO] [stdout]     |
[INFO] [stdout] 241 |     fn hir_id(&self) -> 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]    --> src/rule_finder.rs:245:23
[INFO] [stdout]     |
[INFO] [stdout] 245 |     fn span(&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]    --> src/rule_finder.rs:273:25
[INFO] [stdout]     |
[INFO] [stdout] 273 |     fn hir_id(&self) -> 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]    --> src/rule_finder.rs:279:23
[INFO] [stdout]     |
[INFO] [stdout] 279 |     fn span(&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]    --> src/rule_finder.rs:306:25
[INFO] [stdout]     |
[INFO] [stdout] 306 |     fn hir_id(&self) -> 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]    --> src/rule_finder.rs:312:23
[INFO] [stdout]     |
[INFO] [stdout] 312 |     fn span(&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]    --> src/rule_finder.rs:342:25
[INFO] [stdout]     |
[INFO] [stdout] 342 |     fn hir_id(&self) -> 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]    --> src/rule_finder.rs:348:23
[INFO] [stdout]     |
[INFO] [stdout] 348 |     fn span(&self) -> Span {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not document `rerast`
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]    --> src/rule_finder.rs:383:25
[INFO] [stdout]     |
[INFO] [stdout] 383 |     fn hir_id(&self) -> HirId {
[INFO] [stdout]     |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/rule_matcher.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] Caused by:
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/rule_matcher.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |     rule_mod_symbol: Symbol,
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name rerast src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,future-incompat --document-private-items -C metadata=b3c4b0e587382b86 -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-ed0eae702083e12f.rmeta --extern colored=/opt/rustwide/target/debug/deps/libcolored-d4eea5b1df0b437a.rmeta --extern diff=/opt/rustwide/target/debug/deps/libdiff-c4a64ef22339496a.rmeta --extern failure=/opt/rustwide/target/debug/deps/libfailure-652f7feba6075dee.rmeta --extern itertools=/opt/rustwide/target/debug/deps/libitertools-27c468549abab8f5.rmeta --extern json=/opt/rustwide/target/debug/deps/libjson-fd60e71d8495b3cc.rmeta --extern rerast_macros=/opt/rustwide/target/debug/deps/librerast_macros-59927acb0ddb629c.rmeta --cap-lints=warn --crate-version 0.1.95` (exit status: 1)
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]   --> src/rule_matcher.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 |         tcx: TyCtxt<'tcx>,
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:124:24
[INFO] [stdout]     |
[INFO] [stdout] 124 |         original_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]    --> src/rule_matcher.rs:298:10
[INFO] [stdout]     |
[INFO] [stdout] 298 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]     |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `InferCtxt` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:299:12
[INFO] [stdout]     |
[INFO] [stdout] 299 |     infcx: InferCtxt<'a, '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]    --> src/rule_matcher.rs:305:38
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub(crate) struct MatchState<'r, 'a, 'tcx: 'a> {
[INFO] [stdout]     |                                              - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 305 |     placeholder_types_by_id: HashMap<HirId, ty::Ty<'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]    --> src/rule_matcher.rs:369:25
[INFO] [stdout]     |
[INFO] [stdout] 369 |         method_call_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]    --> src/rule_matcher.rs:385:83
[INFO] [stdout]     |
[INFO] [stdout] 315 | impl<'r, 'a, 'tcx: 'a> MatchState<'r, 'a, 'tcx> {
[INFO] [stdout]     |                      - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 385 |     fn opt_statements_placeholder_hir_id(&self, stmt: &rustc_hir::Stmt) -> Option<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]    --> src/rule_matcher.rs:408:37
[INFO] [stdout]     |
[INFO] [stdout] 408 |     fn span_to_snippet(&self, span: Span) -> Result<String, SpanSnippetError> {
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SpanSnippetError` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:408:61
[INFO] [stdout]     |
[INFO] [stdout] 315 | impl<'r, 'a, 'tcx: 'a> MatchState<'r, 'a, 'tcx> {
[INFO] [stdout]     |                      - help: you might be missing a type parameter: `, SpanSnippetError`
[INFO] [stdout] ...
[INFO] [stdout] 408 |     fn span_to_snippet(&self, span: Span) -> Result<String, SpanSnippetError> {
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Spanned` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:483:34
[INFO] [stdout]     |
[INFO] [stdout] 483 | impl<T: Matchable> Matchable for Spanned<T> {
[INFO] [stdout]     |                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Binding` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:870:15
[INFO] [stdout]     |
[INFO] [stdout] 870 |             (&Binding(p_mode, p_hir_id, ref _p_name, ref p_pat), _) => {
[INFO] [stdout]     |               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Binding` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:877:31
[INFO] [stdout]     |
[INFO] [stdout] 877 |                 } else if let Binding(c_mode, c_hir_id, ref c_name, ref c_pat) = code.kind {
[INFO] [stdout]     |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Struct` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:895:18
[INFO] [stdout]     |
[INFO] [stdout] 895 |                 &Struct(ref p_qpath, ref p_pats, p_dotdot),
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Struct` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:896:18
[INFO] [stdout]     |
[INFO] [stdout] 896 |                 &Struct(ref c_qpath, ref c_pats, c_dotdot),
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TupleStruct` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:915:18
[INFO] [stdout]     |
[INFO] [stdout] 915 |                 &TupleStruct(ref p_qpath, ref p_pats, ref p_dd_pos),
[INFO] [stdout]     |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TupleStruct` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:916:18
[INFO] [stdout]     |
[INFO] [stdout] 916 |                 &TupleStruct(ref c_qpath, ref c_pats, ref c_dd_pos),
[INFO] [stdout]     |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0532]: cannot match against a tuple struct which contains private fields
[INFO] [stdout]    --> src/rule_matcher.rs:922:15
[INFO] [stdout]     |
[INFO] [stdout] 922 |             (&Box(ref p_pat), &Box(ref c_pat)) => p_pat.attempt_match(state, c_pat),
[INFO] [stdout]     |               ^^^ constructor is not visible here due to private fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0532]: cannot match against a tuple struct which contains private fields
[INFO] [stdout]    --> src/rule_matcher.rs:922:32
[INFO] [stdout]     |
[INFO] [stdout] 922 |             (&Box(ref p_pat), &Box(ref c_pat)) => p_pat.attempt_match(state, c_pat),
[INFO] [stdout]     |                                ^^^ constructor is not visible here due to private fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Tuple` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:923:15
[INFO] [stdout]     |
[INFO] [stdout] 923 |             (&Tuple(ref p_patterns, ref p_dd_pos), &Tuple(ref c_patterns, ref c_dd_pos)) => {
[INFO] [stdout]     |               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Tuple` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:923:53
[INFO] [stdout]     |
[INFO] [stdout] 923 |             (&Tuple(ref p_patterns, ref p_dd_pos), &Tuple(ref c_patterns, ref c_dd_pos)) => {
[INFO] [stdout]     |                                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ref` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:926:15
[INFO] [stdout]     |
[INFO] [stdout] 926 |             (&Ref(ref p_pat, ref p_mut), &Ref(ref c_pat, ref c_mut)) => {
[INFO] [stdout]     |               ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ref` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:926:43
[INFO] [stdout]     |
[INFO] [stdout] 926 |             (&Ref(ref p_pat, ref p_mut), &Ref(ref c_pat, ref c_mut)) => {
[INFO] [stdout]     |                                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Slice` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:930:18
[INFO] [stdout]     |
[INFO] [stdout] 930 |                 &Slice(ref p_pats_a, ref p_op_pat, ref p_pats_b),
[INFO] [stdout]     |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Slice` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:931:18
[INFO] [stdout]     |
[INFO] [stdout] 931 |                 &Slice(ref c_pats_a, ref c_op_pat, ref c_pats_b),
[INFO] [stdout]     |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Lit` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:937:15
[INFO] [stdout]     |
[INFO] [stdout] 937 |             (&Lit(ref p_expr), &Lit(ref c_expr)) => p_expr.attempt_match(state, c_expr),
[INFO] [stdout]     |               ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Lit` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:937:33
[INFO] [stdout]     |
[INFO] [stdout] 937 |             (&Lit(ref p_expr), &Lit(ref c_expr)) => p_expr.attempt_match(state, c_expr),
[INFO] [stdout]     |                                 ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Range` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:939:18
[INFO] [stdout]     |
[INFO] [stdout] 939 |                 &Range(ref p_ex1, ref p_ex2, ref p_incl),
[INFO] [stdout]     |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Range` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:940:18
[INFO] [stdout]     |
[INFO] [stdout] 940 |                 &Range(ref c_ex1, ref c_ex2, ref c_incl),
[INFO] [stdout]     |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Path` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:946:15
[INFO] [stdout]     |
[INFO] [stdout] 946 |             (&Path(ref p), &Path(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]     |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Path` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:946:29
[INFO] [stdout]     |
[INFO] [stdout] 946 |             (&Path(ref p), &Path(ref c)) => p.attempt_match(state, c),
[INFO] [stdout]     |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]    --> src/rule_matcher.rs:982:20
[INFO] [stdout]     |
[INFO] [stdout] 982 | impl Matchable for Symbol {
[INFO] [stdout]     |                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Resolved` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1042:15
[INFO] [stdout]      |
[INFO] [stdout] 1042 |             (&Resolved(p_ty, ref p_path), &Resolved(c_ty, ref c_path)) => {
[INFO] [stdout]      |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Resolved` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1042:44
[INFO] [stdout]      |
[INFO] [stdout] 1042 |             (&Resolved(p_ty, ref p_path), &Resolved(c_ty, ref c_path)) => {
[INFO] [stdout]      |                                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TypeRelative` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1045:15
[INFO] [stdout]      |
[INFO] [stdout] 1045 |             (&TypeRelative(ref p_ty, ref p_segment), &TypeRelative(ref c_ty, ref c_segment)) => {
[INFO] [stdout]      |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TypeRelative` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1045:55
[INFO] [stdout]      |
[INFO] [stdout] 1045 |             (&TypeRelative(ref p_ty, ref p_segment), &TypeRelative(ref c_ty, ref c_segment)) => {
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Restricted` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1186:17
[INFO] [stdout]      |
[INFO] [stdout] 1186 |                 Restricted {
[INFO] [stdout]      |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Restricted` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1189:17
[INFO] [stdout]      |
[INFO] [stdout] 1189 |                 Restricted {
[INFO] [stdout]      |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Crate` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1193:14
[INFO] [stdout]      |
[INFO] [stdout] 1193 |             (Crate(ref p_sugar), Crate(ref c_sugar)) => p_sugar.attempt_match(state, c_sugar),
[INFO] [stdout]      |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Crate` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1193:34
[INFO] [stdout]      |
[INFO] [stdout] 1193 |             (Crate(ref p_sugar), Crate(ref c_sugar)) => p_sugar.attempt_match(state, c_sugar),
[INFO] [stdout]      |                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1358:20
[INFO] [stdout]      |
[INFO] [stdout] 1358 |     original_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]     --> src/rule_matcher.rs:1362:43
[INFO] [stdout]      |
[INFO] [stdout] 1362 |     fn get_replacement_source(&self, tcx: TyCtxt<'tcx>) -> String {
[INFO] [stdout]      |                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1386:18
[INFO] [stdout]      |
[INFO] [stdout] 1386 |     code_hir_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]     --> src/rule_matcher.rs:1394:33
[INFO] [stdout]      |
[INFO] [stdout] 1391 | pub(crate) struct MatchPlaceholders<'r, 'tcx: 'r> {
[INFO] [stdout]      |                                                 - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 1394 |     placeholders_by_id: HashMap<HirId, Placeholder<'r, '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]     --> src/rule_matcher.rs:1396:37
[INFO] [stdout]      |
[INFO] [stdout] 1391 | pub(crate) struct MatchPlaceholders<'r, 'tcx: 'r> {
[INFO] [stdout]      |                                                 - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 1396 |     matched_variable_decls: HashMap<HirId, MatchedVariableDecl>,
[INFO] [stdout]      |                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1407:52
[INFO] [stdout]      |
[INFO] [stdout] 1407 |     fn get_placeholder<'this>(&'this self, hir_id: HirId) -> Option<&'this Placeholder<'r, 'tcx>> {
[INFO] [stdout]      |                                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1420:32
[INFO] [stdout]      |
[INFO] [stdout] 1420 |     fn get_span(&self, target: 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]     --> src/rule_matcher.rs:1420:41
[INFO] [stdout]      |
[INFO] [stdout] 1420 |     fn get_span(&self, target: Span) -> Span {
[INFO] [stdout]      |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1430:21
[INFO] [stdout]      |
[INFO] [stdout] 1430 |                     DUMMY_SP
[INFO] [stdout]      |                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1532:36
[INFO] [stdout]      |
[INFO] [stdout] 1532 | fn get_original_spans(search_span: Span, code_span: Span) -> Option<(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]     --> src/rule_matcher.rs:1532:53
[INFO] [stdout]      |
[INFO] [stdout] 1532 | fn get_original_spans(search_span: Span, code_span: Span) -> Option<(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]     --> src/rule_matcher.rs:1532:70
[INFO] [stdout]      |
[INFO] [stdout] 1532 | fn get_original_spans(search_span: Span, code_span: Span) -> Option<(Span, 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]     --> src/rule_matcher.rs:1532:76
[INFO] [stdout]      |
[INFO] [stdout] 1532 | fn get_original_spans(search_span: Span, code_span: Span) -> Option<(Span, 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[E0531]: cannot find tuple struct or tuple variant `Macro` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1552:10
[INFO] [stdout]      |
[INFO] [stdout] 1552 |         (Macro(a_kind, a_descr), Macro(b_kind, b_descr)) => a_kind == b_kind && a_descr == b_descr,
[INFO] [stdout]      |          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Macro` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1552:34
[INFO] [stdout]      |
[INFO] [stdout] 1552 |         (Macro(a_kind, a_descr), Macro(b_kind, b_descr)) => a_kind == b_kind && a_descr == b_descr,
[INFO] [stdout]      |                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Desugaring` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1553:10
[INFO] [stdout]      |
[INFO] [stdout] 1553 |         (Desugaring(a_kind), Desugaring(b_kind)) => a_kind == b_kind,
[INFO] [stdout]      |          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Desugaring` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1553:30
[INFO] [stdout]      |
[INFO] [stdout] 1553 |         (Desugaring(a_kind), Desugaring(b_kind)) => a_kind == b_kind,
[INFO] [stdout]      |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1560:27
[INFO] [stdout]      |
[INFO] [stdout] 1560 | fn span_within_span(span: Span, target: 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]     --> src/rule_matcher.rs:1560:41
[INFO] [stdout]      |
[INFO] [stdout] 1560 | fn span_within_span(span: Span, target: 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]     --> src/rule_matcher.rs:1560:50
[INFO] [stdout]      |
[INFO] [stdout] 1560 | fn span_within_span(span: Span, target: 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]     --> src/rule_matcher.rs:1571:36
[INFO] [stdout]      |
[INFO] [stdout] 1571 | fn all_expansions_equal(rule_span: Span, code_span: 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]     --> src/rule_matcher.rs:1571:53
[INFO] [stdout]      |
[INFO] [stdout] 1571 | fn all_expansions_equal(rule_span: Span, code_span: Span) -> 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]     --> src/rule_matcher.rs:1578:10
[INFO] [stdout]      |
[INFO] [stdout] 1578 |     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]     --> src/rule_matcher.rs:1579:34
[INFO] [stdout]      |
[INFO] [stdout] 1577 | struct ReplacementVisitor<'r, 'tcx, T: StartMatch<'tcx>> {
[INFO] [stdout]      |                                                        - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] 1578 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout] 1579 |     result: Vec<CodeSubstitution<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]     --> src/rule_matcher.rs:1584:33
[INFO] [stdout]      |
[INFO] [stdout] 1577 | struct ReplacementVisitor<'r, 'tcx, T: StartMatch<'tcx>> {
[INFO] [stdout]      |                                                        - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 1584 |     substitute_hir_ids: HashMap<HirId, 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]     --> src/rule_matcher.rs:1584:40
[INFO] [stdout]      |
[INFO] [stdout] 1577 | struct ReplacementVisitor<'r, 'tcx, T: StartMatch<'tcx>> {
[INFO] [stdout]      |                                                        - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 1584 |     substitute_hir_ids: HashMap<HirId, 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]     --> src/rule_matcher.rs:1589:38
[INFO] [stdout]      |
[INFO] [stdout] 1589 |     fn hir_id_snippet(&self, hir_id: HirId) -> 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]     --> src/rule_matcher.rs:1598:79
[INFO] [stdout]      |
[INFO] [stdout] 1598 |     fn process_expr(&mut self, expr: &'tcx rustc_hir::Expr, placeholder_span: 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]     --> src/rule_matcher.rs:1618:94
[INFO] [stdout]      |
[INFO] [stdout] 1618 |     fn process_placeholder(&mut self, placeholder: &Placeholder<'r, 'tcx>, placeholder_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]     --> src/rule_matcher.rs:1710:10
[INFO] [stdout]      |
[INFO] [stdout] 1710 |     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]     --> src/rule_matcher.rs:1712:27
[INFO] [stdout]      |
[INFO] [stdout] 1709 | pub(crate) fn substitions_for_matches<'r, 'a, 'tcx>(
[INFO] [stdout]      |                                                   - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 1712 | ) -> Vec<CodeSubstitution<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]     --> src/rule_matcher.rs:1714:14
[INFO] [stdout]      |
[INFO] [stdout] 1714 |         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]     --> src/rule_matcher.rs:1716:50
[INFO] [stdout]      |
[INFO] [stdout] 1713 |     fn add_substitions_for_matches<'r, 'a, 'tcx, T: StartMatch<'tcx>>(
[INFO] [stdout]      |                                                                     - help: you might be missing a type parameter: `, Span`
[INFO] [stdout] ...
[INFO] [stdout] 1716 |         substitutions: &mut Vec<CodeSubstitution<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]   --> src/rules.rs:27:37
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) struct Rule<'tcx, T: StartMatch<'tcx>> {
[INFO] [stdout]    |                                                 - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub(crate) placeholder_ids: Vec<HirId>,
[INFO] [stdout]    |                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]   --> src/rules.rs:34:47
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) struct Rule<'tcx, T: StartMatch<'tcx>> {
[INFO] [stdout]    |                                                 - help: you might be missing a type parameter: `, Symbol`
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub(crate) declared_name_hir_ids: HashMap<Symbol, 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]   --> src/rules.rs:34:55
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) struct Rule<'tcx, T: StartMatch<'tcx>> {
[INFO] [stdout]    |                                                 - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub(crate) declared_name_hir_ids: HashMap<Symbol, 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]   --> src/validation.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 |     tcx: TyCtxt<'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]   --> src/validation.rs:29:27
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct ValidatorState<'tcx> {
[INFO] [stdout]    |                           - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 29 |     placeholders: HashSet<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]   --> src/validation.rs:31:33
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct ValidatorState<'tcx> {
[INFO] [stdout]    |                           - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] ...
[INFO] [stdout] 31 |     bound_placeholders: HashSet<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]   --> src/validation.rs:35:64
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn add_error<T: Into<String>>(&mut self, message: T, 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]   --> src/validation.rs:41:44
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub(crate) fn validate<'a>(&self, tcx: TyCtxt<'tcx>) -> Result<(), Vec<ErrorWithSpan>> {
[INFO] [stdout]    |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Span` in this scope
[INFO] [stdout]   --> src/validation.rs:75:90
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn visit_qpath(&mut self, qpath: &'tcx rustc_hir::QPath, id: rustc_hir::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]    --> src/validation.rs:101:90
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn visit_qpath(&mut self, qpath: &'tcx rustc_hir::QPath, id: rustc_hir::HirId, span: Span) {
[INFO] [stdout]     |                                                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/lib.rs:157:37
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl CompilerInvocationInfo {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<FileLoader>`
[INFO] [stdout] ...
[INFO] [stdout] 157 |         file_loader: Option<Box<dyn FileLoader + Send + Sync + 'static>>,
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HirId` in this scope
[INFO] [stdout]    --> src/lib.rs:228:69
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub(crate) fn hir_id_from_path(q_path: &rustc_hir::QPath) -> Option<HirId> {
[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]    --> src/lib.rs:241:10
[INFO] [stdout]     |
[INFO] [stdout] 241 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]     |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> src/lib.rs:249:14
[INFO] [stdout]     |
[INFO] [stdout] 249 |         tcx: TyCtxt<'tcx>,
[INFO] [stdout]     |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope
[INFO] [stdout]    --> src/lib.rs:263:51
[INFO] [stdout]     |
[INFO] [stdout] 263 |     fn print_macro_backtrace(msg: &str, codemap: &SourceMap, 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]    --> src/lib.rs:263:68
[INFO] [stdout]     |
[INFO] [stdout] 263 |     fn print_macro_backtrace(msg: &str, codemap: &SourceMap, span: Span) {
[INFO] [stdout]     |                                                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/lib.rs:307:27
[INFO] [stdout]     |
[INFO] [stdout] 307 |         file_loader: &dyn FileLoader,
[INFO] [stdout]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> src/lib.rs:347:10
[INFO] [stdout]     |
[INFO] [stdout] 347 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]     |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope
[INFO] [stdout]    --> src/lib.rs:392:10
[INFO] [stdout]     |
[INFO] [stdout] 392 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout]     |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]    --> src/lib.rs:393:20
[INFO] [stdout]     |
[INFO] [stdout] 391 | struct DeclaredNamesFinder<'tcx> {
[INFO] [stdout]     |                                - help: you might be missing a type parameter: `, Symbol`
[INFO] [stdout] 392 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout] 393 |     names: HashMap<Symbol, 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]    --> src/lib.rs:393:28
[INFO] [stdout]     |
[INFO] [stdout] 391 | struct DeclaredNamesFinder<'tcx> {
[INFO] [stdout]     |                                - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] 392 |     tcx: TyCtxt<'tcx>,
[INFO] [stdout] 393 |     names: HashMap<Symbol, 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]    --> src/lib.rs:397:39
[INFO] [stdout]     |
[INFO] [stdout] 397 |     fn find<T: StartMatch<'tcx>>(tcx: TyCtxt<'tcx>, node: &'tcx T) -> HashMap<Symbol, HirId> {
[INFO] [stdout]     |                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]    --> src/lib.rs:397:79
[INFO] [stdout]     |
[INFO] [stdout] 396 | impl<'tcx> DeclaredNamesFinder<'tcx> {
[INFO] [stdout]     |          - help: you might be missing a type parameter: `, Symbol`
[INFO] [stdout] 397 |     fn find<T: StartMatch<'tcx>>(tcx: TyCtxt<'tcx>, node: &'tcx T) -> HashMap<Symbol, 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]    --> src/lib.rs:397:87
[INFO] [stdout]     |
[INFO] [stdout] 396 | impl<'tcx> DeclaredNamesFinder<'tcx> {
[INFO] [stdout]     |          - help: you might be missing a type parameter: `, HirId`
[INFO] [stdout] 397 |     fn find<T: StartMatch<'tcx>>(tcx: TyCtxt<'tcx>, node: &'tcx T) -> HashMap<Symbol, HirId> {
[INFO] [stdout]     |                                                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/lib.rs:463:33
[INFO] [stdout]     |
[INFO] [stdout] 462 | fn run_compiler(
[INFO] [stdout]     |                - help: you might be missing a type parameter: `<FileLoader>`
[INFO] [stdout] 463 |     file_loader: Option<Box<dyn FileLoader + Send + Sync + 'static>>,
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/lib.rs:515:39
[INFO] [stdout]     |
[INFO] [stdout] 515 |     pub fn apply_rules_from_string<T: FileLoader + Send + Sync + 'static>(
[INFO] [stdout]     |                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `FileLoader` in this scope
[INFO] [stdout]    --> src/lib.rs:525:31
[INFO] [stdout]     |
[INFO] [stdout] 525 |     fn apply_rules_to_code<T: FileLoader + Send + Sync + 'static>(
[INFO] [stdout]     |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]   --> src/lib.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 69 | #![feature(rustc_private)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]   --> src/lib.rs:70:1
[INFO] [stdout]    |
[INFO] [stdout] 70 | #![feature(box_syntax)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 449 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0408, E0412, E0416, E0422, E0425, E0432, E0433, E0463...
[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" "8bafc0dbd375203cc57ba7f26d622f8336688dd65416b8fd6cb03609a54d4805", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8bafc0dbd375203cc57ba7f26d622f8336688dd65416b8fd6cb03609a54d4805", kill_on_drop: false }`
[INFO] [stdout] 8bafc0dbd375203cc57ba7f26d622f8336688dd65416b8fd6cb03609a54d4805
