The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-file-system, reference 0.1.0 (31dd96), with Swift 6.4 for Wasm on 3 Oct 2026 22:47:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Star-Lord-PHB/swift-file-system.git
Reference: 0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Star-Lord-PHB/swift-file-system
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 31dd96f docs: Add Android to the supported platforms in README
Cloned https://github.com/Star-Lord-PHB/swift-file-system.git
Revision (git rev-parse @):
31dd96f5b5000782a90282898a379d108163cde4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Star-Lord-PHB/swift-file-system.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Star-Lord-PHB/swift-file-system.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-collections.git
[1/2345] Fetching swift-docc-plugin
Fetching https://github.com/apple/swift-system.git
Fetched https://github.com/apple/swift-docc-plugin (0.59s)
[1/28538] Fetching swift-collections
[19693/35640] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git (0.78s)
Fetched https://github.com/apple/swift-collections.git (1.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.91s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.25s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.38s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3833] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.54s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.81s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 477]
[Planning 421 / 477]
[Planning deferred tasks]
[Starting]
[27 / 153] SwiftAsyncFileSystem
[79 / 158] PlatformCLib
[81 / 176] SystemPackage
[91 / 176] SystemPackage
[92 / 176] PlatformCLib
[102 / 176] SystemPackage
[104 / 176] SystemPackage
[106 / 176] SystemPackage
[110 / 176] SystemPackage
[111 / 176] SystemPackage-product
[112 / 176] SystemPackage-product
[113 / 176] SystemPackage-product
[115 / 176] InternalCollectionsUtilities
[116 / 176] InternalCollectionsUtilities
[117 / 176] InternalCollectionsUtilities
[118 / 177] ContainersPreview
[121 / 178] ContainersPreview
[127 / 188] SystemPackage
[129 / 188] SystemPackage
[133 / 188]
[133 / 188] ContainersPreview
[140 / 190] ContainersPreview
[148 / 200] DequeModule
[149 / 209] BasicContainers
[150 / 210] InternalCollectionsUtilities
[151 / 210] DequeModule
[153 / 210] InternalCollectionsUtilities
[156 / 210] InternalCollectionsUtilities
[157 / 210] InternalCollectionsUtilities
[159 / 210] BasicContainers
[160 / 210] BasicContainers
[161 / 210] BasicContainers
[163 / 210] BasicContainers
[163 / 210]
[164 / 210] BasicContainers
[170 / 211] FileSystemCore
[174 / 220] FileSystemCore
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CommonPaths.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile InternalFS+CommonPaths.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Permissions.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile InternalFS+Permissions.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Rename.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile InternalFS+Rename.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+TmpFile.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile InternalFS+TmpFile.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile InternalFS.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFs+FileInfo.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile InternalFs+FileInfo.swift
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CommonPaths.swift:44:83: error: cannot find 'PATH_MAX' in scope
 42 |         #else
 43 |
 44 |         var buffer = UnsafeMutableBufferPointer<CChar>.allocate(capacity: max(Int(PATH_MAX), 1024))
    |                                                                                   `- error: cannot find 'PATH_MAX' in scope
 45 |         defer { buffer.deallocate() }
 46 |
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CommonPaths.swift:176:23: error: cannot find 'getuid' in scope
174 |         #endif
175 |
176 |         let currUid = getuid()
    |                       `- error: cannot find 'getuid' in scope
177 |
178 |         var size = max(sysconf(Int32(_SC_GETPW_R_SIZE_MAX)), 1024)
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CommonPaths.swift:180:19: error: cannot find 'passwd' in scope
178 |         var size = max(sysconf(Int32(_SC_GETPW_R_SIZE_MAX)), 1024)
179 |
180 |         var pwd = passwd()
    |                   `- error: cannot find 'passwd' in scope
181 |         var buffer = UnsafeMutablePointer<CChar>.allocate(capacity: size)
182 |         defer { buffer.deallocate() }
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CommonPaths.swift:183:50: error: cannot find type 'passwd' in scope
181 |         var buffer = UnsafeMutablePointer<CChar>.allocate(capacity: size)
182 |         defer { buffer.deallocate() }
183 |         var result = nil as UnsafeMutablePointer<passwd>?
    |                                                  `- error: cannot find type 'passwd' in scope
