[INFO] cloning repository https://github.com/Chikimuras/scaffapi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Chikimuras/scaffapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChikimuras%2Fscaffapi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChikimuras%2Fscaffapi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] df6d9b7e994d2c25fc3f84f2616dfcc62e486e70
[INFO] checking Chikimuras/scaffapi against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChikimuras%2Fscaffapi" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Chikimuras/scaffapi
[INFO] finished tweaking git repo https://github.com/Chikimuras/scaffapi
[INFO] tweaked toml for git repo https://github.com/Chikimuras/scaffapi written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Chikimuras/scaffapi on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Chikimuras/scaffapi 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 126165362ac54de4fbb42afcc6b47de9907f7ad19687518c1fced71466d0a6c2
[INFO] running `Command { std: "docker" "start" "-a" "126165362ac54de4fbb42afcc6b47de9907f7ad19687518c1fced71466d0a6c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "126165362ac54de4fbb42afcc6b47de9907f7ad19687518c1fced71466d0a6c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "126165362ac54de4fbb42afcc6b47de9907f7ad19687518c1fced71466d0a6c2", kill_on_drop: false }`
[INFO] [stdout] 126165362ac54de4fbb42afcc6b47de9907f7ad19687518c1fced71466d0a6c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0d6dd7595f15ef50e54820f827a3a9ad6be87069edcb8dbd65e45cec357277f5
[INFO] running `Command { std: "docker" "start" "-a" "0d6dd7595f15ef50e54820f827a3a9ad6be87069edcb8dbd65e45cec357277f5", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]    Compiling libc v0.2.173
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking unic-char-range v0.9.0
[INFO] [stderr]     Checking unic-common v0.9.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking bstr v1.12.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking unic-ucd-version v0.9.0
[INFO] [stderr]     Checking unic-char-property v0.9.0
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking unic-ucd-segment v0.9.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking clap_lex v0.7.5
[INFO] [stderr]     Checking winnow v0.7.11
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking deunicode v1.6.2
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking slug v0.1.6
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking clap_builder v4.5.40
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking unic-segment v0.9.0
[INFO] [stderr]     Checking humansize v2.1.3
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]     Checking globset v0.4.16
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.1
[INFO] [stderr]     Checking ignore v0.4.23
[INFO] [stderr]    Compiling chrono-tz-build v0.3.0
[INFO] [stderr]     Checking clap v4.5.40
[INFO] [stderr]     Checking globwalk v0.9.1
[INFO] [stderr]    Compiling chrono-tz v0.9.0
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]     Checking tera v1.20.0
[INFO] [stderr]     Checking scaffapi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]  --> src/cli.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Parser)]
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/cli.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{Parser, Subcommand, ValueEnum};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]  --> src/cli.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[command(name = "scaffapi")]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]  --> src/cli.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[command(version = "0.1.0")]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]  --> src/cli.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[command(author = "Alexandre Velia")]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]   --> src/cli.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[command(about = "Generate API boilerplate code from templates", long_about = None)]
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]   --> src/cli.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[command(subcommand)]
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Subcommand` in this scope
[INFO] [stdout]   --> src/cli.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Subcommand)]
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Subcommand` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/cli.rs:3:20
[INFO] [stdout]    |
[INFO] [stdout]  3 | use clap::{Parser, Subcommand, ValueEnum};
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/cli.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 |         #[arg(short, long, value_enum)]
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/cli.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 |         #[arg(value_enum)]
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ValueEnum` in this scope
[INFO] [stdout]   --> src/cli.rs:49:24
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Clone, Debug, ValueEnum)]
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ValueEnum` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/cli.rs:3:32
[INFO] [stdout]    |
[INFO] [stdout]  3 | use clap::{Parser, Subcommand, ValueEnum};
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ValueEnum` in this scope
[INFO] [stdout]   --> src/cli.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Clone, Debug, ValueEnum)]
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ValueEnum` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/cli.rs:3:32
[INFO] [stdout]    |
[INFO] [stdout]  3 | use clap::{Parser, Subcommand, ValueEnum};
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Command` in `cli`
[INFO] [stdout]   --> src/main.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |         cli::Command::New { name, stack } => {
[INFO] [stdout]    |              ^^^^^^^ could not find `Command` in `cli`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 13 |         cli::Commands::New { name, stack } => {
[INFO] [stdout]    |                     +
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  5 + use std::process::Command;
[INFO] [stdout]    |
[INFO] [stdout]  5 + use clap::Command;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Command`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 13 -         cli::Command::New { name, stack } => {
[INFO] [stdout] 13 +         Command::New { name, stack } => {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Command` in `cli`
[INFO] [stdout]   --> src/main.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |         cli::Command::Config { key, value } => {
[INFO] [stdout]    |              ^^^^^^^ could not find `Command` in `cli`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 21 |         cli::Commands::Config { key, value } => {
[INFO] [stdout]    |                     +
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  5 + use std::process::Command;
[INFO] [stdout]    |
[INFO] [stdout]  5 + use clap::Command;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Command`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 21 -         cli::Command::Config { key, value } => {
[INFO] [stdout] 21 +         Command::Config { key, value } => {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Cli` in the current scope
[INFO] [stdout]   --> src/main.rs:9:20
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let cli = Cli::parse();
[INFO] [stdout]    |                    ^^^^^ function or associated item not found in `Cli`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/cli.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Cli {
[INFO] [stdout]    | -------------- function or associated item `parse` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout]            candidate #3: `pest::Parser`
[INFO] [stdout]            candidate #4: `winnow::Parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `ComponentKind` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/main.rs:18:49
[INFO] [stdout]    |
[INFO] [stdout] 18 |             println!("Generating a new {}: {}", kind, name);
[INFO] [stdout]    |                                        --       ^^^^ `ComponentKind` cannot be formatted with the default formatter
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `ComponentKind`
[INFO] [stdout]   --> src/cli.rs:58:1
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub enum ComponentKind {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() {
[INFO] [stdout]    |          - expected `()` because of default return type
[INFO] [stdout] ...
[INFO] [stdout] 32 |     Ok(())
[INFO] [stdout]    |     ^^^^^^ expected `()`, found `Result<(), _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<(), _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]  --> src/cli.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Parser)]
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/cli.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{Parser, Subcommand, ValueEnum};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]  --> src/cli.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[command(name = "scaffapi")]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `scaffapi` (bin "scaffapi" test) due to 16 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]  --> src/cli.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[command(version = "0.1.0")]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]  --> src/cli.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[command(author = "Alexandre Velia")]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]   --> src/cli.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[command(about = "Generate API boilerplate code from templates", long_about = None)]
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]   --> src/cli.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[command(subcommand)]
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Subcommand` in this scope
[INFO] [stdout]   --> src/cli.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Subcommand)]
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Subcommand` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/cli.rs:3:20
[INFO] [stdout]    |
[INFO] [stdout]  3 | use clap::{Parser, Subcommand, ValueEnum};
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/cli.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 |         #[arg(short, long, value_enum)]
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/cli.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 |         #[arg(value_enum)]
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ValueEnum` in this scope
[INFO] [stdout]   --> src/cli.rs:49:24
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Clone, Debug, ValueEnum)]
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ValueEnum` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/cli.rs:3:32
[INFO] [stdout]    |
[INFO] [stdout]  3 | use clap::{Parser, Subcommand, ValueEnum};
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `ValueEnum` in this scope
[INFO] [stdout]   --> src/cli.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Clone, Debug, ValueEnum)]
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ValueEnum` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/cli.rs:3:32
[INFO] [stdout]    |
[INFO] [stdout]  3 | use clap::{Parser, Subcommand, ValueEnum};
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Command` in `cli`
[INFO] [stdout]   --> src/main.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |         cli::Command::New { name, stack } => {
[INFO] [stdout]    |              ^^^^^^^ could not find `Command` in `cli`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 13 |         cli::Commands::New { name, stack } => {
[INFO] [stdout]    |                     +
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  5 + use std::process::Command;
[INFO] [stdout]    |
[INFO] [stdout]  5 + use clap::Command;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Command`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 13 -         cli::Command::New { name, stack } => {
[INFO] [stdout] 13 +         Command::New { name, stack } => {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Command` in `cli`
[INFO] [stdout]   --> src/main.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |         cli::Command::Config { key, value } => {
[INFO] [stdout]    |              ^^^^^^^ could not find `Command` in `cli`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 21 |         cli::Commands::Config { key, value } => {
[INFO] [stdout]    |                     +
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  5 + use std::process::Command;
[INFO] [stdout]    |
[INFO] [stdout]  5 + use clap::Command;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Command`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 21 -         cli::Command::Config { key, value } => {
[INFO] [stdout] 21 +         Command::Config { key, value } => {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Cli` in the current scope
[INFO] [stdout]   --> src/main.rs:9:20
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let cli = Cli::parse();
[INFO] [stdout]    |                    ^^^^^ function or associated item not found in `Cli`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/cli.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Cli {
[INFO] [stdout]    | -------------- function or associated item `parse` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout]            candidate #3: `pest::Parser`
[INFO] [stdout]            candidate #4: `winnow::Parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `ComponentKind` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/main.rs:18:49
[INFO] [stdout]    |
[INFO] [stdout] 18 |             println!("Generating a new {}: {}", kind, name);
[INFO] [stdout]    |                                        --       ^^^^ `ComponentKind` cannot be formatted with the default formatter
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `ComponentKind`
[INFO] [stdout]   --> src/cli.rs:58:1
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub enum ComponentKind {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() {
[INFO] [stdout]    |          - expected `()` because of default return type
[INFO] [stdout] ...
[INFO] [stdout] 32 |     Ok(())
[INFO] [stdout]    |     ^^^^^^ expected `()`, found `Result<(), _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<(), _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `scaffapi` (bin "scaffapi") due to 16 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "0d6dd7595f15ef50e54820f827a3a9ad6be87069edcb8dbd65e45cec357277f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d6dd7595f15ef50e54820f827a3a9ad6be87069edcb8dbd65e45cec357277f5", kill_on_drop: false }`
[INFO] [stdout] 0d6dd7595f15ef50e54820f827a3a9ad6be87069edcb8dbd65e45cec357277f5
