[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] checking google/rerast/927a3817f49a606a5bad0bfc7d30733e2fba6d31 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoogle%2Frerast" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/google/rerast on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-1-tc1/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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.17 [INFO] [stderr] Downloaded syn v1.0.27 [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 061f9c6116b6e3d8c8d3d6264872a533b4341e8722b888e09a00710662768c7f [INFO] running `Command { std: "docker" "start" "-a" "061f9c6116b6e3d8c8d3d6264872a533b4341e8722b888e09a00710662768c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "061f9c6116b6e3d8c8d3d6264872a533b4341e8722b888e09a00710662768c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "061f9c6116b6e3d8c8d3d6264872a533b4341e8722b888e09a00710662768c7f", kill_on_drop: false }` [INFO] [stdout] 061f9c6116b6e3d8c8d3d6264872a533b4341e8722b888e09a00710662768c7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 914a7e026039302dca154f8ad35e74d81ea631c716cc02b088c9cc75e4303a2f [INFO] running `Command { std: "docker" "start" "-a" "914a7e026039302dca154f8ad35e74d81ea631c716cc02b088c9cc75e4303a2f", 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.27 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking rerast_macros v0.1.12 (/opt/rustwide/workdir/rerast_macros) [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking float-cmp v0.6.0 [INFO] [stderr] Checking predicates v1.0.4 [INFO] [stderr] Checking assert_cmd v1.0.1 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking backtrace v0.3.48 [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.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: `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[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: `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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_session` [INFO] [stdout] --> src/change_to_rule.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate rustc_session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_span` [INFO] [stdout] --> src/change_to_rule.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern crate rustc_span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_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[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 `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[E0416]: identifier `Public` is bound more than once in the same pattern [INFO] [stdout] --> src/rule_matcher.rs:1194:22 [INFO] [stdout] | [INFO] [stdout] 1194 | (Public, Public) | (Inherited, Inherited) => true, [INFO] [stdout] | ^^^^^^ used in a pattern more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0416]: identifier `Inherited` is bound more than once in the same pattern [INFO] [stdout] --> src/rule_matcher.rs:1194:44 [INFO] [stdout] | [INFO] [stdout] 1194 | (Public, Public) | (Inherited, Inherited) => true, [INFO] [stdout] | ^^^^^^^^^ used in a pattern more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Inherited` is not bound in all patterns [INFO] [stdout] --> src/rule_matcher.rs:1194:13 [INFO] [stdout] | [INFO] [stdout] 1194 | (Public, Public) | (Inherited, Inherited) => true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Inherited` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `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[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[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 `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[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[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 `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 `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[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[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 `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 `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 `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 `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 `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 `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[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] 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 for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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] 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 for more information about checking conditional configuration [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] warning: unused import: `InMemoryFileLoader` [INFO] [stdout] --> src/change_to_rule.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | 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] 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] warning: unused import: `crate::file_loader::InMemoryFileLoader` [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | use crate::file_loader::InMemoryFileLoader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 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 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 for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'tcx` is never used [INFO] [stdout] --> src/validation.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | struct SearchValidator<'tcx> { [INFO] [stdout] | ^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'tcx`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'tcx` is never used [INFO] [stdout] --> src/validation.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | struct ReplacementValidator<'tcx> { [INFO] [stdout] | ^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'tcx`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 62 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0408, E0416, E0422, E0432, E0463, E0531, E0532, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'tcx` is never used [INFO] [stdout] --> src/validation.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | struct SearchValidator<'tcx> { [INFO] [stdout] | ^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'tcx`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'tcx` is never used [INFO] [stdout] --> src/validation.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | struct ReplacementValidator<'tcx> { [INFO] [stdout] | ^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'tcx`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rerast` (lib) due to 63 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 62 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0408, E0416, E0422, E0432, E0463, E0531, E0532, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rerast` (lib test) due to 63 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "914a7e026039302dca154f8ad35e74d81ea631c716cc02b088c9cc75e4303a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "914a7e026039302dca154f8ad35e74d81ea631c716cc02b088c9cc75e4303a2f", kill_on_drop: false }` [INFO] [stdout] 914a7e026039302dca154f8ad35e74d81ea631c716cc02b088c9cc75e4303a2f