Fixing failing tests caused by introduction of new policy + warning when the policy is not set.
Plumb through swift `check_source_compiles` support. Add tests to check that valid swift sources compile and invalid sources don't.