async fn perform_sync_operations(
    operations: Receiver<SyncOperation>,
    result_sender: Sender<Result<String>>,
    project: String,
    database: AnyDatabase<CliBackend>,
    error_counter: Arc<AtomicU8>
)