[INFO] fetching crate ra_ap_hir_def 0.0.241...
[INFO] testing ra_ap_hir_def-0.0.241 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate ra_ap_hir_def 0.0.241 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate ra_ap_hir_def 0.0.241 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ra_ap_hir_def 0.0.241
[INFO] finished tweaking crates.io crate ra_ap_hir_def 0.0.241
[INFO] tweaked toml for crates.io crate ra_ap_hir_def 0.0.241 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 101 packages to latest compatible versions
[INFO] [stderr]       Adding dashmap v5.5.3 (available: v6.1.0)
[INFO] [stderr]       Adding hashbrown v0.14.5 (available: v0.15.0)
[INFO] [stderr]       Adding itertools v0.12.1 (available: v0.13.0)
[INFO] [stderr]       Adding ra-ap-rustc_abi v0.73.0 (available: v0.76.0)
[INFO] [stderr]       Adding ra-ap-rustc_parse_format v0.73.0 (available: v0.76.0)
[INFO] [stderr]       Adding rowan v0.15.15 (available: v0.15.16)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ra-ap-rustc_lexer v0.73.0
[INFO] [stderr]   Downloaded always-assert v0.2.0
[INFO] [stderr]   Downloaded smol_str v0.3.2
[INFO] [stderr]   Downloaded ra_ap_stdx v0.0.241
[INFO] [stderr]   Downloaded ra_ap_tt v0.0.241
[INFO] [stderr]   Downloaded ra_ap_limit v0.0.241
[INFO] [stderr]   Downloaded ra_ap_paths v0.0.241
[INFO] [stderr]   Downloaded ra_ap_intern v0.0.241
[INFO] [stderr]   Downloaded rustc_apfloat v0.2.1+llvm-462a31f5a5ab
[INFO] [stderr]   Downloaded ra-ap-rustc_index_macros v0.73.0
[INFO] [stderr]   Downloaded ra_ap_text_edit v0.0.241
[INFO] [stderr]   Downloaded ra-ap-rustc_parse_format v0.73.0
[INFO] [stderr]   Downloaded ra_ap_base_db v0.0.241
[INFO] [stderr]   Downloaded ra_ap_syntax-bridge v0.0.241
[INFO] [stderr]   Downloaded ra_ap_syntax v0.0.241
[INFO] [stderr]   Downloaded ra-ap-rustc_abi v0.73.0
[INFO] [stderr]   Downloaded ra_ap_hir_expand v0.0.241
[INFO] [stderr]   Downloaded ra_ap_salsa v0.0.241
[INFO] [stderr]   Downloaded ra_ap_span v0.0.241
[INFO] [stderr]   Downloaded ra_ap_parser v0.0.241
[INFO] [stderr]   Downloaded rowan v0.15.15
[INFO] [stderr]   Downloaded ra-ap-rustc_index v0.73.0
[INFO] [stderr]   Downloaded ra_ap_cfg v0.0.241
[INFO] [stderr]   Downloaded ra_ap_mbe v0.0.241
[INFO] [stderr]   Downloaded ra_ap_vfs v0.0.241
[INFO] [stderr]   Downloaded ra_ap_salsa-macros v0.0.241
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] de12374f613a0bb656c5add06b834c9b2b7ba8c61052bfe5c649f1b47e482f2d
[INFO] running `Command { std: "docker" "start" "-a" "de12374f613a0bb656c5add06b834c9b2b7ba8c61052bfe5c649f1b47e482f2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "de12374f613a0bb656c5add06b834c9b2b7ba8c61052bfe5c649f1b47e482f2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de12374f613a0bb656c5add06b834c9b2b7ba8c61052bfe5c649f1b47e482f2d", kill_on_drop: false }`
[INFO] [stdout] de12374f613a0bb656c5add06b834c9b2b7ba8c61052bfe5c649f1b47e482f2d
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b86474e63fd4b7bd0dbc5daaf276c3e0402051b60ab557804a4ff5f8d5debcd4
[INFO] running `Command { std: "docker" "start" "-a" "b86474e63fd4b7bd0dbc5daaf276c3e0402051b60ab557804a4ff5f8d5debcd4", kill_on_drop: false }`
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling rustc-hash v2.0.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling jod-thread v0.1.2
[INFO] [stderr]    Compiling text-size v1.1.1
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling always-assert v0.2.0
[INFO] [stderr]    Compiling fst v0.4.7
[INFO] [stderr]    Compiling drop_bomb v0.1.5
[INFO] [stderr]    Compiling ra_ap_limit v0.0.241
[INFO] [stderr]    Compiling countme v3.0.1
[INFO] [stderr]    Compiling sptr v0.3.2
[INFO] [stderr]    Compiling ra-ap-rustc_lexer v0.73.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling ra_ap_paths v0.0.241
[INFO] [stderr]    Compiling cov-mark v2.0.0
[INFO] [stderr]    Compiling smol_str v0.3.2
[INFO] [stderr]    Compiling nohash-hasher v0.2.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling oorandom v11.1.4
[INFO] [stderr]    Compiling la-arena v0.3.1
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling ra-ap-rustc_index_macros v0.73.0
[INFO] [stderr]    Compiling rustc_apfloat v0.2.1+llvm-462a31f5a5ab
[INFO] [stderr]    Compiling ra_ap_parser v0.0.241
[INFO] [stderr]    Compiling ra_ap_salsa-macros v0.0.241
[INFO] [stderr]    Compiling lz4_flex v0.11.3
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling rowan v0.15.15
[INFO] [stderr]    Compiling ra-ap-rustc_index v0.73.0
[INFO] [stderr]    Compiling ra-ap-rustc_parse_format v0.73.0
[INFO] [stderr]    Compiling ra-ap-rustc_abi v0.73.0
[INFO] [stderr]    Compiling ra_ap_stdx v0.0.241
[INFO] [stderr]    Compiling ra_ap_text_edit v0.0.241
[INFO] [stderr]    Compiling ra_ap_vfs v0.0.241
[INFO] [stderr]    Compiling triomphe v0.1.14
[INFO] [stderr]    Compiling ra_ap_intern v0.0.241
[INFO] [stderr]    Compiling ra_ap_salsa v0.0.241
[INFO] [stderr]    Compiling ra_ap_syntax v0.0.241
[INFO] [stderr]    Compiling ra_ap_tt v0.0.241
[INFO] [stderr]    Compiling ra_ap_cfg v0.0.241
[INFO] [stderr]    Compiling ra_ap_span v0.0.241
[INFO] [stderr]    Compiling ra_ap_syntax-bridge v0.0.241
[INFO] [stderr]    Compiling ra_ap_base_db v0.0.241
[INFO] [stderr]    Compiling ra_ap_mbe v0.0.241
[INFO] [stderr]    Compiling ra_ap_hir_expand v0.0.241
[INFO] [stderr]    Compiling ra_ap_hir_def v0.0.241 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.86s
[INFO] running `Command { std: "docker" "inspect" "b86474e63fd4b7bd0dbc5daaf276c3e0402051b60ab557804a4ff5f8d5debcd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b86474e63fd4b7bd0dbc5daaf276c3e0402051b60ab557804a4ff5f8d5debcd4", kill_on_drop: false }`
[INFO] [stdout] b86474e63fd4b7bd0dbc5daaf276c3e0402051b60ab557804a4ff5f8d5debcd4
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9b8f509d8078632cbce2e0c843bf6d55454367aadfaa9c990efce013fc300d38
[INFO] running `Command { std: "docker" "start" "-a" "9b8f509d8078632cbce2e0c843bf6d55454367aadfaa9c990efce013fc300d38", kill_on_drop: false }`
[INFO] [stderr]    Compiling ra_ap_hir_def v0.0.241 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `syntax_bridge`
[INFO] [stdout]    --> src/attr.rs:662:9
[INFO] [stdout]     |
[INFO] [stdout] 662 |     use syntax_bridge::{syntax_node_to_token_tree, DocCommentDesugarMode};
[INFO] [stdout]     |         ^^^^^^^^^^^^^ use of undeclared crate or module `syntax_bridge`
[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 undeclared crate or module `expect_test`
[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 undeclared crate or module `test_fixture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_fixture`
[INFO] [stdout]    --> src/body/scope.rs:331:9
[INFO] [stdout]     |
[INFO] [stdout] 331 |     use test_fixture::WithFixture;
[INFO] [stdout]     |         ^^^^^^^^^^^^ use of undeclared crate or module `test_fixture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]    --> src/body/scope.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |     use test_utils::{assert_eq_text, extract_offset};
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `test_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]  --> src/body/tests/block.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use expect_test::expect;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]  --> src/body/tests.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use expect_test::{expect, Expect};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_fixture`
[INFO] [stdout]  --> src/body/tests.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use test_fixture::WithFixture;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `test_fixture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_fixture`
[INFO] [stdout]     --> src/nameres/collector.rs:2479:9
[INFO] [stdout]      |
[INFO] [stdout] 2479 |     use test_fixture::WithFixture;
[INFO] [stdout]      |         ^^^^^^^^^^^^ use of undeclared crate or module `test_fixture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_fixture`
[INFO] [stdout]  --> src/nameres/tests/incremental.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use test_fixture::WithFixture;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `test_fixture`
[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 undeclared crate or module `expect_test`
[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 undeclared crate or module `expect_test`
[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 undeclared crate or module `test_fixture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]    --> src/find_path.rs:651:9
[INFO] [stdout]     |
[INFO] [stdout] 651 |     use expect_test::{expect, Expect};
[INFO] [stdout]     |         ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_fixture`
[INFO] [stdout]    --> src/find_path.rs:657:9
[INFO] [stdout]     |
[INFO] [stdout] 657 |     use test_fixture::WithFixture;
[INFO] [stdout]     |         ^^^^^^^^^^^^ use of undeclared crate or module `test_fixture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `expect_test`
[INFO] [stdout]    --> src/import_map.rs:483:9
[INFO] [stdout]     |
[INFO] [stdout] 483 |     use expect_test::{expect, Expect};
[INFO] [stdout]     |         ^^^^^^^^^^^ use of undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_fixture`
[INFO] [stdout]    --> src/import_map.rs:484:9
[INFO] [stdout]     |
[INFO] [stdout] 484 |     use test_fixture::WithFixture;
[INFO] [stdout]     |         ^^^^^^^^^^^^ use of undeclared crate or module `test_fixture`
[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 undeclared crate or module `expect_test`
[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 undeclared crate or module `expect_test`
[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 undeclared crate or module `expect_test`
[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 undeclared crate or module `expect_test`
[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 undeclared crate or module `expect_test`
[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 undeclared crate or module `expect_test`
[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 undeclared crate or module `expect_test`
[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 undeclared crate or module `expect_test`
[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 undeclared crate or module `expect_test`
[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 undeclared crate or module `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_fixture`
[INFO] [stdout]   --> src/macro_expansion_tests/mod.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use test_fixture::WithFixture;
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of undeclared crate or module `test_fixture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax_bridge`
[INFO] [stdout]    --> src/macro_expansion_tests/mod.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |             syntax_bridge::TopEntryPoint::MacroItems,
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared crate or module `syntax_bridge`
[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 `TestDB`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/test_db.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | 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/body/scope.rs:337:24
[INFO] [stdout]     |
[INFO] [stdout] 337 |         let krate = db.test_crate();
[INFO] [stdout]     |                        ^^^^^^^^^^ method not found in `&TestDB`
[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/body/scope.rs:359:38
[INFO] [stdout]     |
[INFO] [stdout] 359 |         let (db, position) = TestDB::with_position(&code);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ function or associated item not found in `TestDB`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/test_db.rs:28:1
[INFO] [stdout]     |
[INFO] [stdout] 28  | 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/body/scope.rs:513:38
[INFO] [stdout]     |
[INFO] [stdout] 513 |         let (db, position) = TestDB::with_position(ra_fixture);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ function or associated item not found in `TestDB`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/test_db.rs:28:1
[INFO] [stdout]     |
[INFO] [stdout] 28  | 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/body/tests.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = TestDB::with_files(ra_fixture);
[INFO] [stdout]    |                      ^^^^^^^^^^ function or associated item not found in `TestDB`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/test_db.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | 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/body/tests.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 `TestDB`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/test_db.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | 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/body/tests.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 `TestDB`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/test_db.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | 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_single_file` found for struct `test_db::TestDB` in the current scope
[INFO] [stdout]     --> src/nameres/collector.rs:2508:37
[INFO] [stdout]      |
[INFO] [stdout] 2508 |         let (db, file_id) = TestDB::with_single_file(not_ra_fixture);
[INFO] [stdout]      |                                     ^^^^^^^^^^^^^^^^ function or associated item not found in `TestDB`
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/test_db.rs:28:1
[INFO] [stdout]      |
[INFO] [stdout] 28   | 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:7:33
[INFO] [stdout]    |
[INFO] [stdout] 7  |     let (mut db, pos) = TestDB::with_position(ra_fixture_initial);
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^ function or associated item not found in `TestDB`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/test_db.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | 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:229:33
[INFO] [stdout]     |
[INFO] [stdout] 229 |     let (mut db, pos) = TestDB::with_position(
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ function or associated item not found in `TestDB`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/test_db.rs:28:1
[INFO] [stdout]     |
[INFO] [stdout] 28  | 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:291:29
[INFO] [stdout]     |
[INFO] [stdout] 291 |     let (db, pos) = TestDB::with_position(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ function or associated item not found in `TestDB`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/test_db.rs:28:1
[INFO] [stdout]     |
[INFO] [stdout] 28  | 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 `TestDB`
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/test_db.rs:28:1
[INFO] [stdout]      |
[INFO] [stdout] 28   | 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 `TestDB`
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/test_db.rs:28:1
[INFO] [stdout]      |
[INFO] [stdout] 28   | 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:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let db = TestDB::with_files(ra_fixture);
[INFO] [stdout]    |                      ^^^^^^^^^^ function or associated item not found in `TestDB`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/test_db.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | 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:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let db = TestDB::with_files(ra_fixture);
[INFO] [stdout]    |                      ^^^^^^^^^^ function or associated item not found in `TestDB`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/test_db.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | 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:675:33
[INFO] [stdout]     |
[INFO] [stdout] 675 |         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:28:1
[INFO] [stdout]     |
[INFO] [stdout] 28  | 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/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/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:513:26
[INFO] [stdout]     |
[INFO] [stdout] 513 |         let db = TestDB::with_files(ra_fixture);
[INFO] [stdout]     |                          ^^^^^^^^^^ function or associated item not found in `TestDB`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/test_db.rs:28:1
[INFO] [stdout]     |
[INFO] [stdout] 28  | 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:591:26
[INFO] [stdout]     |
[INFO] [stdout] 591 |         let db = TestDB::with_files(ra_fixture);
[INFO] [stdout]     |                          ^^^^^^^^^^ function or associated item not found in `TestDB`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/test_db.rs:28:1
[INFO] [stdout]     |
[INFO] [stdout] 28  | 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_extra_proc_macros` found for struct `test_db::TestDB` in the current scope
[INFO] [stdout]   --> src/macro_expansion_tests/mod.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let db = TestDB::with_files_extra_proc_macros(ra_fixture, extra_proc_macros);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `TestDB`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/test_db.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | 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-6f17d22bba15001f/ra_ap_hir_expand-0.0.241/src/db.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | #[ra_salsa::query_group(ExpandDatabaseStorage)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the attribute macro `ra_salsa::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:165:17
[INFO] [stdout]     |
[INFO] [stdout] 165 |     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]     = help: unsized locals are gated as an unstable feature
[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:165:5
[INFO] [stdout]     |
[INFO] [stdout] 165 | /     for (range, text) in text_edits {
[INFO] [stdout] 166 | |         expanded_text.replace_range(range, &text);
[INFO] [stdout] 167 | |     }
[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`, which is required by `(_, _): Sized`
[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/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/option.rs:575:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax_bridge`
[INFO] [stdout]    --> src/macro_expansion_tests/mod.rs:325:26
[INFO] [stdout]     |
[INFO] [stdout] 325 |         let (parse, _) = syntax_bridge::token_tree_to_syntax_node(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ use of undeclared crate or module `syntax_bridge`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, 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 51 previous errors
[INFO] running `Command { std: "docker" "inspect" "9b8f509d8078632cbce2e0c843bf6d55454367aadfaa9c990efce013fc300d38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b8f509d8078632cbce2e0c843bf6d55454367aadfaa9c990efce013fc300d38", kill_on_drop: false }`
[INFO] [stdout] 9b8f509d8078632cbce2e0c843bf6d55454367aadfaa9c990efce013fc300d38
