We use TeamCity for our CI server, and have recently started using its Kotlin-based DSL to define build configurations in code and commit them to git.
Yesterday, we added a new project by creating it in Kotlin. When we pushed the repo, it appeared to work with no errors, and late in the day we got a successful build.
However, this morning, all builds in all projects - not just the new project - are failing with error messages like this: Failed to apply changes from VCS to project settings (revision c1a8904f01408c77d86794e9d276321ba11ae4d8): Configs generator runs longer than 120 seconds. Please fix the errors in VCS and commit again.
That error is generated at the very beginning of the build, and the rest of the build appears to go through successfully even after it is generated.
The error message doesn't appear in Google, and I can't see anything wrong with the Kotlin locally. Have I done something wrong in my project config? Why was it working yesterday?