[INFO] fetching crate cargo-what 0.1.3... [INFO] checking cargo-what-0.1.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cargo-what 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate cargo-what 0.1.3 [INFO] finished tweaking crates.io crate cargo-what 0.1.3 [INFO] tweaked toml for crates.io crate cargo-what 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-what 0.1.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cargo-what 0.1.3 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62d10fdb3d40c1301a3963c3bd4e7aab460d6234fe6ca81c7a33e522c42fb189 [INFO] running `Command { std: "docker" "start" "-a" "62d10fdb3d40c1301a3963c3bd4e7aab460d6234fe6ca81c7a33e522c42fb189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62d10fdb3d40c1301a3963c3bd4e7aab460d6234fe6ca81c7a33e522c42fb189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d10fdb3d40c1301a3963c3bd4e7aab460d6234fe6ca81c7a33e522c42fb189", kill_on_drop: false }` [INFO] [stdout] 62d10fdb3d40c1301a3963c3bd4e7aab460d6234fe6ca81c7a33e522c42fb189 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deeee11ebfda51827615eaded10deec30b3b93c10afd63fa537297ac7e7e3613 [INFO] running `Command { std: "docker" "start" "-a" "deeee11ebfda51827615eaded10deec30b3b93c10afd63fa537297ac7e7e3613", kill_on_drop: false }` [INFO] [stderr] Compiling cargo-what v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling paste v1.0.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_what_query` [INFO] [stdout] --> src/lib.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(not(cargo_what_query))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_what_query)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_what_query)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_what_query` [INFO] [stdout] --> src/lib.rs:121:7 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(cargo_what_query)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_what_query)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_what_query)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_what_query` [INFO] [stdout] --> src/lib.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(not(cargo_what_query))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_what_query)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_what_query)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_what_query` [INFO] [stdout] --> src/lib.rs:121:7 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(cargo_what_query)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_what_query)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_what_query)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> tests/examples.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use regex; [INFO] [stdout] | ^^^^^ no external crate `regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> tests/examples.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lazy_static` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lazy_static`, use `cargo add lazy_static` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXPECTED_PATTERN` in this scope [INFO] [stdout] --> tests/examples.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(cap) = EXPECTED_PATTERN.captures(&line?) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_what_query` [INFO] [stdout] --> examples/what-traits.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(cargo_what_query)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_what_query)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_what_query)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-what` (test "examples") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "deeee11ebfda51827615eaded10deec30b3b93c10afd63fa537297ac7e7e3613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deeee11ebfda51827615eaded10deec30b3b93c10afd63fa537297ac7e7e3613", kill_on_drop: false }` [INFO] [stdout] deeee11ebfda51827615eaded10deec30b3b93c10afd63fa537297ac7e7e3613