[INFO] fetching crate ra_ap_ide_assists 0.0.97... [INFO] testing ra_ap_ide_assists-0.0.97 against 1.59.0 for beta-1.60-1 [INFO] extracting crate ra_ap_ide_assists 0.0.97 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate ra_ap_ide_assists 0.0.97 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ra_ap_ide_assists 0.0.97 [INFO] finished tweaking crates.io crate ra_ap_ide_assists 0.0.97 [INFO] tweaked toml for crates.io crate ra_ap_ide_assists 0.0.97 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7e88b0e4c7284c7cd4817834717a8fa1fc85beea095bc799bef6f515a09d05a [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" "b7e88b0e4c7284c7cd4817834717a8fa1fc85beea095bc799bef6f515a09d05a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7e88b0e4c7284c7cd4817834717a8fa1fc85beea095bc799bef6f515a09d05a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7e88b0e4c7284c7cd4817834717a8fa1fc85beea095bc799bef6f515a09d05a", kill_on_drop: false }` [INFO] [stdout] b7e88b0e4c7284c7cd4817834717a8fa1fc85beea095bc799bef6f515a09d05a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] e02eb356f2f7e2a2820d67568a14db3cf6d3a34e4ce42087f3ea755c9ef8e117 [INFO] running `Command { std: "docker" "start" "-a" "e02eb356f2f7e2a2820d67568a14db3cf6d3a34e4ce42087f3ea755c9ef8e117", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling text-size v1.1.0 [INFO] [stderr] Compiling ra_ap_la-arena v0.0.97 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling ra_ap_limit v0.0.97 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling hashbrown v0.12.0 [INFO] [stderr] Compiling cov-mark v2.0.0-pre.1 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling dissimilar v1.0.3 [INFO] [stderr] Compiling ra_ap_paths v0.0.97 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling rustc-ap-rustc_lexer v725.0.0 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling ra_ap_text_edit v0.0.97 [INFO] [stderr] Compiling perf-event-open-sys v1.0.1 [INFO] [stderr] Compiling always-assert v0.1.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling smol_str v0.1.21 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ra_ap_stdx v0.0.97 [INFO] [stderr] Compiling ra_ap_parser v0.0.97 [INFO] [stderr] Compiling perf-event v0.4.7 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling ra_ap_tt v0.0.97 [INFO] [stderr] Compiling countme v3.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling dashmap v5.1.0 [INFO] [stderr] Compiling ra_ap_cfg v0.0.97 [INFO] [stderr] Compiling ra_ap_profile v0.0.97 [INFO] [stderr] Compiling rowan v0.15.3 [INFO] [stderr] Compiling ra_ap_vfs v0.0.97 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling ra_ap_test_utils v0.0.97 [INFO] [stderr] Compiling ra_ap_syntax v0.0.97 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling salsa-macros v0.17.0-pre.2 [INFO] [stderr] Compiling chalk-derive v0.76.0 [INFO] [stderr] Compiling chalk-ir v0.76.0 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling salsa v0.17.0-pre.2 [INFO] [stderr] Compiling ra_ap_mbe v0.0.97 [INFO] [stderr] Compiling ra_ap_base_db v0.0.97 [INFO] [stderr] Compiling chalk-solve v0.76.0 [INFO] [stderr] Compiling ra_ap_hir_expand v0.0.97 [INFO] [stderr] Compiling ra_ap_hir_def v0.0.97 [INFO] [stderr] Compiling chalk-recursive v0.76.0 [INFO] [stderr] Compiling ra_ap_hir_ty v0.0.97 [INFO] [stderr] Compiling ra_ap_hir v0.0.97 [INFO] [stderr] Compiling ra_ap_ide_db v0.0.97 [INFO] [stderr] Compiling ra_ap_ide_assists v0.0.97 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 36s [INFO] running `Command { std: "docker" "inspect" "e02eb356f2f7e2a2820d67568a14db3cf6d3a34e4ce42087f3ea755c9ef8e117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e02eb356f2f7e2a2820d67568a14db3cf6d3a34e4ce42087f3ea755c9ef8e117", kill_on_drop: false }` [INFO] [stdout] e02eb356f2f7e2a2820d67568a14db3cf6d3a34e4ce42087f3ea755c9ef8e117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] 6a058656103366a5df663ec77afe19ee0412797783ea0fc1f7a0a3cd4a2112c8 [INFO] running `Command { std: "docker" "start" "-a" "6a058656103366a5df663ec77afe19ee0412797783ea0fc1f7a0a3cd4a2112c8", kill_on_drop: false }` [INFO] [stderr] Compiling expect-test v1.2.2 [INFO] [stderr] Compiling ra_ap_ide_assists v0.0.97 (/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:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | 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:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | 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:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | 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:42:69 [INFO] [stdout] | [INFO] [stdout] 42 | 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:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | 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:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | 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:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | 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:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | 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:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | 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:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | 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:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | 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] running `Command { std: "docker" "inspect" "6a058656103366a5df663ec77afe19ee0412797783ea0fc1f7a0a3cd4a2112c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a058656103366a5df663ec77afe19ee0412797783ea0fc1f7a0a3cd4a2112c8", kill_on_drop: false }` [INFO] [stdout] 6a058656103366a5df663ec77afe19ee0412797783ea0fc1f7a0a3cd4a2112c8