184 |
185 |         while true {
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CommonPaths.swift:187:25: error: cannot find 'getpwuid_r' in scope
185 |         while true {
186 |
187 |             let error = getpwuid_r(currUid, &pwd, buffer, size, &result)
    |                         `- error: cannot find 'getpwuid_r' in scope
188 |
189 |             if error == 0 { break }
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Permissions.swift:288:17: error: module 'PlatformCLib' has no member named 'fchownat'
286 |         try execThrowingCFunction {
287 |             path.withPlatformString { pathPtr in
288 |                 PlatformCLib.fchownat(
    |                 `- error: module 'PlatformCLib' has no member named 'fchownat'
289 |                     AT_FDCWD, pathPtr,
290 |                     owner?.rawId ?? .init(bitPattern: -1), group?.rawId ?? .init(bitPattern: -1),
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Rename.swift:326:50: error: cannot find 'RENAME_NOREPLACE' in scope
324 |     ) throws(LowLevelError) {
325 |
326 |         let flags = replace ? UInt32(0) : UInt32(RENAME_NOREPLACE)
    |                                                  `- error: cannot find 'RENAME_NOREPLACE' in scope
327 |
328 |         try execThrowingCFunction {
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Rename.swift:331:21: error: cannot find 'renameat2' in scope
329 |             srcPath.withPlatformString { srcPtr in
330 |                 dstPath.withPlatformString { dstPtr in
331 |                     renameat2(AT_FDCWD, srcPtr, AT_FDCWD, dstPtr, flags)
    |                     `- error: cannot find 'renameat2' in scope
332 |                 }
333 |             }
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+TmpFile.swift:13:19: warning: 'getpid()' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
11 |         let pid = GetCurrentProcessId()
12 |         #else
13 |         let pid = getpid()
   |                   `- warning: 'getpid()' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
14 |         #endif
15 |         let lastComponent = FilePath.Component("\(prefix).tmp-\(pid)-\(String(UInt64.random(in: 0 ... .max), radix: 16))")!
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+TmpFile.swift:64:13: error: cannot find 'mkstemp' in scope
62 |
63 |         let fd = pathBuffer.withUnsafeMutableBufferPointer { strPtr in
64 |             mkstemp(strPtr.baseAddress!)
   |             `- error: cannot find 'mkstemp' in scope
65 |         }
66 |
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS.swift:62:83: error: cannot find 'PATH_MAX' in scope
 60 |         #else
 61 |
 62 |         var buffer = UnsafeMutableBufferPointer<CChar>.allocate(capacity: Int(max(PATH_MAX, 1024)))
    |                                                                                   `- error: cannot find 'PATH_MAX' in scope
 63 |         defer { buffer.deallocate() }
 64 |
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS.swift:346:17: error: cannot find 'mkfifo' in scope
344 |         try execThrowingCFunction {
345 |             path.withPlatformString { pathPtr in
346 |                 mkfifo(pathPtr, permissions.rawValue)
    |                 `- error: cannot find 'mkfifo' in scope
