[INFO] crate rustfmt-nightly 1.4.11 is already in cache [INFO] checking rustfmt-nightly-1.4.11 against try#f149601db42efe10ece8b284ab681fd4a6fcb89c for pr-68766 [INFO] extracting crate rustfmt-nightly 1.4.11 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rustfmt-nightly 1.4.11 on toolchain f149601db42efe10ece8b284ab681fd4a6fcb89c [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate rustfmt-nightly 1.4.11 [INFO] finished tweaking crates.io crate rustfmt-nightly 1.4.11 [INFO] tweaked toml for crates.io crate rustfmt-nightly 1.4.11 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate rustfmt-nightly 1.4.11 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a60ed80a29568a25d3d5f3046db451a74e36182a073ae839012a796bad6db63e [INFO] running `"docker" "start" "-a" "a60ed80a29568a25d3d5f3046db451a74e36182a073ae839012a796bad6db63e"` [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling rustfmt-nightly v1.4.11 (/opt/rustwide/workdir) [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking jobserver v0.1.17 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking rustc-ap-serialize v610.0.0 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking globset v0.4.4 [INFO] [stderr] Checking ignore v0.4.10 [INFO] [stderr] Checking rustc-ap-rustc_index v610.0.0 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling rustc-ap-rustc_macros v610.0.0 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling structopt-derive v0.3.3 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling rustfmt-config_proc_macro v0.2.0 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking structopt v0.3.3 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking toml v0.5.3 [INFO] [stderr] Checking cargo_metadata v0.8.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking rustc-rayon-core v0.3.0 [INFO] [stderr] Checking rustc-rayon v0.3.0 [INFO] [stderr] Checking rustc-ap-rustc_data_structures v610.0.0 [INFO] [stderr] Checking rustc-ap-arena v610.0.0 [INFO] [stderr] Checking rustc-ap-syntax_pos v610.0.0 [INFO] [stderr] Checking rustc-ap-rustc_target v610.0.0 [INFO] [stderr] Checking rustc-ap-rustc_errors v610.0.0 [INFO] [stderr] Checking rustc-ap-syntax v610.0.0 [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/expr.rs:1151:5 [INFO] [stderr] | [INFO] [stderr] 1151 | / (block.stmts.len() == 1 [INFO] [stderr] 1152 | | && stmt_is_expr(&block.stmts[0]) [INFO] [stderr] 1153 | | && !block_contains_comment(block, source_map) [INFO] [stderr] 1154 | | && attrs.map_or(true, |a| a.is_empty())) [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1151 | block.stmts.len() == 1 [INFO] [stderr] 1152 | && stmt_is_expr(&block.stmts[0]) [INFO] [stderr] 1153 | && !block_contains_comment(block, source_map) [INFO] [stderr] 1154 | && attrs.map_or(true, |a| a.is_empty()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/items.rs:2536:13 [INFO] [stderr] | [INFO] [stderr] 2536 | ) -> Option<((usize, usize, Indent))> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/expr.rs:1151:5 [INFO] [stderr] | [INFO] [stderr] 1151 | / (block.stmts.len() == 1 [INFO] [stderr] 1152 | | && stmt_is_expr(&block.stmts[0]) [INFO] [stderr] 1153 | | && !block_contains_comment(block, source_map) [INFO] [stderr] 1154 | | && attrs.map_or(true, |a| a.is_empty())) [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1151 | block.stmts.len() == 1 [INFO] [stderr] 1152 | && stmt_is_expr(&block.stmts[0]) [INFO] [stderr] 1153 | && !block_contains_comment(block, source_map) [INFO] [stderr] 1154 | && attrs.map_or(true, |a| a.is_empty()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/items.rs:2536:13 [INFO] [stderr] | [INFO] [stderr] 2536 | ) -> Option<((usize, usize, Indent))> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/format-diff/main.rs:72:18 [INFO] [stderr] | [INFO] [stderr] 72 | skip_prefix: u32, [INFO] [stderr] | ^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/format-diff/main.rs:81:13 [INFO] [stderr] | [INFO] [stderr] 81 | filter: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0423`. [INFO] [stderr] error: could not compile `rustfmt-nightly`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/format-diff/main.rs:72:18 [INFO] [stderr] | [INFO] [stderr] 72 | skip_prefix: u32, [INFO] [stderr] | ^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/format-diff/main.rs:81:13 [INFO] [stderr] | [INFO] [stderr] 81 | filter: String, [INFO] [stderr] | ^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | quiet: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:33:14 [INFO] [stderr] | [INFO] [stderr] 33 | verbose: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | version: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:41:15 [INFO] [stderr] | [INFO] [stderr] 41 | packages: Vec, [INFO] [stderr] | ^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:45:20 [INFO] [stderr] | [INFO] [stderr] 45 | manifest_path: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | message_format: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:54:22 [INFO] [stderr] | [INFO] [stderr] 54 | rustfmt_options: Vec, [INFO] [stderr] | ^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | format_all: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0423`. [INFO] [stderr] error: could not compile `rustfmt-nightly`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0423`. [INFO] [stderr] error: could not compile `rustfmt-nightly`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | quiet: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:33:14 [INFO] [stderr] | [INFO] [stderr] 33 | verbose: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | version: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:41:15 [INFO] [stderr] | [INFO] [stderr] 41 | packages: Vec, [INFO] [stderr] | ^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:45:20 [INFO] [stderr] | [INFO] [stderr] 45 | manifest_path: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | message_format: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:54:22 [INFO] [stderr] | [INFO] [stderr] 54 | rustfmt_options: Vec, [INFO] [stderr] | ^^^^^^^^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found macro `matches` [INFO] [stderr] --> src/cargo-fmt/main.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | format_all: bool, [INFO] [stderr] | ^^^^ help: use `!` to invoke the macro: `matches!` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0423`. [INFO] [stderr] error: could not compile `rustfmt-nightly`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a60ed80a29568a25d3d5f3046db451a74e36182a073ae839012a796bad6db63e"` [INFO] running `"docker" "rm" "-f" "a60ed80a29568a25d3d5f3046db451a74e36182a073ae839012a796bad6db63e"` [INFO] [stdout] a60ed80a29568a25d3d5f3046db451a74e36182a073ae839012a796bad6db63e