[INFO] fetching crate clap 3.0.0-beta.2... [INFO] checking clap-3.0.0-beta.2 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate clap 3.0.0-beta.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate clap 3.0.0-beta.2 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-0/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9db35b5537362ce39b180e0c282ca370569594d6d4f23289f4e21b84cf08dc3b [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" "9db35b5537362ce39b180e0c282ca370569594d6d4f23289f4e21b84cf08dc3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9db35b5537362ce39b180e0c282ca370569594d6d4f23289f4e21b84cf08dc3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9db35b5537362ce39b180e0c282ca370569594d6d4f23289f4e21b84cf08dc3b", kill_on_drop: false }` [INFO] [stdout] 9db35b5537362ce39b180e0c282ca370569594d6d4f23289f4e21b84cf08dc3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce4375a182befddcd06d10ff4c5c6a1574f6b8cc91e68c0d30b7a33156852256 [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" "ce4375a182befddcd06d10ff4c5c6a1574f6b8cc91e68c0d30b7a33156852256", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking os_str_bytes v2.3.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Checking pulldown-cmark v0.4.1 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking plotters v0.2.14 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking bstr v0.2.13 [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 serde_derive v1.0.110 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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/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] [stderr] error: could not compile `clap` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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/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/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/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] 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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" "ce4375a182befddcd06d10ff4c5c6a1574f6b8cc91e68c0d30b7a33156852256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce4375a182befddcd06d10ff4c5c6a1574f6b8cc91e68c0d30b7a33156852256", kill_on_drop: false }` [INFO] [stdout] ce4375a182befddcd06d10ff4c5c6a1574f6b8cc91e68c0d30b7a33156852256