[INFO] cloning repository https://github.com/sacredtreasure/gitcub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sacredtreasure/gitcub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsacredtreasure%2Fgitcub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsacredtreasure%2Fgitcub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9fb43fef73767d6c14b5ff74e75681b4868ddb1 [INFO] checking sacredtreasure/gitcub against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsacredtreasure%2Fgitcub" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sacredtreasure/gitcub [INFO] finished tweaking git repo https://github.com/sacredtreasure/gitcub [INFO] tweaked toml for git repo https://github.com/sacredtreasure/gitcub written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sacredtreasure/gitcub on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sacredtreasure/gitcub 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.4.8 [INFO] [stderr] Downloaded clap_builder v4.4.8 [INFO] [stderr] Downloaded syn v2.0.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c26172ebffeeb6ebaae0b8de3ffc41ac3e660403b137476ef8ac88ca3d6456c8 [INFO] running `Command { std: "docker" "start" "-a" "c26172ebffeeb6ebaae0b8de3ffc41ac3e660403b137476ef8ac88ca3d6456c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c26172ebffeeb6ebaae0b8de3ffc41ac3e660403b137476ef8ac88ca3d6456c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c26172ebffeeb6ebaae0b8de3ffc41ac3e660403b137476ef8ac88ca3d6456c8", kill_on_drop: false }` [INFO] [stdout] c26172ebffeeb6ebaae0b8de3ffc41ac3e660403b137476ef8ac88ca3d6456c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e795e9f1f600d88f42c2cd6bcd8e3282575b073a5aa3069a4f2e7973b5fa6d3c [INFO] running `Command { std: "docker" "start" "-a" "e795e9f1f600d88f42c2cd6bcd8e3282575b073a5aa3069a4f2e7973b5fa6d3c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.8 [INFO] [stderr] Checking gitcub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Command` in this scope [INFO] [stdout] --> src/gitcub.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Command)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` is imported here, but it is a struct, not a derive macro [INFO] [stdout] --> src/gitcub.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Command; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: the derive macros `Parser` and `Subcommand` accept the similarly named `command` attribute (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 5 - #[derive(Command)] [INFO] [stdout] 5 + #[derive(command)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/gitcub.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[command(command)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `command` is an attribute that can be used by the derive macros `Parser` and `Subcommand`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Parser, Subcommand)] [INFO] [stdout] 7 | pub enum Gitcub { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `command` in this scope [INFO] [stdout] --> src/gitcub.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | command.exec(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `title` in this scope [INFO] [stdout] --> src/pr.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | println!("PR with title {title} is created and the draft status is {draft}"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `draft` in this scope [INFO] [stdout] --> src/pr.rs:20:85 [INFO] [stdout] | [INFO] [stdout] 20 | println!("PR with title {title} is created and the draft status is {draft}"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Command` in this scope [INFO] [stdout] --> src/gitcub.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Command)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Command` is imported here, but it is a struct, not a derive macro [INFO] [stdout] --> src/gitcub.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Command; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: the derive macros `Parser` and `Subcommand` accept the similarly named `command` attribute (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 5 - #[derive(Command)] [INFO] [stdout] 5 + #[derive(command)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/gitcub.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[command(command)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `command` is an attribute that can be used by the derive macros `Parser` and `Subcommand`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Parser, Subcommand)] [INFO] [stdout] 7 | pub enum Gitcub { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `command` in this scope [INFO] [stdout] --> src/gitcub.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | command.exec(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `title` in this scope [INFO] [stdout] --> src/pr.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | println!("PR with title {title} is created and the draft status is {draft}"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `draft` in this scope [INFO] [stdout] --> src/pr.rs:20:85 [INFO] [stdout] | [INFO] [stdout] 20 | println!("PR with title {title} is created and the draft status is {draft}"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pr.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 18 | match self { [INFO] [stdout] | ---- this expression has type `&Pr` [INFO] [stdout] 19 | Pr::Create { title: &String, draft: bool} => { [INFO] [stdout] | ^^^^^^^ expected `String`, found `&_` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pr.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 18 | match self { [INFO] [stdout] | ---- this expression has type `&Pr` [INFO] [stdout] 19 | Pr::Create { title: &String, draft: bool} => { [INFO] [stdout] | ^^^^^^^ expected `String`, found `&_` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Gitcub: FromArgMatches` is not satisfied [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | command: Gitcub, [INFO] [stdout] | ^^^^^^ the trait `FromArgMatches` is not implemented for `Gitcub` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromArgMatches`: [INFO] [stdout] Box [INFO] [stdout] Cli [INFO] [stdout] Pr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Gitcub: FromArgMatches` is not satisfied [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | command: Gitcub, [INFO] [stdout] | ^^^^^^ the trait `FromArgMatches` is not implemented for `Gitcub` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromArgMatches`: [INFO] [stdout] Box [INFO] [stdout] Cli [INFO] [stdout] Pr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Gitcub: Subcommand` is not satisfied [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | command: Gitcub, [INFO] [stdout] | ^^^^^^ the trait `Subcommand` is not implemented for `Gitcub` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Subcommand`: [INFO] [stdout] Box [INFO] [stdout] Pr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Gitcub: Subcommand` is not satisfied [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | command: Gitcub, [INFO] [stdout] | ^^^^^^ the trait `Subcommand` is not implemented for `Gitcub` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Subcommand`: [INFO] [stdout] Box [INFO] [stdout] Pr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gitcub` (bin "gitcub" test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gitcub` (bin "gitcub") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "e795e9f1f600d88f42c2cd6bcd8e3282575b073a5aa3069a4f2e7973b5fa6d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e795e9f1f600d88f42c2cd6bcd8e3282575b073a5aa3069a4f2e7973b5fa6d3c", kill_on_drop: false }` [INFO] [stdout] e795e9f1f600d88f42c2cd6bcd8e3282575b073a5aa3069a4f2e7973b5fa6d3c