[INFO] cloning repository https://github.com/kutay/find-dups [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kutay/find-dups" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkutay%2Ffind-dups", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkutay%2Ffind-dups'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef249c6068b9f1746a9b490c8839b6d978745d1c [INFO] checking kutay/find-dups against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkutay%2Ffind-dups" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kutay/find-dups on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kutay/find-dups [INFO] finished tweaking git repo https://github.com/kutay/find-dups [INFO] tweaked toml for git repo https://github.com/kutay/find-dups written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kutay/find-dups already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding version_check v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8baea6ed3e9018f89f7aaacf4b91c4d5792f4cce1760aa5b6671ad0a82195534 [INFO] running `Command { std: "docker" "start" "-a" "8baea6ed3e9018f89f7aaacf4b91c4d5792f4cce1760aa5b6671ad0a82195534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8baea6ed3e9018f89f7aaacf4b91c4d5792f4cce1760aa5b6671ad0a82195534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8baea6ed3e9018f89f7aaacf4b91c4d5792f4cce1760aa5b6671ad0a82195534", kill_on_drop: false }` [INFO] [stdout] 8baea6ed3e9018f89f7aaacf4b91c4d5792f4cce1760aa5b6671ad0a82195534 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cfb47157fb606e2deba628430c9372fce5259ea9aca3600aecfb672d8a71ec1 [INFO] running `Command { std: "docker" "start" "-a" "9cfb47157fb606e2deba628430c9372fce5259ea9aca3600aecfb672d8a71ec1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling rustix v0.36.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking chrono v0.4.23 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking rayon v1.6.1 [INFO] [stderr] Checking clap v3.2.23 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking is-terminal v0.4.2 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking find-duplicates v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `clap::Clap` [INFO] [stdout] --> src/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Clap; [INFO] [stdout] | ^^^^^^^^^^ no `Clap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap::Clap` [INFO] [stdout] --> src/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Clap; [INFO] [stdout] | ^^^^^^^^^^ no `Clap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/cli.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[clap(long, about("Skip hidden folders"))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/cli.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[clap(long, about("Skip hidden folders"))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/cli.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[clap(long, about("Comma-separated list of folder names to skip"))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/cli.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[clap(long, about("Comma-separated list of folder names to skip"))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Opts` in the current scope [INFO] [stdout] --> src/cli.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 9 | struct Opts { [INFO] [stdout] | ----------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | let opts: Opts = Opts::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Opts` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `parse`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] candidate #2: `TypedValueParser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Opts` in the current scope [INFO] [stdout] --> src/cli.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 9 | struct Opts { [INFO] [stdout] | ----------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | let opts: Opts = Opts::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Opts` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `parse`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] candidate #2: `TypedValueParser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `result` found for struct `CoreWrapper` in the current scope [INFO] [stdout] --> src/hash.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | format!("{:x}", hasher.result()) [INFO] [stdout] | ^^^^^^ method not found in `CoreWrapper>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `result` found for struct `CoreWrapper` in the current scope [INFO] [stdout] --> src/hash.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | format!("{:x}", hasher.result()) [INFO] [stdout] | ^^^^^^ method not found in `CoreWrapper>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `find-duplicates` (bin "find-duplicates") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `find-duplicates` (bin "find-duplicates" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "9cfb47157fb606e2deba628430c9372fce5259ea9aca3600aecfb672d8a71ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cfb47157fb606e2deba628430c9372fce5259ea9aca3600aecfb672d8a71ec1", kill_on_drop: false }` [INFO] [stdout] 9cfb47157fb606e2deba628430c9372fce5259ea9aca3600aecfb672d8a71ec1