Someone reported an issue for the Anvil compiler plugin where compilation hangs indefinitely. I’m able to reproduce the issue. For some reason the compiler adds a new instance of the plugin and runs the extensions in an endless loop. I filed a ticket:
https://youtrack.jetbrains.com/issue/KT-55940 It seems to be related to incremental compilation. Happy to assist further.