[INFO] fetching crate ra_ap_hir_ty 0.0.305... [INFO] testing ra_ap_hir_ty-0.0.305 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate ra_ap_hir_ty 0.0.305 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ra_ap_hir_ty 0.0.305 [INFO] finished tweaking crates.io crate ra_ap_hir_ty 0.0.305 [INFO] tweaked toml for crates.io crate ra_ap_hir_ty 0.0.305 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ra_ap_hir_ty 0.0.305 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ra_ap_hir_ty 0.0.305 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded salsa-macro-rules v0.24.0 [INFO] [stderr] Downloaded inventory v0.3.21 [INFO] [stderr] Downloaded thin-vec v0.2.14 [INFO] [stderr] Downloaded tracing-tree v0.4.1 [INFO] [stderr] Downloaded intrusive-collections v0.9.7 [INFO] [stderr] Downloaded triomphe v0.1.15 [INFO] [stderr] Downloaded salsa-macros v0.24.0 [INFO] [stderr] Downloaded rustc-stable-hash v0.1.2 [INFO] [stderr] Downloaded ra-ap-rustc_abi v0.137.0 [INFO] [stderr] Downloaded oorandom v11.1.5 [INFO] [stderr] Downloaded derive-where v1.6.0 [INFO] [stderr] Downloaded ra-ap-rustc_type_ir_macros v0.137.0 [INFO] [stderr] Downloaded miow v0.6.1 [INFO] [stderr] Downloaded cov-mark v2.2.0 [INFO] [stderr] Downloaded ra_ap_hir_expand v0.0.305 [INFO] [stderr] Downloaded ra_ap_stdx v0.0.305 [INFO] [stderr] Downloaded ra_ap_hir_def v0.0.305 [INFO] [stderr] Downloaded smol_str v0.3.4 [INFO] [stderr] Downloaded text-size v1.1.1 [INFO] [stderr] Downloaded boxcar v0.2.14 [INFO] [stderr] Downloaded jod-thread v1.0.0 [INFO] [stderr] Downloaded rustc-literal-escaper v0.0.4 [INFO] [stderr] Downloaded ra-ap-rustc_ast_ir v0.137.0 [INFO] [stderr] Downloaded ra-ap-rustc_type_ir v0.137.0 [INFO] [stderr] Downloaded countme v3.0.1 [INFO] [stderr] Downloaded rowan v0.15.15 [INFO] [stderr] Downloaded memoffset v0.9.1 [INFO] [stderr] Downloaded ra-ap-rustc_pattern_analysis v0.137.0 [INFO] [stderr] Downloaded ra-ap-rustc_index v0.137.0 [INFO] [stderr] Downloaded ra-ap-rustc_parse_format v0.137.0 [INFO] [stderr] Downloaded fst v0.4.7 [INFO] [stderr] Downloaded ra_ap_base_db v0.0.305 [INFO] [stderr] Downloaded petgraph v0.8.3 [INFO] [stderr] Downloaded ra-ap-rustc_next_trait_solver v0.137.0 [INFO] [stderr] Downloaded rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Downloaded ra_ap_syntax v0.0.305 [INFO] [stderr] Downloaded ra_ap_syntax-bridge v0.0.305 [INFO] [stderr] Downloaded ra_ap_parser v0.0.305 [INFO] [stderr] Downloaded ra_ap_intern v0.0.305 [INFO] [stderr] Downloaded ra_ap_query-group-macro v0.0.305 [INFO] [stderr] Downloaded ra_ap_vfs v0.0.305 [INFO] [stderr] Downloaded ra_ap_tt v0.0.305 [INFO] [stderr] Downloaded ra_ap_macros v0.0.305 [INFO] [stderr] Downloaded camino v1.2.1 [INFO] [stderr] Downloaded ra_ap_paths v0.0.305 [INFO] [stderr] Downloaded drop_bomb v0.1.5 [INFO] [stderr] Downloaded unicode-properties v0.1.4 [INFO] [stderr] Downloaded ra-ap-rustc_lexer v0.137.0 [INFO] [stderr] Downloaded hashlink v0.10.0 [INFO] [stderr] Downloaded salsa v0.24.0 [INFO] [stderr] Downloaded ra-ap-rustc_hashes v0.137.0 [INFO] [stderr] Downloaded ra-ap-rustc_index_macros v0.137.0 [INFO] [stderr] Downloaded rustc-literal-escaper v0.0.5 [INFO] [stderr] Downloaded ra_ap_cfg v0.0.305 [INFO] [stderr] Downloaded ra_ap_mbe v0.0.305 [INFO] [stderr] Downloaded la-arena v0.3.1 [INFO] [stderr] Downloaded ra_ap_span v0.0.305 [INFO] [stderr] Downloaded ra_ap_edition v0.0.305 [INFO] [stderr] Downloaded typed-arena v2.0.2 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6e718b72760acb01c3d2d658d496afb358635b007e1bbf92a5055e31fff10ac [INFO] running `Command { std: "docker" "start" "-a" "d6e718b72760acb01c3d2d658d496afb358635b007e1bbf92a5055e31fff10ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6e718b72760acb01c3d2d658d496afb358635b007e1bbf92a5055e31fff10ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6e718b72760acb01c3d2d658d496afb358635b007e1bbf92a5055e31fff10ac", kill_on_drop: false }` [INFO] [stdout] d6e718b72760acb01c3d2d658d496afb358635b007e1bbf92a5055e31fff10ac [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17e948e99d687e24dcd3361f901dced0f2ba9153da548a8dafc3dab0c95d84d8 [INFO] running `Command { std: "docker" "start" "-a" "17e948e99d687e24dcd3361f901dced0f2ba9153da548a8dafc3dab0c95d84d8", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling jod-thread v1.0.0 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling triomphe v0.1.15 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling rustc-literal-escaper v0.0.4 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling ra_ap_edition v0.0.305 [INFO] [stderr] Compiling intrusive-collections v0.9.7 [INFO] [stderr] Compiling smol_str v0.3.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling ra_ap_paths v0.0.305 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling salsa-macro-rules v0.24.0 [INFO] [stderr] Compiling ra-ap-rustc_lexer v0.137.0 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling boxcar v0.2.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling la-arena v0.3.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling cov-mark v2.2.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling rustc-stable-hash v0.1.2 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ra-ap-rustc_hashes v0.137.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling ra_ap_intern v0.0.305 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling rustc-literal-escaper v0.0.5 [INFO] [stderr] Compiling ra-ap-rustc_ast_ir v0.137.0 [INFO] [stderr] Compiling ra-ap-rustc_parse_format v0.137.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling petgraph v0.8.3 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling ra-ap-rustc_index_macros v0.137.0 [INFO] [stderr] Compiling ra_ap_query-group-macro v0.0.305 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling salsa-macros v0.24.0 [INFO] [stderr] Compiling ra-ap-rustc_type_ir_macros v0.137.0 [INFO] [stderr] Compiling ra_ap_macros v0.0.305 [INFO] [stderr] Compiling ra-ap-rustc_index v0.137.0 [INFO] [stderr] Compiling tracing-tree v0.4.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ra_ap_stdx v0.0.305 [INFO] [stderr] Compiling ra_ap_parser v0.0.305 [INFO] [stderr] Compiling ra-ap-rustc_abi v0.137.0 [INFO] [stderr] Compiling ra-ap-rustc_type_ir v0.137.0 [INFO] [stderr] Compiling ra-ap-rustc_pattern_analysis v0.137.0 [INFO] [stderr] Compiling ra_ap_vfs v0.0.305 [INFO] [stderr] Compiling ra_ap_tt v0.0.305 [INFO] [stderr] Compiling ra_ap_syntax v0.0.305 [INFO] [stderr] Compiling ra_ap_cfg v0.0.305 [INFO] [stderr] Compiling salsa v0.24.0 [INFO] [stderr] Compiling ra-ap-rustc_next_trait_solver v0.137.0 [INFO] [stderr] Compiling ra_ap_span v0.0.305 [INFO] [stderr] Compiling ra_ap_syntax-bridge v0.0.305 [INFO] [stderr] Compiling ra_ap_base_db v0.0.305 [INFO] [stderr] Compiling ra_ap_mbe v0.0.305 [INFO] [stderr] Compiling ra_ap_hir_expand v0.0.305 [INFO] [stderr] Compiling ra_ap_hir_def v0.0.305 [INFO] [stderr] Compiling ra_ap_hir_ty v0.0.305 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "17e948e99d687e24dcd3361f901dced0f2ba9153da548a8dafc3dab0c95d84d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17e948e99d687e24dcd3361f901dced0f2ba9153da548a8dafc3dab0c95d84d8", kill_on_drop: false }` [INFO] [stdout] 17e948e99d687e24dcd3361f901dced0f2ba9153da548a8dafc3dab0c95d84d8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1f5c729732c623a317e9381b7c1f187644126305b44cc6c8aaf9c2dd1f185bb [INFO] running `Command { std: "docker" "start" "-a" "f1f5c729732c623a317e9381b7c1f187644126305b44cc6c8aaf9c2dd1f185bb", kill_on_drop: false }` [INFO] [stderr] Compiling ra_ap_hir_ty v0.0.305 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/variance.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | use expect_test::{Expect, expect}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_fixture` [INFO] [stdout] --> src/variance.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | use test_fixture::WithFixture; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_fixture` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_fixture`, use `cargo add test_fixture` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_fixture` [INFO] [stdout] --> src/consteval/tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use test_fixture::WithFixture; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_fixture` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_fixture`, use `cargo add test_fixture` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/consteval/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use test_utils::skip_slow_tests; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/diagnostics/decl_check/case_conv.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use expect_test::{Expect, expect}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `project_model` [INFO] [stdout] --> src/layout/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use project_model::{Sysroot, toolchain_info::QueryConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `project_model` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `project_model`, use `cargo add project_model` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `project_model` [INFO] [stdout] --> src/layout/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use project_model::{Sysroot, toolchain_info::QueryConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `project_model` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `project_model`, use `cargo add project_model` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_fixture` [INFO] [stdout] --> src/layout/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use test_fixture::WithFixture; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_fixture` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_fixture`, use `cargo add test_fixture` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_fixture` [INFO] [stdout] --> src/mir/eval/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_fixture::WithFixture; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_fixture` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_fixture`, use `cargo add test_fixture` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_fixture` [INFO] [stdout] --> src/mir/lower/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use test_fixture::WithFixture; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_fixture` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_fixture`, use `cargo add test_fixture` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/test_db.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use test_utils::extract_annotations; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests/closure_captures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use expect_test::{Expect, expect}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_fixture` [INFO] [stdout] --> src/tests/closure_captures.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use test_fixture::WithFixture; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_fixture` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_fixture`, use `cargo add test_fixture` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use expect_test::Expect; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_fixture` [INFO] [stdout] --> src/tests/incremental.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_fixture::WithFixture; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_fixture` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_fixture`, use `cargo add test_fixture` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests/macros.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use expect_test::expect; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/tests/macros.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_utils::{bench, bench_fixture, skip_slow_tests}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests/method_resolution.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use expect_test::expect; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests/never_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use expect_test::expect; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests/opaque_types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use expect_test::expect; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests/patterns.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use expect_test::expect; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests/regression/new_solver.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use expect_test::expect; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests/regression.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use expect_test::expect; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use expect_test::expect; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests/traits.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use expect_test::expect; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use expect_test::Expect; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_fixture` [INFO] [stdout] --> src/tests.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use test_fixture::WithFixture; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_fixture` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_fixture`, use `cargo add test_fixture` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_fixture` [INFO] [stdout] --> src/dyn_compatibility/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use test_fixture::WithFixture; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_fixture` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_fixture`, use `cargo add test_fixture` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/tests/incremental.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | expect_test::expect![[r#" [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `project_model` [INFO] [stdout] --> src/layout/tests.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | project_model::toolchain_info::target_data::get( [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `project_model` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `project_model`, use `cargo add project_model` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_single_file` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/variance.rs:871:37 [INFO] [stdout] | [INFO] [stdout] 871 | let (db, file_id) = TestDB::with_single_file(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_single_file` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/variance.rs:875:26 [INFO] [stdout] | [INFO] [stdout] 875 | let module = db.module_for_file_opt(file_id.file_id(&db)).unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/variance.rs:875:49 [INFO] [stdout] | [INFO] [stdout] 875 | let module = db.module_for_file_opt(file_id.file_id(&db)).unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/variance.rs:940:45 [INFO] [stdout] | [INFO] [stdout] 940 | .format_with(", ", |(name, var), f| f(&format_args!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 941 | "{}: {}", [INFO] [stdout] 942 | name.as_str(), [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 940 | .format_with(", ", |(name, var): (_, _), f| f(&format_args!( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_single_file` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/consteval/tests.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | let (db, file_id) = TestDB::with_single_file(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_single_file` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_many_files` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/consteval/tests.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | let (db, file_ids) = TestDB::with_many_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_many_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/consteval/tests.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | let file_id = *file_ids.last().unwrap(); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_single_file` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/consteval/tests.rs:2508:33 [INFO] [stdout] | [INFO] [stdout] 2508 | let (db, file_id) = TestDB::with_single_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_single_file` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_many_files` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/dyn_compatibility/tests.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | let (db, file_ids) = TestDB::with_many_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_many_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dyn_compatibility/tests.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | for (trait_id, name) in file_ids.into_iter().flat_map(|file_id| { [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dyn_compatibility/tests.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let module_id = db.module_for_file(file_id.file_id(&db)); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dyn_compatibility/tests.rs:35:60 [INFO] [stdout] | [INFO] [stdout] 35 | for (trait_id, name) in file_ids.into_iter().flat_map(|file_id| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | let module_id = db.module_for_file(file_id.file_id(&db)); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 35 | for (trait_id, name) in file_ids.into_iter().flat_map(|file_id: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dyn_compatibility/tests.rs:55:46 [INFO] [stdout] | [INFO] [stdout] 55 | let Some(expected) = expected.remove(name.as_str()) else { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_many_files` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/layout/tests.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | let (db, file_ids) = TestDB::with_many_files(&ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_many_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/layout/tests.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | let adt_or_type_alias_id = file_ids [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/layout/tests.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | let module_id = db.module_for_file(file_id.file_id(&db)); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/layout/tests.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | .find_map(|file_id| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | let module_id = db.module_for_file(file_id.file_id(&db)); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 44 | .find_map(|file_id: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/layout/tests.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | Either::Right(ty_id) => db.ty(ty_id.into()).instantiate_identity(), [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_single_file` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/layout/tests.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | let (db, file_id) = TestDB::with_single_file(&ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_single_file` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/layout/tests.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let module_id = db.module_for_file(file_id.file_id(&db)); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/layout/tests.rs:116:44 [INFO] [stdout] | [INFO] [stdout] 116 | let module_id = db.module_for_file(file_id.file_id(&db)); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_many_files` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/mir/eval/tests.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | let (db, file_ids) = TestDB::with_many_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_many_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/mir/eval/tests.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | let file_id = *file_ids.last().unwrap(); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_many_files` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/mir/eval/tests.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | let (db, file_ids) = TestDB::with_many_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_many_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/mir/eval/tests.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | let file_id = *file_ids.last().unwrap(); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_many_files` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/mir/eval/tests.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | let (db, file_ids) = TestDB::with_many_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_many_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/mir/eval/tests.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let file_id = *file_ids.last().unwrap(); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_many_files` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/mir/lower/tests.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | let (db, file_ids) = TestDB::with_many_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_many_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/mir/lower/tests.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | let file_id = *file_ids.last().unwrap(); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/mir/lower/tests.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | let module_id = db.module_for_file(file_id.file_id(&db)); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/mir/lower/tests.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | _ = db.mir_body(func.into()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_single_file` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/tests/closure_captures.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | let (db, file_id) = TestDB::with_single_file(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_single_file` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/closure_captures.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let module = db.module_for_file(file_id.file_id(&db)); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/closure_captures.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | let module = db.module_for_file(file_id.file_id(&db)); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `({type error}, (_, _))` [INFO] [stdout] --> src/tests/closure_captures.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | |(closure_id, (captures, _))| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | captures.iter().map(move |capture| { [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 40 | |(closure_id, (captures, _)): (_, (_, _))| { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/closure_captures.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | ... match body.self_param.zip(source_map.self_param_syntax()) { [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/closure_captures.rs:48:47 [INFO] [stdout] | [INFO] [stdout] 48 | captures.iter().map(move |capture| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | Some((param, source)) if param == capture.local() => { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 48 | captures.iter().map(move |capture: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/closure_captures.rs:99:45 [INFO] [stdout] | [INFO] [stdout] 99 | ... .sorted_by_key(|it| it.start()) [INFO] [stdout] | ^^ -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 99 | .sorted_by_key(|it: /* Type */| it.start()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/closure_captures.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | (closure_text_range.start(), local_text_range.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/closure_captures.rs:116:42 [INFO] [stdout] | [INFO] [stdout] 116 | (closure_text_range.start(), local_text_range.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_position` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/tests/incremental.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | let (mut db, pos) = TestDB::with_position( [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_position` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `with_position`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_position` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/tests/incremental.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | let (mut db, pos) = TestDB::with_position( [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_position` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `with_position`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_position` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/tests/incremental.rs:216:33 [INFO] [stdout] | [INFO] [stdout] 216 | let (mut db, pos) = TestDB::with_position( [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_position` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `with_position`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_position` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/tests/incremental.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | let (mut db, pos) = TestDB::with_position( [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_position` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `with_position`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_position` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/tests/incremental.rs:361:33 [INFO] [stdout] | [INFO] [stdout] 361 | let (mut db, pos) = TestDB::with_position( [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_position` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `with_position`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_position` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/tests/incremental.rs:431:33 [INFO] [stdout] | [INFO] [stdout] 431 | let (mut db, pos) = TestDB::with_position( [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_position` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `with_position`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_single_file` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/tests/incremental.rs:522:37 [INFO] [stdout] | [INFO] [stdout] 522 | let (mut db, file_id) = TestDB::with_single_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_single_file` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/incremental.rs:542:45 [INFO] [stdout] | [INFO] [stdout] 542 | let module = db.module_for_file(file_id.file_id(&db)); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_many_files` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/tests.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | let (db, files) = TestDB::with_many_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_many_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 87 | for (file_id, annotations) in db.extract_annotations() { [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `HashMap, _, FxBuildHasher>` [INFO] [stdout] --> src/tests.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut types = FxHashMap::default(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | } else if expected.starts_with("type: ") { [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `types` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 85 | let mut types: HashMap<_, V, FxBuildHasher> = FxHashMap::default(); [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:111:49 [INFO] [stdout] | [INFO] [stdout] 111 | let module = db.module_for_file_opt(file_id.file_id(&db)); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let module = match module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | let def_map = module.def_map(&db); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `module` an explicit type [INFO] [stdout] | [INFO] [stdout] 112 | let module: /* Type */ = match module { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | ty.display_source_code(&db, def.module(&db), true).unwrap() [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_single_file` found for struct `TestDB` in the current scope [INFO] [stdout] --> src/tests.rs:284:33 [INFO] [stdout] | [INFO] [stdout] 284 | let (db, file_id) = TestDB::with_single_file(content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_single_file` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:300:32 [INFO] [stdout] | [INFO] [stdout] 300 | let root = db.parse_or_expand(syntax_ptr.file_id); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:379:41 [INFO] [stdout] | [INFO] [stdout] 379 | let module = db.module_for_file(file_id.file_id(&db)); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `TestDB` is not an iterator [INFO] [stdout] --> src/tests.rs:535:33 [INFO] [stdout] | [INFO] [stdout] 535 | let (mut db, pos) = TestDB::with_position( [INFO] [stdout] | ^^^^^^^^^^^^^ `TestDB` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_position` not found for this struct because it doesn't satisfy `TestDB: Itertools` or `TestDB: std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TestDB: std::iter::Iterator` [INFO] [stdout] which is required by `TestDB: Itertools` [INFO] [stdout] `&TestDB: std::iter::Iterator` [INFO] [stdout] which is required by `&TestDB: Itertools` [INFO] [stdout] `&mut TestDB: std::iter::Iterator` [INFO] [stdout] which is required by `&mut TestDB: Itertools` [INFO] [stdout] note: the trait `std::iter::Iterator` must be implemented [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/iter/traits/iterator.rs:40:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `with_position`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:562:22 [INFO] [stdout] | [INFO] [stdout] 562 | let module = db.module_for_file(pos.file_id.file_id(&db)); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ra_ap_hir_ty` (lib test) due to 102 previous errors [INFO] running `Command { std: "docker" "inspect" "f1f5c729732c623a317e9381b7c1f187644126305b44cc6c8aaf9c2dd1f185bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1f5c729732c623a317e9381b7c1f187644126305b44cc6c8aaf9c2dd1f185bb", kill_on_drop: false }` [INFO] [stdout] f1f5c729732c623a317e9381b7c1f187644126305b44cc6c8aaf9c2dd1f185bb