[INFO] fetching crate ra_ap_ide_db 0.0.301... [INFO] building ra_ap_ide_db-0.0.301 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ra_ap_ide_db 0.0.301 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate ra_ap_ide_db 0.0.301 [INFO] finished tweaking crates.io crate ra_ap_ide_db 0.0.301 [INFO] tweaked toml for crates.io crate ra_ap_ide_db 0.0.301 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ra_ap_ide_db 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_ide_db 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ra_ap_stdx v0.0.301 [INFO] [stderr] Downloaded line-index v0.1.2 [INFO] [stderr] Downloaded ra_ap_vfs v0.0.301 [INFO] [stderr] Downloaded boxcar v0.2.14 [INFO] [stderr] Downloaded smol_str v0.3.2 [INFO] [stderr] Downloaded camino v1.1.11 [INFO] [stderr] Downloaded drop_bomb v0.1.5 [INFO] [stderr] Downloaded ra_ap_paths v0.0.301 [INFO] [stderr] Downloaded ra_ap_cfg v0.0.301 [INFO] [stderr] Downloaded ra_ap_profile v0.0.301 [INFO] [stderr] Downloaded rustc-literal-escaper v0.0.4 [INFO] [stderr] Downloaded chalk-derive v0.103.0 [INFO] [stderr] Downloaded chalk-recursive v0.103.0 [INFO] [stderr] Downloaded ra_ap_base_db v0.0.301 [INFO] [stderr] Downloaded chalk-ir v0.103.0 [INFO] [stderr] Downloaded ra-ap-rustc_index v0.123.0 [INFO] [stderr] Downloaded ra-ap-rustc_abi v0.123.0 [INFO] [stderr] Downloaded text-size v1.1.1 [INFO] [stderr] Downloaded rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Downloaded ra_ap_parser v0.0.301 [INFO] [stderr] Downloaded ra_ap_syntax v0.0.301 [INFO] [stderr] Downloaded rowan v0.15.15 [INFO] [stderr] Downloaded salsa v0.23.0 [INFO] [stderr] Downloaded ra_ap_mbe v0.0.301 [INFO] [stderr] Downloaded ra_ap_hir v0.0.301 [INFO] [stderr] Downloaded ra_ap_span v0.0.301 [INFO] [stderr] Downloaded ra-ap-rustc_lexer v0.121.0 [INFO] [stderr] Downloaded fst v0.4.7 [INFO] [stderr] Downloaded ra-ap-rustc_parse_format v0.121.0 [INFO] [stderr] Downloaded ra-ap-rustc_pattern_analysis v0.123.0 [INFO] [stderr] Downloaded chalk-solve v0.103.0 [INFO] [stderr] Downloaded cov-mark v2.0.1 [INFO] [stderr] Downloaded ra_ap_hir_ty v0.0.301 [INFO] [stderr] Downloaded ra_ap_hir_expand v0.0.301 [INFO] [stderr] Downloaded ra_ap_syntax-bridge v0.0.301 [INFO] [stderr] Downloaded ra_ap_tt v0.0.301 [INFO] [stderr] Downloaded perf-event v0.4.7 [INFO] [stderr] Downloaded ra_ap_query-group-macro v0.0.301 [INFO] [stderr] Downloaded ra_ap_edition v0.0.301 [INFO] [stderr] Downloaded countme v3.0.1 [INFO] [stderr] Downloaded ena v0.14.3 [INFO] [stderr] Downloaded rustc-stable-hash v0.1.2 [INFO] [stderr] Downloaded ra_ap_hir_def v0.0.301 [INFO] [stderr] Downloaded ra-ap-rustc_hashes v0.123.0 [INFO] [stderr] Downloaded ra-ap-rustc_index_macros v0.123.0 [INFO] [stderr] Downloaded ra_ap_intern v0.0.301 [INFO] [stderr] Downloaded perf-event-open-sys v1.0.1 [INFO] [stderr] Downloaded la-arena v0.3.1 [INFO] [stderr] Downloaded ra-ap-rustc_lexer v0.123.0 [INFO] [stderr] Downloaded jod-thread v1.0.0 [INFO] [stderr] Downloaded miow v0.6.0 [INFO] [stderr] Downloaded salsa-macros v0.23.0 [INFO] [stderr] Downloaded salsa-macro-rules v0.23.0 [INFO] [stderr] Downloaded seize v0.5.0 [INFO] [stderr] Downloaded papaya v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 118ee99ead55e6e36d3ce6d776dd2e7e3650b7e7b612a1c7a554b76415025c23 [INFO] running `Command { std: "docker" "start" "-a" "118ee99ead55e6e36d3ce6d776dd2e7e3650b7e7b612a1c7a554b76415025c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "118ee99ead55e6e36d3ce6d776dd2e7e3650b7e7b612a1c7a554b76415025c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118ee99ead55e6e36d3ce6d776dd2e7e3650b7e7b612a1c7a554b76415025c23", kill_on_drop: false }` [INFO] [stdout] 118ee99ead55e6e36d3ce6d776dd2e7e3650b7e7b612a1c7a554b76415025c23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c7f40aee069efe4410f433aadf8832cbbc8f2ddd26bfbacd89b6b50f3c2fdd94 [INFO] running `Command { std: "docker" "start" "-a" "c7f40aee069efe4410f433aadf8832cbbc8f2ddd26bfbacd89b6b50f3c2fdd94", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling jod-thread v1.0.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling camino v1.1.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling rustc-literal-escaper v0.0.4 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling seize v0.5.0 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling ra-ap-rustc_lexer v0.123.0 [INFO] [stderr] Compiling ra_ap_edition v0.0.301 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling papaya v0.2.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling intrusive-collections v0.9.7 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling salsa-macro-rules v0.23.0 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling boxcar v0.2.14 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling ra_ap_paths v0.0.301 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling la-arena v0.3.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Compiling rustc-stable-hash v0.1.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling ra_ap_intern v0.0.301 [INFO] [stderr] Compiling cov-mark v2.0.1 [INFO] [stderr] Compiling ra-ap-rustc_hashes v0.123.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling ra-ap-rustc_lexer v0.121.0 [INFO] [stderr] Compiling perf-event-open-sys v1.0.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling line-index v0.1.2 [INFO] [stderr] Compiling perf-event v0.4.7 [INFO] [stderr] Compiling ra-ap-rustc_parse_format v0.121.0 [INFO] [stderr] Compiling ra_ap_profile v0.0.301 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling petgraph v0.6.5 [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 chalk-derive v0.103.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 chalk-ir v0.103.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ra_ap_stdx v0.0.301 [INFO] [stderr] Compiling ra_ap_parser v0.0.301 [INFO] [stderr] Compiling ra-ap-rustc_abi v0.123.0 [INFO] [stderr] Compiling ra-ap-rustc_pattern_analysis v0.123.0 [INFO] [stderr] Compiling ra_ap_vfs v0.0.301 [INFO] [stderr] Compiling ra_ap_tt v0.0.301 [INFO] [stderr] Compiling salsa v0.23.0 [INFO] [stderr] Compiling chalk-solve v0.103.0 [INFO] [stderr] Compiling ra_ap_cfg v0.0.301 [INFO] [stderr] Compiling ra_ap_syntax v0.0.301 [INFO] [stderr] Compiling chalk-recursive v0.103.0 [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 [INFO] [stderr] Compiling ra_ap_hir_ty v0.0.301 [INFO] [stderr] Compiling ra_ap_hir v0.0.301 [INFO] [stderr] Compiling ra_ap_ide_db v0.0.301 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "c7f40aee069efe4410f433aadf8832cbbc8f2ddd26bfbacd89b6b50f3c2fdd94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f40aee069efe4410f433aadf8832cbbc8f2ddd26bfbacd89b6b50f3c2fdd94", kill_on_drop: false }` [INFO] [stdout] c7f40aee069efe4410f433aadf8832cbbc8f2ddd26bfbacd89b6b50f3c2fdd94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 788784f513818de03f7c469f8cce9fc43fad5d63945390101c2c8e9f92280c4a [INFO] running `Command { std: "docker" "start" "-a" "788784f513818de03f7c469f8cce9fc43fad5d63945390101c2c8e9f92280c4a", kill_on_drop: false }` [INFO] [stderr] Compiling ra_ap_ide_db v0.0.301 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/symbol_index.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | use expect_test::expect_file; [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/symbol_index.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | use test_fixture::{WORKSPACE, 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/traits.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | 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/traits.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | use test_fixture::ChangeFixture; [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/imports/insert_use/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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/imports/insert_use/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{CURSOR_MARKER, assert_eq_text}; [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/syntax_helpers/format_string_exprs.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | 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 `expect_test` [INFO] [stdout] --> src/syntax_helpers/tree_diff.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | 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/syntax_helpers/suggest_name.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | 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] warning: unused import: `stdx::trim_indent` [INFO] [stdout] --> src/imports/insert_use/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use stdx::trim_indent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_many_files` found for struct `RootDatabase` in the current scope [INFO] [stdout] --> src/symbol_index.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | let (db, _) = RootDatabase::with_many_files( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `RootDatabase` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct RootDatabase { [INFO] [stdout] | ----------------------- function or associated item `with_many_files` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RootDatabase`, consider using `RootDatabase::new` which returns `RootDatabase` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn new(lru_capacity: Option) -> RootDatabase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/symbol_index.rs:480:46 [INFO] [stdout] | [INFO] [stdout] 480 | let symbols: Vec<_> = Crate::from(db.test_crate()) [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 `RootDatabase` in the current scope [INFO] [stdout] --> src/symbol_index.rs:495:37 [INFO] [stdout] | [INFO] [stdout] 495 | let (db, _) = RootDatabase::with_single_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `RootDatabase` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct RootDatabase { [INFO] [stdout] | ----------------------- function or associated item `with_single_file` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RootDatabase`, consider using `RootDatabase::new` which returns `RootDatabase` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn new(lru_capacity: Option) -> RootDatabase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/symbol_index.rs:507:46 [INFO] [stdout] | [INFO] [stdout] 507 | let symbols: Vec<_> = Crate::from(db.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 `RootDatabase` in the current scope [INFO] [stdout] --> src/symbol_index.rs:522:41 [INFO] [stdout] | [INFO] [stdout] 522 | let (mut db, _) = RootDatabase::with_many_files( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `RootDatabase` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct RootDatabase { [INFO] [stdout] | ----------------------- function or associated item `with_many_files` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RootDatabase`, consider using `RootDatabase::new` which returns `RootDatabase` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn new(lru_capacity: Option) -> RootDatabase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/symbol_index.rs:535:12 [INFO] [stdout] | [INFO] [stdout] 535 | db.set_local_roots_with_durability(Arc::new(local_roots), Durability::HIGH); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/traits.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | let offset = range_or_offset.expect_offset(); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_range_or_offset` found for struct `RootDatabase` in the current scope [INFO] [stdout] --> src/imports/insert_use/tests.rs:1335:60 [INFO] [stdout] | [INFO] [stdout] 1335 | let (db, file_id, range_or_offset) = RootDatabase::with_range_or_offset(ra_fixture_before); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `RootDatabase` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct RootDatabase { [INFO] [stdout] | ----------------------- function or associated item `with_range_or_offset` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RootDatabase`, consider using `RootDatabase::new` which returns `RootDatabase` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn new(lru_capacity: Option) -> RootDatabase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_single_file` found for struct `RootDatabase` in the current scope [INFO] [stdout] --> src/imports/insert_use/tests.rs:1339:43 [INFO] [stdout] | [INFO] [stdout] 1339 | let (db, file_id) = RootDatabase::with_single_file(ra_fixture_before); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `RootDatabase` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct RootDatabase { [INFO] [stdout] | ----------------------- function or associated item `with_single_file` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RootDatabase`, consider using `RootDatabase::new` which returns `RootDatabase` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn new(lru_capacity: Option) -> RootDatabase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/imports/insert_use/tests.rs:1346:20 [INFO] [stdout] | [INFO] [stdout] 1346 | .and_then(|pos| source_file.syntax().token_at_offset(pos.expect_offset()).next()?.parent()) [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] 1346 | .and_then(|pos: /* Type */| source_file.syntax().token_at_offset(pos.expect_offset()).next()?.parent()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_range_or_offset` found for struct `RootDatabase` in the current scope [INFO] [stdout] --> src/syntax_helpers/suggest_name.rs:462:60 [INFO] [stdout] | [INFO] [stdout] 462 | let (db, file_id, range_or_offset) = RootDatabase::with_range_or_offset(ra_fixture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `RootDatabase` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct RootDatabase { [INFO] [stdout] | ----------------------- function or associated item `with_range_or_offset` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RootDatabase`, consider using `RootDatabase::new` which returns `RootDatabase` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn new(lru_capacity: Option) -> RootDatabase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/syntax_helpers/suggest_name.rs:463:66 [INFO] [stdout] | [INFO] [stdout] 463 | let frange = FileRange { file_id, range: range_or_offset.into() }; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ra_ap_ide_db` (lib test) due to 21 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "788784f513818de03f7c469f8cce9fc43fad5d63945390101c2c8e9f92280c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "788784f513818de03f7c469f8cce9fc43fad5d63945390101c2c8e9f92280c4a", kill_on_drop: false }` [INFO] [stdout] 788784f513818de03f7c469f8cce9fc43fad5d63945390101c2c8e9f92280c4a