[INFO] fetching crate ra_ap_ide_ssr 0.0.301... [INFO] testing ra_ap_ide_ssr-0.0.301 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate ra_ap_ide_ssr 0.0.301 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ra_ap_ide_ssr 0.0.301 [INFO] finished tweaking crates.io crate ra_ap_ide_ssr 0.0.301 [INFO] tweaked toml for crates.io crate ra_ap_ide_ssr 0.0.301 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ra_ap_ide_ssr 0.0.301 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ra_ap_ide_ssr 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-literal-escaper v0.0.4 [INFO] [stderr] Downloaded jod-thread v1.0.0 [INFO] [stderr] Downloaded countme v3.0.1 [INFO] [stderr] Downloaded ra_ap_syntax-bridge v0.0.301 [INFO] [stderr] Downloaded ra-ap-rustc_abi v0.123.0 [INFO] [stderr] Downloaded ra_ap_cfg v0.0.301 [INFO] [stderr] Downloaded ra_ap_base_db v0.0.301 [INFO] [stderr] Downloaded chalk-derive v0.103.0 [INFO] [stderr] Downloaded ra_ap_span v0.0.301 [INFO] [stderr] Downloaded perf-event v0.4.7 [INFO] [stderr] Downloaded line-index v0.1.2 [INFO] [stderr] Downloaded ra-ap-rustc_index v0.123.0 [INFO] [stderr] Downloaded ra_ap_intern v0.0.301 [INFO] [stderr] Downloaded boxcar v0.2.14 [INFO] [stderr] Downloaded ra-ap-rustc_pattern_analysis v0.123.0 [INFO] [stderr] Downloaded ra_ap_hir_ty v0.0.301 [INFO] [stderr] Downloaded ra_ap_hir v0.0.301 [INFO] [stderr] Downloaded salsa v0.23.0 [INFO] [stderr] Downloaded ra_ap_ide_db v0.0.301 [INFO] [stderr] Downloaded papaya v0.2.3 [INFO] [stderr] Downloaded ra_ap_edition v0.0.301 [INFO] [stderr] Downloaded ra-ap-rustc_lexer v0.121.0 [INFO] [stderr] Downloaded perf-event-open-sys v1.0.1 [INFO] [stderr] Downloaded ena v0.14.3 [INFO] [stderr] Downloaded ra-ap-rustc_hashes v0.123.0 [INFO] [stderr] Downloaded cov-mark v2.0.1 [INFO] [stderr] Downloaded chalk-ir v0.103.0 [INFO] [stderr] Downloaded rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Downloaded ra_ap_paths v0.0.301 [INFO] [stderr] Downloaded seize v0.5.0 [INFO] [stderr] Downloaded ra_ap_hir_expand v0.0.301 [INFO] [stderr] Downloaded ra-ap-rustc_lexer v0.123.0 [INFO] [stderr] Downloaded thin-vec v0.2.14 [INFO] [stderr] Downloaded rowan v0.15.15 [INFO] [stderr] Downloaded salsa-macro-rules v0.23.0 [INFO] [stderr] Downloaded ra_ap_parser v0.0.301 [INFO] [stderr] Downloaded chalk-recursive v0.103.0 [INFO] [stderr] Downloaded ra-ap-rustc_index_macros v0.123.0 [INFO] [stderr] Downloaded rustc-stable-hash v0.1.2 [INFO] [stderr] Downloaded ra_ap_vfs v0.0.301 [INFO] [stderr] Downloaded ra-ap-rustc_parse_format v0.121.0 [INFO] [stderr] Downloaded intrusive-collections v0.9.7 [INFO] [stderr] Downloaded ra_ap_stdx v0.0.301 [INFO] [stderr] Downloaded text-size v1.1.1 [INFO] [stderr] Downloaded ra_ap_mbe v0.0.301 [INFO] [stderr] Downloaded camino v1.1.11 [INFO] [stderr] Downloaded ra_ap_profile v0.0.301 [INFO] [stderr] Downloaded ra_ap_query-group-macro v0.0.301 [INFO] [stderr] Downloaded chalk-solve v0.103.0 [INFO] [stderr] Downloaded salsa-macros v0.23.0 [INFO] [stderr] Downloaded ra_ap_syntax v0.0.301 [INFO] [stderr] Downloaded ra_ap_hir_def v0.0.301 [INFO] [stderr] Downloaded la-arena v0.3.1 [INFO] [stderr] Downloaded miow v0.6.0 [INFO] [stderr] Downloaded ra_ap_tt v0.0.301 [INFO] [stderr] Downloaded fst v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e448129e7c165c5eeaa66023ba2aa8429f165a1f8229188d2e81fbb27789791f [INFO] running `Command { std: "docker" "start" "-a" "e448129e7c165c5eeaa66023ba2aa8429f165a1f8229188d2e81fbb27789791f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e448129e7c165c5eeaa66023ba2aa8429f165a1f8229188d2e81fbb27789791f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e448129e7c165c5eeaa66023ba2aa8429f165a1f8229188d2e81fbb27789791f", kill_on_drop: false }` [INFO] [stdout] e448129e7c165c5eeaa66023ba2aa8429f165a1f8229188d2e81fbb27789791f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26d8d8d87c8319afe5e4ba41089326e638c422b48c7b6d9be77445a99316a4b7 [INFO] running `Command { std: "docker" "start" "-a" "26d8d8d87c8319afe5e4ba41089326e638c422b48c7b6d9be77445a99316a4b7", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling memoffset v0.9.1 [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 triomphe v0.1.14 [INFO] [stderr] Compiling camino v1.1.11 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling rustc-literal-escaper v0.0.4 [INFO] [stderr] Compiling ra-ap-rustc_lexer v0.123.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling seize v0.5.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling ra_ap_edition v0.0.301 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling intrusive-collections v0.9.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling papaya v0.2.3 [INFO] [stderr] Compiling salsa-macro-rules v0.23.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling boxcar v0.2.14 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling ra_ap_paths v0.0.301 [INFO] [stderr] Compiling rowan v0.15.15 [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 cov-mark v2.0.1 [INFO] [stderr] Compiling rustc-stable-hash v0.1.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling ra_ap_intern v0.0.301 [INFO] [stderr] Compiling ra-ap-rustc_hashes v0.123.0 [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 typed-arena v2.0.2 [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 ra_ap_query-group-macro v0.0.301 [INFO] [stderr] Compiling chalk-derive v0.103.0 [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 ra_ap_cfg v0.0.301 [INFO] [stderr] Compiling ra_ap_syntax v0.0.301 [INFO] [stderr] Compiling chalk-solve v0.103.0 [INFO] [stderr] Compiling ra_ap_span v0.0.301 [INFO] [stderr] Compiling chalk-recursive 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 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_ssr v0.0.301 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "26d8d8d87c8319afe5e4ba41089326e638c422b48c7b6d9be77445a99316a4b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d8d8d87c8319afe5e4ba41089326e638c422b48c7b6d9be77445a99316a4b7", kill_on_drop: false }` [INFO] [stdout] 26d8d8d87c8319afe5e4ba41089326e638c422b48c7b6d9be77445a99316a4b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6505fb16e658d241227ea3a23b84ae463b68e1d168e04796db751953344aa7a [INFO] running `Command { std: "docker" "start" "-a" "b6505fb16e658d241227ea3a23b84ae463b68e1d168e04796db751953344aa7a", kill_on_drop: false }` [INFO] [stderr] Compiling ra_ap_ide_ssr v0.0.301 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use expect_test::{Expect, expect}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use test_utils::RangeOrOffset; [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 `triomphe` [INFO] [stdout] --> src/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use triomphe::Arc; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `triomphe` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `triomphe`, use `cargo add triomphe` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_fixture` [INFO] [stdout] --> src/tests.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> src/tests.rs:71:63 [INFO] [stdout] | [INFO] [stdout] 71 | let (mut db, file_id, range_or_offset) = if code.contains(test_utils::CURSOR_MARKER) { [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[E0599]: no function or associated item named `with_range_or_offset` found for struct `RootDatabase` in the current scope [INFO] [stdout] --> src/tests.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | ide_db::RootDatabase::with_range_or_offset(code) [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[E0599]: no function or associated item named `with_single_file` found for struct `RootDatabase` in the current scope [INFO] [stdout] --> src/tests.rs:74:51 [INFO] [stdout] | [INFO] [stdout] 74 | let (db, file_id) = ide_db::RootDatabase::with_single_file(code); [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] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ra_ap_ide_ssr` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "b6505fb16e658d241227ea3a23b84ae463b68e1d168e04796db751953344aa7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6505fb16e658d241227ea3a23b84ae463b68e1d168e04796db751953344aa7a", kill_on_drop: false }` [INFO] [stdout] b6505fb16e658d241227ea3a23b84ae463b68e1d168e04796db751953344aa7a