[INFO] fetching crate crate-index 0.1.0... [INFO] checking crate-index-0.1.0 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate crate-index 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate crate-index 0.1.0 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate crate-index 0.1.0 [INFO] finished tweaking crates.io crate crate-index 0.1.0 [INFO] tweaked toml for crates.io crate crate-index 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b03f922d32e101ff6f12491cbde13ef562c8c7fd9558db71e1885610b6819d4 [INFO] running `Command { std: "docker" "start" "-a" "6b03f922d32e101ff6f12491cbde13ef562c8c7fd9558db71e1885610b6819d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b03f922d32e101ff6f12491cbde13ef562c8c7fd9558db71e1885610b6819d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b03f922d32e101ff6f12491cbde13ef562c8c7fd9558db71e1885610b6819d4", kill_on_drop: false }` [INFO] [stdout] 6b03f922d32e101ff6f12491cbde13ef562c8c7fd9558db71e1885610b6819d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 471c061fd743b68cb938833e6d395124ec20cb4438395a852fc59ab41cf0eca2 [INFO] running `Command { std: "docker" "start" "-a" "471c061fd743b68cb938833e6d395124ec20cb4438395a852fc59ab41cf0eca2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.145 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Checking value-bag v1.4.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking concurrent-queue v2.2.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Checking parking v2.1.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.7.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking async-task v4.4.0 [INFO] [stderr] Checking async-channel v1.8.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking blocking v1.3.1 [INFO] [stderr] Checking async-executor v1.5.1 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling test-case v1.2.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Compiling libz-sys v1.1.9 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking regex v1.8.3 [INFO] [stderr] Checking tempfile v3.5.0 [INFO] [stderr] Checking async-global-executor v2.3.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking git2 v0.11.0 [INFO] [stderr] Checking crate-index v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/index/file.rs:353:54 [INFO] [stdout] | [INFO] [stdout] 353 | let mut index_file = IndexFile::open(root.clone(), initial_metadata.name()) [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/index/tree.rs:343:49 [INFO] [stdout] | [INFO] [stdout] 343 | let mut tree = Tree::initialise(root.clone(), download) [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/index/tree.rs:372:49 [INFO] [stdout] | [INFO] [stdout] 372 | let mut tree = Tree::initialise(root.clone(), download) [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crate-index` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "471c061fd743b68cb938833e6d395124ec20cb4438395a852fc59ab41cf0eca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "471c061fd743b68cb938833e6d395124ec20cb4438395a852fc59ab41cf0eca2", kill_on_drop: false }` [INFO] [stdout] 471c061fd743b68cb938833e6d395124ec20cb4438395a852fc59ab41cf0eca2