[INFO] fetching crate ra_ap_ide_db 0.0.97... [INFO] testing ra_ap_ide_db-0.0.97 against 1.59.0 for beta-1.60-1 [INFO] extracting crate ra_ap_ide_db 0.0.97 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate ra_ap_ide_db 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_db 0.0.97 [INFO] finished tweaking crates.io crate ra_ap_ide_db 0.0.97 [INFO] tweaked toml for crates.io crate ra_ap_ide_db 0.0.97 written to /workspace/builds/worker-5/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 762e489505d2eef915dc94be6c618b52bf43516c37ac2ce1ecbb65d8d4f61345 [INFO] running `Command { std: "docker" "start" "-a" "762e489505d2eef915dc94be6c618b52bf43516c37ac2ce1ecbb65d8d4f61345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "762e489505d2eef915dc94be6c618b52bf43516c37ac2ce1ecbb65d8d4f61345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "762e489505d2eef915dc94be6c618b52bf43516c37ac2ce1ecbb65d8d4f61345", kill_on_drop: false }` [INFO] [stdout] 762e489505d2eef915dc94be6c618b52bf43516c37ac2ce1ecbb65d8d4f61345 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] bb5b9e4fef3da4ad0b078b29181933721eb7bba2e9b6348b80701f7e72c6162d [INFO] running `Command { std: "docker" "start" "-a" "bb5b9e4fef3da4ad0b078b29181933721eb7bba2e9b6348b80701f7e72c6162d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling dissimilar v1.0.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling ra_ap_vfs v0.0.97 [INFO] [stderr] Compiling ra_ap_cfg v0.0.97 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling ra_ap_test_utils v0.0.97 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling dashmap v5.1.0 [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 salsa v0.17.0-pre.2 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling ra_ap_base_db v0.0.97 [INFO] [stderr] Compiling ra_ap_mbe v0.0.97 [INFO] [stderr] Compiling ra_ap_hir_expand v0.0.97 [INFO] [stderr] Compiling chalk-solve v0.76.0 [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 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 11s [INFO] running `Command { std: "docker" "inspect" "bb5b9e4fef3da4ad0b078b29181933721eb7bba2e9b6348b80701f7e72c6162d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5b9e4fef3da4ad0b078b29181933721eb7bba2e9b6348b80701f7e72c6162d", kill_on_drop: false }` [INFO] [stdout] bb5b9e4fef3da4ad0b078b29181933721eb7bba2e9b6348b80701f7e72c6162d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stdout] f9323aec2b622dd658424e0674912ca3f98cb7f3b17e3ed22a5b07cf6e414c6e [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" "f9323aec2b622dd658424e0674912ca3f98cb7f3b17e3ed22a5b07cf6e414c6e", kill_on_drop: false }` [INFO] [stderr] Compiling xshell-macros v0.1.17 [INFO] [stderr] Compiling expect-test v1.2.2 [INFO] [stderr] Compiling xshell v0.1.17 [INFO] [stderr] Compiling ra_ap_ide_db v0.0.97 (/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:950:5 [INFO] [stdout] | [INFO] [stdout] 950 | 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:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | 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:45:63 [INFO] [stdout] | [INFO] [stdout] 45 | 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:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | 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:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | .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:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | 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:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | 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:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | 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:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / for (feature_ident, doc) in features.into_iter() { [INFO] [stdout] 171 | | push_lint_completion(buf, &feature_ident, &doc) [INFO] [stdout] 172 | | } [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: required by a bound in `std::prelude::v1::None` [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" "f9323aec2b622dd658424e0674912ca3f98cb7f3b17e3ed22a5b07cf6e414c6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9323aec2b622dd658424e0674912ca3f98cb7f3b17e3ed22a5b07cf6e414c6e", kill_on_drop: false }` [INFO] [stdout] f9323aec2b622dd658424e0674912ca3f98cb7f3b17e3ed22a5b07cf6e414c6e