[INFO] cloning repository https://github.com/hsakas/rust-cli-todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hsakas/rust-cli-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsakas%2Frust-cli-todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsakas%2Frust-cli-todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df4029f872144a04e5d01661ead62ebcb8ae6971 [INFO] testing hsakas/rust-cli-todo against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsakas%2Frust-cli-todo" "/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/hsakas/rust-cli-todo on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hsakas/rust-cli-todo [INFO] finished tweaking git repo https://github.com/hsakas/rust-cli-todo [INFO] tweaked toml for git repo https://github.com/hsakas/rust-cli-todo written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hsakas/rust-cli-todo 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 211dd2a2d656ee9ba35f64f131f5fb6707a08f1aa6be0575e544d7f4c394d687 [INFO] running `Command { std: "docker" "start" "-a" "211dd2a2d656ee9ba35f64f131f5fb6707a08f1aa6be0575e544d7f4c394d687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "211dd2a2d656ee9ba35f64f131f5fb6707a08f1aa6be0575e544d7f4c394d687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "211dd2a2d656ee9ba35f64f131f5fb6707a08f1aa6be0575e544d7f4c394d687", kill_on_drop: false }` [INFO] [stdout] 211dd2a2d656ee9ba35f64f131f5fb6707a08f1aa6be0575e544d7f4c394d687 [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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaf36e2feda42c4350967652d92ca10de6cf7164d2edc91172794ccafb07aaeb [INFO] running `Command { std: "docker" "start" "-a" "aaf36e2feda42c4350967652d92ca10de6cf7164d2edc91172794ccafb07aaeb", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> utils/src/todo.rs:186:36 [INFO] [stdout] | [INFO] [stdout] 186 | completed.push(todo.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Todo` does not implement `Clone`, so calling `clone` on `&Todo` 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] 186 - completed.push(todo.clone()); [INFO] [stdout] 186 + completed.push(todo); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Todo`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct Todo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> utils/src/todo.rs:197:37 [INFO] [stdout] | [INFO] [stdout] 197 | incomplete.push(todo.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Todo` does not implement `Clone`, so calling `clone` on `&Todo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 197 - incomplete.push(todo.clone()); [INFO] [stdout] 197 + incomplete.push(todo); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Todo`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct Todo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling clap v3.1.5 [INFO] [stderr] Compiling cli-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.02s [INFO] running `Command { std: "docker" "inspect" "aaf36e2feda42c4350967652d92ca10de6cf7164d2edc91172794ccafb07aaeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaf36e2feda42c4350967652d92ca10de6cf7164d2edc91172794ccafb07aaeb", kill_on_drop: false }` [INFO] [stdout] aaf36e2feda42c4350967652d92ca10de6cf7164d2edc91172794ccafb07aaeb [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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c48480ffc579af2d1ca92391555fc5c3337bfce07338546c103bf7d5501e2adf [INFO] running `Command { std: "docker" "start" "-a" "c48480ffc579af2d1ca92391555fc5c3337bfce07338546c103bf7d5501e2adf", kill_on_drop: false }` [INFO] [stderr] Compiling cli-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> utils/src/todo.rs:186:36 [INFO] [stdout] | [INFO] [stdout] 186 | completed.push(todo.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Todo` does not implement `Clone`, so calling `clone` on `&Todo` 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] 186 - completed.push(todo.clone()); [INFO] [stdout] 186 + completed.push(todo); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Todo`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct Todo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> utils/src/todo.rs:197:37 [INFO] [stdout] | [INFO] [stdout] 197 | incomplete.push(todo.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Todo` does not implement `Clone`, so calling `clone` on `&Todo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 197 - incomplete.push(todo.clone()); [INFO] [stdout] 197 + incomplete.push(todo); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Todo`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct Todo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "c48480ffc579af2d1ca92391555fc5c3337bfce07338546c103bf7d5501e2adf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c48480ffc579af2d1ca92391555fc5c3337bfce07338546c103bf7d5501e2adf", kill_on_drop: false }` [INFO] [stdout] c48480ffc579af2d1ca92391555fc5c3337bfce07338546c103bf7d5501e2adf [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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 37ba5a55fdb75767ffaea4091d768b07da1f993a322b44a80229e2cbab7ebfc7 [INFO] running `Command { std: "docker" "start" "-a" "37ba5a55fdb75767ffaea4091d768b07da1f993a322b44a80229e2cbab7ebfc7", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> utils/src/todo.rs:186:36 [INFO] [stderr] | [INFO] [stderr] 186 | completed.push(todo.clone()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Todo` does not implement `Clone`, so calling `clone` on `&Todo` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 186 - completed.push(todo.clone()); [INFO] [stderr] 186 + completed.push(todo); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `Todo`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 19 + #[derive(Clone)] [INFO] [stderr] 20 | pub struct Todo { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> utils/src/todo.rs:197:37 [INFO] [stderr] | [INFO] [stderr] 197 | incomplete.push(todo.clone()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Todo` does not implement `Clone`, so calling `clone` on `&Todo` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 197 - incomplete.push(todo.clone()); [INFO] [stderr] 197 + incomplete.push(todo); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `Todo`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 19 + #[derive(Clone)] [INFO] [stderr] 20 | pub struct Todo { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `utils` (lib) generated 2 warnings (run `cargo fix --lib -p utils` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cli_todo-80c87d21efc9fd05) [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] running `Command { std: "docker" "inspect" "37ba5a55fdb75767ffaea4091d768b07da1f993a322b44a80229e2cbab7ebfc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ba5a55fdb75767ffaea4091d768b07da1f993a322b44a80229e2cbab7ebfc7", kill_on_drop: false }` [INFO] [stdout] 37ba5a55fdb75767ffaea4091d768b07da1f993a322b44a80229e2cbab7ebfc7