[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#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcutecutecat%2Flayer_sword" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cutecutecat/layer_sword on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0fda7d5273089d0294e33ca3983ee8b4106db76893d8b1d5a5c4cf9552a44369
[INFO] running `Command { std: "docker" "start" "-a" "0fda7d5273089d0294e33ca3983ee8b4106db76893d8b1d5a5c4cf9552a44369", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0fda7d5273089d0294e33ca3983ee8b4106db76893d8b1d5a5c4cf9552a44369", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fda7d5273089d0294e33ca3983ee8b4106db76893d8b1d5a5c4cf9552a44369", kill_on_drop: false }`
[INFO] [stdout] 0fda7d5273089d0294e33ca3983ee8b4106db76893d8b1d5a5c4cf9552a44369
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] f4756a7cb6cc020954bd6297fb91b4977e43df99833ce2e325da85a2f5d3c315
[INFO] running `Command { std: "docker" "start" "-a" "f4756a7cb6cc020954bd6297fb91b4977e43df99833ce2e325da85a2f5d3c315", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.89
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling regex-syntax v0.6.23
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling fs_extra v1.2.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[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 flate2 v1.0.20
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling tar v0.4.33
[INFO] [stderr]    Compiling regex v1.4.5
[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 env_logger v0.8.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[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 16.28s
[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" "f4756a7cb6cc020954bd6297fb91b4977e43df99833ce2e325da85a2f5d3c315", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4756a7cb6cc020954bd6297fb91b4977e43df99833ce2e325da85a2f5d3c315", kill_on_drop: false }`
[INFO] [stdout] f4756a7cb6cc020954bd6297fb91b4977e43df99833ce2e325da85a2f5d3c315
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 9c26ee70eab714eaf9bf02d98da96cfe5b4188bbbefecc2a80c210bdbc837c22
[INFO] running `Command { std: "docker" "start" "-a" "9c26ee70eab714eaf9bf02d98da96cfe5b4188bbbefecc2a80c210bdbc837c22", kill_on_drop: false }`
[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] [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 2.27s
[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" "9c26ee70eab714eaf9bf02d98da96cfe5b4188bbbefecc2a80c210bdbc837c22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c26ee70eab714eaf9bf02d98da96cfe5b4188bbbefecc2a80c210bdbc837c22", kill_on_drop: false }`
[INFO] [stdout] 9c26ee70eab714eaf9bf02d98da96cfe5b4188bbbefecc2a80c210bdbc837c22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 6eaf4cea29a7db44ad6e8b8208e78675c064b672c4694e3f7b4d595753a6dd72
[INFO] running `Command { std: "docker" "start" "-a" "6eaf4cea29a7db44ad6e8b8208e78675c064b672c4694e3f7b4d595753a6dd72", 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/build/layer_sword/55203621921cf216/deps/layer_sword-55203621921cf216)
[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/build/layer_sword/dc1374e8dfda8f92/deps/layer_sword-dc1374e8dfda8f92)
[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/build/layer_sword/d52d9e6ce842ef22/deps/common-d52d9e6ce842ef22)
[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/build/layer_sword/6f8c7f58116ab5e7/deps/test_cmd-6f8c7f58116ab5e7)
[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/build/layer_sword/6f8c7f58116ab5e7/deps/test_cmd-6f8c7f58116ab5e7` (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" "6eaf4cea29a7db44ad6e8b8208e78675c064b672c4694e3f7b4d595753a6dd72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6eaf4cea29a7db44ad6e8b8208e78675c064b672c4694e3f7b4d595753a6dd72", kill_on_drop: false }`
[INFO] [stdout] 6eaf4cea29a7db44ad6e8b8208e78675c064b672c4694e3f7b4d595753a6dd72
