\(...\) can't be used in errorformat; use non-catching \%(...\) instead. Add \m to patterns that use grouping.