[INFO] cloning repository https://github.com/dpc/rdedup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dpc/rdedup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpc%2Frdedup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpc%2Frdedup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f9c76772e46c23e67d0189552c525dd2814b9c3 [INFO] checking dpc/rdedup against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpc%2Frdedup" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dpc/rdedup on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dpc/rdedup [INFO] removed workspace from git repo https://github.com/dpc/rdedup [INFO] removed path dependency rdedup-lib from git repo https://github.com/dpc/rdedup [INFO] finished tweaking git repo https://github.com/dpc/rdedup [INFO] tweaked toml for git repo https://github.com/dpc/rdedup written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/dpc/rdedup already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ba6828d2d8b51346b6c9aca3e33adafe2ee4639c5e47224837a9b353e1fad60 [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" "1ba6828d2d8b51346b6c9aca3e33adafe2ee4639c5e47224837a9b353e1fad60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ba6828d2d8b51346b6c9aca3e33adafe2ee4639c5e47224837a9b353e1fad60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ba6828d2d8b51346b6c9aca3e33adafe2ee4639c5e47224837a9b353e1fad60", kill_on_drop: false }` [INFO] [stdout] 1ba6828d2d8b51346b6c9aca3e33adafe2ee4639c5e47224837a9b353e1fad60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d83aa036ec01b6ddc42053f17c5be609d441fdff97f015d5e6407e975590d02f [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" "d83aa036ec01b6ddc42053f17c5be609d441fdff97f015d5e6407e975590d02f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bindgen v0.37.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking dangerous_option v0.2.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking rdedup-cdc v0.1.0 [INFO] [stderr] Checking bytevec v0.2.0 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rust-lzma v0.2.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking sgdata v0.1.0 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.5.2 [INFO] [stderr] Checking crossbeam-deque v0.5.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking slog-perf v0.2.0 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking blake2 v0.7.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking base64 v0.5.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking rpassword v4.0.5 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking slog-async v2.5.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Checking slog-term v2.6.0 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling zstd-sys v1.4.13+zstd.1.4.3 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking crossbeam v0.4.1 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking hyper-native-tls v0.3.0 [INFO] [stderr] Checking clap v3.0.0-beta.1 [INFO] [stderr] Checking backblaze-b2 v0.1.8 [INFO] [stderr] Compiling libsodium-sys v0.1.0 [INFO] [stderr] Checking sodiumoxide v0.1.0 [INFO] [stderr] Checking zstd-safe v1.4.13+zstd.1.4.3 [INFO] [stderr] Checking zstd v0.4.28+zstd.1.4.3 [INFO] [stderr] Checking rdedup-lib v3.1.0 [INFO] [stderr] Checking rdedup v3.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0050]: method `from_subcommand` has 1 parameter but the declaration in trait `from_subcommand` has 2 [INFO] [stdout] --> src/bin.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Debug, Clap)] [INFO] [stdout] | ^^^^ expected 2 parameters, found 1 [INFO] [stdout] | [INFO] [stdout] = note: `from_subcommand` from trait: `fn(&str, Option<&ArgMatches>) -> Option` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `from_subcommand` has 1 parameter but the declaration in trait `from_subcommand` has 2 [INFO] [stdout] --> src/bin.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Debug, Clap)] [INFO] [stdout] | ^^^^ expected 2 parameters, found 1 [INFO] [stdout] | [INFO] [stdout] = note: `from_subcommand` from trait: `fn(&str, Option<&ArgMatches>) -> Option` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin.rs:319:34 [INFO] [stdout] | [INFO] [stdout] 319 | #[clap(name = "dir", short = "d", long, value_name = "PATH")] [INFO] [stdout] | ^^^ expected `char`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin.rs:319:34 [INFO] [stdout] | [INFO] [stdout] 319 | #[clap(name = "dir", short = "d", long, value_name = "PATH")] [INFO] [stdout] | ^^^ expected `char`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | short = "u", [INFO] [stdout] | ^^^ expected `char`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | short = "u", [INFO] [stdout] | ^^^ expected `char`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 332 | #[clap(short = "v", parse(from_occurrences))] [INFO] [stdout] | ^^^ expected `char`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 332 | #[clap(short = "v", parse(from_occurrences))] [INFO] [stdout] | ^^^ expected `char`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin.rs:336:20 [INFO] [stdout] | [INFO] [stdout] 336 | #[clap(short = "t", parse(from_occurrences))] [INFO] [stdout] | ^^^ expected `char`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/bin.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | #[clap(subcommand)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | supplied 1 argument [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/bin.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Debug, Clap)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | supplied 1 argument [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rdedup` [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[E0308]: mismatched types [INFO] [stdout] --> src/bin.rs:336:20 [INFO] [stdout] | [INFO] [stdout] 336 | #[clap(short = "t", parse(from_occurrences))] [INFO] [stdout] | ^^^ expected `char`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/bin.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | #[clap(subcommand)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | supplied 1 argument [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/bin.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Debug, Clap)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | supplied 1 argument [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d83aa036ec01b6ddc42053f17c5be609d441fdff97f015d5e6407e975590d02f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d83aa036ec01b6ddc42053f17c5be609d441fdff97f015d5e6407e975590d02f", kill_on_drop: false }` [INFO] [stdout] d83aa036ec01b6ddc42053f17c5be609d441fdff97f015d5e6407e975590d02f