[INFO] cloning repository https://github.com/msarfati/clapman [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsarfati%2Fclapman'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b3a9ae83a2e86c7c64a34c3b1fb5a8d3a9ae7980 [INFO] testing msarfati/clapman against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsarfati%2Fclapman" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/msarfati/clapman on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/msarfati/clapman already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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-5/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 47cac520986a578e4f824cd3e830a04c26c347366cf831fa359f3b76223a0d40 [INFO] running `"docker" "start" "-a" "47cac520986a578e4f824cd3e830a04c26c347366cf831fa359f3b76223a0d40"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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.18 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling roff v0.1.0 [INFO] [stderr] Compiling os_str_bytes v2.3.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling man v0.3.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Compiling clap v3.0.0-beta.1 [INFO] [stderr] Compiling clapman v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `clap::SubCommand` [INFO] [stderr] --> src/main.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | use clap::{App, Arg, SubCommand}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `SubCommand` in the root [INFO] [stderr] | help: a similar name exists in the module (notice the capitalization): `Subcommand` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arg as ManArgs`, `Env`, `Example`, `Flag`, `Opt`, `Section` [INFO] [stderr] --> src/main.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | use man::prelude::{Arg as ManArgs, Author, Flag, Env, Manual, Opt, Example, Section}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^ ^^^ ^^^ ^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | .short("c") [INFO] [stderr] | ^^^ expected `char`, found `&str` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'clap::Arg::<'help>::help': Please use `about` method instead [INFO] [stderr] --> src/main.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | .help("Sets a custom config file") [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'clap::Arg::<'help>::help': Please use `about` method instead [INFO] [stderr] --> src/main.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | .help("Sets the input file to use") [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:28:17 [INFO] [stderr] | [INFO] [stderr] 28 | .short("v") [INFO] [stderr] | ^^^ expected `char`, found `&str` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'clap::Arg::<'help>::help': Please use `about` method instead [INFO] [stderr] --> src/main.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | .help("Sets the level of verbosity")) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:36:28 [INFO] [stderr] | [INFO] [stderr] 36 | .short("d") [INFO] [stderr] | ^^^ expected `char`, found `&str` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'clap::Arg::<'help>::help': Please use `about` method instead [INFO] [stderr] --> src/main.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | .help("print debug information verbosely"))); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `p` on type `clap::App<'_>` [INFO] [stderr] --> src/main.rs:56:30 [INFO] [stderr] | [INFO] [stderr] 56 | if let Some(about) = app.p.meta.about { [INFO] [stderr] | ^ unknown field [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `clapman`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "47cac520986a578e4f824cd3e830a04c26c347366cf831fa359f3b76223a0d40"` [INFO] running `"docker" "rm" "-f" "47cac520986a578e4f824cd3e830a04c26c347366cf831fa359f3b76223a0d40"` [INFO] [stdout] 47cac520986a578e4f824cd3e830a04c26c347366cf831fa359f3b76223a0d40