[INFO] fetching crate cfg-match 0.2.1... [INFO] checking cfg-match-0.2.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate cfg-match 0.2.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate cfg-match 0.2.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cfg-match 0.2.1 [INFO] finished tweaking crates.io crate cfg-match 0.2.1 [INFO] tweaked toml for crates.io crate cfg-match 0.2.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d962e8390c4a944c8f844c914c8f95a8c64bda745bc86bd0c0e5d078595e46ca [INFO] running `Command { std: "docker" "start" "-a" "d962e8390c4a944c8f844c914c8f95a8c64bda745bc86bd0c0e5d078595e46ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d962e8390c4a944c8f844c914c8f95a8c64bda745bc86bd0c0e5d078595e46ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d962e8390c4a944c8f844c914c8f95a8c64bda745bc86bd0c0e5d078595e46ca", kill_on_drop: false }` [INFO] [stdout] d962e8390c4a944c8f844c914c8f95a8c64bda745bc86bd0c0e5d078595e46ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 293ba12bfbddb5bd9b7988d59b773486aa3a3928fc18e02556e8cb0225a1a45f [INFO] running `Command { std: "docker" "start" "-a" "293ba12bfbddb5bd9b7988d59b773486aa3a3928fc18e02556e8cb0225a1a45f", kill_on_drop: false }` [INFO] [stderr] Checking cfg-match v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0659]: `cfg_match` is ambiguous [INFO] [stdout] --> tests/smoke.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | cfg_match! { [INFO] [stdout] | ^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] = note: `cfg_match` could refer to a macro from prelude [INFO] [stdout] note: `cfg_match` could also refer to the macro imported here [INFO] [stdout] --> tests/smoke.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cfg_match::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `cfg_match` to disambiguate [INFO] [stdout] = help: or use `crate::cfg_match` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `cfg_match` is ambiguous [INFO] [stdout] --> tests/smoke.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | cfg_match! { [INFO] [stdout] | ^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] = note: `cfg_match` could refer to a macro from prelude [INFO] [stdout] note: `cfg_match` could also refer to the macro imported here [INFO] [stdout] --> tests/smoke.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cfg_match::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `cfg_match` to disambiguate [INFO] [stdout] = help: or use `crate::cfg_match` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `cfg_match` is ambiguous [INFO] [stdout] --> tests/smoke.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | let f = cfg_match! { [INFO] [stdout] | ^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] = note: `cfg_match` could refer to a macro from prelude [INFO] [stdout] note: `cfg_match` could also refer to the macro imported here [INFO] [stdout] --> tests/smoke.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cfg_match::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `cfg_match` to disambiguate [INFO] [stdout] = help: or use `crate::cfg_match` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `cfg_match` is ambiguous [INFO] [stdout] --> tests/smoke.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | let f = cfg_match! { [INFO] [stdout] | ^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] = note: `cfg_match` could refer to a macro from prelude [INFO] [stdout] note: `cfg_match` could also refer to the macro imported here [INFO] [stdout] --> tests/smoke.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cfg_match::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `cfg_match` to disambiguate [INFO] [stdout] = help: or use `crate::cfg_match` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `cfg_match` is ambiguous [INFO] [stdout] --> tests/smoke.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | cfg_match! { [INFO] [stdout] | ^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] = note: `cfg_match` could refer to a macro from prelude [INFO] [stdout] note: `cfg_match` could also refer to the macro imported here [INFO] [stdout] --> tests/smoke.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cfg_match::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `cfg_match` to disambiguate [INFO] [stdout] = help: or use `crate::cfg_match` to refer to this macro unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> tests/smoke.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | test => ({ [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 35 | }), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 ~ test => { [INFO] [stdout] 33 | println!("whee"); [INFO] [stdout] 34 | true [INFO] [stdout] 35 ~ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> tests/smoke.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | test => ({ [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 48 | }), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 ~ test => { [INFO] [stdout] 46 | println!("whee"); [INFO] [stdout] 47 | true [INFO] [stdout] 48 ~ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cfg-match` (test "smoke") due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "293ba12bfbddb5bd9b7988d59b773486aa3a3928fc18e02556e8cb0225a1a45f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "293ba12bfbddb5bd9b7988d59b773486aa3a3928fc18e02556e8cb0225a1a45f", kill_on_drop: false }` [INFO] [stdout] 293ba12bfbddb5bd9b7988d59b773486aa3a3928fc18e02556e8cb0225a1a45f