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>&1Build 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: [1;31merror: [1;39mcannot find 'PATH_MAX' in scope[0;0m
[0;36m42 |[0;0m #else
[0;36m43 |[0;0m
[0;36m44 |[0;0m var buffer = UnsafeMutableBufferPointer<CChar>.allocate(capacity: max(Int([4;39mPATH_MAX[0;0m), 1024))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'PATH_MAX' in scope[0;0m
[0;36m45 |[0;0m defer { buffer.deallocate() }
[0;36m46 |[0;0m
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CommonPaths.swift:176:23: [1;31merror: [1;39mcannot find 'getuid' in scope[0;0m
[0;36m174 |[0;0m #endif
[0;36m175 |[0;0m
[0;36m176 |[0;0m let currUid = [4;39mgetuid[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'getuid' in scope[0;0m
[0;36m177 |[0;0m
[0;36m178 |[0;0m var size = max(sysconf(Int32(_SC_GETPW_R_SIZE_MAX)), 1024)
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CommonPaths.swift:180:19: [1;31merror: [1;39mcannot find 'passwd' in scope[0;0m
[0;36m178 |[0;0m var size = max(sysconf(Int32(_SC_GETPW_R_SIZE_MAX)), 1024)
[0;36m179 |[0;0m
[0;36m180 |[0;0m var pwd = [4;39mpasswd[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'passwd' in scope[0;0m
[0;36m181 |[0;0m var buffer = UnsafeMutablePointer<CChar>.allocate(capacity: size)
[0;36m182 |[0;0m defer { buffer.deallocate() }
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CommonPaths.swift:183:50: [1;31merror: [1;39mcannot find type 'passwd' in scope[0;0m
[0;36m181 |[0;0m var buffer = UnsafeMutablePointer<CChar>.allocate(capacity: size)
[0;36m182 |[0;0m defer { buffer.deallocate() }
[0;36m183 |[0;0m var result = nil as UnsafeMutablePointer<[4;39mpasswd[0;0m>?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'passwd' in scope[0;0m
[0;36m184 |[0;0m
[0;36m185 |[0;0m while true {
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CommonPaths.swift:187:25: [1;31merror: [1;39mcannot find 'getpwuid_r' in scope[0;0m
[0;36m185 |[0;0m while true {
[0;36m186 |[0;0m
[0;36m187 |[0;0m let error = [4;39mgetpwuid_r[0;0m(currUid, &pwd, buffer, size, &result)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'getpwuid_r' in scope[0;0m
[0;36m188 |[0;0m
[0;36m189 |[0;0m if error == 0 { break }
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Permissions.swift:288:17: [1;31merror: [1;39mmodule 'PlatformCLib' has no member named 'fchownat'[0;0m
[0;36m286 |[0;0m try execThrowingCFunction {
[0;36m287 |[0;0m path.withPlatformString { pathPtr in
[0;36m288 |[0;0m [4;39mPlatformCLib[0;0m.[4;39mfchownat[0;0m(
[0;36m|[0;0m `- [1;31merror: [1;39mmodule 'PlatformCLib' has no member named 'fchownat'[0;0m
[0;36m289 |[0;0m AT_FDCWD, pathPtr,
[0;36m290 |[0;0m owner?.rawId ?? .init(bitPattern: -1), group?.rawId ?? .init(bitPattern: -1),
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Rename.swift:326:50: [1;31merror: [1;39mcannot find 'RENAME_NOREPLACE' in scope[0;0m
[0;36m324 |[0;0m ) throws(LowLevelError) {
[0;36m325 |[0;0m
[0;36m326 |[0;0m let flags = replace ? UInt32(0) : UInt32([4;39mRENAME_NOREPLACE[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'RENAME_NOREPLACE' in scope[0;0m
[0;36m327 |[0;0m
[0;36m328 |[0;0m try execThrowingCFunction {
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Rename.swift:331:21: [1;31merror: [1;39mcannot find 'renameat2' in scope[0;0m
[0;36m329 |[0;0m srcPath.withPlatformString { srcPtr in
[0;36m330 |[0;0m dstPath.withPlatformString { dstPtr in
[0;36m331 |[0;0m [4;39mrenameat2[0;0m(AT_FDCWD, srcPtr, AT_FDCWD, dstPtr, flags)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'renameat2' in scope[0;0m
[0;36m332 |[0;0m }
[0;36m333 |[0;0m }
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+TmpFile.swift:13:19: [1;33mwarning: [1;39m'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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m11 |[0;0m let pid = GetCurrentProcessId()
[0;36m12 |[0;0m #else
[0;36m13 |[0;0m let pid = getpid()
[0;36m|[0;0m `- [1;33mwarning: [1;39m'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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m14 |[0;0m #endif
[0;36m15 |[0;0m 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: [1;31merror: [1;39mcannot find 'mkstemp' in scope[0;0m
[0;36m62 |[0;0m
[0;36m63 |[0;0m let fd = pathBuffer.withUnsafeMutableBufferPointer { strPtr in
[0;36m64 |[0;0m [4;39mmkstemp[0;0m(strPtr.baseAddress!)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'mkstemp' in scope[0;0m
[0;36m65 |[0;0m }
[0;36m66 |[0;0m
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS.swift:62:83: [1;31merror: [1;39mcannot find 'PATH_MAX' in scope[0;0m
[0;36m60 |[0;0m #else
[0;36m61 |[0;0m
[0;36m62 |[0;0m var buffer = UnsafeMutableBufferPointer<CChar>.allocate(capacity: Int(max([4;39mPATH_MAX[0;0m, 1024)))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'PATH_MAX' in scope[0;0m
[0;36m63 |[0;0m defer { buffer.deallocate() }
[0;36m64 |[0;0m
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS.swift:346:17: [1;31merror: [1;39mcannot find 'mkfifo' in scope[0;0m
[0;36m344 |[0;0m try execThrowingCFunction {
[0;36m345 |[0;0m path.withPlatformString { pathPtr in
[0;36m346 |[0;0m [4;39mmkfifo[0;0m(pathPtr, permissions.rawValue)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'mkfifo' in scope[0;0m
[0;36m347 |[0;0m }
[0;36m348 |[0;0m }
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/PlatformInteropTypes.swift:59:42: [1;31merror: [1;39mcannot find type 'StatCompat' in scope[0;0m
[0;36m57 |[0;0m package typealias PlatformStat = stat
[0;36m58 |[0;0m #else
[0;36m59 |[0;0m package typealias PlatformStat = [4;39mStatCompat[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'StatCompat' in scope[0;0m
[0;36m60 |[0;0m #endif
[0;36m61 |[0;0m
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFs+FileInfo.swift:28:17: [1;31merror: [1;39mcannot find '_statx' in scope[0;0m
[0;36m26 |[0;0m try execThrowingCFunction {
[0;36m27 |[0;0m path.withPlatformString { pathStr in
[0;36m28 |[0;0m [4;39m_statx[0;0m(AT_FDCWD, pathStr, 0, &st)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find '_statx' in scope[0;0m
[0;36m29 |[0;0m }
[0;36m30 |[0;0m }
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFs+FileInfo.swift:52:17: [1;31merror: [1;39mcannot find '_statx' in scope[0;0m
[0;36m50 |[0;0m try execThrowingCFunction {
[0;36m51 |[0;0m path.withPlatformString { pathPtr in
[0;36m52 |[0;0m [4;39m_statx[0;0m(AT_FDCWD, pathPtr, AT_SYMLINK_NOFOLLOW, &st)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find '_statx' in scope[0;0m
[0;36m53 |[0;0m }
[0;36m54 |[0;0m }
/host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFs+FileInfo.swift:362:43: [1;31merror: [1;39mcannot convert value of type 'UInt64' to expected argument type 'PlatformInteropTypes.FileAttribute' (aka 'UInt32')[0;0m
[0;36m360 |[0;0m return .init(rawValue: attribubtes)
[0;36m361 |[0;0m #else
[0;36m362 |[0;0m .init(rawValue: try followSymlink ? ustat(path).st_flags : ulstat(path).st_flags)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type 'UInt64' to expected argument type 'PlatformInteropTypes.FileAttribute' (aka 'UInt32')[0;0m
[0;36m363 |[0;0m #endif
[0;36m364 |[0;0m }
[#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