[INFO] fetching crate paperdoll-tar 0.1.1... [INFO] testing paperdoll-tar-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate paperdoll-tar 0.1.1 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate paperdoll-tar 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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 83 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 010137005a75f5f5fb2221ad78dd8566aee2aac0747c4155101819dcc30d5411 [INFO] running `Command { std: "docker" "start" "-a" "010137005a75f5f5fb2221ad78dd8566aee2aac0747c4155101819dcc30d5411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "010137005a75f5f5fb2221ad78dd8566aee2aac0747c4155101819dcc30d5411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "010137005a75f5f5fb2221ad78dd8566aee2aac0747c4155101819dcc30d5411", kill_on_drop: false }` [INFO] [stdout] 010137005a75f5f5fb2221ad78dd8566aee2aac0747c4155101819dcc30d5411 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba2843236c6d395493a6c05c5dcb8b955cc25a87d2a454935acf5cf9ec3b98f5 [INFO] running `Command { std: "docker" "start" "-a" "ba2843236c6d395493a6c05c5dcb8b955cc25a87d2a454935acf5cf9ec3b98f5", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling tar v0.4.44 [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] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.28s [INFO] running `Command { std: "docker" "inspect" "ba2843236c6d395493a6c05c5dcb8b955cc25a87d2a454935acf5cf9ec3b98f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba2843236c6d395493a6c05c5dcb8b955cc25a87d2a454935acf5cf9ec3b98f5", kill_on_drop: false }` [INFO] [stdout] ba2843236c6d395493a6c05c5dcb8b955cc25a87d2a454935acf5cf9ec3b98f5 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d101c4132e4cc0031e30b8dd2e5cabca29cbd5f63c0038eaf1295388b724b21c [INFO] running `Command { std: "docker" "start" "-a" "d101c4132e4cc0031e30b8dd2e5cabca29cbd5f63c0038eaf1295388b724b21c", kill_on_drop: false }` [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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] 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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "d101c4132e4cc0031e30b8dd2e5cabca29cbd5f63c0038eaf1295388b724b21c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d101c4132e4cc0031e30b8dd2e5cabca29cbd5f63c0038eaf1295388b724b21c", kill_on_drop: false }` [INFO] [stdout] d101c4132e4cc0031e30b8dd2e5cabca29cbd5f63c0038eaf1295388b724b21c [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6cc92ef329edebea4d4f55f0f28ebf65ffdf5731deff28a0545077f1af3762a7 [INFO] running `Command { std: "docker" "start" "-a" "6cc92ef329edebea4d4f55f0f28ebf65ffdf5731deff28a0545077f1af3762a7", kill_on_drop: false }` [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:53:40 [INFO] [stderr] | [INFO] [stderr] 53 | let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 53 - let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stderr] 53 + let manifest_path = temp_dir.path().join(FILE_NAME_MANIFEST); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:63:39 [INFO] [stderr] | [INFO] [stderr] 63 | let img_path = temp_dir.path().clone().join(&doll.path); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 63 - let img_path = temp_dir.path().clone().join(&doll.path); [INFO] [stderr] 63 + let img_path = temp_dir.path().join(&doll.path); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:76:39 [INFO] [stderr] | [INFO] [stderr] 76 | let img_path = temp_dir.path().clone().join(&fragment.path); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 76 - let img_path = temp_dir.path().clone().join(&fragment.path); [INFO] [stderr] 76 + let img_path = temp_dir.path().join(&fragment.path); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:120:39 [INFO] [stderr] | [INFO] [stderr] 120 | let img_path = temp_dir.path().clone().join(&filename); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 120 - let img_path = temp_dir.path().clone().join(&filename); [INFO] [stderr] 120 + let img_path = temp_dir.path().join(&filename); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:157:39 [INFO] [stderr] | [INFO] [stderr] 157 | let img_path = temp_dir.path().clone().join(&filename); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 157 - let img_path = temp_dir.path().clone().join(&filename); [INFO] [stderr] 157 + let img_path = temp_dir.path().join(&filename); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:172:40 [INFO] [stderr] | [INFO] [stderr] 172 | let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 172 - let manifest_path = temp_dir.path().clone().join(FILE_NAME_MANIFEST); [INFO] [stderr] 172 + let manifest_path = temp_dir.path().join(FILE_NAME_MANIFEST); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/path.rs" }) } [INFO] [stderr] warning: `paperdoll-tar` (lib) generated 6 warnings (run `cargo fix --lib -p paperdoll-tar` to apply 6 suggestions) [INFO] [stderr] warning: `paperdoll-tar` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/paperdoll_tar-05b0595de64d9d0f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests paperdoll_tar [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 5) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6cc92ef329edebea4d4f55f0f28ebf65ffdf5731deff28a0545077f1af3762a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cc92ef329edebea4d4f55f0f28ebf65ffdf5731deff28a0545077f1af3762a7", kill_on_drop: false }` [INFO] [stdout] 6cc92ef329edebea4d4f55f0f28ebf65ffdf5731deff28a0545077f1af3762a7