Latest development toolchains fail to import Darwin

I am on the latest development toolchain and latest macOS 15.1 beta, and my Swift script which uses the Darwin module does not run. Similarly, I can't use SDL2 as a system library through a module map as it complains about the Darwin module and missing <string.h> and so on.

Is there something wrong with the toolchains or the SDK?