[INFO] fetching crate ra_ap_hir_def 0.0.301... [INFO] testing ra_ap_hir_def-0.0.301 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ra_ap_hir_def 0.0.301 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate ra_ap_hir_def 0.0.301 [INFO] finished tweaking crates.io crate ra_ap_hir_def 0.0.301 [INFO] tweaked toml for crates.io crate ra_ap_hir_def 0.0.301 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ra_ap_hir_def 0.0.301 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ra_ap_hir_def 0.0.301 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ec6aa68dd765d15f992de1316e64cb687266e777dab7b6c5e49fe0744752241 [INFO] running `Command { std: "docker" "start" "-a" "0ec6aa68dd765d15f992de1316e64cb687266e777dab7b6c5e49fe0744752241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ec6aa68dd765d15f992de1316e64cb687266e777dab7b6c5e49fe0744752241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ec6aa68dd765d15f992de1316e64cb687266e777dab7b6c5e49fe0744752241", kill_on_drop: false }` [INFO] [stdout] 0ec6aa68dd765d15f992de1316e64cb687266e777dab7b6c5e49fe0744752241 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb53164f412eaa29f102f201eec48c62e345365d0a010d60ddfcbfb85fc1bc85 [INFO] running `Command { std: "docker" "start" "-a" "fb53164f412eaa29f102f201eec48c62e345365d0a010d60ddfcbfb85fc1bc85", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling jod-thread v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling camino v1.1.11 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling ra-ap-rustc_lexer v0.123.0 [INFO] [stderr] Compiling rustc-literal-escaper v0.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling seize v0.5.0 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling ra_ap_edition v0.0.301 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling intrusive-collections v0.9.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Compiling papaya v0.2.3 [INFO] [stderr] Compiling boxcar v0.2.14 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling salsa-macro-rules v0.23.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling la-arena v0.3.1 [INFO] [stderr] Compiling ra_ap_paths v0.0.301 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Compiling cov-mark v2.0.1 [INFO] [stderr] Compiling rustc-stable-hash v0.1.2 [INFO] [stderr] Compiling ra-ap-rustc_lexer v0.121.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling ra-ap-rustc_parse_format v0.121.0 [INFO] [stderr] Compiling ra_ap_intern v0.0.301 [INFO] [stderr] Compiling ra-ap-rustc_hashes v0.123.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling salsa-macros v0.23.0 [INFO] [stderr] Compiling ra_ap_query-group-macro v0.0.301 [INFO] [stderr] Compiling ra-ap-rustc_index_macros v0.123.0 [INFO] [stderr] Compiling ra-ap-rustc_index v0.123.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ra_ap_stdx v0.0.301 [INFO] [stderr] Compiling ra_ap_parser v0.0.301 [INFO] [stderr] Compiling ra-ap-rustc_abi v0.123.0 [INFO] [stderr] Compiling ra_ap_vfs v0.0.301 [INFO] [stderr] Compiling ra_ap_tt v0.0.301 [INFO] [stderr] Compiling ra_ap_cfg v0.0.301 [INFO] [stderr] Compiling salsa v0.23.0 [INFO] [stderr] Compiling ra_ap_syntax v0.0.301 [INFO] [stderr] Compiling ra_ap_span v0.0.301 [INFO] [stderr] Compiling ra_ap_syntax-bridge v0.0.301 [INFO] [stderr] Compiling ra_ap_base_db v0.0.301 [INFO] [stderr] Compiling ra_ap_mbe v0.0.301 [INFO] [stderr] Compiling ra_ap_hir_expand v0.0.301 [INFO] [stderr] Compiling ra_ap_hir_def v0.0.301 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.72s [INFO] running `Command { std: "docker" "inspect" "fb53164f412eaa29f102f201eec48c62e345365d0a010d60ddfcbfb85fc1bc85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb53164f412eaa29f102f201eec48c62e345365d0a010d60ddfcbfb85fc1bc85", kill_on_drop: false }` [INFO] [stdout] fb53164f412eaa29f102f201eec48c62e345365d0a010d60ddfcbfb85fc1bc85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33f919a40c8f0a350383c17defba9e64c2f257018b0f629466658f2944942c6e [INFO] running `Command { std: "docker" "start" "-a" "33f919a40c8f0a350383c17defba9e64c2f257018b0f629466658f2944942c6e", kill_on_drop: false }` [INFO] [stderr] Compiling ra_ap_hir_def v0.0.301 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `syntax_bridge` [INFO] [stdout] --> src/attr.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | use syntax_bridge::{DocCommentDesugarMode, syntax_node_to_token_tree}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `syntax_bridge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syntax_bridge`, use `cargo add syntax_bridge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/item_tree/tests.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/item_tree/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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/expr_store/lower/path/tests.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/expr_store/lower/path/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/expr_store/scope.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | 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/expr_store/scope.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | use test_utils::{assert_eq_text, extract_offset}; [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/expr_store/tests/body/block.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/expr_store/tests/body.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/expr_store/tests/body.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[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/expr_store/tests/signatures.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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/expr_store/tests/signatures.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/nameres/collector.rs:2555:9 [INFO] [stdout] | [INFO] [stdout] 2555 | 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/nameres/tests/incremental.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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/nameres/tests/incremental.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 `expect_test` [INFO] [stdout] --> src/nameres/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 `expect_test` [INFO] [stdout] --> src/nameres/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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/nameres/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 `expect_test` [INFO] [stdout] --> src/find_path.rs:656:9 [INFO] [stdout] | [INFO] [stdout] 656 | 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/find_path.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | 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/import_map.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | 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/import_map.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | 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/macro_expansion_tests/builtin_derive_macro.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/macro_expansion_tests/builtin_fn_macro.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/macro_expansion_tests/mbe/matching.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/macro_expansion_tests/mbe/meta_syntax.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/macro_expansion_tests/mbe/metavar_expr.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/macro_expansion_tests/mbe/regression.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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/macro_expansion_tests/mbe/tt_conversion.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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/macro_expansion_tests/mbe.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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/macro_expansion_tests/proc_macros.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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/macro_expansion_tests/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | 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 `syntax_bridge` [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use syntax_bridge::token_tree_to_syntax_node; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `syntax_bridge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syntax_bridge`, use `cargo add syntax_bridge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_fixture` [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 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 `syntax_bridge` [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | syntax_bridge::TopEntryPoint::MacroItems, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `syntax_bridge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syntax_bridge`, use `cargo add syntax_bridge` 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 `syntax_bridge` [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | syntax_bridge::TopEntryPoint::MacroStmts, [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `syntax_bridge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syntax_bridge`, use `cargo add syntax_bridge` 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 `test_db::TestDB` in the current scope [INFO] [stdout] --> src/item_tree/tests.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | let (db, file_id) = TestDB::with_single_file(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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_single_file` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/expr_store/lower/path/tests.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let (db, file_id) = TestDB::with_single_file(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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 method named `test_crate` found for reference `&test_db::TestDB` in the current scope [INFO] [stdout] --> src/expr_store/scope.rs:334:24 [INFO] [stdout] | [INFO] [stdout] 334 | let krate = db.test_crate(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `fetch_test_crate` with a similar name [INFO] [stdout] | [INFO] [stdout] 334 | let krate = db.fetch_test_crate(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_position` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/expr_store/scope.rs:356:38 [INFO] [stdout] | [INFO] [stdout] 356 | let (db, position) = TestDB::with_position(&code); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_position` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/expr_store/scope.rs:512:38 [INFO] [stdout] | [INFO] [stdout] 512 | let (db, position) = TestDB::with_position(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_files` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/expr_store/tests/body.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let db = TestDB::with_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_position` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/expr_store/tests/body.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | let (db, position) = TestDB::with_position(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_position` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/expr_store/tests/body.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | let (db, position) = TestDB::with_position(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_files` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/expr_store/tests/signatures.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let db = TestDB::with_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_single_file` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/nameres/collector.rs:2586:37 [INFO] [stdout] | [INFO] [stdout] 2586 | let (db, file_id) = TestDB::with_single_file(not_ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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_position` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/nameres/tests/incremental.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut db, pos) = TestDB::with_position(ra_fixture_initial); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_many_files` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/nameres/tests/incremental.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | let (mut db, files) = TestDB::with_many_files( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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[E0599]: no function or associated item named `with_position` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/nameres/tests/incremental.rs:487:33 [INFO] [stdout] | [INFO] [stdout] 487 | let (mut db, pos) = TestDB::with_position( [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_position` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/nameres/tests/incremental.rs:581:33 [INFO] [stdout] | [INFO] [stdout] 581 | let (mut db, pos) = TestDB::with_position( [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_files` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/nameres/tests/macros.rs:1087:22 [INFO] [stdout] | [INFO] [stdout] 1087 | let db = TestDB::with_files( [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_files` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/nameres/tests/macros.rs:1425:22 [INFO] [stdout] | [INFO] [stdout] 1425 | let db = TestDB::with_files( [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_files` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/nameres/tests.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let db = TestDB::with_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_files` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/nameres/tests.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let db = TestDB::with_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `test_db::TestDB` is not an iterator [INFO] [stdout] --> src/find_path.rs:681:33 [INFO] [stdout] | [INFO] [stdout] 681 | let (db, pos) = TestDB::with_position(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^ `test_db::TestDB` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_position` not found for this struct because it doesn't satisfy `test_db::TestDB: Iterator` or `test_db::TestDB: itertools::Itertools` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test_db::TestDB: Iterator` [INFO] [stdout] which is required by `test_db::TestDB: itertools::Itertools` [INFO] [stdout] `&test_db::TestDB: Iterator` [INFO] [stdout] which is required by `&test_db::TestDB: itertools::Itertools` [INFO] [stdout] `&mut test_db::TestDB: Iterator` [INFO] [stdout] which is required by `&mut test_db::TestDB: itertools::Itertools` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/iter/traits/iterator.rs:39:1 [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::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_files` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/import_map.rs:517:26 [INFO] [stdout] | [INFO] [stdout] 517 | let db = TestDB::with_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_files` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/import_map.rs:597:26 [INFO] [stdout] | [INFO] [stdout] 597 | let db = TestDB::with_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_files` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | let db = TestDB::with_files(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_files` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&(_, _)` [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | .sorted_unstable_by_key(|(range, _)| range.start()) [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] 77 | .sorted_unstable_by_key(|(range, _): &(_, _)| range.start()) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_files_extra_proc_macros` found for struct `test_db::TestDB` in the current scope [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | let db = TestDB::with_files_extra_proc_macros(ra_fixture, extra_proc_macros); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `test_db::TestDB` [INFO] [stdout] | [INFO] [stdout] ::: src/test_db.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct TestDB { [INFO] [stdout] | ------------------------ function or associated item `with_files_extra_proc_macros` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_proc_macros` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ra_ap_hir_expand-0.0.301/src/db.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[query_group::query_group] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `query_group::query_group` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | for (range, text) in text_edits { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / for (range, text) in text_edits { [INFO] [stdout] 209 | | expanded_text.replace_range(range, &text); [INFO] [stdout] 210 | | } [INFO] [stdout] | |_____^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(_, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(_, str)` [INFO] [stdout] note: required by a bound in `std::prelude::v1::None` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/option.rs:597:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | for (range, text) in text_edits { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(_, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(_, str)` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/option.rs:593:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syntax_bridge` [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:371:26 [INFO] [stdout] | [INFO] [stdout] 371 | let (parse, _) = syntax_bridge::token_tree_to_syntax_node( [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `syntax_bridge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syntax_bridge`, use `cargo add syntax_bridge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ra_ap_hir_def` (lib test) due to 64 previous errors [INFO] running `Command { std: "docker" "inspect" "33f919a40c8f0a350383c17defba9e64c2f257018b0f629466658f2944942c6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f919a40c8f0a350383c17defba9e64c2f257018b0f629466658f2944942c6e", kill_on_drop: false }` [INFO] [stdout] 33f919a40c8f0a350383c17defba9e64c2f257018b0f629466658f2944942c6e