[INFO] fetching crate ra_ap_hir_def 0.0.301... [INFO] building ra_ap_hir_def-0.0.301 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ra_ap_hir_def 0.0.301 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ra_ap_hir_def 0.0.301 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded seize v0.5.0 [INFO] [stderr] Downloaded ra_ap_edition v0.0.301 [INFO] [stderr] Downloaded triomphe v0.1.14 [INFO] [stderr] Downloaded ra-ap-rustc_lexer v0.123.0 [INFO] [stderr] Downloaded ra-ap-rustc_lexer v0.121.0 [INFO] [stderr] Downloaded salsa-macro-rules v0.23.0 [INFO] [stderr] Downloaded rustc-literal-escaper v0.0.4 [INFO] [stderr] Downloaded ra_ap_span v0.0.301 [INFO] [stderr] Downloaded ra_ap_tt v0.0.301 [INFO] [stderr] Downloaded ra_ap_base_db v0.0.301 [INFO] [stderr] Downloaded ra-ap-rustc_index v0.123.0 [INFO] [stderr] Downloaded cov-mark v2.0.1 [INFO] [stderr] Downloaded rustc-stable-hash v0.1.2 [INFO] [stderr] Downloaded ra_ap_mbe v0.0.301 [INFO] [stderr] Downloaded ra-ap-rustc_hashes v0.123.0 [INFO] [stderr] Downloaded ra_ap_intern v0.0.301 [INFO] [stderr] Downloaded jod-thread v1.0.0 [INFO] [stderr] Downloaded ra_ap_hir_expand v0.0.301 [INFO] [stderr] Downloaded ra_ap_syntax v0.0.301 [INFO] [stderr] Downloaded ra_ap_parser v0.0.301 [INFO] [stderr] Downloaded ra_ap_cfg v0.0.301 [INFO] [stderr] Downloaded ra_ap_paths v0.0.301 [INFO] [stderr] Downloaded ra_ap_syntax-bridge v0.0.301 [INFO] [stderr] Downloaded salsa v0.23.0 [INFO] [stderr] Downloaded ra-ap-rustc_abi v0.123.0 [INFO] [stderr] Downloaded ra_ap_query-group-macro v0.0.301 [INFO] [stderr] Downloaded la-arena v0.3.1 [INFO] [stderr] Downloaded ra_ap_vfs v0.0.301 [INFO] [stderr] Downloaded rowan v0.15.15 [INFO] [stderr] Downloaded rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Downloaded ra-ap-rustc_index_macros v0.123.0 [INFO] [stderr] Downloaded ra-ap-rustc_parse_format v0.121.0 [INFO] [stderr] Downloaded camino v1.1.11 [INFO] [stderr] Downloaded ra_ap_stdx v0.0.301 [INFO] [stderr] Downloaded smol_str v0.3.2 [INFO] [stderr] Downloaded papaya v0.2.3 [INFO] [stderr] Downloaded salsa-macros v0.23.0 [INFO] [stderr] Downloaded miow v0.6.0 [INFO] [stderr] Downloaded boxcar v0.2.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f461d559f18297193d00ea7d9ccadb9322c4928c456cb4799546882298654fdd [INFO] running `Command { std: "docker" "start" "-a" "f461d559f18297193d00ea7d9ccadb9322c4928c456cb4799546882298654fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f461d559f18297193d00ea7d9ccadb9322c4928c456cb4799546882298654fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f461d559f18297193d00ea7d9ccadb9322c4928c456cb4799546882298654fdd", kill_on_drop: false }` [INFO] [stdout] f461d559f18297193d00ea7d9ccadb9322c4928c456cb4799546882298654fdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8a6010c978b770f4ce419db12d4c1d155499ccf3e3d3fd592510dc2b33e0d61 [INFO] running `Command { std: "docker" "start" "-a" "a8a6010c978b770f4ce419db12d4c1d155499ccf3e3d3fd592510dc2b33e0d61", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling jod-thread v1.0.0 [INFO] [stderr] Compiling ra-ap-rustc_lexer v0.123.0 [INFO] [stderr] Compiling camino v1.1.11 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling rustc-literal-escaper v0.0.4 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ra_ap_edition v0.0.301 [INFO] [stderr] Compiling ra_ap_paths v0.0.301 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Compiling intrusive-collections v0.9.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling seize v0.5.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ra_ap_intern v0.0.301 [INFO] [stderr] Compiling papaya v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling boxcar v0.2.14 [INFO] [stderr] Compiling salsa-macro-rules v0.23.0 [INFO] [stderr] Compiling la-arena v0.3.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling rustc-stable-hash v0.1.2 [INFO] [stderr] Compiling rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Compiling cov-mark v2.0.1 [INFO] [stderr] Compiling ra-ap-rustc_hashes v0.123.0 [INFO] [stderr] Compiling ra-ap-rustc_lexer v0.121.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling ra-ap-rustc_parse_format v0.121.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-rustc_index_macros v0.123.0 [INFO] [stderr] Compiling ra_ap_query-group-macro v0.0.301 [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 salsa v0.23.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 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 1m 39s [INFO] running `Command { std: "docker" "inspect" "a8a6010c978b770f4ce419db12d4c1d155499ccf3e3d3fd592510dc2b33e0d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8a6010c978b770f4ce419db12d4c1d155499ccf3e3d3fd592510dc2b33e0d61", kill_on_drop: false }` [INFO] [stdout] a8a6010c978b770f4ce419db12d4c1d155499ccf3e3d3fd592510dc2b33e0d61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc9eab17225a714cba54bdba62f21830f3e84cd3d7dce3cc45c4b86c7ced3da1 [INFO] running `Command { std: "docker" "start" "-a" "dc9eab17225a714cba54bdba62f21830f3e84cd3d7dce3cc45c4b86c7ced3da1", 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[E0282]: type annotations needed [INFO] [stdout] --> src/item_tree/tests.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | let item_tree = db.file_item_tree(file_id.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/item_tree/tests.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | let item_tree = db.file_item_tree(file_id.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 `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[E0282]: type annotations needed [INFO] [stdout] --> src/expr_store/lower/path/tests.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | let krate = db.fetch_test_crate(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/expr_store/lower/path/tests.rs:24:85 [INFO] [stdout] | [INFO] [stdout] 24 | ExprCollector::new(&db, crate_def_map(&db, krate).root_module_id(), file_id.into()); [INFO] [stdout] | ^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/expr_store/scope.rs:349:37 [INFO] [stdout] | [INFO] [stdout] 349 | let off: usize = offset.into(); [INFO] [stdout] | ^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/expr_store/scope.rs:362:30 [INFO] [stdout] | [INFO] [stdout] 362 | let file_syntax = db.parse(editioned_file_id).syntax_node(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/expr_store/scope.rs:370:14 [INFO] [stdout] | [INFO] [stdout] 370 | .node_expr(InFile { file_id: editioned_file_id.into(), value: &marker.into() }) [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/expr_store/scope.rs:379:19 [INFO] [stdout] | [INFO] [stdout] 379 | .map(|it| it.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 [INFO] [stdout] | [INFO] [stdout] 379 | .map(|it: /* Type */| it.name().as_str()) [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: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[E0282]: type annotations needed [INFO] [stdout] --> src/expr_store/scope.rs:518:23 [INFO] [stdout] | [INFO] [stdout] 518 | let file = db.parse(editioned_file_id).ok().unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/expr_store/scope.rs:531:18 [INFO] [stdout] | [INFO] [stdout] 531 | .node_expr(InFile { file_id: editioned_file_id.into(), value: &expr_ast }) [INFO] [stdout] | ^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/expr_store/tests/body.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let module = db.module_at_position(position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/expr_store/tests/body.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let module = db.module_at_position(position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/nameres/collector.rs:2587:24 [INFO] [stdout] | [INFO] [stdout] 2587 | let krate = db.test_crate(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/nameres/tests/incremental.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let krate = db.fetch_test_crate(); [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 `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[E0282]: type annotations needed [INFO] [stdout] --> src/nameres/tests/incremental.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | for &krate in db.all_crates().iter() { [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/nameres/tests/incremental.rs:507:20 [INFO] [stdout] | [INFO] [stdout] 507 | let krate = db.test_crate(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [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/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/iter/traits/iterator.rs:40: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[E0282]: type annotations needed [INFO] [stdout] --> src/find_path.rs:682:25 [INFO] [stdout] | [INFO] [stdout] 682 | let module = db.module_at_position(pos); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/find_path.rs:694:14 [INFO] [stdout] | [INFO] [stdout] 694 | .resolve_path( [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed for `&_` [INFO] [stdout] --> src/import_map.rs:522:20 [INFO] [stdout] | [INFO] [stdout] 522 | .find(|&krate| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 523 | krate [INFO] [stdout] 524 | .extra_data(&db) [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] 522 | .find(|&krate: &_| { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/import_map.rs:527:35 [INFO] [stdout] | [INFO] [stdout] 527 | .is_some_and(|it| it.crate_name().as_str() == crate_name) [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] 527 | .is_some_and(|it: /* Type */| it.crate_name().as_str() == crate_name) [INFO] [stdout] | ++++++++++++ [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[E0282]: type annotations needed [INFO] [stdout] --> src/import_map.rs:603:26 [INFO] [stdout] | [INFO] [stdout] 603 | .filter_map(|krate| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 604 | let cdata = &krate.extra_data(&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] 603 | .filter_map(|krate: /* Type */| { [INFO] [stdout] | ++++++++++++ [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[E0282]: type annotations needed [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | for comment in call.syntax().children_with_tokens().filter(|it| it.kind() == COMMENT) { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:159:69 [INFO] [stdout] | [INFO] [stdout] 159 | for comment in call.syntax().children_with_tokens().filter(|it| it.kind() == COMMENT) { [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] 159 | for comment in call.syntax().children_with_tokens().filter(|it: /* Type */| it.kind() == COMMENT) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | tree |= comment.to_string().contains("+tree"); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:168:58 [INFO] [stdout] | [INFO] [stdout] 168 | format_to!(expn_text, "/* error: {} */", err.render_to_string(&db).message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | assert!(!parse.errors().is_empty(), "no parse errors in expansion"); [INFO] [stdout] | ^^^^^^ cannot infer type [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/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/option.rs:598: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/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/option.rs:594: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] error[E0282]: type annotations needed [INFO] [stdout] --> src/macro_expansion_tests/mod.rs:377:18 [INFO] [stdout] | [INFO] [stdout] 377 | if parse.errors().is_empty() { [INFO] [stdout] | ^^^^^^ cannot infer type [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 91 previous errors [INFO] running `Command { std: "docker" "inspect" "dc9eab17225a714cba54bdba62f21830f3e84cd3d7dce3cc45c4b86c7ced3da1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc9eab17225a714cba54bdba62f21830f3e84cd3d7dce3cc45c4b86c7ced3da1", kill_on_drop: false }` [INFO] [stdout] dc9eab17225a714cba54bdba62f21830f3e84cd3d7dce3cc45c4b86c7ced3da1