Build Information
Failed to build swift-file-system, reference main (b72227), with Swift 6.4 for Wasm on 3 Oct 2026 22:53:29 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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b722272 fix: Add an empty deinit to CopyItemHandler
Cloned https://github.com/Star-Lord-PHB/swift-file-system.git
Revision (git rev-parse @):
b722272b9c489dfc059a84fb738c703a685ccfe9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Star-Lord-PHB/swift-file-system.git at main
========================================
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-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[2346/9447] Fetching swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-docc-plugin (0.65s)
[3765/7102] Fetching swift-system
[7103/35640] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.85s)
[1142/28538] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (2.06s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (2.64s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.47s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (2.17s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3833] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.70s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.28s)
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.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 471 / 477]
[Planning deferred tasks]
[Starting]
[71 / 155]
[83 / 158] CFileSystem
[91 / 176] SystemPackage
[92 / 176] PlatformCLib
[103 / 176] SystemPackage
[104 / 176] SystemPackage
[106 / 176] SystemPackage
[111 / 176] SystemPackage
[112 / 176] SystemPackage-product
[114 / 176] SystemPackage-product
[115 / 176] SystemPackage-product
[117 / 177] PlatformCLib
[118 / 177] PlatformCLib
[121 / 178]
[123 / 187] ContainersPreview
[124 / 187] ContainersPreview
[125 / 187] ContainersPreview
[127 / 187] ContainersPreview
[128 / 187] ContainersPreview
[130 / 187] ContainersPreview
[136 / 188]
[139 / 197] DequeModule
[140 / 197] DequeModule
[141 / 197] DequeModule
[143 / 198] DequeModule
[145 / 200] SystemPackage
[146 / 200] InternalCollectionsUtilities
[147 / 200] SystemPackage
[149 / 200] SystemPackage
[151 / 200]
[153 / 201] ContainersPreview
[155 / 201] BasicContainers
[159 / 210] BasicContainers
[160 / 210] BasicContainers
[161 / 210] BasicContainers
[164 / 210] BasicContainers
[170 / 211] FileSystemCore
[174 / 220] FileSystemCore
[175 / 220] FileSystemCore
[176 / 220] FileSystemCore
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/FileSystemCore/Error/PosixErrorCode.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile PosixErrorCode.swift
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:19:9: [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m7 |[0;0m @usableFromInline var storage: Storage
[0;36m8 |[0;0m
[0;36m9 |[0;0m @_alwaysEmitIntoClient public internal(set) var count: Int
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'count' is not '@usableFromInline' or public[0;0m
[0;36m10 |[0;0m @usableFromInline var startOffsetInStorage: Int
[0;36m11 |[0;0m
[0;36m:[0;0m
[0;36m17 |[0;0m public init() {
[0;36m18 |[0;0m self.storage = Storage(capacity: 0)
[0;36m19 |[0;0m self.count = 0
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m20 |[0;0m self.startOffsetInStorage = 0
[0;36m21 |[0;0m }
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:28:9: [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m7 |[0;0m @usableFromInline var storage: Storage
[0;36m8 |[0;0m
[0;36m9 |[0;0m @_alwaysEmitIntoClient public internal(set) var count: Int
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'count' is not '@usableFromInline' or public[0;0m
[0;36m10 |[0;0m @usableFromInline var startOffsetInStorage: Int
[0;36m11 |[0;0m
[0;36m:[0;0m
[0;36m26 |[0;0m precondition(count >= 0, "count must be non-negative")
[0;36m27 |[0;0m self.storage = Storage(repeating: value, count: count)
[0;36m28 |[0;0m self.count = count
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m29 |[0;0m self.startOffsetInStorage = 0
[0;36m30 |[0;0m }
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:37:9: [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m7 |[0;0m @usableFromInline var storage: Storage
[0;36m8 |[0;0m
[0;36m9 |[0;0m @_alwaysEmitIntoClient public internal(set) var count: Int
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'count' is not '@usableFromInline' or public[0;0m
[0;36m10 |[0;0m @usableFromInline var startOffsetInStorage: Int
[0;36m11 |[0;0m
[0;36m:[0;0m
[0;36m35 |[0;0m precondition(count >= 0, "count must be non-negative")
[0;36m36 |[0;0m self.storage = Storage(capacity: count, zeroed: true)
[0;36m37 |[0;0m self.count = count
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m38 |[0;0m self.startOffsetInStorage = 0
[0;36m39 |[0;0m }
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:46:9: [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m7 |[0;0m @usableFromInline var storage: Storage
[0;36m8 |[0;0m
[0;36m9 |[0;0m @_alwaysEmitIntoClient public internal(set) var count: Int
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'count' is not '@usableFromInline' or public[0;0m
[0;36m10 |[0;0m @usableFromInline var startOffsetInStorage: Int
[0;36m11 |[0;0m
[0;36m:[0;0m
[0;36m44 |[0;0m precondition(capacity >= 0, "capacity must be non-negative")
[0;36m45 |[0;0m self.storage = Storage(capacity: capacity)
[0;36m46 |[0;0m self.count = 0
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m47 |[0;0m self.startOffsetInStorage = 0
[0;36m48 |[0;0m }
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:55:13: [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m7 |[0;0m @usableFromInline var storage: Storage
[0;36m8 |[0;0m
[0;36m9 |[0;0m @_alwaysEmitIntoClient public internal(set) var count: Int
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'count' is not '@usableFromInline' or public[0;0m
[0;36m10 |[0;0m @usableFromInline var startOffsetInStorage: Int
[0;36m11 |[0;0m
[0;36m:[0;0m
[0;36m53 |[0;0m if byteBuffer.isEmpty {
[0;36m54 |[0;0m self.storage = Storage(capacity: 0)
[0;36m55 |[0;0m self.count = 0
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m56 |[0;0m self.startOffsetInStorage = 0
[0;36m57 |[0;0m } else {
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:59:13: [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m7 |[0;0m @usableFromInline var storage: Storage
[0;36m8 |[0;0m
[0;36m9 |[0;0m @_alwaysEmitIntoClient public internal(set) var count: Int
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'count' is not '@usableFromInline' or public[0;0m
[0;36m10 |[0;0m @usableFromInline var startOffsetInStorage: Int
[0;36m11 |[0;0m
[0;36m:[0;0m
[0;36m57 |[0;0m } else {
[0;36m58 |[0;0m self.storage = byteBuffer.storage
[0;36m59 |[0;0m self.count = byteBuffer.count
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m60 |[0;0m self.startOffsetInStorage = byteBuffer.startOffsetInStorage
[0;36m61 |[0;0m }
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:69:13: [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m7 |[0;0m @usableFromInline var storage: Storage
[0;36m8 |[0;0m
[0;36m9 |[0;0m @_alwaysEmitIntoClient public internal(set) var count: Int
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'count' is not '@usableFromInline' or public[0;0m
[0;36m10 |[0;0m @usableFromInline var startOffsetInStorage: Int
[0;36m11 |[0;0m
[0;36m:[0;0m
[0;36m67 |[0;0m if byteBufferSlice.isEmpty {
[0;36m68 |[0;0m self.storage = Storage(capacity: 0)
[0;36m69 |[0;0m self.count = 0
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m70 |[0;0m self.startOffsetInStorage = 0
[0;36m71 |[0;0m } else {
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:73:13: [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m7 |[0;0m @usableFromInline var storage: Storage
[0;36m8 |[0;0m
[0;36m9 |[0;0m @_alwaysEmitIntoClient public internal(set) var count: Int
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'count' is not '@usableFromInline' or public[0;0m
[0;36m10 |[0;0m @usableFromInline var startOffsetInStorage: Int
[0;36m11 |[0;0m
[0;36m:[0;0m
[0;36m71 |[0;0m } else {
[0;36m72 |[0;0m self.storage = byteBufferSlice.base.storage
[0;36m73 |[0;0m self.count = byteBufferSlice.count
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m74 |[0;0m self.startOffsetInStorage = byteBufferSlice.base.startOffsetInStorage + byteBufferSlice.startIndex
[0;36m75 |[0;0m }
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:82:9: [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m7 |[0;0m @usableFromInline var storage: Storage
[0;36m8 |[0;0m
[0;36m9 |[0;0m @_alwaysEmitIntoClient public internal(set) var count: Int
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'count' is not '@usableFromInline' or public[0;0m
[0;36m10 |[0;0m @usableFromInline var startOffsetInStorage: Int
[0;36m11 |[0;0m
[0;36m:[0;0m
[0;36m80 |[0;0m public init<S: Sequence>(_ elements: S) where S.Element == Byte {
[0;36m81 |[0;0m self.storage = Storage(capacity: 0)
[0;36m82 |[0;0m self.count = 0
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m83 |[0;0m self.startOffsetInStorage = 0
[0;36m84 |[0;0m self.append(contentsOf: elements)
/host/spi-builder-workspace/Sources/FileSystemCore/Error/PosixErrorCode.swift:31:78: [1;31merror: [1;39mcannot find 'ENOTBLK' in scope[0;0m
[0;36m29 |[0;0m @inlinable public static var badAddress: Self { .init(rawValue: EFAULT) }
[0;36m30 |[0;0m /// `ENOTBLK`
[0;36m31 |[0;0m @inlinable public static var blockDeviceRequired: Self { .init(rawValue: [4;39mENOTBLK[0;0m) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'ENOTBLK' in scope[0;0m
[0;36m32 |[0;0m /// `EBUSY`
[0;36m33 |[0;0m @inlinable public static var deviceOrResourceBusy: Self { .init(rawValue: EBUSY) }
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 -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/CancellationToken.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/Error/ErrorCapture.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/Error/ErrorCode.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/Error/LowLevelError.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/Error/PlatformError.swift -primary-file /host/spi-builder-workspace/Sources/FileSystemCore/Error/PlatformErrorKind.swift -primary-file /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 /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CommonPaths.swift /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+CopyItems.swift /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Dir.swift /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Permissions.swift /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+Rename.swift /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS+TmpFile.swift /host/spi-builder-workspace/Sources/FileSystemCore/InternalFS/InternalFS.swift /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-37 -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/ByteBuffer.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/CancellationToken.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/ErrorCapture.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/ErrorCode.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/LowLevelError.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/PlatformError.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/PlatformErrorKind.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/PosixErrorCode.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/ByteBuffer.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/CancellationToken.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/ErrorCapture.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/ErrorCode.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/LowLevelError.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/PlatformError.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/PlatformErrorKind.o -index-unit-output-path /swift-file-system.build/Debug-webassembly-wasm32/FileSystemCore-t.build/Objects-normal/wasm32/PosixErrorCode.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm