[INFO] fetching crate whichlicense_detection 4.0.2... [INFO] checking whichlicense_detection-4.0.2 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate whichlicense_detection 4.0.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate whichlicense_detection 4.0.2 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 whichlicense_detection 4.0.2 [INFO] finished tweaking crates.io crate whichlicense_detection 4.0.2 [INFO] tweaked toml for crates.io crate whichlicense_detection 4.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate whichlicense_detection 4.0.2 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 39a6a1032177b70375e6b3d94769d430d869ccd86aeca1c032e4302caacf9c2a [INFO] running `Command { std: "docker" "start" "-a" "39a6a1032177b70375e6b3d94769d430d869ccd86aeca1c032e4302caacf9c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39a6a1032177b70375e6b3d94769d430d869ccd86aeca1c032e4302caacf9c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a6a1032177b70375e6b3d94769d430d869ccd86aeca1c032e4302caacf9c2a", kill_on_drop: false }` [INFO] [stdout] 39a6a1032177b70375e6b3d94769d430d869ccd86aeca1c032e4302caacf9c2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0236b8af098098ed1afd6bc567787668d3dfbdef9fa117785e8cbc348622d38a [INFO] running `Command { std: "docker" "start" "-a" "0236b8af098098ed1afd6bc567787668d3dfbdef9fa117785e8cbc348622d38a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking crossbeam-channel v0.5.7 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Checking shingles v0.1.1 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking fuzzyhash v0.2.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking rayon-core v1.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking random_choice v0.3.2 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking triomphe v0.1.8 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking gaoya v0.1.2 [INFO] [stderr] Checking whichlicense_detection v4.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/detecting/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | hash: hash.clone(), [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `T` does not implement `Clone`, so calling `clone` on `&T` 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/detecting/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | hash: hash.clone(), [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `T` does not implement `Clone`, so calling `clone` on `&T` 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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `whichlicense_detection` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `whichlicense_detection` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "0236b8af098098ed1afd6bc567787668d3dfbdef9fa117785e8cbc348622d38a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0236b8af098098ed1afd6bc567787668d3dfbdef9fa117785e8cbc348622d38a", kill_on_drop: false }` [INFO] [stdout] 0236b8af098098ed1afd6bc567787668d3dfbdef9fa117785e8cbc348622d38a