[INFO] cloning repository https://github.com/msarfati/clapman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/msarfati/clapman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsarfati%2Fclapman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsarfati%2Fclapman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3a9ae83a2e86c7c64a34c3b1fb5a8d3a9ae7980 [INFO] checking msarfati/clapman against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsarfati%2Fclapman" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/msarfati/clapman on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/msarfati/clapman [INFO] removed path dependency clap from git repo https://github.com/msarfati/clapman [INFO] finished tweaking git repo https://github.com/msarfati/clapman [INFO] tweaked toml for git repo https://github.com/msarfati/clapman written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/msarfati/clapman already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (clap) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (clap) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded man v0.3.0 [INFO] [stderr] Downloaded roff v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb3eb953474853b1f65552d979706551a3aec5c2b30832a91a4ec90188eb52cd [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" "fb3eb953474853b1f65552d979706551a3aec5c2b30832a91a4ec90188eb52cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb3eb953474853b1f65552d979706551a3aec5c2b30832a91a4ec90188eb52cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb3eb953474853b1f65552d979706551a3aec5c2b30832a91a4ec90188eb52cd", kill_on_drop: false }` [INFO] [stdout] fb3eb953474853b1f65552d979706551a3aec5c2b30832a91a4ec90188eb52cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3def29bcccdf00da37836fc6832952432105a4a418a733a67736639d9eb77d88 [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" "3def29bcccdf00da37836fc6832952432105a4a418a733a67736639d9eb77d88", kill_on_drop: false }` [INFO] [stderr] warning: dependency (clap) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking roff v0.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking man v0.3.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking clapman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `clap::SubCommand` [INFO] [stdout] --> src/main.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{App, Arg, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `SubCommand` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `Subcommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arg as ManArgs`, `Env`, `Example`, `Flag`, `Opt`, `Section` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use man::prelude::{Arg as ManArgs, Author, Flag, Env, Manual, Opt, Example, Section}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ ^^^ ^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap::SubCommand` [INFO] [stdout] --> src/main.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{App, Arg, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `SubCommand` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `Subcommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arg as ManArgs`, `Env`, `Example`, `Flag`, `Opt`, `Section` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use man::prelude::{Arg as ManArgs, Author, Flag, Env, Manual, Opt, Example, Section}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ ^^^ ^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `clap::Arg<'_>` in the current scope [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | .arg(Arg::with_name("config") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `clap::Arg<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `clap::Arg<'_>` in the current scope [INFO] [stdout] --> src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | .arg(Arg::with_name("INPUT") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `clap::Arg<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `clap::Arg<'_>` in the current scope [INFO] [stdout] --> src/main.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | .arg(Arg::with_name("v") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `clap::Arg<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `clap::Arg<'_>` in the current scope [INFO] [stdout] --> src/main.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | .arg(Arg::with_name("debug") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `clap::Arg<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `p` on type `App<'_>` [INFO] [stdout] --> src/main.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(about) = app.p.meta.about { [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `clap::Arg<'_>` in the current scope [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | .arg(Arg::with_name("config") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `clap::Arg<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `clap::Arg<'_>` in the current scope [INFO] [stdout] --> src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | .arg(Arg::with_name("INPUT") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `clap::Arg<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `clap::Arg<'_>` in the current scope [INFO] [stdout] --> src/main.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | .arg(Arg::with_name("v") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `clap::Arg<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `clap::Arg<'_>` in the current scope [INFO] [stdout] --> src/main.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | .arg(Arg::with_name("debug") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `clap::Arg<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `p` on type `App<'_>` [INFO] [stdout] --> src/main.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(about) = app.p.meta.about { [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clapman` [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: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3def29bcccdf00da37836fc6832952432105a4a418a733a67736639d9eb77d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3def29bcccdf00da37836fc6832952432105a4a418a733a67736639d9eb77d88", kill_on_drop: false }` [INFO] [stdout] 3def29bcccdf00da37836fc6832952432105a4a418a733a67736639d9eb77d88