[INFO] fetching crate ra-ap-rustc_pattern_analysis 0.124.0... [INFO] checking ra-ap-rustc_pattern_analysis-0.124.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ra-ap-rustc_pattern_analysis 0.124.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ra-ap-rustc_pattern_analysis 0.124.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ra-ap-rustc_pattern_analysis 0.124.0 [INFO] tweaked toml for crates.io crate ra-ap-rustc_pattern_analysis 0.124.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ra-ap-rustc_pattern_analysis 0.124.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ra-ap-rustc_pattern_analysis 0.124.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-tree v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99835ce9706ee62a4ba050cc4d745a53c71dbfb7f6ec6e01e8e197fb7f7819b9 [INFO] running `Command { std: "docker" "start" "-a" "99835ce9706ee62a4ba050cc4d745a53c71dbfb7f6ec6e01e8e197fb7f7819b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99835ce9706ee62a4ba050cc4d745a53c71dbfb7f6ec6e01e8e197fb7f7819b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99835ce9706ee62a4ba050cc4d745a53c71dbfb7f6ec6e01e8e197fb7f7819b9", kill_on_drop: false }` [INFO] [stdout] 99835ce9706ee62a4ba050cc4d745a53c71dbfb7f6ec6e01e8e197fb7f7819b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1d5ee685c8cf99ade68d307c771179b07f8f454ab74f689a68ed5eeac36684b [INFO] running `Command { std: "docker" "start" "-a" "c1d5ee685c8cf99ade68d307c771179b07f8f454ab74f689a68ed5eeac36684b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling ra-ap-rustc_index_macros v0.124.0 [INFO] [stderr] Checking ra-ap-rustc_index v0.124.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking ra-ap-rustc_pattern_analysis v0.124.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tracing-tree v0.3.1 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/complexity.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_pattern_analysis::pat::DeconstructedPat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use ra_ap_rustc_pattern_analysis::pat::DeconstructedPat; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/complexity.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rustc_pattern_analysis::usefulness::PlaceValidity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use ra_ap_rustc_pattern_analysis::usefulness::PlaceValidity; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rustc_pattern_analysis::constructor::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use ra_ap_rustc_pattern_analysis::constructor::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rustc_pattern_analysis::pat::DeconstructedPat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use ra_ap_rustc_pattern_analysis::pat::DeconstructedPat; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rustc_pattern_analysis::usefulness::{PlaceValidity, UsefulnessReport}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use ra_ap_rustc_pattern_analysis::usefulness::{PlaceValidity, UsefulnessReport}; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustc_pattern_analysis` [INFO] [stdout] --> tests/complexity.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rustc_pattern_analysis::MatchArm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use ra_ap_rustc_pattern_analysis::MatchArm; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/complexity.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | patterns.push(pat!(struct_ty; Struct { .i: true })); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` which comes from the expansion of the macro `pat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/complexity.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | patterns.push(pat!(struct_ty; _)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` which comes from the expansion of the macro `pat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/complexity.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | patterns.push(pat!(struct_ty; Struct { .i: true })); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` which comes from the expansion of the macro `pat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/complexity.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | patterns.push(pat!(struct_ty; Struct { .i: false })); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` which comes from the expansion of the macro `pat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/complexity.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | patterns.push(pat!(struct_ty; _)); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` which comes from the expansion of the macro `pat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/complexity.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | patterns.push(pat!(enum_ty; Variant.i)); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` which comes from the expansion of the macro `pat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/complexity.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | patterns.push(pat!(enum_ty; _)); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` which comes from the expansion of the macro `pat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_pattern_analysis::{MatchArm, PatCx, PrivateUninhabitedField}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use ra_ap_rustc_pattern_analysis::{MatchArm, PatCx, PrivateUninhabitedField}; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/intersection.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_pattern_analysis::pat::DeconstructedPat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use ra_ap_rustc_pattern_analysis::pat::DeconstructedPat; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/intersection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rustc_pattern_analysis::usefulness::PlaceValidity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use ra_ap_rustc_pattern_analysis::usefulness::PlaceValidity; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rustc_pattern_analysis::constructor::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use ra_ap_rustc_pattern_analysis::constructor::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rustc_pattern_analysis::pat::DeconstructedPat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use ra_ap_rustc_pattern_analysis::pat::DeconstructedPat; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rustc_pattern_analysis::usefulness::{PlaceValidity, UsefulnessReport}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use ra_ap_rustc_pattern_analysis::usefulness::{PlaceValidity, UsefulnessReport}; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustc_pattern_analysis` [INFO] [stdout] --> tests/intersection.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rustc_pattern_analysis::MatchArm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use ra_ap_rustc_pattern_analysis::MatchArm; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/intersection.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / pats!(ty; [INFO] [stdout] 35 | | 0..=100, [INFO] [stdout] 36 | | 100.., [INFO] [stdout] 37 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/intersection.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | / pats!(ty; [INFO] [stdout] 42 | | 0..=101, [INFO] [stdout] 43 | | 100.., [INFO] [stdout] 44 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/intersection.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / pats!(ty; [INFO] [stdout] 49 | | 0..100, [INFO] [stdout] 50 | | 100.., [INFO] [stdout] 51 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/intersection.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / pats!(ty; [INFO] [stdout] 61 | | (true, true), [INFO] [stdout] 62 | | (true, _), [INFO] [stdout] 63 | | (_, true), [INFO] [stdout] 64 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/intersection.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / pats!(ty; [INFO] [stdout] 70 | | (true, _), [INFO] [stdout] 71 | | (_, true), [INFO] [stdout] 72 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/intersection.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | / pats!(ty; [INFO] [stdout] 78 | | (true, true, _), [INFO] [stdout] 79 | | (true, _, true), [INFO] [stdout] 80 | | (false, _, _), [INFO] [stdout] 81 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/intersection.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | / pats!(ty; [INFO] [stdout] 87 | | (true, _, _), [INFO] [stdout] 88 | | (_, true, 0..10), [INFO] [stdout] 89 | | (_, true, 10..), [INFO] [stdout] 90 | | (_, true, 3), [INFO] [stdout] 91 | | _, [INFO] [stdout] 92 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_pattern_analysis::{MatchArm, PatCx, PrivateUninhabitedField}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use ra_ap_rustc_pattern_analysis::{MatchArm, PatCx, PrivateUninhabitedField}; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/exhaustiveness.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_pattern_analysis::pat::{DeconstructedPat, WitnessPat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use ra_ap_rustc_pattern_analysis::pat::{DeconstructedPat, WitnessPat}; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/exhaustiveness.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rustc_pattern_analysis::usefulness::PlaceValidity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use ra_ap_rustc_pattern_analysis::usefulness::PlaceValidity; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rustc_pattern_analysis::constructor::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use ra_ap_rustc_pattern_analysis::constructor::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rustc_pattern_analysis::pat::DeconstructedPat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use ra_ap_rustc_pattern_analysis::pat::DeconstructedPat; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rustc_pattern_analysis::usefulness::{PlaceValidity, UsefulnessReport}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use ra_ap_rustc_pattern_analysis::usefulness::{PlaceValidity, UsefulnessReport}; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustc_pattern_analysis` [INFO] [stdout] --> tests/exhaustiveness.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rustc_pattern_analysis::MatchArm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use ra_ap_rustc_pattern_analysis::MatchArm; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | assert_exhaustive(pats!(ty; [INFO] [stdout] | _______________________- [INFO] [stdout] 76 | | 0..=255, [INFO] [stdout] 77 | | )); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | assert_exhaustive(pats!(ty; [INFO] [stdout] | _______________________- [INFO] [stdout] 79 | | 0.., [INFO] [stdout] 80 | | )); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | assert_non_exhaustive(pats!(ty; [INFO] [stdout] | ___________________________- [INFO] [stdout] 82 | | 0..255, [INFO] [stdout] 83 | | )); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | assert_exhaustive(pats!(ty; [INFO] [stdout] | _______________________- [INFO] [stdout] 85 | | 0..255, [INFO] [stdout] 86 | | 255, [INFO] [stdout] 87 | | )); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | assert_exhaustive(pats!(ty; [INFO] [stdout] | _______________________- [INFO] [stdout] 89 | | ..10, [INFO] [stdout] 90 | | 10.. [INFO] [stdout] 91 | | )); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | assert_non_exhaustive(pats!(ty; [INFO] [stdout] | ___________________________- [INFO] [stdout] 100 | | Struct(Variant.0, _), [INFO] [stdout] 101 | | )); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | assert_exhaustive(pats!(ty; [INFO] [stdout] | _______________________- [INFO] [stdout] 103 | | Struct(Variant.0, _), [INFO] [stdout] 104 | | Struct(Variant.1, _), [INFO] [stdout] 105 | | )); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | assert_non_exhaustive(pats!(ty; [INFO] [stdout] | ___________________________- [INFO] [stdout] 107 | | Struct(Variant.0, _), [INFO] [stdout] 108 | | Struct(_, Variant.0), [INFO] [stdout] 109 | | )); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | assert_exhaustive(pats!(ty; [INFO] [stdout] | _______________________- [INFO] [stdout] 111 | | Struct(Variant.0, _), [INFO] [stdout] 112 | | Struct(_, Variant.0), [INFO] [stdout] 113 | | Struct(Variant.1, Variant.1), [INFO] [stdout] 114 | | )); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | / pats!(ty; [INFO] [stdout] 128 | | (Variant.0(false), Variant.0(false)), [INFO] [stdout] 129 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | / pats!(ty; [INFO] [stdout] 136 | | (Variant.0(false), Variant.0(false)), [INFO] [stdout] 137 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | / pats!(ty; [INFO] [stdout] 149 | | (_, Variant.0(false)), [INFO] [stdout] 150 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | / pats!(ty; [INFO] [stdout] 157 | | (_, Variant.0(false)), [INFO] [stdout] 158 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | / pats!(ty; [INFO] [stdout] 167 | | Variant.0, [INFO] [stdout] 168 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | / pats!(ty; [INFO] [stdout] 175 | | Variant.0, [INFO] [stdout] 176 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | assert_exhaustive(pats!(TY; [INFO] [stdout] | _______________________- [INFO] [stdout] 186 | | Variant.0, [INFO] [stdout] 187 | | )); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | use rustc_pattern_analysis::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] ::: tests/exhaustiveness.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | assert_exhaustive(pats!(ty; [INFO] [stdout] | _______________________- [INFO] [stdout] 190 | | (true, Variant.0), [INFO] [stdout] 191 | | (false, Variant.0), [INFO] [stdout] 192 | | )); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | use ra_ap_rustc_pattern_analysis::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_pattern_analysis::{MatchArm, PatCx, PrivateUninhabitedField}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use ra_ap_rustc_pattern_analysis::{MatchArm, PatCx, PrivateUninhabitedField}; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `NonExhaustive` is not bound in all patterns [INFO] [stdout] --> tests/common/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ------------- ^^^^^^^ ^^^^^^^^ pattern doesn't bind `NonExhaustive` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `NonExhaustive` [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `NonExhaustive` [INFO] [stdout] | pattern doesn't bind `NonExhaustive` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `ra_ap_rustc_pattern_analysis::constructor::Constructor::NonExhaustive`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | ra_ap_rustc_pattern_analysis::constructor::Constructor::NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Missing` is not bound in all patterns [INFO] [stdout] --> tests/common/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ------- ^^^^^^^^ pattern doesn't bind `Missing` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | variable not in all patterns [INFO] [stdout] | | | pattern doesn't bind `Missing` [INFO] [stdout] | | pattern doesn't bind `Missing` [INFO] [stdout] | pattern doesn't bind `Missing` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `ra_ap_rustc_pattern_analysis::constructor::Constructor::Missing`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | ra_ap_rustc_pattern_analysis::constructor::Constructor::Missing | Wildcard, _) => vec![], [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Wildcard` is not bound in all patterns [INFO] [stdout] --> tests/common/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ -------- variable not in all patterns [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `Wildcard` [INFO] [stdout] | | | pattern doesn't bind `Wildcard` [INFO] [stdout] | | pattern doesn't bind `Wildcard` [INFO] [stdout] | pattern doesn't bind `Wildcard` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `ra_ap_rustc_pattern_analysis::constructor::Constructor::Wildcard`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | ra_ap_rustc_pattern_analysis::constructor::Constructor::Wildcard, _) => vec![], [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Variant` in this scope [INFO] [stdout] --> tests/common/mod.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | (Variant(i), Ty::Enum(tys) | Ty::NonExhaustiveEnum(tys)) => vec![tys[*i]], [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 + use ra_ap_rustc_pattern_analysis::constructor::Constructor::Variant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Variant` in this scope [INFO] [stdout] --> tests/common/mod.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | (Variant(_), Ty::BigEnum { ty, .. }) => vec![*ty], [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 + use ra_ap_rustc_pattern_analysis::constructor::Constructor::Variant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Bool` in this scope [INFO] [stdout] --> tests/common/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 + use ra_ap_rustc_pattern_analysis::constructor::Constructor::Bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | rustc_pattern_analysis::usefulness::compute_match_usefulness( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 153 | ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness( [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use ra_ap_rustc_pattern_analysis::usefulness; [INFO] [stdout] | [INFO] [stdout] help: if you import `usefulness`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 153 - rustc_pattern_analysis::usefulness::compute_match_usefulness( [INFO] [stdout] 153 + usefulness::compute_match_usefulness( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `NonExhaustive` is not bound in all patterns [INFO] [stdout] --> tests/common/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ------------- ^^^^^^^ ^^^^^^^^ pattern doesn't bind `NonExhaustive` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `NonExhaustive` [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `NonExhaustive` [INFO] [stdout] | pattern doesn't bind `NonExhaustive` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `ra_ap_rustc_pattern_analysis::constructor::Constructor::NonExhaustive`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | ra_ap_rustc_pattern_analysis::constructor::Constructor::NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Missing` is not bound in all patterns [INFO] [stdout] --> tests/common/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ------- ^^^^^^^^ pattern doesn't bind `Missing` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | variable not in all patterns [INFO] [stdout] | | | pattern doesn't bind `Missing` [INFO] [stdout] | | pattern doesn't bind `Missing` [INFO] [stdout] | pattern doesn't bind `Missing` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `ra_ap_rustc_pattern_analysis::constructor::Constructor::Missing`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | ra_ap_rustc_pattern_analysis::constructor::Constructor::Missing | Wildcard, _) => vec![], [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Wildcard` is not bound in all patterns [INFO] [stdout] --> tests/common/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ -------- variable not in all patterns [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `Wildcard` [INFO] [stdout] | | | pattern doesn't bind `Wildcard` [INFO] [stdout] | | pattern doesn't bind `Wildcard` [INFO] [stdout] | pattern doesn't bind `Wildcard` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `ra_ap_rustc_pattern_analysis::constructor::Constructor::Wildcard`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | ra_ap_rustc_pattern_analysis::constructor::Constructor::Wildcard, _) => vec![], [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Variant` in this scope [INFO] [stdout] --> tests/common/mod.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | (Variant(i), Ty::Enum(tys) | Ty::NonExhaustiveEnum(tys)) => vec![tys[*i]], [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 + use ra_ap_rustc_pattern_analysis::constructor::Constructor::Variant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Variant` in this scope [INFO] [stdout] --> tests/common/mod.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | (Variant(_), Ty::BigEnum { ty, .. }) => vec![*ty], [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 + use ra_ap_rustc_pattern_analysis::constructor::Constructor::Variant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ra-ap-rustc_pattern_analysis` (test "intersection") due to 21 previous errors [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Bool` in this scope [INFO] [stdout] --> tests/common/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 + use ra_ap_rustc_pattern_analysis::constructor::Constructor::Bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | rustc_pattern_analysis::usefulness::compute_match_usefulness( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 153 | ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness( [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use ra_ap_rustc_pattern_analysis::usefulness; [INFO] [stdout] | [INFO] [stdout] help: if you import `usefulness`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 153 - rustc_pattern_analysis::usefulness::compute_match_usefulness( [INFO] [stdout] 153 + usefulness::compute_match_usefulness( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `NonExhaustive` is not bound in all patterns [INFO] [stdout] --> tests/common/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ------------- ^^^^^^^ ^^^^^^^^ pattern doesn't bind `NonExhaustive` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `NonExhaustive` [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `NonExhaustive` [INFO] [stdout] | pattern doesn't bind `NonExhaustive` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `ra_ap_rustc_pattern_analysis::constructor::Constructor::NonExhaustive`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | ra_ap_rustc_pattern_analysis::constructor::Constructor::NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Missing` is not bound in all patterns [INFO] [stdout] --> tests/common/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ------- ^^^^^^^^ pattern doesn't bind `Missing` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | variable not in all patterns [INFO] [stdout] | | | pattern doesn't bind `Missing` [INFO] [stdout] | | pattern doesn't bind `Missing` [INFO] [stdout] | pattern doesn't bind `Missing` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `ra_ap_rustc_pattern_analysis::constructor::Constructor::Missing`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | ra_ap_rustc_pattern_analysis::constructor::Constructor::Missing | Wildcard, _) => vec![], [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Wildcard` is not bound in all patterns [INFO] [stdout] --> tests/common/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ -------- variable not in all patterns [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `Wildcard` [INFO] [stdout] | | | pattern doesn't bind `Wildcard` [INFO] [stdout] | | pattern doesn't bind `Wildcard` [INFO] [stdout] | pattern doesn't bind `Wildcard` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `ra_ap_rustc_pattern_analysis::constructor::Constructor::Wildcard`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | ra_ap_rustc_pattern_analysis::constructor::Constructor::Wildcard, _) => vec![], [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0432, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Variant` in this scope [INFO] [stdout] --> tests/common/mod.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | (Variant(i), Ty::Enum(tys) | Ty::NonExhaustiveEnum(tys)) => vec![tys[*i]], [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 + use ra_ap_rustc_pattern_analysis::constructor::Constructor::Variant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Variant` in this scope [INFO] [stdout] --> tests/common/mod.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | (Variant(_), Ty::BigEnum { ty, .. }) => vec![*ty], [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 + use ra_ap_rustc_pattern_analysis::constructor::Constructor::Variant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Bool` in this scope [INFO] [stdout] --> tests/common/mod.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | (Bool(..) | IntRange(..) | NonExhaustive | Missing | Wildcard, _) => vec![], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 + use ra_ap_rustc_pattern_analysis::constructor::Constructor::Bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] --> tests/common/mod.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | rustc_pattern_analysis::usefulness::compute_match_usefulness( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustc_pattern_analysis` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 153 | ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness( [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use ra_ap_rustc_pattern_analysis::usefulness; [INFO] [stdout] | [INFO] [stdout] help: if you import `usefulness`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 153 - rustc_pattern_analysis::usefulness::compute_match_usefulness( [INFO] [stdout] 153 + usefulness::compute_match_usefulness( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0432, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ra-ap-rustc_pattern_analysis` (test "complexity") due to 21 previous errors [INFO] [stdout] Some errors have detailed explanations: E0408, E0432, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ra-ap-rustc_pattern_analysis` (test "exhaustiveness") due to 31 previous errors [INFO] running `Command { std: "docker" "inspect" "c1d5ee685c8cf99ade68d307c771179b07f8f454ab74f689a68ed5eeac36684b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1d5ee685c8cf99ade68d307c771179b07f8f454ab74f689a68ed5eeac36684b", kill_on_drop: false }` [INFO] [stdout] c1d5ee685c8cf99ade68d307c771179b07f8f454ab74f689a68ed5eeac36684b