[INFO] fetching crate paperdoll-tar 0.1.1... [INFO] building paperdoll-tar-0.1.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate paperdoll-tar 0.1.1 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate paperdoll-tar 0.1.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--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] 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tar v0.4.44 [INFO] [stderr] Downloaded xattr v1.6.1 [INFO] [stderr] Downloaded paperdoll v0.1.1 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded bit_field v0.10.3 [INFO] [stderr] Downloaded lebe v0.5.3 [INFO] [stderr] Downloaded filetime v0.2.26 [INFO] [stderr] Downloaded image v0.24.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d051988fe407ebbc72e9e51148a4e697baa1f091058f5d3d7dfa82a53704ff3a [INFO] running `Command { std: "docker" "start" "-a" "d051988fe407ebbc72e9e51148a4e697baa1f091058f5d3d7dfa82a53704ff3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d051988fe407ebbc72e9e51148a4e697baa1f091058f5d3d7dfa82a53704ff3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d051988fe407ebbc72e9e51148a4e697baa1f091058f5d3d7dfa82a53704ff3a", kill_on_drop: false }` [INFO] [stdout] d051988fe407ebbc72e9e51148a4e697baa1f091058f5d3d7dfa82a53704ff3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7d3602272aaf91d1dac4a1267d25dac79a7081504c34f79bd896c2060b82bfd [INFO] running `Command { std: "docker" "start" "-a" "c7d3602272aaf91d1dac4a1267d25dac79a7081504c34f79bd896c2060b82bfd", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling image v0.24.9 [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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.19s [INFO] running `Command { std: "docker" "inspect" "c7d3602272aaf91d1dac4a1267d25dac79a7081504c34f79bd896c2060b82bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7d3602272aaf91d1dac4a1267d25dac79a7081504c34f79bd896c2060b82bfd", kill_on_drop: false }` [INFO] [stdout] c7d3602272aaf91d1dac4a1267d25dac79a7081504c34f79bd896c2060b82bfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77b42a6357b3d8c78940cd2449671e8d1dae95832c4d14172cc50e4715d53515 [INFO] running `Command { std: "docker" "start" "-a" "77b42a6357b3d8c78940cd2449671e8d1dae95832c4d14172cc50e4715d53515", kill_on_drop: false }` [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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: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] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) } [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.46s [INFO] running `Command { std: "docker" "inspect" "77b42a6357b3d8c78940cd2449671e8d1dae95832c4d14172cc50e4715d53515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77b42a6357b3d8c78940cd2449671e8d1dae95832c4d14172cc50e4715d53515", kill_on_drop: false }` [INFO] [stdout] 77b42a6357b3d8c78940cd2449671e8d1dae95832c4d14172cc50e4715d53515