Prime Minister Mark Carney was among the speakers calling for a united Canada and warning about the dangers of division.