[INFO] fetching crate guard 0.5.0... [INFO] checking guard-0.5.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate guard 0.5.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate guard 0.5.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate guard 0.5.0 [INFO] finished tweaking crates.io crate guard 0.5.0 [INFO] tweaked toml for crates.io crate guard 0.5.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29bc478e645656c49612c3348c5d0e0343e2f3f840f24b631babf8cd7fecbf3a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "29bc478e645656c49612c3348c5d0e0343e2f3f840f24b631babf8cd7fecbf3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29bc478e645656c49612c3348c5d0e0343e2f3f840f24b631babf8cd7fecbf3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29bc478e645656c49612c3348c5d0e0343e2f3f840f24b631babf8cd7fecbf3a", kill_on_drop: false }` [INFO] [stdout] 29bc478e645656c49612c3348c5d0e0343e2f3f840f24b631babf8cd7fecbf3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd21c0baf7c7d45441ea827019189294b65b70e80d6467e67b829c5a770db1ee [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bd21c0baf7c7d45441ea827019189294b65b70e80d6467e67b829c5a770db1ee", kill_on_drop: false }` [INFO] [stderr] Checking guard v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 359 | guard!({ return } unless Some(&42) => Some(&x)); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(redundant_semicolons)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 362 | guard!({ return } unless Stuff::C(42) => Stuff::B { bar, .. } | Stuff::C(bar)); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 365 | guard!({ return } unless Some(42) => Some(x)); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 368 | guard!({ return } unless Some(origin) => Some(Point { x, y })); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 371 | guard!({ return } unless Some(origin) => Some(Point { x: x1, y: y1 })); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 374 | guard!({ return } unless Some(origin) => Some(Point { x, .. })); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 377 | guard!({ return } unless Some(origin) => Some(Point { y: y1, .. })); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 381 | guard!({ return } unless origin => Point { x, y: _y } if _y == 0); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 384 | guard!({ return } unless p => Some(Person { name: ref x @ Some(_), .. })); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 387 | guard!({ return } unless (Some(42), Some(43)) => (Some(x), Some(y))); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 390 | guard!({ return } unless opt => Stuff::A(Some(x), Some(y))); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 393 | guard!({ return } unless opt => Stuff::A(Option::Some::(x), _)); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 396 | guard!({ return } unless thing => Stuff::B { foo: Ok(ref mut x), .. }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 400 | guard!({ return } unless thing => self::Stuff::B { foo: Ok(mut x), .. }); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 404 | guard!({ return } unless copt => Stuff::C(_)); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 406 | guard!({ return } unless dopt => self::Stuff::D); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 416 | guard!({ return } unless dopt => D{}); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 417 | guard!({ return } unless Some(Empty) => Some(Empty {})); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 459 | guard!(let Some((a, b)) = opt else { panic!() }); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 461 | guard!(let Some((a, b)) = if true { opt } else { opt } else { panic!() }); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 463 | guard!(let Some((a, b)) = if false { opt } else { opt } else { panic!() }); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 465 | guard!(let Some((a, b)) if b > 0 = opt else { panic!() }); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 469 | guard!(let Some((a, b)) else { panic!() } = opt); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 471 | guard!(let Some((a, b)) else { panic!() } = if true { opt } else { opt }); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 473 | guard!(let Some((a, b)) else { panic!() } = if false { opt } else { opt }); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | (@as_stmt $s:stmt) => { $s; }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 475 | guard!(let Some((a, b)) if b > 0 else { panic!() } = opt); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `guard` [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "bd21c0baf7c7d45441ea827019189294b65b70e80d6467e67b829c5a770db1ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd21c0baf7c7d45441ea827019189294b65b70e80d6467e67b829c5a770db1ee", kill_on_drop: false }` [INFO] [stdout] bd21c0baf7c7d45441ea827019189294b65b70e80d6467e67b829c5a770db1ee