Kapt "IllegalStateException: failed to analyze" when encountering a large amount of errors

I spoke with @orangy at KotlinConf today and he suggested I ping @yanex about this issue.

I also spoke with @yeet and he confirmed he has seen a similar issue before, but the fix he had did not work in this case.

Looks like a few other people are encountering the same thing: