[INFO] fetching crate ra_ap_cfg 0.0.301... [INFO] building ra_ap_cfg-0.0.301 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ra_ap_cfg 0.0.301 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ra_ap_cfg 0.0.301 [INFO] finished tweaking crates.io crate ra_ap_cfg 0.0.301 [INFO] tweaked toml for crates.io crate ra_ap_cfg 0.0.301 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ra_ap_cfg 0.0.301 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ra_ap_cfg 0.0.301 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ra_ap_intern v0.0.301 [INFO] [stderr] Downloaded ra-ap-rustc_lexer v0.123.0 [INFO] [stderr] Downloaded ra_ap_tt v0.0.301 [INFO] [stderr] Downloaded jod-thread v1.0.0 [INFO] [stderr] Downloaded text-size v1.1.1 [INFO] [stderr] Downloaded ra_ap_stdx v0.0.301 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b9d7d959e4a295501780ca1eea13cb48fdeb69588eec5ddb9b5c94ab9e1ee99 [INFO] running `Command { std: "docker" "start" "-a" "3b9d7d959e4a295501780ca1eea13cb48fdeb69588eec5ddb9b5c94ab9e1ee99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b9d7d959e4a295501780ca1eea13cb48fdeb69588eec5ddb9b5c94ab9e1ee99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b9d7d959e4a295501780ca1eea13cb48fdeb69588eec5ddb9b5c94ab9e1ee99", kill_on_drop: false }` [INFO] [stdout] 3b9d7d959e4a295501780ca1eea13cb48fdeb69588eec5ddb9b5c94ab9e1ee99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5239388306f13947942381cde4b13e1ec22a7f97e5a3b4af27b62b3c237b589 [INFO] running `Command { std: "docker" "start" "-a" "e5239388306f13947942381cde4b13e1ec22a7f97e5a3b4af27b62b3c237b589", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling ra_ap_intern v0.0.301 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ra_ap_cfg v0.0.301 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.74s [INFO] running `Command { std: "docker" "inspect" "e5239388306f13947942381cde4b13e1ec22a7f97e5a3b4af27b62b3c237b589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5239388306f13947942381cde4b13e1ec22a7f97e5a3b4af27b62b3c237b589", kill_on_drop: false }` [INFO] [stdout] e5239388306f13947942381cde4b13e1ec22a7f97e5a3b4af27b62b3c237b589 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6aa2b44843fbbd01b6c130ff567965b2f57d454f9bd1c571f1fd085611e3bf1 [INFO] running `Command { std: "docker" "start" "-a" "d6aa2b44843fbbd01b6c130ff567965b2f57d454f9bd1c571f1fd085611e3bf1", kill_on_drop: false }` [INFO] [stderr] Compiling ra_ap_cfg v0.0.301 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `arbitrary` [INFO] [stdout] --> src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use arbitrary::{Arbitrary, Unstructured}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `arbitrary` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arbitrary`, use `cargo add arbitrary` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `expect_test` [INFO] [stdout] --> src/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use expect_test::{Expect, expect}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `expect_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `expect_test`, use `cargo add expect_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syntax` [INFO] [stdout] --> src/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::{AstNode, Edition, ast}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `syntax` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syntax`, use `cargo add syntax` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `syntax_bridge` [INFO] [stdout] --> src/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax_bridge::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `syntax_bridge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syntax_bridge`, use `cargo add syntax_bridge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syntax_bridge` [INFO] [stdout] --> src/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax_bridge::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `syntax_bridge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `syntax_bridge`, use `cargo add syntax_bridge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `derive_arbitrary` [INFO] [stdout] --> src/cfg_expr.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg_attr(test, derive(derive_arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `derive_arbitrary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `oorandom` [INFO] [stdout] --> src/tests.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | let mut rng = oorandom::Rand32::new(123456789); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `oorandom` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `oorandom`, use `cargo add oorandom` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arbitrary` [INFO] [stdout] --> src/cfg_expr.rs:146:6 [INFO] [stdout] | [INFO] [stdout] 146 | impl arbitrary::Arbitrary<'_> for CfgAtom { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `arbitrary` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arbitrary`, use `cargo add arbitrary` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arbitrary` [INFO] [stdout] --> src/cfg_expr.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | fn arbitrary(u: &mut arbitrary::Unstructured<'_>) -> arbitrary::Result { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `arbitrary` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arbitrary`, use `cargo add arbitrary` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arbitrary` [INFO] [stdout] --> src/cfg_expr.rs:147:58 [INFO] [stdout] | [INFO] [stdout] 147 | fn arbitrary(u: &mut arbitrary::Unstructured<'_>) -> arbitrary::Result { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `arbitrary` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arbitrary`, use `cargo add arbitrary` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ra_ap_cfg` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "d6aa2b44843fbbd01b6c130ff567965b2f57d454f9bd1c571f1fd085611e3bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6aa2b44843fbbd01b6c130ff567965b2f57d454f9bd1c571f1fd085611e3bf1", kill_on_drop: false }` [INFO] [stdout] d6aa2b44843fbbd01b6c130ff567965b2f57d454f9bd1c571f1fd085611e3bf1