Thanks for the bug report. This hits a known issue in 5.6. You can work around it by building with the "-Xfrontend -requirement-machine=off" compiler flag (in Xcode, this is the OTHER_SWIFT_FLAGS build setting).
On main this appears to hit a different problem, so I'll take a look.