I kind of was expecting this to be bare-metal Swift running on ARM with a Raspberry Pi, when I read both the OP's title and your comment. But I was disappointed to see that this was running on Linux. From the README.md...
> Scripts to clone, configure, patch and build Swift 5.0.2 on Linux ARM devices.
Hopefully in the future, Swift would support bare-metal environments just like how Rust and Zig does.