[INFO] fetching crate ra_ap_ide_assists 0.0.64... [INFO] checking ra_ap_ide_assists-0.0.64 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate ra_ap_ide_assists 0.0.64 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate ra_ap_ide_assists 0.0.64 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ra_ap_ide_assists 0.0.64 [INFO] finished tweaking crates.io crate ra_ap_ide_assists 0.0.64 [INFO] tweaked toml for crates.io crate ra_ap_ide_assists 0.0.64 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3af6b75a1f9b49111ef018a1b77ecb251e8f76d4b2aadd79b2c445219868b1d3 [INFO] running `Command { std: "docker" "start" "-a" "3af6b75a1f9b49111ef018a1b77ecb251e8f76d4b2aadd79b2c445219868b1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3af6b75a1f9b49111ef018a1b77ecb251e8f76d4b2aadd79b2c445219868b1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3af6b75a1f9b49111ef018a1b77ecb251e8f76d4b2aadd79b2c445219868b1d3", kill_on_drop: false }` [INFO] [stdout] 3af6b75a1f9b49111ef018a1b77ecb251e8f76d4b2aadd79b2c445219868b1d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a82417531f3c85a1cea83b4d68ec9af629abb7759ff74f591ef871ac5883364a [INFO] running `Command { std: "docker" "start" "-a" "a82417531f3c85a1cea83b4d68ec9af629abb7759ff74f591ef871ac5883364a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking ena v0.14.0 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking countme v2.0.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking ra_ap_profile v0.0.64 [INFO] [stderr] Checking rowan v0.13.0-pre.7 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking ra_ap_test_utils v0.0.64 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling salsa-macros v0.17.0-pre.1 [INFO] [stderr] Compiling chalk-derive v0.69.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Checking chalk-ir v0.69.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking salsa v0.17.0-pre.1 [INFO] [stderr] Checking chalk-solve v0.69.0 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking chalk-recursive v0.69.0 [INFO] [stderr] Checking smol_str v0.1.18 [INFO] [stderr] Checking ra_ap_tt v0.0.64 [INFO] [stderr] Checking ra_ap_syntax v0.0.64 [INFO] [stderr] Checking ra_ap_cfg v0.0.64 [INFO] [stderr] Checking ra_ap_base_db v0.0.64 [INFO] [stderr] Checking ra_ap_mbe v0.0.64 [INFO] [stderr] Checking ra_ap_hir_expand v0.0.64 [INFO] [stderr] Checking ra_ap_hir_def v0.0.64 [INFO] [stderr] Checking ra_ap_hir_ty v0.0.64 [INFO] [stderr] Checking ra_ap_hir v0.0.64 [INFO] [stderr] Checking ra_ap_ide_db v0.0.64 [INFO] [stderr] Checking ra_ap_ide_assists v0.0.64 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/tests/sourcegen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_utils::project_root; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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: cannot determine resolution for the macro `assert_eq_text` [INFO] [stdout] --> src/tests.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq_text!(&after, &actual); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_text` [INFO] [stdout] --> src/tests.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq_text!(after, &buf); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_text` [INFO] [stdout] --> src/tests.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq_text!(&text_without_caret[range], target); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen` [INFO] [stdout] --> src/tests/sourcegen.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let buf = sourcegen::add_preamble("sourcegen_assists_docs", sourcegen::reformat(buf)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sourcegen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen` [INFO] [stdout] --> src/tests/sourcegen.rs:38:69 [INFO] [stdout] | [INFO] [stdout] 38 | let buf = sourcegen::add_preamble("sourcegen_assists_docs", sourcegen::reformat(buf)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sourcegen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen` [INFO] [stdout] --> src/tests/sourcegen.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | sourcegen::ensure_file_contents( [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sourcegen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen` [INFO] [stdout] --> src/tests/sourcegen.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let contents = sourcegen::add_preamble( [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sourcegen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen` [INFO] [stdout] --> src/tests/sourcegen.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | location: sourcegen::Location, [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sourcegen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen` [INFO] [stdout] --> src/tests/sourcegen.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | for path in sourcegen::list_rust_files(&handlers_dir) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sourcegen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen` [INFO] [stdout] --> src/tests/sourcegen.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | let comment_blocks = sourcegen::CommentBlock::extract("Assist", &text); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sourcegen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen` [INFO] [stdout] --> src/tests/sourcegen.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | let location = sourcegen::Location { file: path.to_path_buf(), line: block.line }; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sourcegen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/tests.rs:214:29 [INFO] [stdout] | [INFO] [stdout] 214 | let (before_cursor_pos, before) = extract_offset(before); [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: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [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_assists` due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a82417531f3c85a1cea83b4d68ec9af629abb7759ff74f591ef871ac5883364a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a82417531f3c85a1cea83b4d68ec9af629abb7759ff74f591ef871ac5883364a", kill_on_drop: false }` [INFO] [stdout] a82417531f3c85a1cea83b4d68ec9af629abb7759ff74f591ef871ac5883364a