Correctly parse other errors in output
Sort and uniquefy output