[INFO] fetching crate cfg-if 1.0.0... [INFO] checking cfg-if-1.0.0 against try#0c7fed2b7584d310ca8221267fa1b3bec4df427f for pr-133502-4 [INFO] extracting crate cfg-if 1.0.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate cfg-if 1.0.0 on toolchain 0c7fed2b7584d310ca8221267fa1b3bec4df427f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cfg-if 1.0.0 [INFO] finished tweaking crates.io crate cfg-if 1.0.0 [INFO] tweaked toml for crates.io crate cfg-if 1.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c7dfbfcc83b34742b92ad34909c50e8901f3088b41cc674e137cd03f7f1ef50 [INFO] running `Command { std: "docker" "start" "-a" "4c7dfbfcc83b34742b92ad34909c50e8901f3088b41cc674e137cd03f7f1ef50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c7dfbfcc83b34742b92ad34909c50e8901f3088b41cc674e137cd03f7f1ef50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c7dfbfcc83b34742b92ad34909c50e8901f3088b41cc674e137cd03f7f1ef50", kill_on_drop: false }` [INFO] [stdout] 4c7dfbfcc83b34742b92ad34909c50e8901f3088b41cc674e137cd03f7f1ef50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adbc3575da9d49643abaed2dfcc234bab1e8d81fb8616016683f485d8b59dd26 [INFO] running `Command { std: "docker" "start" "-a" "adbc3575da9d49643abaed2dfcc234bab1e8d81fb8616016683f485d8b59dd26", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected `cfg` condition name: `foo` [INFO] [stdout] --> src/lib.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | if #[cfg(foo)] { [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(foo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(foo)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `foo` [INFO] [stdout] --> src/lib.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | if #[cfg(foo)] { [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(foo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(foo)");` 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: unexpected `cfg` condition name: `foo` [INFO] [stdout] --> src/lib.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | if #[cfg(foo)] { [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(foo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(foo)");` 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: unexpected `cfg` condition value: `blah` [INFO] [stdout] --> src/lib.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | if #[cfg(feature = "blah")] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compiler_builtins`, `core`, and `rustc-dep-of-std` [INFO] [stdout] = help: consider adding `blah` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait `Trait` is never used [INFO] [stdout] --> src/lib.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | trait Trait { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cfg-if` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition name: `foo` [INFO] [stdout] --> tests/xcrate.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | if #[cfg(foo)] { [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(foo)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(foo)");` 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] running `Command { std: "docker" "inspect" "adbc3575da9d49643abaed2dfcc234bab1e8d81fb8616016683f485d8b59dd26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adbc3575da9d49643abaed2dfcc234bab1e8d81fb8616016683f485d8b59dd26", kill_on_drop: false }` [INFO] [stdout] adbc3575da9d49643abaed2dfcc234bab1e8d81fb8616016683f485d8b59dd26