[INFO] fetching crate ra_ap_ide 0.0.301... [INFO] building ra_ap_ide-0.0.301 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ra_ap_ide 0.0.301 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ra_ap_ide 0.0.301 [INFO] finished tweaking crates.io crate ra_ap_ide 0.0.301 [INFO] tweaked toml for crates.io crate ra_ap_ide 0.0.301 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ra_ap_ide 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 0.0.301 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ra_ap_toolchain v0.0.301 [INFO] [stderr] Downloaded smol_str v0.3.2 [INFO] [stderr] Downloaded ra_ap_stdx v0.0.301 [INFO] [stderr] Downloaded camino v1.1.11 [INFO] [stderr] Downloaded jod-thread v1.0.0 [INFO] [stderr] Downloaded rustc-literal-escaper v0.0.4 [INFO] [stderr] Downloaded rowan v0.15.15 [INFO] [stderr] Downloaded triomphe v0.1.14 [INFO] [stderr] Downloaded ra-ap-rustc_index_macros v0.123.0 [INFO] [stderr] Downloaded ra-ap-rustc_lexer v0.123.0 [INFO] [stderr] Downloaded ra_ap_syntax v0.0.301 [INFO] [stderr] Downloaded pulldown-cmark-to-cmark v10.0.4 [INFO] [stderr] Downloaded ra_ap_vfs v0.0.301 [INFO] [stderr] Downloaded chalk-recursive v0.103.0 [INFO] [stderr] Downloaded miow v0.6.0 [INFO] [stderr] Downloaded rustc-stable-hash v0.1.2 [INFO] [stderr] Downloaded dot v0.1.4 [INFO] [stderr] Downloaded chalk-ir v0.103.0 [INFO] [stderr] Downloaded chalk-derive v0.103.0 [INFO] [stderr] Downloaded ra-ap-rustc_index v0.123.0 [INFO] [stderr] Downloaded line-index v0.1.2 [INFO] [stderr] Downloaded ra-ap-rustc_lexer v0.121.0 [INFO] [stderr] Downloaded ra_ap_ide_ssr v0.0.301 [INFO] [stderr] Downloaded ra_ap_hir v0.0.301 [INFO] [stderr] Downloaded ra_ap_base_db v0.0.301 [INFO] [stderr] Downloaded chalk-solve v0.103.0 [INFO] [stderr] Downloaded ra_ap_ide_assists v0.0.301 [INFO] [stderr] Downloaded ra_ap_edition v0.0.301 [INFO] [stderr] Downloaded ra_ap_ide_completion v0.0.301 [INFO] [stderr] Downloaded cov-mark v2.0.1 [INFO] [stderr] Downloaded ra_ap_parser v0.0.301 [INFO] [stderr] Downloaded ra_ap_hir_expand v0.0.301 [INFO] [stderr] Downloaded ra_ap_mbe v0.0.301 [INFO] [stderr] Downloaded ra_ap_profile v0.0.301 [INFO] [stderr] Downloaded ra_ap_hir_def v0.0.301 [INFO] [stderr] Downloaded la-arena v0.3.1 [INFO] [stderr] Downloaded thin-vec v0.2.14 [INFO] [stderr] Downloaded ra_ap_span v0.0.301 [INFO] [stderr] Downloaded ra-ap-rustc_parse_format v0.121.0 [INFO] [stderr] Downloaded ra_ap_intern v0.0.301 [INFO] [stderr] Downloaded boxcar v0.2.14 [INFO] [stderr] Downloaded seize v0.5.0 [INFO] [stderr] Downloaded ra_ap_ide_diagnostics v0.0.301 [INFO] [stderr] Downloaded salsa-macro-rules v0.23.0 [INFO] [stderr] Downloaded ra_ap_query-group-macro v0.0.301 [INFO] [stderr] Downloaded intrusive-collections v0.9.7 [INFO] [stderr] Downloaded salsa-macros v0.23.0 [INFO] [stderr] Downloaded ra-ap-rustc_pattern_analysis v0.123.0 [INFO] [stderr] Downloaded ra-ap-rustc_abi v0.123.0 [INFO] [stderr] Downloaded ra_ap_syntax-bridge v0.0.301 [INFO] [stderr] Downloaded ra_ap_hir_ty v0.0.301 [INFO] [stderr] Downloaded ra_ap_ide_db v0.0.301 [INFO] [stderr] Downloaded perf-event v0.4.7 [INFO] [stderr] Downloaded ra_ap_paths v0.0.301 [INFO] [stderr] Downloaded salsa v0.23.0 [INFO] [stderr] Downloaded ra-ap-rustc_hashes v0.123.0 [INFO] [stderr] Downloaded ra_ap_cfg v0.0.301 [INFO] [stderr] Downloaded ra_ap_tt v0.0.301 [INFO] [stderr] Downloaded perf-event-open-sys v1.0.1 [INFO] [stderr] Downloaded rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Downloaded fst v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5ddf5e2012e4bc0032d4f1091a9408a233024348e65efd4f0644ea25eec87e83 [INFO] running `Command { std: "docker" "start" "-a" "5ddf5e2012e4bc0032d4f1091a9408a233024348e65efd4f0644ea25eec87e83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ddf5e2012e4bc0032d4f1091a9408a233024348e65efd4f0644ea25eec87e83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ddf5e2012e4bc0032d4f1091a9408a233024348e65efd4f0644ea25eec87e83", kill_on_drop: false }` [INFO] [stdout] 5ddf5e2012e4bc0032d4f1091a9408a233024348e65efd4f0644ea25eec87e83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] dcb2196c86dff15b6ea8319c53a773ecb7a61bdbfdf3c716ba95414d4a59492f [INFO] running `Command { std: "docker" "start" "-a" "dcb2196c86dff15b6ea8319c53a773ecb7a61bdbfdf3c716ba95414d4a59492f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling jod-thread v1.0.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling camino v1.1.11 [INFO] [stderr] Compiling ra-ap-rustc_lexer v0.123.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rustc-literal-escaper v0.0.4 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling ra_ap_edition v0.0.301 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling seize v0.5.0 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ra_ap_intern v0.0.301 [INFO] [stderr] Compiling papaya v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ra_ap_paths v0.0.301 [INFO] [stderr] Compiling intrusive-collections v0.9.7 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling salsa-macro-rules v0.23.0 [INFO] [stderr] Compiling boxcar v0.2.14 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling smol_str v0.3.2 [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 fixedbitset v0.4.2 [INFO] [stderr] Compiling rustc-stable-hash v0.1.2 [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 oorandom v11.1.5 [INFO] [stderr] Compiling ra-ap-rustc_parse_format v0.121.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling perf-event v0.4.7 [INFO] [stderr] Compiling line-index v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling ra_ap_profile v0.0.301 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling ra_ap_toolchain v0.0.301 [INFO] [stderr] Compiling dot v0.1.4 [INFO] [stderr] Compiling pulldown-cmark-to-cmark v10.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling salsa-macros v0.23.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling ra-ap-rustc_index_macros v0.123.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling ra-ap-rustc_index v0.123.0 [INFO] [stderr] Compiling chalk-derive v0.103.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling ra_ap_query-group-macro v0.0.301 [INFO] [stderr] Compiling chalk-ir v0.103.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [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 zerovec v0.11.4 [INFO] [stderr] Compiling ra-ap-rustc_pattern_analysis v0.123.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling ra_ap_tt v0.0.301 [INFO] [stderr] Compiling ra_ap_syntax v0.0.301 [INFO] [stderr] Compiling ra_ap_cfg v0.0.301 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling salsa v0.23.0 [INFO] [stderr] Compiling ra_ap_vfs v0.0.301 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ra_ap_span v0.0.301 [INFO] [stderr] Compiling chalk-solve v0.103.0 [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 chalk-recursive v0.103.0 [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 [INFO] [stderr] Compiling ra_ap_ide_assists v0.0.301 [INFO] [stderr] Compiling ra_ap_ide_ssr v0.0.301 [INFO] [stderr] Compiling ra_ap_ide_diagnostics v0.0.301 [INFO] [stderr] Compiling ra_ap_ide_completion v0.0.301 [INFO] [stderr] Compiling ra_ap_ide v0.0.301 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 29s [INFO] running `Command { std: "docker" "inspect" "dcb2196c86dff15b6ea8319c53a773ecb7a61bdbfdf3c716ba95414d4a59492f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcb2196c86dff15b6ea8319c53a773ecb7a61bdbfdf3c716ba95414d4a59492f", kill_on_drop: false }` [INFO] [stdout] dcb2196c86dff15b6ea8319c53a773ecb7a61bdbfdf3c716ba95414d4a59492f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1796fe681c8b707d8273709022cf53e441a764a21632c2765f4b0ec21736e3dc [INFO] running `Command { std: "docker" "start" "-a" "1796fe681c8b707d8273709022cf53e441a764a21632c2765f4b0ec21736e3dc", kill_on_drop: false }` [INFO] [stderr] Compiling ra_ap_ide v0.0.301 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_fixture` [INFO] [stdout] --> src/fixture.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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_utils` [INFO] [stdout] --> src/fixture.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_utils::{RangeOrOffset, extract_annotations}; [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/navigation_target.rs:957:9 [INFO] [stdout] | [INFO] [stdout] 957 | 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/annotations.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | 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/call_hierarchy.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | 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/doc_links/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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/doc_links/intra_doc_links.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | 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/expand_macro.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | 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/file_structure.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | 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_utils` [INFO] [stdout] --> src/folding_ranges.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | use test_utils::extract_tags; [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/hover/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 `expect_test` [INFO] [stdout] --> src/inlay_hints/bind_pat.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | 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 `test_utils` [INFO] [stdout] --> src/inlay_hints/bind_pat.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | use test_utils::extract_annotations; [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/inlay_hints/binding_mode.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | 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/inlay_hints/bounds.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | 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/inlay_hints/chaining.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | 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/inlay_hints/discriminant.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | 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/inlay_hints/implied_dyn_trait.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | 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/inlay_hints.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | 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 `test_utils` [INFO] [stdout] --> src/inlay_hints.rs:859:9 [INFO] [stdout] | [INFO] [stdout] 859 | use test_utils::extract_annotations; [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 `test_utils` [INFO] [stdout] --> src/join_lines.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | use test_utils::{add_cursor, assert_eq_text, extract_offset, extract_range}; [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/markdown_remove.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | 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 `test_utils` [INFO] [stdout] --> src/matching_brace.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | use test_utils::{add_cursor, 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/move_item.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | 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/references.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | 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/rename.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | 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_utils` [INFO] [stdout] --> src/rename.rs:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | use test_utils::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/runnables.rs:756:9 [INFO] [stdout] | [INFO] [stdout] 756 | 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/signature_help.rs:735:9 [INFO] [stdout] | [INFO] [stdout] 735 | 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/signature_help.rs:738:9 [INFO] [stdout] | [INFO] [stdout] 738 | 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 `expect_test` [INFO] [stdout] --> src/ssr.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | 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 `test_fixture` [INFO] [stdout] --> src/ssr.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | 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/syntax_highlighting/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use expect_test::{ExpectFile, 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_utils` [INFO] [stdout] --> src/syntax_highlighting/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use test_utils::{AssertLinear, bench, bench_fixture, skip_slow_tests}; [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 `test_utils` [INFO] [stdout] --> src/typing/on_enter.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | use test_utils::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 `test_utils` [INFO] [stdout] --> src/typing.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | 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/view_memory_layout.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | 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/view_syntax_tree.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/fixture.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | let offset = range_or_offset.expect_offset(); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/fixture.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 26 | (host.analysis(), FilePosition { file_id: file_id.file_id(&host.db), offset }) [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/fixture.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | let range = range_or_offset.expect_range(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/fixture.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | (host.analysis(), FileRange { file_id: file_id.file_id(&host.db), range }) [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/fixture.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | (host.analysis(), file_id.file_id(&host.db), range_or_offset) [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/fixture.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | let offset = range_or_offset.expect_offset(); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> src/fixture.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | .flat_map(|&file_id| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | let file_text = host.analysis().file_text(file_id.file_id(&host.db)).unwrap(); [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] 67 | .flat_map(|&file_id: &_| { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/fixture.rs:75:55 [INFO] [stdout] | [INFO] [stdout] 75 | (host.analysis(), FilePosition { file_id: file_id.file_id(&host.db), offset }, annotations) [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> src/fixture.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | .flat_map(|&file_id| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 92 | let file_text = host.analysis().file_text(file_id.file_id(db)).unwrap(); [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] 91 | .flat_map(|&file_id: &_| { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/doc_links/tests.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | (Some(expect), Some(url)) => expect.assert_eq(&url), [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/doc_links/tests.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | (Some(expect), Some(url)) => expect.assert_eq(&url), [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/folding_ranges.rs:331:20 [INFO] [stdout] | [INFO] [stdout] 331 | ranges.len(), [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/folding_ranges.rs:336:50 [INFO] [stdout] | [INFO] [stdout] 336 | assert_eq!(fold.range.start(), range.start(), "mismatched start of folding ranges"); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/folding_ranges.rs:357:36 [INFO] [stdout] | [INFO] [stdout] 357 | assert_eq!(kind, &attr.unwrap()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/inlay_hints.rs:926:31 [INFO] [stdout] | [INFO] [stdout] 926 | expected.sort_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] 926 | expected.sort_by_key(|(range, _): (_, _)| range.start()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/join_lines.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | let mut actual = before; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::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[E0308]: mismatched types [INFO] [stdout] --> src/join_lines.rs:325:26 [INFO] [stdout] | [INFO] [stdout] 325 | result.apply(&mut actual); [INFO] [stdout] | ----- ^^^^^^^^^^^ expected `&mut String`, found `&mut str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::string::String` [INFO] [stdout] found mutable reference `&mut str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ra_ap_ide_db-0.0.301/src/text_edit.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn apply(&self, text: &mut String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/join_lines.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | let actual = { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::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/join_lines.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | let mut actual = before; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::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[E0308]: mismatched types [INFO] [stdout] --> src/join_lines.rs:351:26 [INFO] [stdout] | [INFO] [stdout] 351 | result.apply(&mut actual); [INFO] [stdout] | ----- ^^^^^^^^^^^ expected `&mut String`, found `&mut str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::string::String` [INFO] [stdout] found mutable reference `&mut str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ra_ap_ide_db-0.0.301/src/text_edit.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn apply(&self, text: &mut String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/join_lines.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let actual = { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::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[E0282]: type annotations needed [INFO] [stdout] --> src/signature_help.rs:751:38 [INFO] [stdout] | [INFO] [stdout] 751 | let offset = range_or_offset.expect_offset(); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/signature_help.rs:752:56 [INFO] [stdout] | [INFO] [stdout] 752 | let position = FilePosition { file_id: file_id.file_id(&database), 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/ssr.rs:74:64 [INFO] [stdout] | [INFO] [stdout] 74 | let (mut 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] note: if you're trying to build a new `RootDatabase`, consider using `RootDatabase::new` which returns `RootDatabase` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ra_ap_ide_db-0.0.301/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[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_fixture` [INFO] [stdout] --> src/ssr.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | local_roots.insert(test_fixture::WORKSPACE); [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[E0282]: type annotations needed [INFO] [stdout] --> src/ssr.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | 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/ssr.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | FileRange { file_id: file_id.file_id(&db), range: range_or_offset.into() }, [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ssr.rs:81:79 [INFO] [stdout] | [INFO] [stdout] 81 | FileRange { file_id: file_id.file_id(&db), range: range_or_offset.into() }, [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] --> src/view_syntax_tree.rs:180:71 [INFO] [stdout] | [INFO] [stdout] 180 | fn check(#[rust_analyzer::rust_fixture] ra_fixture: &str, expect: 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] Some errors have detailed explanations: E0277, E0282, E0308, 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_ide` (lib test) due to 67 previous errors [INFO] running `Command { std: "docker" "inspect" "1796fe681c8b707d8273709022cf53e441a764a21632c2765f4b0ec21736e3dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1796fe681c8b707d8273709022cf53e441a764a21632c2765f4b0ec21736e3dc", kill_on_drop: false }` [INFO] [stdout] 1796fe681c8b707d8273709022cf53e441a764a21632c2765f4b0ec21736e3dc