[INFO] fetching crate ra_ap_ide_db 0.0.82... [INFO] testing ra_ap_ide_db-0.0.82 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate ra_ap_ide_db 0.0.82 into /workspace/builds/worker-77/source [INFO] validating manifest of crates.io crate ra_ap_ide_db 0.0.82 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ra_ap_ide_db 0.0.82 [INFO] finished tweaking crates.io crate ra_ap_ide_db 0.0.82 [INFO] tweaked toml for crates.io crate ra_ap_ide_db 0.0.82 written to /workspace/builds/worker-77/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18c56159cdad0e7276f643654cf06e264c6ca5e5100a82fdfaf74b5ef97f1004 [INFO] running `Command { std: "docker" "start" "-a" "18c56159cdad0e7276f643654cf06e264c6ca5e5100a82fdfaf74b5ef97f1004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18c56159cdad0e7276f643654cf06e264c6ca5e5100a82fdfaf74b5ef97f1004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18c56159cdad0e7276f643654cf06e264c6ca5e5100a82fdfaf74b5ef97f1004", kill_on_drop: false }` [INFO] [stdout] 18c56159cdad0e7276f643654cf06e264c6ca5e5100a82fdfaf74b5ef97f1004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 765f4d9e965cd930be7d7796b0d5b0da6d0808f4b76fde772bc484a9fe4d73f4 [INFO] running `Command { std: "docker" "start" "-a" "765f4d9e965cd930be7d7796b0d5b0da6d0808f4b76fde772bc484a9fe4d73f4", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling text-size v1.1.0 [INFO] [stderr] Compiling ra_ap_la-arena v0.0.82 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling dissimilar v1.0.3 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling cov-mark v2.0.0-pre.1 [INFO] [stderr] Compiling ra_ap_paths v0.0.82 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling ra_ap_limit v0.0.82 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling rustc-ap-rustc_lexer v725.0.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling perf-event-open-sys v1.0.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling ra_ap_parser v0.0.82 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling expect-test v1.2.0-pre.1 [INFO] [stderr] Compiling ra_ap_text_edit v0.0.82 [INFO] [stderr] Compiling perf-event v0.4.7 [INFO] [stderr] Compiling countme v2.0.4 [INFO] [stderr] Compiling always-assert v0.1.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling ra_ap_stdx v0.0.82 [INFO] [stderr] Compiling ra_ap_profile v0.0.82 [INFO] [stderr] Compiling rowan v0.14.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling ra_ap_vfs v0.0.82 [INFO] [stderr] Compiling ra_ap_test_utils v0.0.82 [INFO] [stderr] Compiling smol_str v0.1.21 [INFO] [stderr] Compiling ra_ap_tt v0.0.82 [INFO] [stderr] Compiling ra_ap_syntax v0.0.82 [INFO] [stderr] Compiling ra_ap_cfg v0.0.82 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling salsa-macros v0.17.0-pre.2 [INFO] [stderr] Compiling chalk-derive v0.73.0 [INFO] [stderr] Compiling chalk-ir v0.73.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling salsa v0.17.0-pre.2 [INFO] [stderr] Compiling ra_ap_mbe v0.0.82 [INFO] [stderr] Compiling ra_ap_base_db v0.0.82 [INFO] [stderr] Compiling ra_ap_hir_expand v0.0.82 [INFO] [stderr] Compiling chalk-solve v0.73.0 [INFO] [stderr] Compiling ra_ap_hir_def v0.0.82 [INFO] [stderr] Compiling chalk-recursive v0.73.0 [INFO] [stderr] Compiling ra_ap_hir_ty v0.0.82 [INFO] [stderr] Compiling ra_ap_hir v0.0.82 [INFO] [stderr] Compiling ra_ap_ide_db v0.0.82 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "765f4d9e965cd930be7d7796b0d5b0da6d0808f4b76fde772bc484a9fe4d73f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "765f4d9e965cd930be7d7796b0d5b0da6d0808f4b76fde772bc484a9fe4d73f4", kill_on_drop: false }` [INFO] [stdout] 765f4d9e965cd930be7d7796b0d5b0da6d0808f4b76fde772bc484a9fe4d73f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8664ba212efbccfb8825120b7d4a10a3f6654234787ef211e0a58cef20be25a8 [INFO] running `Command { std: "docker" "start" "-a" "8664ba212efbccfb8825120b7d4a10a3f6654234787ef211e0a58cef20be25a8", kill_on_drop: false }` [INFO] [stderr] Compiling xshell-macros v0.1.17 [INFO] [stderr] Compiling xshell v0.1.17 [INFO] [stderr] Compiling ra_ap_ide_db v0.0.82 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/helpers/insert_use/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use test_utils::{assert_eq_text, CURSOR_MARKER}; [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_lints.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use test_utils::project_root; [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/helpers/insert_use/tests.rs:894:5 [INFO] [stdout] | [INFO] [stdout] 894 | assert_eq_text!(&trim_indent(ra_fixture_after), &result); [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_lints.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let contents = sourcegen::add_preamble("sourcegen_lints", 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_lints.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | let contents = sourcegen::add_preamble("sourcegen_lints", 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_lints.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | 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_lints.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | .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] warning: unused import: `stdx::trim_indent` [INFO] [stdout] --> src/helpers/insert_use/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use stdx::trim_indent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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_lints.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | 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_lints.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | 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_lints.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | 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_lints.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | 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 11 previous errors; 1 warning emitted [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_db` due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8664ba212efbccfb8825120b7d4a10a3f6654234787ef211e0a58cef20be25a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8664ba212efbccfb8825120b7d4a10a3f6654234787ef211e0a58cef20be25a8", kill_on_drop: false }` [INFO] [stdout] 8664ba212efbccfb8825120b7d4a10a3f6654234787ef211e0a58cef20be25a8