[INFO] fetching crate ra_ap_ide_diagnostics 0.0.72... [INFO] testing ra_ap_ide_diagnostics-0.0.72 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate ra_ap_ide_diagnostics 0.0.72 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate ra_ap_ide_diagnostics 0.0.72 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ra_ap_ide_diagnostics 0.0.72 [INFO] finished tweaking crates.io crate ra_ap_ide_diagnostics 0.0.72 [INFO] tweaked toml for crates.io crate ra_ap_ide_diagnostics 0.0.72 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1f554b7b83766a6cb6111815572da79e125e9fc1ab9c5cac3b582a9923ac355 [INFO] running `Command { std: "docker" "start" "-a" "c1f554b7b83766a6cb6111815572da79e125e9fc1ab9c5cac3b582a9923ac355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1f554b7b83766a6cb6111815572da79e125e9fc1ab9c5cac3b582a9923ac355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1f554b7b83766a6cb6111815572da79e125e9fc1ab9c5cac3b582a9923ac355", kill_on_drop: false }` [INFO] [stdout] c1f554b7b83766a6cb6111815572da79e125e9fc1ab9c5cac3b582a9923ac355 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 633c3574717b37797a6a17607bf940113789099a250fc0e9d812bf379a4acbf1 [INFO] running `Command { std: "docker" "start" "-a" "633c3574717b37797a6a17607bf940113789099a250fc0e9d812bf379a4acbf1", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling text-size v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling ra_ap_la-arena v0.0.72 [INFO] [stderr] Compiling smol_str v0.1.18 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling dissimilar v1.0.2 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling cov-mark v2.0.0-pre.1 [INFO] [stderr] Compiling ra_ap_paths v0.0.72 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling ra_ap_limit v0.0.72 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling rustc-ap-rustc_lexer v725.0.0 [INFO] [stderr] Compiling ra_ap_text_edit v0.0.72 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling ra_ap_parser v0.0.72 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling expect-test v1.1.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [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-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling perf-event-open-sys v1.0.1 [INFO] [stderr] Compiling ra_ap_stdx v0.0.72 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling perf-event v0.4.7 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling ra_ap_tt v0.0.72 [INFO] [stderr] Compiling ra_ap_vfs v0.0.72 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling ra_ap_cfg v0.0.72 [INFO] [stderr] Compiling countme v2.0.4 [INFO] [stderr] Compiling ra_ap_profile v0.0.72 [INFO] [stderr] Compiling rowan v0.13.2 [INFO] [stderr] Compiling ra_ap_test_utils v0.0.72 [INFO] [stderr] Compiling ra_ap_syntax v0.0.72 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling salsa-macros v0.17.0-pre.1 [INFO] [stderr] Compiling chalk-derive v0.70.0 [INFO] [stderr] Compiling chalk-ir v0.70.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling salsa v0.17.0-pre.1 [INFO] [stderr] Compiling ra_ap_mbe v0.0.72 [INFO] [stderr] Compiling ra_ap_base_db v0.0.72 [INFO] [stderr] Compiling chalk-solve v0.70.0 [INFO] [stderr] Compiling ra_ap_hir_expand v0.0.72 [INFO] [stderr] Compiling ra_ap_hir_def v0.0.72 [INFO] [stderr] Compiling chalk-recursive v0.70.0 [INFO] [stderr] Compiling ra_ap_hir_ty v0.0.72 [INFO] [stderr] Compiling ra_ap_hir v0.0.72 [INFO] [stderr] Compiling ra_ap_ide_db v0.0.72 [INFO] [stderr] Compiling ra_ap_ide_diagnostics v0.0.72 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "633c3574717b37797a6a17607bf940113789099a250fc0e9d812bf379a4acbf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "633c3574717b37797a6a17607bf940113789099a250fc0e9d812bf379a4acbf1", kill_on_drop: false }` [INFO] [stdout] 633c3574717b37797a6a17607bf940113789099a250fc0e9d812bf379a4acbf1 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab4089c13129d00c8b563c53ca7fbabc79416db805570b8009dfab1a5f5ada44 [INFO] running `Command { std: "docker" "start" "-a" "ab4089c13129d00c8b563c53ca7fbabc79416db805570b8009dfab1a5f5ada44", kill_on_drop: false }` [INFO] [stderr] Compiling ra_ap_ide_diagnostics v0.0.72 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sourcegen` [INFO] [stdout] --> src/tests/sourcegen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sourcegen::project_root; [INFO] [stdout] | ^^^^^^^^^ help: a similar path exists: `super::sourcegen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use test_utils::{assert_eq_text, extract_annotations}; [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:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | 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[E0433]: failed to resolve: use of undeclared crate or module `sourcegen` [INFO] [stdout] --> src/tests/sourcegen.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | let contents = sourcegen::add_preamble("sourcegen_diagnostic_docs", 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:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | 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:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | 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:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | let comment_blocks = sourcegen::CommentBlock::extract("Diagnostic", &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:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | let location = sourcegen::Location { file: path.clone(), 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/sourcegen.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | panic!("invalid diagnostic name: {:?}:\n {}", id, msg) [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: required by a bound in `ArgumentV1::<'a>::new` [INFO] [stdout] = note: this error originates in the macro `$crate::const_format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/sourcegen.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | acc.push(Diagnostic { id, location, doc }) [INFO] [stdout] | ^^ expected struct `std::string::String`, found `str` [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 46 | acc.push(Diagnostic { id: id.to_string(), location, doc }) [INFO] [stdout] | +++ ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 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] error: could not compile `ra_ap_ide_diagnostics` due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "ab4089c13129d00c8b563c53ca7fbabc79416db805570b8009dfab1a5f5ada44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab4089c13129d00c8b563c53ca7fbabc79416db805570b8009dfab1a5f5ada44", kill_on_drop: false }` [INFO] [stdout] ab4089c13129d00c8b563c53ca7fbabc79416db805570b8009dfab1a5f5ada44