[INFO] cloning repository https://github.com/cutecutecat/layer_sword
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cutecutecat/layer_sword" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcutecutecat%2Flayer_sword", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcutecutecat%2Flayer_sword'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a00c455d4766785f65c7a7cfe3f426453691553f
[INFO] testing cutecutecat/layer_sword against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcutecutecat%2Flayer_sword" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cutecutecat/layer_sword on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/cutecutecat/layer_sword
[INFO] finished tweaking git repo https://github.com/cutecutecat/layer_sword
[INFO] tweaked toml for git repo https://github.com/cutecutecat/layer_sword written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/cutecutecat/layer_sword 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tar v0.4.33
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 62f62c1d7d66c3dabc578acdcb853e1c5053fa7bdf492ac8208d52f073bf112f
[INFO] running `Command { std: "docker" "start" "-a" "62f62c1d7d66c3dabc578acdcb853e1c5053fa7bdf492ac8208d52f073bf112f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62f62c1d7d66c3dabc578acdcb853e1c5053fa7bdf492ac8208d52f073bf112f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62f62c1d7d66c3dabc578acdcb853e1c5053fa7bdf492ac8208d52f073bf112f", kill_on_drop: false }`
[INFO] [stdout] 62f62c1d7d66c3dabc578acdcb853e1c5053fa7bdf492ac8208d52f073bf112f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db87431817d7f018d0db98c300720a50d481b9553b15b906458628d4d6abff95
[INFO] running `Command { std: "docker" "start" "-a" "db87431817d7f018d0db98c300720a50d481b9553b15b906458628d4d6abff95", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.89
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling regex-syntax v0.6.23
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling filetime v0.2.14
[INFO] [stderr]    Compiling xattr v0.2.2
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling flate2 v1.0.20
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling sha2 v0.9.3
[INFO] [stderr]    Compiling tar v0.4.33
[INFO] [stderr]    Compiling fs_extra v1.2.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling regex v1.4.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling env_logger v0.8.3
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling layer_sword v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/merge.rs:130:49
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/merge.rs:130:49
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.54s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "db87431817d7f018d0db98c300720a50d481b9553b15b906458628d4d6abff95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db87431817d7f018d0db98c300720a50d481b9553b15b906458628d4d6abff95", kill_on_drop: false }`
[INFO] [stdout] db87431817d7f018d0db98c300720a50d481b9553b15b906458628d4d6abff95
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 266a97d2a89c0591b259763419bfce8ea4934dd14729b46ae759a32922743568
[INFO] running `Command { std: "docker" "start" "-a" "266a97d2a89c0591b259763419bfce8ea4934dd14729b46ae759a32922743568", kill_on_drop: false }`
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/merge.rs:130:49
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling layer_sword v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/merge.rs:130:49
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/merge.rs:130:49
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/merge.rs:130:49
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "266a97d2a89c0591b259763419bfce8ea4934dd14729b46ae759a32922743568", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "266a97d2a89c0591b259763419bfce8ea4934dd14729b46ae759a32922743568", kill_on_drop: false }`
[INFO] [stdout] 266a97d2a89c0591b259763419bfce8ea4934dd14729b46ae759a32922743568
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d7283f9032934972a61ed9f118909c5b3087e736636087d4ef3922a1b53b36a8
[INFO] running `Command { std: "docker" "start" "-a" "d7283f9032934972a61ed9f118909c5b3087e736636087d4ef3922a1b53b36a8", kill_on_drop: false }`
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/inspector/base.rs:125:54
[INFO] [stderr]     |
[INFO] [stderr] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stderr]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/inspector/base.rs:147:50
[INFO] [stderr]     |
[INFO] [stderr] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stderr]     |                                                  ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stderr] help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stderr] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/merge.rs:130:49
[INFO] [stderr]     |
[INFO] [stderr] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stderr]     |                                                 ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stderr] help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stderr] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `layer_sword` (lib) generated 3 warnings (run `cargo fix --lib -p layer_sword` to apply 3 suggestions)
[INFO] [stderr] warning: `layer_sword` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr] warning: `layer_sword` (bin "layer_sword") generated 3 warnings (3 duplicates)
[INFO] [stderr] warning: `layer_sword` (bin "layer_sword" test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/layer_sword-96b59279f768726f)
[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]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/layer_sword-7c34461e078d2ded)
[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]      Running tests/common.rs (/opt/rustwide/target/debug/deps/common-5703497cf065a01b)
[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]      Running tests/test_cmd.rs (/opt/rustwide/target/debug/deps/test_cmd-3de284e96749cf15)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stderr] error: test failed, to rerun pass `--test test_cmd`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/deps/test_cmd-3de284e96749cf15` (exit status: 255)
[INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness.
[INFO] running `Command { std: "docker" "inspect" "d7283f9032934972a61ed9f118909c5b3087e736636087d4ef3922a1b53b36a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7283f9032934972a61ed9f118909c5b3087e736636087d4ef3922a1b53b36a8", kill_on_drop: false }`
[INFO] [stdout] d7283f9032934972a61ed9f118909c5b3087e736636087d4ef3922a1b53b36a8
[INFO] testing cutecutecat/layer_sword against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcutecutecat%2Flayer_sword" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cutecutecat/layer_sword on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/cutecutecat/layer_sword
[INFO] finished tweaking git repo https://github.com/cutecutecat/layer_sword
[INFO] tweaked toml for git repo https://github.com/cutecutecat/layer_sword written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/cutecutecat/layer_sword 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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 539e6aab8cb6b6241eadb0ba73ecab3e58ddb195624cf62a73a7cea4017f9335
[INFO] running `Command { std: "docker" "start" "-a" "539e6aab8cb6b6241eadb0ba73ecab3e58ddb195624cf62a73a7cea4017f9335", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "539e6aab8cb6b6241eadb0ba73ecab3e58ddb195624cf62a73a7cea4017f9335", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "539e6aab8cb6b6241eadb0ba73ecab3e58ddb195624cf62a73a7cea4017f9335", kill_on_drop: false }`
[INFO] [stdout] 539e6aab8cb6b6241eadb0ba73ecab3e58ddb195624cf62a73a7cea4017f9335
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 793878a950e84e068e158ba5456910c2a6e7ffd119599621736c5c8da54a223b
[INFO] running `Command { std: "docker" "start" "-a" "793878a950e84e068e158ba5456910c2a6e7ffd119599621736c5c8da54a223b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.89
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling regex-syntax v0.6.23
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling xattr v0.2.2
[INFO] [stderr]    Compiling filetime v0.2.14
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling flate2 v1.0.20
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.3
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling tar v0.4.33
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling fs_extra v1.2.0
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling regex v1.4.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling env_logger v0.8.3
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling layer_sword v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/merge.rs:130:49
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/merge.rs:130:49
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.54s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "793878a950e84e068e158ba5456910c2a6e7ffd119599621736c5c8da54a223b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "793878a950e84e068e158ba5456910c2a6e7ffd119599621736c5c8da54a223b", kill_on_drop: false }`
[INFO] [stdout] 793878a950e84e068e158ba5456910c2a6e7ffd119599621736c5c8da54a223b
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 470e3a27ffb9808b62f0cfc4fcd975c8efc7068a3ea2cb3b1e5da97649f17fd9
[INFO] running `Command { std: "docker" "start" "-a" "470e3a27ffb9808b62f0cfc4fcd975c8efc7068a3ea2cb3b1e5da97649f17fd9", kill_on_drop: false }`
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/merge.rs:130:49
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling layer_sword v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/merge.rs:130:49
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/merge.rs:130:49
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stdout]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/inspector/base.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout]     |                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stdout] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/merge.rs:130:49
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stdout] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "470e3a27ffb9808b62f0cfc4fcd975c8efc7068a3ea2cb3b1e5da97649f17fd9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "470e3a27ffb9808b62f0cfc4fcd975c8efc7068a3ea2cb3b1e5da97649f17fd9", kill_on_drop: false }`
[INFO] [stdout] 470e3a27ffb9808b62f0cfc4fcd975c8efc7068a3ea2cb3b1e5da97649f17fd9
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e79de5f272f72a2d2df5575d94a5459eda69ce8ddbc12712e644fe2f53cc8d73
[INFO] running `Command { std: "docker" "start" "-a" "e79de5f272f72a2d2df5575d94a5459eda69ce8ddbc12712e644fe2f53cc8d73", kill_on_drop: false }`
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/inspector/base.rs:125:54
[INFO] [stderr]     |
[INFO] [stderr] 125 |                 \nreal:'{}'\nright:'sha256:'", prefix.clone())
[INFO] [stderr]     |                                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/inspector/base.rs:147:50
[INFO] [stderr]     |
[INFO] [stderr] 147 |             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stderr]     |                                                  ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stderr] help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr] 147 -             let mut layer_dir_path = extract_path.clone().to_path_buf();
[INFO] [stderr] 147 +             let mut layer_dir_path = extract_path.to_path_buf();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/merge.rs:130:49
[INFO] [stderr]     |
[INFO] [stderr] 130 |                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stderr]     |                                                 ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed
[INFO] [stderr] help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr] 130 -                 let mut dst_pathbuf = merge_path.clone().to_path_buf();
[INFO] [stderr] 130 +                 let mut dst_pathbuf = merge_path.to_path_buf();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `layer_sword` (lib) generated 3 warnings (run `cargo fix --lib -p layer_sword` to apply 3 suggestions)
[INFO] [stderr] warning: `layer_sword` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr] warning: `layer_sword` (bin "layer_sword" test) generated 3 warnings (3 duplicates)
[INFO] [stderr] warning: `layer_sword` (bin "layer_sword") generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/layer_sword-96b59279f768726f)
[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]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/layer_sword-7c34461e078d2ded)
[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]      Running tests/common.rs (/opt/rustwide/target/debug/deps/common-5703497cf065a01b)
[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]      Running tests/test_cmd.rs (/opt/rustwide/target/debug/deps/test_cmd-3de284e96749cf15)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stderr] error: test failed, to rerun pass `--test test_cmd`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/deps/test_cmd-3de284e96749cf15` (exit status: 255)
[INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness.
[INFO] running `Command { std: "docker" "inspect" "e79de5f272f72a2d2df5575d94a5459eda69ce8ddbc12712e644fe2f53cc8d73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e79de5f272f72a2d2df5575d94a5459eda69ce8ddbc12712e644fe2f53cc8d73", kill_on_drop: false }`
[INFO] [stdout] e79de5f272f72a2d2df5575d94a5459eda69ce8ddbc12712e644fe2f53cc8d73
