[INFO] fetching crate ra_ap_rust-analyzer 0.0.25... [INFO] testing ra_ap_rust-analyzer-0.0.25 against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] extracting crate ra_ap_rust-analyzer 0.0.25 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ra_ap_rust-analyzer 0.0.25 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ra_ap_rust-analyzer 0.0.25 [INFO] finished tweaking crates.io crate ra_ap_rust-analyzer 0.0.25 [INFO] tweaked toml for crates.io crate ra_ap_rust-analyzer 0.0.25 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate ra_ap_rust-analyzer 0.0.25 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ra_ap_toolchain v0.0.25 [INFO] [stderr] Downloaded ra_ap_vfs-notify v0.0.25 [INFO] [stderr] Downloaded ra_ap_ssr v0.0.25 [INFO] [stderr] Downloaded lsp-server v0.5.0 [INFO] [stderr] Downloaded pulldown-cmark-to-cmark v6.0.0 [INFO] [stderr] Downloaded mimalloc v0.1.22 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.18 [INFO] [stderr] Downloaded ra_ap_flycheck v0.0.25 [INFO] [stderr] Downloaded cargo_metadata v0.12.1 [INFO] [stderr] Downloaded ra_ap_project_model v0.0.25 [INFO] [stderr] Downloaded ra_ap_completion v0.0.25 [INFO] [stderr] Downloaded ra_ap_assists v0.0.25 [INFO] [stderr] Downloaded ra_ap_ide v0.0.25 [INFO] [stderr] Downloaded ra_ap_proc_macro_api v0.0.25 [INFO] [stderr] Downloaded ra_ap_proc_macro_srv v0.0.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56c56bbb521f9ab77202c54b7694600e285dc7a71708187fa81cf31b318809d3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "56c56bbb521f9ab77202c54b7694600e285dc7a71708187fa81cf31b318809d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56c56bbb521f9ab77202c54b7694600e285dc7a71708187fa81cf31b318809d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56c56bbb521f9ab77202c54b7694600e285dc7a71708187fa81cf31b318809d3", kill_on_drop: false }` [INFO] [stdout] 56c56bbb521f9ab77202c54b7694600e285dc7a71708187fa81cf31b318809d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2afecb22b11001125644a62198119b58f946a7ea9a213f016a30b6fe26058e98 [INFO] running `Command { std: "docker" "start" "-a" "2afecb22b11001125644a62198119b58f946a7ea9a213f016a30b6fe26058e98", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.50 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling ra_ap_stdx v0.0.25 [INFO] [stderr] Compiling text-size v1.0.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling thin-dst v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling fst v0.4.5 [INFO] [stderr] Compiling unicode-segmentation v1.7.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ra_ap_paths v0.0.25 [INFO] [stderr] Compiling ra_ap_arena v0.0.25 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling jod-thread v0.1.2 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling ra_ap_rust-analyzer v0.0.25 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pico-args v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling rustc-ap-rustc_lexer v688.0.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling sharded-slab v0.1.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling libloading v0.6.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling ra_ap_parser v0.0.25 [INFO] [stderr] Compiling ra_ap_text_edit v0.0.25 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling ra_ap_toolchain v0.0.25 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] warning: Could not find `.git/HEAD` from manifest dir! [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling perf-event-open-sys v1.0.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling inotify-sys v0.1.4 [INFO] [stderr] Compiling filetime v0.2.13 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling inotify v0.8.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling perf-event v0.4.5 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling ra_ap_profile v0.0.25 [INFO] [stderr] Compiling ra_ap_vfs v0.0.25 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling notify v5.0.0-pre.4 [INFO] [stderr] Compiling pulldown-cmark-to-cmark v6.0.0 [INFO] [stderr] Compiling ra_ap_vfs-notify v0.0.25 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling salsa-macros v0.16.0 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling chalk-derive v0.37.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling scroll_derive v0.10.4 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling semver-parser v0.10.0 [INFO] [stderr] Compiling chalk-ir v0.37.0 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling goblin v0.2.3 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling salsa v0.16.0 [INFO] [stderr] Compiling smol_str v0.1.17 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling ra_ap_tt v0.0.25 [INFO] [stderr] Compiling rowan v0.10.0 [INFO] [stderr] Compiling ra_ap_cfg v0.0.25 [INFO] [stderr] Compiling ra_ap_test_utils v0.0.25 [INFO] [stderr] Compiling tracing-subscriber v0.2.15 [INFO] [stderr] Compiling ra_ap_proc_macro_api v0.0.25 [INFO] [stderr] Compiling cargo_metadata v0.12.1 [INFO] [stderr] Compiling lsp-server v0.5.0 [INFO] [stderr] Compiling lsp-types v0.83.1 [INFO] [stderr] Compiling ra_ap_syntax v0.0.25 [INFO] [stderr] Compiling ra_ap_flycheck v0.0.25 [INFO] [stderr] Compiling tracing-tree v0.1.6 [INFO] [stderr] Compiling chalk-solve v0.37.0 [INFO] [stderr] Compiling ra_ap_base_db v0.0.25 [INFO] [stderr] Compiling ra_ap_mbe v0.0.25 [INFO] [stderr] Compiling ra_ap_proc_macro_srv v0.0.25 [INFO] [stderr] Compiling ra_ap_hir_expand v0.0.25 [INFO] [stderr] Compiling ra_ap_project_model v0.0.25 [INFO] [stderr] Compiling ra_ap_hir_def v0.0.25 [INFO] [stderr] Compiling chalk-recursive v0.37.0 [INFO] [stderr] Compiling ra_ap_hir_ty v0.0.25 [INFO] [stderr] Compiling ra_ap_hir v0.0.25 [INFO] [stderr] Compiling ra_ap_ide_db v0.0.25 [INFO] [stderr] Compiling ra_ap_assists v0.0.25 [INFO] [stderr] Compiling ra_ap_ssr v0.0.25 [INFO] [stderr] Compiling ra_ap_completion v0.0.25 [INFO] [stderr] Compiling ra_ap_ide v0.0.25 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 41s [INFO] running `Command { std: "docker" "inspect" "2afecb22b11001125644a62198119b58f946a7ea9a213f016a30b6fe26058e98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2afecb22b11001125644a62198119b58f946a7ea9a213f016a30b6fe26058e98", kill_on_drop: false }` [INFO] [stdout] 2afecb22b11001125644a62198119b58f946a7ea9a213f016a30b6fe26058e98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4c1ee0aa61c3723afd24040e29021e6d4be87119b9e5a1046b8af8d67ddddc44 [INFO] running `Command { std: "docker" "start" "-a" "4c1ee0aa61c3723afd24040e29021e6d4be87119b9e5a1046b8af8d67ddddc44", kill_on_drop: false }` [INFO] [stderr] Compiling expect-test v1.0.1 [INFO] [stderr] warning: Could not find `.git/HEAD` from manifest dir! [INFO] [stderr] Compiling ra_ap_rust-analyzer v0.0.25 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/rust-analyzer/support.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use test_utils::{find_mismatch, Fixture}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/rust-analyzer/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use test_utils::skip_slow_tests; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: Could not find `.git/HEAD` from manifest dir! [INFO] [stderr] [INFO] [stderr] error: could not compile `ra_ap_rust-analyzer` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `mbe` [INFO] [stdout] --> src/cargo_target_spec.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | use mbe::ast_to_token_tree; [INFO] [stdout] | ^^^ use of undeclared crate or module `mbe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test_utils` [INFO] [stdout] --> src/to_proto.rs:824:30 [INFO] [stdout] | [INFO] [stdout] 824 | let (offset, text) = test_utils::extract_offset(fixture); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/to_proto.rs:824:22 [INFO] [stdout] | [INFO] [stdout] 824 | let (offset, text) = test_utils::extract_offset(fixture); [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[E0308]: mismatched types [INFO] [stdout] --> src/to_proto.rs:826:62 [INFO] [stdout] | [INFO] [stdout] 826 | let (analysis, file_id) = Analysis::from_single_file(text); [INFO] [stdout] | ^^^^ expected struct `std::string::String`, found `str` [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 826 | let (analysis, file_id) = Analysis::from_single_file(text.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 826 | let (analysis, file_id) = Analysis::from_single_file(text.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: Could not find `.git/HEAD` from manifest dir! [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4c1ee0aa61c3723afd24040e29021e6d4be87119b9e5a1046b8af8d67ddddc44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c1ee0aa61c3723afd24040e29021e6d4be87119b9e5a1046b8af8d67ddddc44", kill_on_drop: false }` [INFO] [stdout] 4c1ee0aa61c3723afd24040e29021e6d4be87119b9e5a1046b8af8d67ddddc44