Syrian failure has 'incalculable' costs: UN official