[INFO] fetching crate rerast 0.1.96...
[INFO] testing rerast-0.1.96 against 1.90.0 for beta-1.91-3
[INFO] extracting crate rerast 0.1.96 into /workspace/builds/worker-3-tc1/source
[INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate rerast 0.1.96
[INFO] finished tweaking crates.io crate rerast 0.1.96
[INFO] tweaked toml for crates.io crate rerast 0.1.96 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rerast 0.1.96 on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rerast 0.1.96 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded predicates v1.0.4
[INFO] [stderr]   Downloaded predicates-core v1.0.0
[INFO] [stderr]   Downloaded float-cmp v0.6.0
[INFO] [stderr]   Downloaded json v0.11.15
[INFO] [stderr]   Downloaded quote v1.0.6
[INFO] [stderr]   Downloaded proc-macro2 v1.0.17
[INFO] [stderr]   Downloaded colored v1.9.3
[INFO] [stderr]   Downloaded treeline v0.1.0
[INFO] [stderr]   Downloaded predicates-tree v1.0.0
[INFO] [stderr]   Downloaded escargot v0.4.0
[INFO] [stderr]   Downloaded regex v1.5.6
[INFO] [stderr]   Downloaded assert_cmd v0.11.1
[INFO] [stderr]   Downloaded itertools v0.8.2
[INFO] [stderr]   Downloaded regex-syntax v0.6.26
[INFO] [stderr]   Downloaded syn v1.0.41
[INFO] [stderr]   Downloaded diff v0.1.12
[INFO] [stderr]   Downloaded libc v0.2.71
[INFO] [stderr]   Downloaded addr2line v0.12.1
[INFO] [stderr]   Downloaded rerast_macros v0.1.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5f2a724eefdf6f3651e871413cc27b3791d38e54a00b364166b6c04a13073978
[INFO] running `Command { std: "docker" "start" "-a" "5f2a724eefdf6f3651e871413cc27b3791d38e54a00b364166b6c04a13073978", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f2a724eefdf6f3651e871413cc27b3791d38e54a00b364166b6c04a13073978", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f2a724eefdf6f3651e871413cc27b3791d38e54a00b364166b6c04a13073978", kill_on_drop: false }`
[INFO] [stdout] 5f2a724eefdf6f3651e871413cc27b3791d38e54a00b364166b6c04a13073978
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5258fd4dc6279862d2fb8fa495e31643b335e1130fa550662a49b086d3eb48a3
[INFO] running `Command { std: "docker" "start" "-a" "5258fd4dc6279862d2fb8fa495e31643b335e1130fa550662a49b086d3eb48a3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling proc-macro2 v1.0.17
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.41
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling gimli v0.21.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling object v0.19.0
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling json v0.11.15
[INFO] [stderr]    Compiling diff v0.1.12
[INFO] [stderr]    Compiling rerast_macros v0.1.12
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling colored v1.9.3
[INFO] [stderr]    Compiling clap v2.33.1
[INFO] [stderr]    Compiling addr2line v0.12.1
[INFO] [stderr]    Compiling backtrace v0.3.48
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling rerast v0.1.96 (/opt/rustwide/workdir)
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]    --> src/lib.rs:541:31
[INFO] [stdout]     |
[INFO] [stdout] 541 |         let mut file_loader = box InMemoryFileLoader::new(file_loader);
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]     |
[INFO] [stdout] 541 -         let mut file_loader = box InMemoryFileLoader::new(file_loader);
[INFO] [stdout] 541 +         let mut file_loader = Box::new(InMemoryFileLoader::new(file_loader));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]   --> src/lib.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | #![feature(box_syntax)]
[INFO] [stdout]    |            ^^^^^^^^^^ feature has been removed
[INFO] [stdout]    |
[INFO] [stdout]    = note: removed in 1.70.0; see <https://github.com/rust-lang/rust/pull/108471> for more information
[INFO] [stdout]    = note: replaced with `#[rustc_box]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]    --> src/change_to_rule.rs:688:55
[INFO] [stdout]     |
[INFO] [stdout] 688 |             .run_compiler(&mut find_rules_state, Some(box file_loader.clone()))
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]     |
[INFO] [stdout] 688 -             .run_compiler(&mut find_rules_state, Some(box file_loader.clone()))
[INFO] [stdout] 688 +             .run_compiler(&mut find_rules_state, Some(Box::new(file_loader.clone())))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]    --> src/change_to_rule.rs:707:40
[INFO] [stdout]     |
[INFO] [stdout] 707 |         let mut original_file_loader = box InMemoryFileLoader::new(file_loader.clone());
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]     |
[INFO] [stdout] 707 -         let mut original_file_loader = box InMemoryFileLoader::new(file_loader.clone());
[INFO] [stdout] 707 +         let mut original_file_loader = Box::new(InMemoryFileLoader::new(file_loader.clone()));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib
[INFO] [stdout]   --> src/lib.rs:77:1
[INFO] [stdout]    |
[INFO] [stdout] 77 | extern crate rustc;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following crate versions were found:
[INFO] [stdout]            crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.asan.a
[INFO] [stdout]            crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.dfsan.a
[INFO] [stdout]            crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.lsan.a
[INFO] [stdout]            crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.msan.a
[INFO] [stdout]            crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.safestack.a
[INFO] [stdout]            crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.tsan.a
[INFO] [stdout]    = help: please recompile that crate using --crate-type lib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures`
[INFO] [stdout]   --> src/lib.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | 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:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | 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:80:1
[INFO] [stdout]    |
[INFO] [stdout] 80 | 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:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | 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:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | 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_parse`
[INFO] [stdout]   --> src/lib.rs:83:1
[INFO] [stdout]    |
[INFO] [stdout] 83 | 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:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | 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:85:1
[INFO] [stdout]    |
[INFO] [stdout] 85 | 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 `syntax`
[INFO] [stdout]   --> src/lib.rs:86:1
[INFO] [stdout]    |
[INFO] [stdout] 86 | extern crate syntax;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib
[INFO] [stdout]   --> src/change_to_rule.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate rustc;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following crate versions were found:
[INFO] [stdout]            crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.asan.a
[INFO] [stdout]            crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.dfsan.a
[INFO] [stdout]            crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.lsan.a
[INFO] [stdout]            crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.msan.a
[INFO] [stdout]            crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.safestack.a
[INFO] [stdout]            crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.tsan.a
[INFO] [stdout]    = help: please recompile that crate using --crate-type lib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_driver`
[INFO] [stdout]   --> src/change_to_rule.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | 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:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | 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_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 `syntax`
[INFO] [stdout]   --> src/change_to_rule.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | extern crate syntax;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::source_map::ExpnKind::*`
[INFO] [stdout]     --> src/rule_matcher.rs:1550:9
[INFO] [stdout]      |
[INFO] [stdout] 1550 |     use crate::source_map::ExpnKind::*;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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:870:22
[INFO] [stdout]     |
[INFO] [stdout] 870 |             (&Wild, &Wild) => true,
[INFO] [stdout]     |                      ^^^^ used in a pattern more than once
[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:1195:22
[INFO] [stdout]      |
[INFO] [stdout] 1195 |             (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:1195:44
[INFO] [stdout]      |
[INFO] [stdout] 1195 |             (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:1195:13
[INFO] [stdout]      |
[INFO] [stdout] 1195 |             (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: `path::to::ModOrType::Inherited`
[INFO] [stdout]     --> src/rule_matcher.rs:1195:44
[INFO] [stdout]      |
[INFO] [stdout] 1195 |             (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:1195:32
[INFO] [stdout]      |
[INFO] [stdout] 1195 |             (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: `path::to::ModOrType::Public`
[INFO] [stdout]     --> src/rule_matcher.rs:1195:22
[INFO] [stdout]      |
[INFO] [stdout] 1195 |             (Public, Public) | (Inherited, Inherited) => true,
[INFO] [stdout]      |                      ^^^^^^
[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:1552:16
[INFO] [stdout]      |
[INFO] [stdout] 1552 |         (Root, Root) => true,
[INFO] [stdout]      |                ^^^^ used in a pattern more than once
[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:871:15
[INFO] [stdout]     |
[INFO] [stdout] 871 |             (&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:878:31
[INFO] [stdout]     |
[INFO] [stdout] 878 |                 } 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:896:18
[INFO] [stdout]     |
[INFO] [stdout] 896 |                 &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:897:18
[INFO] [stdout]     |
[INFO] [stdout] 897 |                 &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:916:18
[INFO] [stdout]     |
[INFO] [stdout] 916 |                 &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:917:18
[INFO] [stdout]     |
[INFO] [stdout] 917 |                 &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:923:15
[INFO] [stdout]     |
[INFO] [stdout] 923 |             (&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:923:32
[INFO] [stdout]     |
[INFO] [stdout] 923 |             (&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:924:15
[INFO] [stdout]     |
[INFO] [stdout] 924 |             (&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:924:53
[INFO] [stdout]     |
[INFO] [stdout] 924 |             (&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:927:15
[INFO] [stdout]     |
[INFO] [stdout] 927 |             (&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:927:43
[INFO] [stdout]     |
[INFO] [stdout] 927 |             (&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:931:18
[INFO] [stdout]     |
[INFO] [stdout] 931 |                 &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:932:18
[INFO] [stdout]     |
[INFO] [stdout] 932 |                 &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:938:15
[INFO] [stdout]     |
[INFO] [stdout] 938 |             (&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:938:33
[INFO] [stdout]     |
[INFO] [stdout] 938 |             (&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:940:18
[INFO] [stdout]     |
[INFO] [stdout] 940 |                 &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:941:18
[INFO] [stdout]     |
[INFO] [stdout] 941 |                 &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:947:15
[INFO] [stdout]     |
[INFO] [stdout] 947 |             (&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:947:29
[INFO] [stdout]     |
[INFO] [stdout] 947 |             (&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 `Resolved` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1043:15
[INFO] [stdout]      |
[INFO] [stdout] 1043 |             (&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:1043:44
[INFO] [stdout]      |
[INFO] [stdout] 1043 |             (&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:1046:15
[INFO] [stdout]      |
[INFO] [stdout] 1046 |             (&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:1046:55
[INFO] [stdout]      |
[INFO] [stdout] 1046 |             (&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:1187:17
[INFO] [stdout]      |
[INFO] [stdout] 1187 |                 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:1190:17
[INFO] [stdout]      |
[INFO] [stdout] 1190 |                 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:1194:14
[INFO] [stdout]      |
[INFO] [stdout] 1194 |             (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:1194:34
[INFO] [stdout]      |
[INFO] [stdout] 1194 |             (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 `Macro` in this scope
[INFO] [stdout]     --> src/rule_matcher.rs:1553:10
[INFO] [stdout]      |
[INFO] [stdout] 1553 |         (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:1553:34
[INFO] [stdout]      |
[INFO] [stdout] 1553 |         (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:1554:10
[INFO] [stdout]      |
[INFO] [stdout] 1554 |         (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:1554:30
[INFO] [stdout]      |
[INFO] [stdout] 1554 |         (Desugaring(a_kind), Desugaring(b_kind)) => a_kind == b_kind,
[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] warning: unexpected `cfg` condition value: `clippy`
[INFO] [stdout]   --> src/lib.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 | #![cfg_attr(feature = "clippy", feature(plugin))]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `clippy` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `clippy`
[INFO] [stdout]   --> src/lib.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 | #![cfg_attr(feature = "clippy", plugin(clippy))]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `clippy` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InMemoryFileLoader`
[INFO] [stdout]   --> src/change_to_rule.rs:29:50
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::file_loader::{ClonableRealFileLoader, InMemoryFileLoader};
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::file_loader::InMemoryFileLoader`
[INFO] [stdout]    --> src/lib.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | use crate::file_loader::InMemoryFileLoader;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0408, E0416, E0422, E0432, E0462, E0463, E0531, E0532, E0554...
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0408`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rerast` (lib) due to 62 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "5258fd4dc6279862d2fb8fa495e31643b335e1130fa550662a49b086d3eb48a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5258fd4dc6279862d2fb8fa495e31643b335e1130fa550662a49b086d3eb48a3", kill_on_drop: false }`
[INFO] [stdout] 5258fd4dc6279862d2fb8fa495e31643b335e1130fa550662a49b086d3eb48a3
