Basically the title. If I run swift format -ir Sources/, it maxes out one CPU core and does nothing. I let it sit like this for a full two minutes. Then, I killed it and added --configuration "{}" and it finished in under a second.
This has to be a bug, right? Has anyone else encountered this before?
Which version of Swift are you using? This sounds like an issue we had in Swift 6.0 but it should be fixed in 6.1, maybe even 6.0.2 or 6.0.3, I don’t quite remember.