[INFO] fetching crate paperdoll-tar 0.1.1... [INFO] building paperdoll-tar-0.1.1 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate paperdoll-tar 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate paperdoll-tar 0.1.1 [INFO] finished tweaking crates.io crate paperdoll-tar 0.1.1 [INFO] tweaked toml for crates.io crate paperdoll-tar 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate paperdoll-tar 0.1.1 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 81 packages to latest compatible versions [INFO] [stderr] Adding image v0.24.9 (available: v0.25.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db1665fd29499b2679093d132e26ddcc8ecb05f8dd9e44d5d6701d94b3914489 [INFO] running `Command { std: "docker" "start" "-a" "db1665fd29499b2679093d132e26ddcc8ecb05f8dd9e44d5d6701d94b3914489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db1665fd29499b2679093d132e26ddcc8ecb05f8dd9e44d5d6701d94b3914489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db1665fd29499b2679093d132e26ddcc8ecb05f8dd9e44d5d6701d94b3914489", kill_on_drop: false }` [INFO] [stdout] db1665fd29499b2679093d132e26ddcc8ecb05f8dd9e44d5d6701d94b3914489 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a24f12b3a3789752a74e3791b08491afdb2a8875e6535ddf43a72ee943a7b27 [INFO] running `Command { std: "docker" "start" "-a" "5a24f12b3a3789752a74e3791b08491afdb2a8875e6535ddf43a72ee943a7b27", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling paperdoll v0.1.1 [INFO] [stderr] Compiling paperdoll-tar v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 53 - let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stdout] 53 + let manifest_path = temp_dir.path().join(FILE_NAME_MANIFEST); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | let img_path = temp_dir.path().clone().join(&doll.path); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 63 - let img_path = temp_dir.path().clone().join(&doll.path); [INFO] [stdout] 63 + let img_path = temp_dir.path().join(&doll.path); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | let img_path = temp_dir.path().clone().join(&fragment.path); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 76 - let img_path = temp_dir.path().clone().join(&fragment.path); [INFO] [stdout] 76 + let img_path = temp_dir.path().join(&fragment.path); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | let img_path = temp_dir.path().clone().join(&filename); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 120 - let img_path = temp_dir.path().clone().join(&filename); [INFO] [stdout] 120 + let img_path = temp_dir.path().join(&filename); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | let img_path = temp_dir.path().clone().join(&filename); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 157 - let img_path = temp_dir.path().clone().join(&filename); [INFO] [stdout] 157 + let img_path = temp_dir.path().join(&filename); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:172:40 [INFO] [stdout] | [INFO] [stdout] 172 | let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 172 - let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stdout] 172 + let manifest_path = temp_dir.path().join(FILE_NAME_MANIFEST); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.65s [INFO] running `Command { std: "docker" "inspect" "5a24f12b3a3789752a74e3791b08491afdb2a8875e6535ddf43a72ee943a7b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a24f12b3a3789752a74e3791b08491afdb2a8875e6535ddf43a72ee943a7b27", kill_on_drop: false }` [INFO] [stdout] 5a24f12b3a3789752a74e3791b08491afdb2a8875e6535ddf43a72ee943a7b27 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 986fca5651e6fbfa68cccf35091311e183bff349d39b738c6947b1ca4830318f [INFO] running `Command { std: "docker" "start" "-a" "986fca5651e6fbfa68cccf35091311e183bff349d39b738c6947b1ca4830318f", kill_on_drop: false }` [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 53 - let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stdout] 53 + let manifest_path = temp_dir.path().join(FILE_NAME_MANIFEST); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | let img_path = temp_dir.path().clone().join(&doll.path); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 63 - let img_path = temp_dir.path().clone().join(&doll.path); [INFO] [stdout] 63 + let img_path = temp_dir.path().join(&doll.path); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | let img_path = temp_dir.path().clone().join(&fragment.path); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 76 - let img_path = temp_dir.path().clone().join(&fragment.path); [INFO] [stdout] 76 + let img_path = temp_dir.path().join(&fragment.path); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling paperdoll-tar v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | let img_path = temp_dir.path().clone().join(&filename); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 120 - let img_path = temp_dir.path().clone().join(&filename); [INFO] [stdout] 120 + let img_path = temp_dir.path().join(&filename); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | let img_path = temp_dir.path().clone().join(&filename); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 157 - let img_path = temp_dir.path().clone().join(&filename); [INFO] [stdout] 157 + let img_path = temp_dir.path().join(&filename); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:172:40 [INFO] [stdout] | [INFO] [stdout] 172 | let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 172 - let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stdout] 172 + let manifest_path = temp_dir.path().join(FILE_NAME_MANIFEST); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 53 - let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stdout] 53 + let manifest_path = temp_dir.path().join(FILE_NAME_MANIFEST); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | let img_path = temp_dir.path().clone().join(&doll.path); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 63 - let img_path = temp_dir.path().clone().join(&doll.path); [INFO] [stdout] 63 + let img_path = temp_dir.path().join(&doll.path); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | let img_path = temp_dir.path().clone().join(&fragment.path); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 76 - let img_path = temp_dir.path().clone().join(&fragment.path); [INFO] [stdout] 76 + let img_path = temp_dir.path().join(&fragment.path); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | let img_path = temp_dir.path().clone().join(&filename); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 120 - let img_path = temp_dir.path().clone().join(&filename); [INFO] [stdout] 120 + let img_path = temp_dir.path().join(&filename); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | let img_path = temp_dir.path().clone().join(&filename); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 157 - let img_path = temp_dir.path().clone().join(&filename); [INFO] [stdout] 157 + let img_path = temp_dir.path().join(&filename); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:172:40 [INFO] [stdout] | [INFO] [stdout] 172 | let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 172 - let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stdout] 172 + let manifest_path = temp_dir.path().join(FILE_NAME_MANIFEST); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "986fca5651e6fbfa68cccf35091311e183bff349d39b738c6947b1ca4830318f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "986fca5651e6fbfa68cccf35091311e183bff349d39b738c6947b1ca4830318f", kill_on_drop: false }` [INFO] [stdout] 986fca5651e6fbfa68cccf35091311e183bff349d39b738c6947b1ca4830318f