347 |             }
348 |         }
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/PlatformInteropTypes.swift:59:42: error: cannot find type 'StatCompat' in scope
 57 |         package typealias PlatformStat = stat
 58 |         #else
 59 |         package typealias PlatformStat = StatCompat
    |                                          `- error: cannot find type 'StatCompat' in scope
 60 |         #endif
 61 |
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFs+FileInfo.swift:28:17: error: cannot find '_statx' in scope
 26 |         try execThrowingCFunction {
 27 |             path.withPlatformString { pathStr in
 28 |                 _statx(AT_FDCWD, pathStr, 0, &st)
    |                 `- error: cannot find '_statx' in scope
 29 |             }
 30 |         }
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFs+FileInfo.swift:52:17: error: cannot find '_statx' in scope
 50 |         try execThrowingCFunction {
 51 |             path.withPlatformString { pathPtr in
 52 |                 _statx(AT_FDCWD, pathPtr, AT_SYMLINK_NOFOLLOW, &st)
    |                 `- error: cannot find '_statx' in scope
 53 |             }
 54 |         }
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFs+FileInfo.swift:362:43: error: cannot convert value of type 'UInt64' to expected argument type 'PlatformInteropTypes.FileAttribute' (aka 'UInt32')
360 |         return .init(rawValue: attribubtes)
361 |         #else
362 |         .init(rawValue: try followSymlink ? ustat(path).st_flags : ulstat(path).st_flags)
    |                                           `- error: cannot convert value of type 'UInt64' to expected argument type 'PlatformInteropTypes.FileAttribute' (aka 'UInt32')
363 |         #endif
364 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/FileSystemCore/BasicDirEntryEnumeration/DirectoryEntry.swift /host/spi-builder-workspace/Sources/FileSystemCore/BasicDirEntryEnumeration/DirectoryEntryDirectEnumerator.swift /host/spi-builder-workspace/Sources/FileSystemCore/BasicDirEntryEnumeration/DirectoryEntryRecursiveEnumerator.swift /host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer+BasicAccess.swift /host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer+Collections.swift /host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer+Reader.swift /host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer+Span.swift /host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer+Storage.swift /host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift /host/spi-builder-workspace/Sources/FileSystemCore/CancellationToken.swift /host/spi-builder-workspace/Sources/FileSystemCore/Error/ErrorCapture.swift /host/spi-builder-workspace/Sources/FileSystemCore/Error/ErrorCode.swift /host/spi-builder-workspace/Sources/FileSystemCore/Error/LowLevelError.swift /host/spi-builder-workspace/Sources/FileSystemCore/Error/PlatformError.swift /host/spi-builder-workspace/Sources/FileSystemCore/Error/PlatformErrorKind.swift /host/spi-builder-workspace/Sources/FileSystemCore/Error/PosixErrorCode.swift /host/spi-builder-workspace/Sources/FileSystemCore/Error/RecursiveCopyError.swift /host/spi-builder-workspace/Sources/FileSystemCore/Error/WindowsErrorCode.swift /host/spi-builder-workspace/Sources/FileSystemCore/Export.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/FileIdentifier.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/FileInfo.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/FileKind.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/LinuxInodeFlags.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/PlatformAttributes/PlatformAttribute+Darwin\&BSD.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/PlatformAttributes/PlatformAttribute+Windows.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/PlatformAttributes/PlatformAttributes+Linux.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/PlatformAttributes/PlatformAttributes.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/PlatformIdentity.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/TimeSpec.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/WindowsSecurityDescriptor/WindowsAbsoluteSecurityDescriptor.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/WindowsSecurityDescriptor/WindowsAclProtocol.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/WindowsSecurityDescriptor/WindowsExplicitAccess.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/WindowsSecurityDescriptor/WindowsRawAcl.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/WindowsSecurityDescriptor/WindowsRawAclState.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/WindowsSecurityDescriptor/WindowsSecurityDescriptor.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/WindowsSecurityDescriptor/WindowsSecurityDescriptorTypes.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/WindowsSecurityDescriptor/WindowsSecurityDescriptorView.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/WindowsSecurityDescriptor/WindowsSelfRelativeSecurityDescriptor.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileInfo/WindowsSecurityDescriptor/WindowsSid.swift /host/spi-builder-workspace/Sources/FileSystemCore/FileOperationOptions.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CommonPaths.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CopyItems.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Dir.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Permissions.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Rename.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+TmpFile.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFs+FileInfo.swift /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/PlatformInteropTypes.swift /host/spi-builder-workspace/Sources/FileSystemCore/InternalPlatformAPI/InternalPlatformAPI.swift /host/spi-builder-workspace/Sources/FileSystemCore/InternalPlatformAPI/WindowsProcessToken.swift /host/spi-builder-workspace/Sources/FileSystemCore/SendableBox.swift /host/spi-builder-workspace/Sources/FileSystemCore/UnsafeAutoPointer/UnsafeAutoBufferPointer.swift /host/spi-builder-workspace/Sources/FileSystemCore/UnsafeAutoPointer/UnsafeAutoPointer.swift /host/spi-builder-workspace/Sources/FileSystemCore/UnsafeAutoPointer/UnsafeAutoRawPointer.swift /host/spi-builder-workspace/Sources/FileSystemCore/UnsafeAutoPointer/UnsafeAutoResource.swift /host/spi-builder-workspace/Sources/FileSystemCore/UnsafeSystemHandle/UnsafeHandleContext.swift /host/spi-builder-workspace/Sources/FileSystemCore/UnsafeSystemHandle/UnsafeSystemHandle+FileInfo.swift /host/spi-builder-workspace/Sources/FileSystemCore/UnsafeSystemHandle/UnsafeSystemHandle+InternalUtils.swift /host/spi-builder-workspace/Sources/FileSystemCore/UnsafeSystemHandle/UnsafeSystemHandle+PosixSyscall.swift /host/spi-builder-workspace/Sources/FileSystemCore/UnsafeSystemHandle/UnsafeSystemHandle+Syscall.swift /host/spi-builder-workspace/Sources/FileSystemCore/UnsafeSystemHandle/UnsafeSystemHandle+WindowsOverlappedSyscall.swift /host/spi-builder-workspace/Sources/FileSystemCore/UnsafeSystemHandle/UnsafeSystemHandle.swift /host/spi-builder-workspace/Sources/FileSystemCore/Utils.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/supplementaryOutputs-41 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature Lifetimes -enable-experimental-feature NonescapableTypes -enable-experimental-feature NoncopyableGenerics -enable-experimental-feature BorrowingSwitch -enable-experimental-feature SuppressedAssociatedTypesWithDefaults -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-webassembly-wasm32/CFileSystem.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include -Xcc -I/host/spi-builder-workspace/Sources/CFileSystem -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name FileSystemCore -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/FileSystemCore_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS+CommonPaths.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS+CopyItems.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS+Dir.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS+Permissions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS+Rename.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS+TmpFile.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFs+FileInfo.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS+CommonPaths.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS+CopyItems.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS+Dir.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS+Permissions.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS+Rename.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS+TmpFile.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFS.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/InternalFs+FileInfo.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[175 / 220] FileSystemCore
error: Build failed
BUILD FAILURE 6.4 wasm