[INFO] fetching crate rerast 0.1.96... [INFO] checking rerast-0.1.96 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate rerast 0.1.96 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate rerast 0.1.96 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rerast_macros v0.1.12 [INFO] [stderr] Downloaded float-cmp v0.6.0 [INFO] [stderr] Downloaded predicates v1.0.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.17 [INFO] [stderr] Downloaded escargot v0.4.0 [INFO] [stderr] Downloaded assert_cmd v0.11.1 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded backtrace v0.3.48 [INFO] [stderr] Downloaded addr2line v0.12.1 [INFO] [stderr] Downloaded object v0.19.0 [INFO] [stderr] Downloaded gimli v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a2f6d8d769135dfe5b3f14f93c340bdb66d9ca6ac30185b38052d364f85e239 [INFO] running `Command { std: "docker" "start" "-a" "8a2f6d8d769135dfe5b3f14f93c340bdb66d9ca6ac30185b38052d364f85e239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a2f6d8d769135dfe5b3f14f93c340bdb66d9ca6ac30185b38052d364f85e239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a2f6d8d769135dfe5b3f14f93c340bdb66d9ca6ac30185b38052d364f85e239", kill_on_drop: false }` [INFO] [stdout] 8a2f6d8d769135dfe5b3f14f93c340bdb66d9ca6ac30185b38052d364f85e239 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3f74ae5a5783451fae62ca9fcb3bfd3e4750d157d3f8117632b7480f5914b26 [INFO] running `Command { std: "docker" "start" "-a" "d3f74ae5a5783451fae62ca9fcb3bfd3e4750d157d3f8117632b7480f5914b26", kill_on_drop: false }` [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 libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking predicates-core v1.0.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking rerast_macros v0.1.12 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking json v0.11.15 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking predicates-tree v1.0.0 [INFO] [stderr] Checking float-cmp v0.6.0 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking predicates v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking 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::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: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::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::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/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_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/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/ff1737bb00913444173658b4e0b274fd79aabf66/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_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] Some errors have detailed explanations: E0408, E0416, E0422, E0432, E0462, E0463, E0531, E0532, 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 60 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d3f74ae5a5783451fae62ca9fcb3bfd3e4750d157d3f8117632b7480f5914b26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f74ae5a5783451fae62ca9fcb3bfd3e4750d157d3f8117632b7480f5914b26", kill_on_drop: false }` [INFO] [stdout] d3f74ae5a5783451fae62ca9fcb3bfd3e4750d157d3f8117632b7480f5914b26