[INFO] fetching crate getopts 0.2.23... [INFO] checking getopts-0.2.23 against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] extracting crate getopts 0.2.23 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate getopts 0.2.23 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate getopts 0.2.23 [INFO] tweaked toml for crates.io crate getopts 0.2.23 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate getopts 0.2.23 on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate getopts 0.2.23 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4eedd294884916442e6b634799ae7075d2405713f34ae6c6dd4f82839f0be60 [INFO] running `Command { std: "docker" "start" "-a" "a4eedd294884916442e6b634799ae7075d2405713f34ae6c6dd4f82839f0be60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4eedd294884916442e6b634799ae7075d2405713f34ae6c6dd4f82839f0be60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4eedd294884916442e6b634799ae7075d2405713f34ae6c6dd4f82839f0be60", kill_on_drop: false }` [INFO] [stdout] a4eedd294884916442e6b634799ae7075d2405713f34ae6c6dd4f82839f0be60 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08f675fa5bbefa1b39847ad99b9832d70404fc5f72317b8504e8ab85f0b169e6 [INFO] running `Command { std: "docker" "start" "-a" "08f675fa5bbefa1b39847ad99b9832d70404fc5f72317b8504e8ab85f0b169e6", kill_on_drop: false }` [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking getopts v0.2.23 (/opt/rustwide/workdir) [INFO] [stdout] error: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tests/mod.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | assert!((m.opt_present("test"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - assert!((m.opt_present("test"))); [INFO] [stdout] 53 + assert!( m.opt_present("test")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tests/mod.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | assert!((m.opt_present("t"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - assert!((m.opt_present("t"))); [INFO] [stdout] 55 + assert!( m.opt_present("t")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tests/mod.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | assert!((m.opt_present("t"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - assert!((m.opt_present("t"))); [INFO] [stdout] 114 + assert!( m.opt_present("t")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tests/mod.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | assert!((m.opt_present("test"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - assert!((m.opt_present("test"))); [INFO] [stdout] 122 + assert!( m.opt_present("test")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tests/mod.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | assert!((m.opt_present("t"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 124 - assert!((m.opt_present("t"))); [INFO] [stdout] 124 + assert!( m.opt_present("t")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tests/mod.rs:446:21 [INFO] [stdout] | [INFO] [stdout] 446 | assert!((m.opt_present("test"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 446 - assert!((m.opt_present("test"))); [INFO] [stdout] 446 + assert!( m.opt_present("test")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tests/mod.rs:448:21 [INFO] [stdout] | [INFO] [stdout] 448 | assert!((m.opt_present("t"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 448 - assert!((m.opt_present("t"))); [INFO] [stdout] 448 + assert!( m.opt_present("t")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tests/mod.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 456 | assert!((m.opt_present("test"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 456 - assert!((m.opt_present("test"))); [INFO] [stdout] 456 + assert!( m.opt_present("test")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tests/mod.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | assert!((m.opt_present("t"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 458 - assert!((m.opt_present("t"))); [INFO] [stdout] 458 + assert!( m.opt_present("t")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tests/mod.rs:579:21 [INFO] [stdout] | [INFO] [stdout] 579 | assert!((m.opt_present("flag"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 579 - assert!((m.opt_present("flag"))); [INFO] [stdout] 579 + assert!( m.opt_present("flag")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tests/mod.rs:581:21 [INFO] [stdout] | [INFO] [stdout] 581 | assert!((m.opt_present("f"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 581 - assert!((m.opt_present("f"))); [INFO] [stdout] 581 + assert!( m.opt_present("f")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tests/mod.rs:588:21 [INFO] [stdout] | [INFO] [stdout] 588 | assert!((!m.opt_present("notpresent"))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 588 - assert!((!m.opt_present("notpresent"))); [INFO] [stdout] 588 + assert!( !m.opt_present("notpresent")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `getopts` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "08f675fa5bbefa1b39847ad99b9832d70404fc5f72317b8504e8ab85f0b169e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08f675fa5bbefa1b39847ad99b9832d70404fc5f72317b8504e8ab85f0b169e6", kill_on_drop: false }` [INFO] [stdout] 08f675fa5bbefa1b39847ad99b9832d70404fc5f72317b8504e8ab85f0b169e6