nikivdev/code · error

rsync failed

Error message

rsync failed

What it means

Error "rsync failed" thrown in nikivdev/code.

Source

Thrown at src/deploy.rs:1903

            "--delete",
            "--exclude=target/",
            "--exclude=.git/",
            "--exclude=node_modules/",
            "--exclude=.env",
            "--exclude=*.log",
            "-e",
            &ssh_cmd,
            &format!("{}/", local.display()),
            &remote,
        ])
        .stdin(Stdio::inherit())
        .stdout(Stdio::inherit())
        .stderr(Stdio::inherit())
        .status()
        .context("Failed to run rsync")?;

    if !status.success() {
        bail!("rsync failed");
    }
    Ok(())
}

/// Copy file via scp.
fn scp_file(local: &Path, conn: &HostConnection, remote: &str) -> Result<()> {
    let dest = format!("{}:{}", conn.ssh_target(), remote);
    let status = Command::new("scp")
        .args([
            "-P",
            &conn.port.to_string(),
            &local.display().to_string(),
            &dest,
        ])
        .status()
        .context("Failed to run scp")?;

    if !status.success() {

View on GitHub (pinned to a747e741ae)

When it happens

Trigger: Thrown at src/deploy.rs:1903 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of nikivdev/code@a747e741ae (2026-09-01). Data as JSON: /api/errors/2c716c7717b267a9. Report an issue: GitHub.