[INFO] fetching crate cargo-what 0.1.3... [INFO] testing cargo-what-0.1.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cargo-what 0.1.3 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-what 0.1.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10d987553d9a439131dd843bea5ba637c7086763bed4503655be866f3da40b08 [INFO] running `Command { std: "docker" "start" "-a" "10d987553d9a439131dd843bea5ba637c7086763bed4503655be866f3da40b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10d987553d9a439131dd843bea5ba637c7086763bed4503655be866f3da40b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d987553d9a439131dd843bea5ba637c7086763bed4503655be866f3da40b08", kill_on_drop: false }` [INFO] [stdout] 10d987553d9a439131dd843bea5ba637c7086763bed4503655be866f3da40b08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63f73ab3417ead070b7b9270cc001ec4e17de0e4f1a8ca9788bf834e595289bd [INFO] running `Command { std: "docker" "start" "-a" "63f73ab3417ead070b7b9270cc001ec4e17de0e4f1a8ca9788bf834e595289bd", kill_on_drop: false }` [INFO] [stderr] Compiling cargo-what v0.1.3 (/opt/rustwide/workdir) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "63f73ab3417ead070b7b9270cc001ec4e17de0e4f1a8ca9788bf834e595289bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63f73ab3417ead070b7b9270cc001ec4e17de0e4f1a8ca9788bf834e595289bd", kill_on_drop: false }` [INFO] [stdout] 63f73ab3417ead070b7b9270cc001ec4e17de0e4f1a8ca9788bf834e595289bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a16cc6d72e26fe70e9ae1b2cf3403ccf1e824ed5135b2ecec3b0f4db3d8a101f [INFO] running `Command { std: "docker" "start" "-a" "a16cc6d72e26fe70e9ae1b2cf3403ccf1e824ed5135b2ecec3b0f4db3d8a101f", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.33 [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] [stderr] Compiling cargo-what v0.1.3 (/opt/rustwide/workdir) [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] 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] error[E0282]: type annotations needed [INFO] [stdout] --> tests/examples.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | expected.push(regex::Regex::new(cap.get(1).unwrap().as_str())?); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/examples.rs:76:33 [INFO] [stdout] | [INFO] [stdout] 76 | .any(|line| pattern.is_match(&line)), [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-what` (test "examples") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a16cc6d72e26fe70e9ae1b2cf3403ccf1e824ed5135b2ecec3b0f4db3d8a101f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a16cc6d72e26fe70e9ae1b2cf3403ccf1e824ed5135b2ecec3b0f4db3d8a101f", kill_on_drop: false }` [INFO] [stdout] a16cc6d72e26fe70e9ae1b2cf3403ccf1e824ed5135b2ecec3b0f4db3d8a101f