I've posted a potential bug in Swift on Linux. And will appreciate any help with resolving this:
https://bugs.swift.org/browse/SR-13610