[INFO] cloning repository https://github.com/Aborgen/ugit_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aborgen/ugit_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAborgen%2Fugit_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAborgen%2Fugit_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8dbd1be275f8a456d928bf5bf924d971b9815d39 [INFO] checking Aborgen/ugit_rust/8dbd1be275f8a456d928bf5bf924d971b9815d39 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAborgen%2Fugit_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aborgen/ugit_rust on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aborgen/ugit_rust [INFO] finished tweaking git repo https://github.com/Aborgen/ugit_rust [INFO] tweaked toml for git repo https://github.com/Aborgen/ugit_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Aborgen/ugit_rust 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test v0.5.1 [INFO] [stderr] Downloaded sha2 v0.9.3 [INFO] [stderr] Downloaded serial_test_derive v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0abbdbcfcfaefc5be8a62d8d1193eece46252ba25765ffeb29aa912d39703798 [INFO] running `Command { std: "docker" "start" "-a" "0abbdbcfcfaefc5be8a62d8d1193eece46252ba25765ffeb29aa912d39703798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0abbdbcfcfaefc5be8a62d8d1193eece46252ba25765ffeb29aa912d39703798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0abbdbcfcfaefc5be8a62d8d1193eece46252ba25765ffeb29aa912d39703798", kill_on_drop: false }` [INFO] [stdout] 0abbdbcfcfaefc5be8a62d8d1193eece46252ba25765ffeb29aa912d39703798 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e01a6308491630a267499a0ca58bb4cf6940001f2568a981c14cb1aa7a6f7755 [INFO] running `Command { std: "docker" "start" "-a" "e01a6308491630a267499a0ca58bb4cf6940001f2568a981c14cb1aa7a6f7755", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking ugit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:123:67 [INFO] [stdout] | [INFO] [stdout] 123 | None => Ok(RefValue { symbolic: false, value: None, path: path.clone().to_path_buf() }) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 123 - None => Ok(RefValue { symbolic: false, value: None, path: path.clone().to_path_buf() }) [INFO] [stdout] 123 + None => Ok(RefValue { symbolic: false, value: None, path: 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/data.rs:171:70 [INFO] [stdout] | [INFO] [stdout] 171 | let ref_value = RefValue { symbolic, value: Some(value), path: path.clone().to_path_buf() }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 171 - let ref_value = RefValue { symbolic, value: Some(value), path: path.clone().to_path_buf() }; [INFO] [stdout] 171 + let ref_value = RefValue { symbolic, value: Some(value), path: 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/data.rs:386:24 [INFO] [stdout] | [INFO] [stdout] 386 | let mut path = path.clone().to_path_buf(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 386 - let mut path = path.clone().to_path_buf(); [INFO] [stdout] 386 + let mut path = path.to_path_buf(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Checking serial_test v0.5.1 [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:123:67 [INFO] [stdout] | [INFO] [stdout] 123 | None => Ok(RefValue { symbolic: false, value: None, path: 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] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 123 - None => Ok(RefValue { symbolic: false, value: None, path: path.clone().to_path_buf() }) [INFO] [stdout] 123 + None => Ok(RefValue { symbolic: false, value: None, path: 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/data.rs:171:70 [INFO] [stdout] | [INFO] [stdout] 171 | let ref_value = RefValue { symbolic, value: Some(value), path: 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] 171 - let ref_value = RefValue { symbolic, value: Some(value), path: path.clone().to_path_buf() }; [INFO] [stdout] 171 + let ref_value = RefValue { symbolic, value: Some(value), path: 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/data.rs:386:24 [INFO] [stdout] | [INFO] [stdout] 386 | let mut path = 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] 386 - let mut path = path.clone().to_path_buf(); [INFO] [stdout] 386 + let mut path = 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/data.rs:560:73 [INFO] [stdout] | [INFO] [stdout] 560 | let expected = RefValue { symbolic: false, value: None, path: 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] 560 - let expected = RefValue { symbolic: false, value: None, path: path.clone().to_path_buf() }; [INFO] [stdout] 560 + let expected = RefValue { symbolic: false, value: None, path: path.to_path_buf() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.33s [INFO] running `Command { std: "docker" "inspect" "e01a6308491630a267499a0ca58bb4cf6940001f2568a981c14cb1aa7a6f7755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e01a6308491630a267499a0ca58bb4cf6940001f2568a981c14cb1aa7a6f7755", kill_on_drop: false }` [INFO] [stdout] e01a6308491630a267499a0ca58bb4cf6940001f2568a981c14cb1aa7a6f7755