[INFO] fetching crate clap 3.0.0-beta.2... [INFO] checking clap-3.0.0-beta.2 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate clap 3.0.0-beta.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate clap 3.0.0-beta.2 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate clap 3.0.0-beta.2 [INFO] finished tweaking crates.io crate clap 3.0.0-beta.2 [INFO] tweaked toml for crates.io crate clap 3.0.0-beta.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate clap 3.0.0-beta.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f5d12998c8b1ea03e690f8265badcb10396916408093d96b70a0456b8d5f4a9 [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" "8f5d12998c8b1ea03e690f8265badcb10396916408093d96b70a0456b8d5f4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f5d12998c8b1ea03e690f8265badcb10396916408093d96b70a0456b8d5f4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f5d12998c8b1ea03e690f8265badcb10396916408093d96b70a0456b8d5f4a9", kill_on_drop: false }` [INFO] [stdout] 8f5d12998c8b1ea03e690f8265badcb10396916408093d96b70a0456b8d5f4a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0572e63faa40f29cbca7fd6a0c33ba3b0a62098b14f88baee6b48e75007247d [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" "c0572e63faa40f29cbca7fd6a0c33ba3b0a62098b14f88baee6b48e75007247d", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling pulldown-cmark v0.4.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking semver-parser v0.9.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Checking syn v0.15.44 [INFO] [stderr] Checking plotters v0.2.14 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking version-sync v0.8.1 [INFO] [stderr] Checking tinytemplate v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking clap v3.0.0-beta.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parse/matches/arg_matches.rs:992:10 [INFO] [stdout] | [INFO] [stdout] 992 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parse/matches/arg_matches.rs:1052:10 [INFO] [stdout] | [INFO] [stdout] 1052 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/build/app/mod.rs:2200:24 [INFO] [stdout] | [INFO] [stdout] 2200 | ... panic!(format!( [INFO] [stdout] | ______________^ [INFO] [stdout] 2201 | | ... "AppSettings::HelpRequired is enabled for the App {}, but at least one of its arguments does not have either `help` or `long_he... [INFO] [stdout] 2202 | | ... self.name, [INFO] [stdout] 2203 | | ... args_missing_help.join(", ") [INFO] [stdout] 2204 | | ... )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 2200 | panic!( [INFO] [stdout] 2201 | "AppSettings::HelpRequired is enabled for the App {}, but at least one of its arguments does not have either `help` or `long_help` set. List of such arguments: {}", [INFO] [stdout] 2202 | self.name, [INFO] [stdout] 2203 | args_missing_help.join(", ") [INFO] [stdout] 2204 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/build/arg/mod.rs:4327:32 [INFO] [stdout] | [INFO] [stdout] 4327 | "Argument '{}' uses hint CommandWithArguments and must accept multiple values", [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 4327 | "Argument '{}' uses hint CommandWithArguments and must accept multiple values", ..., [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 4327 | "{}", "Argument '{}' uses hint CommandWithArguments and must accept multiple values", [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/validator.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | panic!(INTERNAL_ERROR_MSG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 247 | panic!("{}", INTERNAL_ERROR_MSG); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 247 | std::panic::panic_any(INTERNAL_ERROR_MSG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.2 [INFO] [stdout] error: couldn't read benches/06_rustup.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read benches/05_ripgrep.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clap` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't read benches/01_default.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read benches/02_simple.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read benches/03_complex.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read benches/04_new_help.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parse/matches/arg_matches.rs:992:10 [INFO] [stdout] | [INFO] [stdout] 992 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parse/matches/arg_matches.rs:1052:10 [INFO] [stdout] | [INFO] [stdout] 1052 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/build/app/mod.rs:2200:24 [INFO] [stdout] | [INFO] [stdout] 2200 | ... panic!(format!( [INFO] [stdout] | ______________^ [INFO] [stdout] 2201 | | ... "AppSettings::HelpRequired is enabled for the App {}, but at least one of its arguments does not have either `help` or `long_he... [INFO] [stdout] 2202 | | ... self.name, [INFO] [stdout] 2203 | | ... args_missing_help.join(", ") [INFO] [stdout] 2204 | | ... )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 2200 | panic!( [INFO] [stdout] 2201 | "AppSettings::HelpRequired is enabled for the App {}, but at least one of its arguments does not have either `help` or `long_help` set. List of such arguments: {}", [INFO] [stdout] 2202 | self.name, [INFO] [stdout] 2203 | args_missing_help.join(", ") [INFO] [stdout] 2204 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/build/arg/mod.rs:4327:32 [INFO] [stdout] | [INFO] [stdout] 4327 | "Argument '{}' uses hint CommandWithArguments and must accept multiple values", [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 4327 | "Argument '{}' uses hint CommandWithArguments and must accept multiple values", ..., [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 4327 | "{}", "Argument '{}' uses hint CommandWithArguments and must accept multiple values", [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/validator.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | panic!(INTERNAL_ERROR_MSG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 247 | panic!("{}", INTERNAL_ERROR_MSG); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 247 | std::panic::panic_any(INTERNAL_ERROR_MSG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c0572e63faa40f29cbca7fd6a0c33ba3b0a62098b14f88baee6b48e75007247d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0572e63faa40f29cbca7fd6a0c33ba3b0a62098b14f88baee6b48e75007247d", kill_on_drop: false }` [INFO] [stdout] c0572e63faa40f29cbca7fd6a0c33ba3b0a62098b14f88baee6b48e75007247d