[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 try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcutecutecat%2Flayer_sword" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cutecutecat/layer_sword on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4a1cf4a5eeca28e5287b45bffe3b35af6c9ab399d2f16e62a9a525ed03bf01c6
[INFO] running `Command { std: "docker" "start" "-a" "4a1cf4a5eeca28e5287b45bffe3b35af6c9ab399d2f16e62a9a525ed03bf01c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4a1cf4a5eeca28e5287b45bffe3b35af6c9ab399d2f16e62a9a525ed03bf01c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a1cf4a5eeca28e5287b45bffe3b35af6c9ab399d2f16e62a9a525ed03bf01c6", kill_on_drop: false }`
[INFO] [stdout] 4a1cf4a5eeca28e5287b45bffe3b35af6c9ab399d2f16e62a9a525ed03bf01c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6ace9fb827ed7532ec0b34cd13ac460b7d7b9571b2ec41bb442d0d03942043ff
[INFO] running `Command { std: "docker" "start" "-a" "6ace9fb827ed7532ec0b34cd13ac460b7d7b9571b2ec41bb442d0d03942043ff", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.89
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling regex-syntax v0.6.23
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling fs_extra v1.2.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling xattr v0.2.2
[INFO] [stderr]    Compiling filetime v0.2.14
[INFO] [stderr]    Compiling flate2 v1.0.20
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling tar v0.4.33
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.3
[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: 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]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.99s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "6ace9fb827ed7532ec0b34cd13ac460b7d7b9571b2ec41bb442d0d03942043ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ace9fb827ed7532ec0b34cd13ac460b7d7b9571b2ec41bb442d0d03942043ff", kill_on_drop: false }`
[INFO] [stdout] 6ace9fb827ed7532ec0b34cd13ac460b7d7b9571b2ec41bb442d0d03942043ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f07177dfa47625a9e6c9eea639bc462da2336898d9c8e3aafb003d6aa2eb4158
[INFO] running `Command { std: "docker" "start" "-a" "f07177dfa47625a9e6c9eea639bc462da2336898d9c8e3aafb003d6aa2eb4158", 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: 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: 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]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.56s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "f07177dfa47625a9e6c9eea639bc462da2336898d9c8e3aafb003d6aa2eb4158", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f07177dfa47625a9e6c9eea639bc462da2336898d9c8e3aafb003d6aa2eb4158", kill_on_drop: false }`
[INFO] [stdout] f07177dfa47625a9e6c9eea639bc462da2336898d9c8e3aafb003d6aa2eb4158
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 22627aaec82fca0ba87a96eb190e59d7a65fe39d7fd0ebf17620496722e076af
[INFO] running `Command { std: "docker" "start" "-a" "22627aaec82fca0ba87a96eb190e59d7a65fe39d7fd0ebf17620496722e076af", 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.09s
[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 2`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/layer_sword-e4adccc9bec72fe5)
[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-6d1a0fd18ae060f9)
[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-91490da7c12c95a8)
[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-01cba1069c337869)
[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-01cba1069c337869` (exit status: 255)
[INFO] [stderr] note: test exited abnormally; to see the full output pass --no-capture to the harness.
[INFO] running `Command { std: "docker" "inspect" "22627aaec82fca0ba87a96eb190e59d7a65fe39d7fd0ebf17620496722e076af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22627aaec82fca0ba87a96eb190e59d7a65fe39d7fd0ebf17620496722e076af", kill_on_drop: false }`
[INFO] [stdout] 22627aaec82fca0ba87a96eb190e59d7a65fe39d7fd0ebf17620496722e076af
