You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: cargo.rs
    path of file: ./repos/fluvio/crates/cargo-builder/src
    
    the code of the file until where you have to start completion: //! Run Cargo using the `cargo` command line tool.

use std::{
    fmt::{Debug, Display, Formatter},
    process::{Command, Stdio},
};

use anyhow::{Error, anyhow, Result};
use derive_builder::Builder;

/// Error returned from `CargoBuild` builder when both the `target` field and
/// an extra argumen
    
    fn validate(&self) -> Result<(), String> {
        if let (Some(ref _target), Some(ref extra_arguments)) =
            (&self.target, &self.extra_arguments)
        {
            // We don't want to allow setting both `target` and also
            // `extra_arguments` containing `--target` in it
            if extra_arguments.contains(&"--target".to_string()) {
                return Err(AMBIGUOUS_TARGET_ERR_MSG.to_string());
            }
        }

        Ok(())
    }