[INFO] cloning repository https://github.com/CirsteanPaul/Pit-CLI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CirsteanPaul/Pit-CLI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCirsteanPaul%2FPit-CLI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCirsteanPaul%2FPit-CLI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e6f707e8fc48d3a8ae263fbc37f70cabe0233bb [INFO] checking CirsteanPaul/Pit-CLI/6e6f707e8fc48d3a8ae263fbc37f70cabe0233bb 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%2FCirsteanPaul%2FPit-CLI" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CirsteanPaul/Pit-CLI 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/CirsteanPaul/Pit-CLI [INFO] finished tweaking git repo https://github.com/CirsteanPaul/Pit-CLI [INFO] tweaked toml for git repo https://github.com/CirsteanPaul/Pit-CLI written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CirsteanPaul/Pit-CLI 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 965299d2ac4931a3a68460fab1a1ec84e8f198e5fb516d7ae771521e82e28f23 [INFO] running `Command { std: "docker" "start" "-a" "965299d2ac4931a3a68460fab1a1ec84e8f198e5fb516d7ae771521e82e28f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "965299d2ac4931a3a68460fab1a1ec84e8f198e5fb516d7ae771521e82e28f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "965299d2ac4931a3a68460fab1a1ec84e8f198e5fb516d7ae771521e82e28f23", kill_on_drop: false }` [INFO] [stdout] 965299d2ac4931a3a68460fab1a1ec84e8f198e5fb516d7ae771521e82e28f23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3fd8d88d489148bb188360ce08f12f9e075306ad038bda8944c8e572d88b37b7 [INFO] running `Command { std: "docker" "start" "-a" "3fd8d88d489148bb188360ce08f12f9e075306ad038bda8944c8e572d88b37b7", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking chksum-hash-core v0.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling color-print-proc-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking color-print v0.3.5 [INFO] [stderr] Checking chksum-core v0.0.0 [INFO] [stderr] Checking chksum-hash-sha1 v0.0.0 [INFO] [stderr] Checking chksum-sha1 v0.0.0 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking git-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commit_git.rs:367:90 [INFO] [stdout] | [INFO] [stdout] 367 | tree_node.borrow_mut().pit_path = "./.pit/objects/".to_string() + commit_hash.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/diff.rs:117:74 [INFO] [stdout] | [INFO] [stdout] 117 | root.borrow_mut().pit_path = objects_file_path.clone() + tree_line[1].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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/diff.rs:118:42 [INFO] [stdout] | [INFO] [stdout] 118 | root.borrow_mut().hash = tree_line[1].clone().to_string(); [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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/merge.rs:200:45 [INFO] [stdout] | [INFO] [stdout] 200 | head_tree.borrow_mut().hash = commit.clone().to_string(); [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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/merge.rs:201:81 [INFO] [stdout] | [INFO] [stdout] 201 | head_tree.borrow_mut().pit_path = "./.pit/objects/".to_string() + commit.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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/merge.rs:232:47 [INFO] [stdout] | [INFO] [stdout] 232 | head_parent.borrow_mut().hash = commit.clone().to_string(); [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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/merge.rs:233:83 [INFO] [stdout] | [INFO] [stdout] 233 | head_parent.borrow_mut().pit_path = "./.pit/objects/".to_string() + commit.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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/status_git.rs:132:74 [INFO] [stdout] | [INFO] [stdout] 132 | root.borrow_mut().pit_path = objects_file_path.clone() + tree_line[1].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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/status_git.rs:133:42 [INFO] [stdout] | [INFO] [stdout] 133 | root.borrow_mut().hash = tree_line[1].clone().to_string(); [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] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commit_git.rs:367:90 [INFO] [stdout] | [INFO] [stdout] 367 | tree_node.borrow_mut().pit_path = "./.pit/objects/".to_string() + commit_hash.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/diff.rs:117:74 [INFO] [stdout] | [INFO] [stdout] 117 | root.borrow_mut().pit_path = objects_file_path.clone() + tree_line[1].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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/diff.rs:118:42 [INFO] [stdout] | [INFO] [stdout] 118 | root.borrow_mut().hash = tree_line[1].clone().to_string(); [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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/merge.rs:200:45 [INFO] [stdout] | [INFO] [stdout] 200 | head_tree.borrow_mut().hash = commit.clone().to_string(); [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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/merge.rs:201:81 [INFO] [stdout] | [INFO] [stdout] 201 | head_tree.borrow_mut().pit_path = "./.pit/objects/".to_string() + commit.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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/merge.rs:232:47 [INFO] [stdout] | [INFO] [stdout] 232 | head_parent.borrow_mut().hash = commit.clone().to_string(); [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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/merge.rs:233:83 [INFO] [stdout] | [INFO] [stdout] 233 | head_parent.borrow_mut().pit_path = "./.pit/objects/".to_string() + commit.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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/status_git.rs:132:74 [INFO] [stdout] | [INFO] [stdout] 132 | root.borrow_mut().pit_path = objects_file_path.clone() + tree_line[1].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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/status_git.rs:133:42 [INFO] [stdout] | [INFO] [stdout] 133 | root.borrow_mut().hash = tree_line[1].clone().to_string(); [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] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.41s [INFO] running `Command { std: "docker" "inspect" "3fd8d88d489148bb188360ce08f12f9e075306ad038bda8944c8e572d88b37b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fd8d88d489148bb188360ce08f12f9e075306ad038bda8944c8e572d88b37b7", kill_on_drop: false }` [INFO] [stdout] 3fd8d88d489148bb188360ce08f12f9e075306ad038bda8944c8e572d88b37b7