[INFO] fetching crate ra_ap_hir_def 0.0.300... [INFO] checking ra_ap_hir_def-0.0.300 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate ra_ap_hir_def 0.0.300 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ra_ap_hir_def 0.0.300 [INFO] finished tweaking crates.io crate ra_ap_hir_def 0.0.300 [INFO] tweaked toml for crates.io crate ra_ap_hir_def 0.0.300 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ra_ap_hir_def 0.0.300 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ra_ap_hir_def 0.0.300 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aaad276a022b7899052c65361e7fe7828e4e1283b72e510ad1852cf02a65a114 [INFO] running `Command { std: "docker" "start" "-a" "aaad276a022b7899052c65361e7fe7828e4e1283b72e510ad1852cf02a65a114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaad276a022b7899052c65361e7fe7828e4e1283b72e510ad1852cf02a65a114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaad276a022b7899052c65361e7fe7828e4e1283b72e510ad1852cf02a65a114", kill_on_drop: false }` [INFO] [stdout] aaad276a022b7899052c65361e7fe7828e4e1283b72e510ad1852cf02a65a114 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3c466b5031e17c9f57042c48f6abad7fb8d818aa9ab877d6a96242f61244e74 [INFO] running `Command { std: "docker" "start" "-a" "d3c466b5031e17c9f57042c48f6abad7fb8d818aa9ab877d6a96242f61244e74", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking jod-thread v1.0.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking ra-ap-rustc_lexer v0.123.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling camino v1.1.11 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking triomphe v0.1.14 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking rustc-literal-escaper v0.0.4 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking seize v0.5.0 [INFO] [stderr] Checking ra_ap_edition v0.0.300 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking drop_bomb v0.1.5 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking papaya v0.2.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rowan v0.15.15 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking ra_ap_intern v0.0.300 [INFO] [stderr] Checking ra_ap_paths v0.0.300 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking intrusive-collections v0.9.7 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking smol_str v0.3.2 [INFO] [stderr] Checking boxcar v0.2.13 [INFO] [stderr] Checking salsa-macro-rules v0.23.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking thin-vec v0.2.14 [INFO] [stderr] Checking la-arena v0.3.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking rustc-stable-hash v0.1.2 [INFO] [stderr] Checking cov-mark v2.0.1 [INFO] [stderr] Checking ra-ap-rustc_hashes v0.123.0 [INFO] [stderr] Checking ra-ap-rustc_lexer v0.121.0 [INFO] [stderr] Checking ra-ap-rustc_parse_format v0.121.0 [INFO] [stderr] Checking indexmap v2.10.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.300 [INFO] [stderr] Checking ra-ap-rustc_index v0.123.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ra_ap_stdx v0.0.300 [INFO] [stderr] Checking ra_ap_parser v0.0.300 [INFO] [stderr] Checking ra-ap-rustc_abi v0.123.0 [INFO] [stderr] Checking ra_ap_tt v0.0.300 [INFO] [stderr] Checking ra_ap_vfs v0.0.300 [INFO] [stderr] Checking salsa v0.23.0 [INFO] [stderr] Checking ra_ap_cfg v0.0.300 [INFO] [stderr] Checking ra_ap_syntax v0.0.300 [INFO] [stderr] Checking ra_ap_span v0.0.300 [INFO] [stderr] Checking ra_ap_syntax-bridge v0.0.300 [INFO] [stderr] Checking ra_ap_base_db v0.0.300 [INFO] [stderr] Checking ra_ap_mbe v0.0.300 [INFO] [stderr] Checking ra_ap_hir_expand v0.0.300 [INFO] [stderr] Checking ra_ap_hir_def v0.0.300 (/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/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/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.300/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/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/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/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/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" "d3c466b5031e17c9f57042c48f6abad7fb8d818aa9ab877d6a96242f61244e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3c466b5031e17c9f57042c48f6abad7fb8d818aa9ab877d6a96242f61244e74", kill_on_drop: false }` [INFO] [stdout] d3c466b5031e17c9f57042c48f6abad7fb8d818aa9ab877d6a96242f61244e74