[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#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcutecutecat%2Flayer_sword" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cutecutecat/layer_sword on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.2.5
[INFO] [stderr]   Downloaded thiserror-impl v1.0.24
[INFO] [stderr]   Downloaded tar v0.4.33
[INFO] [stderr]   Downloaded thiserror v1.0.24
[INFO] [stderr]   Downloaded env_logger v0.8.3
[INFO] [stderr]   Downloaded typenum v1.13.0
[INFO] [stderr]   Downloaded miniz_oxide v0.4.4
[INFO] [stderr]   Downloaded fs_extra v1.2.0
[INFO] [stderr]   Downloaded json v0.12.4
[INFO] [stderr]   Downloaded regex-syntax v0.6.23
[INFO] [stderr]   Downloaded regex v1.4.5
[INFO] [stderr]   Downloaded syn v1.0.64
[INFO] [stderr]   Downloaded libc v0.2.89
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ce7f696ceb51795a86f4602cb31d0b417bb273148f5cecaee3fcb9cac54a6fd2
[INFO] running `Command { std: "docker" "start" "-a" "ce7f696ceb51795a86f4602cb31d0b417bb273148f5cecaee3fcb9cac54a6fd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ce7f696ceb51795a86f4602cb31d0b417bb273148f5cecaee3fcb9cac54a6fd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce7f696ceb51795a86f4602cb31d0b417bb273148f5cecaee3fcb9cac54a6fd2", kill_on_drop: false }`
[INFO] [stdout] ce7f696ceb51795a86f4602cb31d0b417bb273148f5cecaee3fcb9cac54a6fd2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b43306651b7c5f4017e60183b45c5b8835843a5a39b159688c207f847f2ff7a
[INFO] running `Command { std: "docker" "start" "-a" "8b43306651b7c5f4017e60183b45c5b8835843a5a39b159688c207f847f2ff7a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.89
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling regex-syntax v0.6.23
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling fs_extra v1.2.0
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling generic-array v0.14.4
[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 block-buffer v0.9.0
[INFO] [stderr]    Compiling digest 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 14.53s
[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" "8b43306651b7c5f4017e60183b45c5b8835843a5a39b159688c207f847f2ff7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b43306651b7c5f4017e60183b45c5b8835843a5a39b159688c207f847f2ff7a", kill_on_drop: false }`
[INFO] [stdout] 8b43306651b7c5f4017e60183b45c5b8835843a5a39b159688c207f847f2ff7a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2fece3a18650f2c79f83b8df3ce33dbdfcb98f8c9052522e4a6f9483952714ff
[INFO] running `Command { std: "docker" "start" "-a" "2fece3a18650f2c79f83b8df3ce33dbdfcb98f8c9052522e4a6f9483952714ff", 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.26s
[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" "2fece3a18650f2c79f83b8df3ce33dbdfcb98f8c9052522e4a6f9483952714ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fece3a18650f2c79f83b8df3ce33dbdfcb98f8c9052522e4a6f9483952714ff", kill_on_drop: false }`
[INFO] [stdout] 2fece3a18650f2c79f83b8df3ce33dbdfcb98f8c9052522e4a6f9483952714ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 787b65753872f67c595102241ea10a09137c1532e6754a2ec89083f4b3615523
[INFO] running `Command { std: "docker" "start" "-a" "787b65753872f67c595102241ea10a09137c1532e6754a2ec89083f4b3615523", 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.07s
[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-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/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/deps/common-d52d9e6ce842ef22)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running tests/test_cmd.rs (/opt/rustwide/target/debug/deps/test_cmd-6f8c7f58116ab5e7)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[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-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" "787b65753872f67c595102241ea10a09137c1532e6754a2ec89083f4b3615523", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "787b65753872f67c595102241ea10a09137c1532e6754a2ec89083f4b3615523", kill_on_drop: false }`
[INFO] [stdout] 787b65753872f67c595102241ea10a09137c1532e6754a2ec89083f4b3615523
