[INFO] cloning repository https://github.com/mhd242006/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/mhd242006/rust-cli-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhd242006%2Frust-cli-todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhd242006%2Frust-cli-todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e812a116ff0455d0c2bed7d812d565627f592e9 [INFO] testing mhd242006/rust-cli-todo against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhd242006%2Frust-cli-todo" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mhd242006/rust-cli-todo [INFO] finished tweaking git repo https://github.com/mhd242006/rust-cli-todo [INFO] tweaked toml for git repo https://github.com/mhd242006/rust-cli-todo written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mhd242006/rust-cli-todo on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mhd242006/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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8ca2688401ffc435d6357cef0c020a21faa84558ff77a1c4120813bcc959998 [INFO] running `Command { std: "docker" "start" "-a" "b8ca2688401ffc435d6357cef0c020a21faa84558ff77a1c4120813bcc959998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8ca2688401ffc435d6357cef0c020a21faa84558ff77a1c4120813bcc959998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8ca2688401ffc435d6357cef0c020a21faa84558ff77a1c4120813bcc959998", kill_on_drop: false }` [INFO] [stdout] b8ca2688401ffc435d6357cef0c020a21faa84558ff77a1c4120813bcc959998 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51470bd04f9892c61727cf53c8fe29eb7c9e473a69ff4536611f378cfa414380 [INFO] running `Command { std: "docker" "start" "-a" "51470bd04f9892c61727cf53c8fe29eb7c9e473a69ff4536611f378cfa414380", kill_on_drop: false }` [INFO] [stderr] Compiling text_io v0.1.13 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustpro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `FromArgMatches` for type `Commands` [INFO] [stdout] --> src/main.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Subcommand)] [INFO] [stdout] | ---------- first implementation here [INFO] [stdout] 39 | #[derive(Subcommand)] [INFO] [stdout] | ^^^^^^^^^^ conflicting implementation for `Commands` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Subcommand` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Subcommand` for type `Commands` [INFO] [stdout] --> src/main.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Subcommand)] [INFO] [stdout] | ---------- first implementation here [INFO] [stdout] 39 | #[derive(Subcommand)] [INFO] [stdout] | ^^^^^^^^^^ conflicting implementation for `Commands` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Subcommand` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustpro` (bin "rustpro") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "51470bd04f9892c61727cf53c8fe29eb7c9e473a69ff4536611f378cfa414380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51470bd04f9892c61727cf53c8fe29eb7c9e473a69ff4536611f378cfa414380", kill_on_drop: false }` [INFO] [stdout] 51470bd04f9892c61727cf53c8fe29eb7c9e473a69ff4536611f378cfa414380