[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 try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAborgen%2Fugit_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aborgen/ugit_rust on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-tc2/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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b60b4318b797087aceabed8d3b1859da3b63abf98ba9772b974c6c4295a4290 [INFO] running `Command { std: "docker" "start" "-a" "1b60b4318b797087aceabed8d3b1859da3b63abf98ba9772b974c6c4295a4290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b60b4318b797087aceabed8d3b1859da3b63abf98ba9772b974c6c4295a4290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b60b4318b797087aceabed8d3b1859da3b63abf98ba9772b974c6c4295a4290", kill_on_drop: false }` [INFO] [stdout] 1b60b4318b797087aceabed8d3b1859da3b63abf98ba9772b974c6c4295a4290 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d8b3fef7da6428d885bdbef3adaccdb95d1083ad496e25c37f3edb65f5e47da [INFO] running `Command { std: "docker" "start" "-a" "4d8b3fef7da6428d885bdbef3adaccdb95d1083ad496e25c37f3edb65f5e47da", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking sha2 v0.9.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 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 6.44s [INFO] running `Command { std: "docker" "inspect" "4d8b3fef7da6428d885bdbef3adaccdb95d1083ad496e25c37f3edb65f5e47da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d8b3fef7da6428d885bdbef3adaccdb95d1083ad496e25c37f3edb65f5e47da", kill_on_drop: false }` [INFO] [stdout] 4d8b3fef7da6428d885bdbef3adaccdb95d1083ad496e25c37f3edb65f5e47da