[INFO] cloning repository https://github.com/ymgyt/awsctl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ymgyt/awsctl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fymgyt%2Fawsctl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fymgyt%2Fawsctl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f53b10a562028d3c5d8d4c075e053d52b0e3a533 [INFO] checking ymgyt/awsctl against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fymgyt%2Fawsctl" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ymgyt/awsctl on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/source/rust-toolchain [INFO] started tweaking git repo https://github.com/ymgyt/awsctl [INFO] finished tweaking git repo https://github.com/ymgyt/awsctl [INFO] tweaked toml for git repo https://github.com/ymgyt/awsctl written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/ymgyt/awsctl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/clap-rs/clap` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ce5169f86745bc8e260eecf520c8d32171ff450ce125790d1fbf23a762a7aeb4 [INFO] running `Command { std: "docker" "start" "-a" "ce5169f86745bc8e260eecf520c8d32171ff450ce125790d1fbf23a762a7aeb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce5169f86745bc8e260eecf520c8d32171ff450ce125790d1fbf23a762a7aeb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce5169f86745bc8e260eecf520c8d32171ff450ce125790d1fbf23a762a7aeb4", kill_on_drop: false }` [INFO] [stdout] ce5169f86745bc8e260eecf520c8d32171ff450ce125790d1fbf23a762a7aeb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ce63a17d23d2710695159d0e86828e81075668ef0f37f4e7639c37cf56796e8e [INFO] running `Command { std: "docker" "start" "-a" "ce63a17d23d2710695159d0e86828e81075668ef0f37f4e7639c37cf56796e8e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking os_str_bytes v3.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking textwrap v0.13.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 (https://github.com/clap-rs/clap?branch=master#73cf47a5) [INFO] [stderr] Checking clap v3.0.0-beta.2 (https://github.com/clap-rs/clap?branch=master#73cf47a5) [INFO] [stderr] Checking awsctl v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `awsctl` [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | let result: Result<(), Box> = match arg.subcommand() { [INFO] [stdout] | ---------------- this expression has type `Option<(&str, &clap::parse::matches::arg_matches::ArgMatches)>` [INFO] [stdout] 10 | ("dynamo", Some(_sub_m)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(&str, &clap::parse::matches::arg_matches::ArgMatches)>` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | let result: Result<(), Box> = match arg.subcommand() { [INFO] [stdout] | ---------------- this expression has type `Option<(&str, &clap::parse::matches::arg_matches::ArgMatches)>` [INFO] [stdout] 10 | ("dynamo", Some(_sub_m)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(&str, &clap::parse::matches::arg_matches::ArgMatches)>` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ce63a17d23d2710695159d0e86828e81075668ef0f37f4e7639c37cf56796e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce63a17d23d2710695159d0e86828e81075668ef0f37f4e7639c37cf56796e8e", kill_on_drop: false }` [INFO] [stdout] ce63a17d23d2710695159d0e86828e81075668ef0f37f4e7639c37cf56796e8e