This is just a heads-up that Swift 6.0.3 doesn't compile on x86_64 Linux.
-- Building Swift standard library and overlays for SDKs: LINUX
-- Build type: Release
-- Assertions: FALSE
--
-- Building Swift runtime with:
-- Leak Detection Checker Entrypoints: FALSE
--
-- Differentiable Programming Support: TRUE
-- Concurrency Support: TRUE
-- Distributed Support: TRUE
-- NonEscapableTypes Support: FALSE
-- String Processing Support: TRUE
-- Backtracing Support: TRUE
-- Unicode Support: TRUE
-- Observation Support: TRUE
-- Synchronization Support: TRUE
--
-- Building Swift auxiliary executables for SDKs: LINUX
--
-- Building Swift Remote Mirror for SDKs: LINUX
--
-- Building Swift External Generic Metadata Builder for SDKs: LINUX
--
CMake Error at cmake/modules/SwiftUtils.cmake:116 (get_filename_component):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
stdlib/cmake/modules/SwiftSource.cmake:887 (get_bootstrapping_swift_lib_dir)
stdlib/cmake/modules/SwiftSource.cmake:141 (_compile_swift_files)
stdlib/cmake/modules/AddSwiftStdlib.cmake:1015 (handle_swift_sources)
stdlib/cmake/modules/AddSwiftStdlib.cmake:2471 (add_swift_target_library_single)
stdlib/public/Cxx/CMakeLists.txt:9 (add_swift_target_library)
-- Configuring incomplete, errors occurred!
See also "/home/swift/swift-source/build/buildbot_linux/swift-linux-x86_64/CMakeFiles/CMakeOutput.log".
See also "/home/swift/swift-source/build/buildbot_linux/swift-linux-x86_64/CMakeFiles/CMakeError.log".
ERROR: command terminated with a non-zero exit status 1, aborting
ERROR: command terminated with a non-zero exit status 1, aborting