[INFO] fetching crate ra_ap_ide_completion 0.0.63... [INFO] testing ra_ap_ide_completion-0.0.63 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate ra_ap_ide_completion 0.0.63 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate ra_ap_ide_completion 0.0.63 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ra_ap_ide_completion 0.0.63 [INFO] finished tweaking crates.io crate ra_ap_ide_completion 0.0.63 [INFO] tweaked toml for crates.io crate ra_ap_ide_completion 0.0.63 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e919d081e6d4da54e102847f2a44a0768d4bc8efb8a16beff8e9b89a4d48edb3 [INFO] running `Command { std: "docker" "start" "-a" "e919d081e6d4da54e102847f2a44a0768d4bc8efb8a16beff8e9b89a4d48edb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e919d081e6d4da54e102847f2a44a0768d4bc8efb8a16beff8e9b89a4d48edb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e919d081e6d4da54e102847f2a44a0768d4bc8efb8a16beff8e9b89a4d48edb3", kill_on_drop: false }` [INFO] [stdout] e919d081e6d4da54e102847f2a44a0768d4bc8efb8a16beff8e9b89a4d48edb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3d285493b7a47155d192368ba0cb677272bea3ab8e44d200fd541a06d6607ea [INFO] running `Command { std: "docker" "start" "-a" "b3d285493b7a47155d192368ba0cb677272bea3ab8e44d200fd541a06d6607ea", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling text-size v1.1.0 [INFO] [stderr] Compiling ra_ap_la-arena v0.0.63 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling cov-mark v2.0.0-pre.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling ra_ap_paths v0.0.63 [INFO] [stderr] Compiling dissimilar v1.0.2 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling rustc-ap-rustc_lexer v721.0.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling ra_ap_parser v0.0.63 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling ra_ap_text_edit v0.0.63 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling always-assert v0.1.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling ra_ap_stdx v0.0.63 [INFO] [stderr] Compiling perf-event-open-sys v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling ra_ap_vfs v0.0.63 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling perf-event v0.4.7 [INFO] [stderr] Compiling countme v2.0.4 [INFO] [stderr] Compiling ra_ap_profile v0.0.63 [INFO] [stderr] Compiling rowan v0.13.0-pre.7 [INFO] [stderr] Compiling ra_ap_test_utils v0.0.63 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling salsa-macros v0.17.0-pre.1 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling chalk-derive v0.68.0 [INFO] [stderr] Compiling chalk-ir v0.68.0 [INFO] [stderr] Compiling salsa v0.17.0-pre.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling chalk-solve v0.68.0 [INFO] [stderr] Compiling chalk-recursive v0.68.0 [INFO] [stderr] Compiling smol_str v0.1.18 [INFO] [stderr] Compiling ra_ap_tt v0.0.63 [INFO] [stderr] Compiling ra_ap_syntax v0.0.63 [INFO] [stderr] Compiling ra_ap_cfg v0.0.63 [INFO] [stderr] Compiling ra_ap_base_db v0.0.63 [INFO] [stderr] Compiling ra_ap_mbe v0.0.63 [INFO] [stderr] Compiling ra_ap_hir_expand v0.0.63 [INFO] [stderr] Compiling ra_ap_hir_def v0.0.63 [INFO] [stderr] Compiling ra_ap_hir_ty v0.0.63 [INFO] [stderr] Compiling ra_ap_hir v0.0.63 [INFO] [stderr] Compiling ra_ap_ide_db v0.0.63 [INFO] [stderr] Compiling ra_ap_ide_completion v0.0.63 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "b3d285493b7a47155d192368ba0cb677272bea3ab8e44d200fd541a06d6607ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3d285493b7a47155d192368ba0cb677272bea3ab8e44d200fd541a06d6607ea", kill_on_drop: false }` [INFO] [stdout] b3d285493b7a47155d192368ba0cb677272bea3ab8e44d200fd541a06d6607ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 127466131f9ee4ec140452066a8213ac5b464df003fe5618c1efa71d7d600639 [INFO] running `Command { std: "docker" "start" "-a" "127466131f9ee4ec140452066a8213ac5b464df003fe5618c1efa71d7d600639", kill_on_drop: false }` [INFO] [stderr] Compiling xshell-macros v0.1.14 [INFO] [stderr] Compiling expect-test v1.1.0 [INFO] [stderr] Compiling xshell v0.1.14 [INFO] [stderr] Compiling ra_ap_ide_completion v0.0.63 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/item.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | use test_utils::assert_eq_text; [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/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:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use test_utils::assert_eq_text; [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/item.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | assert_eq_text!(&expected, &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:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | assert_eq_text!(&ra_fixture_after, &actual) [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:9 [INFO] [stdout] | [INFO] [stdout] 38 | sourcegen::add_preamble("sourcegen_lint_completions", sourcegen::reformat(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:38:63 [INFO] [stdout] | [INFO] [stdout] 38 | sourcegen::add_preamble("sourcegen_lint_completions", sourcegen::reformat(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:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | sourcegen::ensure_file_contents(destination.as_path(), &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:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | .flat_map(|it| sourcegen::list_files(&src_dir.join(it))) [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/sourcegen.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | for (feature_ident, doc) in features.into_iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/tests/sourcegen.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | for (feature_ident, doc) in features.into_iter() { [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: only the last element of a tuple may have a dynamically sized type [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/sourcegen.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | for (feature_ident, doc) in features.into_iter() { [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/tests/sourcegen.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | for (feature_ident, doc) in features.into_iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(str, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(str, 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 13 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_completion` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "127466131f9ee4ec140452066a8213ac5b464df003fe5618c1efa71d7d600639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "127466131f9ee4ec140452066a8213ac5b464df003fe5618c1efa71d7d600639", kill_on_drop: false }` [INFO] [stdout] 127466131f9ee4ec140452066a8213ac5b464df003fe5618c1efa71d7d600639