[INFO] cloning repository https://github.com/google/rerast
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/google/rerast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoogle%2Frerast", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoogle%2Frerast'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 927a3817f49a606a5bad0bfc7d30733e2fba6d31
[INFO] testing google/rerast against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoogle%2Frerast" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/google/rerast on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/google/rerast
[INFO] finished tweaking git repo https://github.com/google/rerast
[INFO] tweaked toml for git repo https://github.com/google/rerast written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/google/rerast already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 03c34d1d417c5cee2f153b408907f64fa4323315c3ff1356ffd308efbd7f17f4
[INFO] running `Command { std: "docker" "start" "-a" "03c34d1d417c5cee2f153b408907f64fa4323315c3ff1356ffd308efbd7f17f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "03c34d1d417c5cee2f153b408907f64fa4323315c3ff1356ffd308efbd7f17f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03c34d1d417c5cee2f153b408907f64fa4323315c3ff1356ffd308efbd7f17f4", kill_on_drop: false }`
[INFO] [stdout] 03c34d1d417c5cee2f153b408907f64fa4323315c3ff1356ffd308efbd7f17f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 04e7fcf836e6e620e85c66050f024c71550a638f2d4b7eae728f9dc6f578c1a4
[INFO] running `Command { std: "docker" "start" "-a" "04e7fcf836e6e620e85c66050f024c71550a638f2d4b7eae728f9dc6f578c1a4", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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.27
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling gimli v0.21.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling object v0.19.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling diff v0.1.12
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling rerast_macros v0.1.12 (/opt/rustwide/workdir/rerast_macros)
[INFO] [stderr]    Compiling itertools v0.9.0
[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 v0.1.8
[INFO] [stderr]    Compiling rerast v0.1.95 (/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::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: replaced with `#[rustc_box]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]    --> src/change_to_rule.rs:690:55
[INFO] [stdout]     |
[INFO] [stdout] 690 |             .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] 690 |             .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:709:40
[INFO] [stdout]     |
[INFO] [stdout] 709 |         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] 709 |         let mut original_file_loader = Box::new(InMemoryFileLoader::new(file_loader.clone()));
[INFO] [stdout]     |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[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[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[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[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 `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: `path::to::ModOrType::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[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: `path::to::ModOrType::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[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[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[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[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[E0554]: `#![feature]` may not be used on the beta 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 beta 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 62 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0408, E0416, E0422, E0432, E0463, E0531, E0532, E0554, E0557.
[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 63 previous errors
[INFO] running `Command { std: "docker" "inspect" "04e7fcf836e6e620e85c66050f024c71550a638f2d4b7eae728f9dc6f578c1a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04e7fcf836e6e620e85c66050f024c71550a638f2d4b7eae728f9dc6f578c1a4", kill_on_drop: false }`
[INFO] [stdout] 04e7fcf836e6e620e85c66050f024c71550a638f2d4b7eae728f9dc6f578c1a4
