The Swift Package Index logo.Swift Package Index

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>&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: 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: warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
  7 |     @usableFromInline var storage: Storage
  8 |
  9 |     @_alwaysEmitIntoClient public internal(set) var count: Int
    |                                                     `- note: setter for property 'count' is not '@usableFromInline' or public
 10 |     @usableFromInline var startOffsetInStorage: Int
 11 |
    :
 17 |     public init() {
 18 |         self.storage = Storage(capacity: 0)
 19 |         self.count = 0
    |         `- warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
 20 |         self.startOffsetInStorage = 0
 21 |     }
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:28:9: warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
  7 |     @usableFromInline var storage: Storage
  8 |
  9 |     @_alwaysEmitIntoClient public internal(set) var count: Int
    |                                                     `- note: setter for property 'count' is not '@usableFromInline' or public
 10 |     @usableFromInline var startOffsetInStorage: Int
 11 |
    :
 26 |         precondition(count >= 0, "count must be non-negative")
 27 |         self.storage = Storage(repeating: value, count: count)
 28 |         self.count = count
    |         `- warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
 29 |         self.startOffsetInStorage = 0
 30 |     }
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:37:9: warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
  7 |     @usableFromInline var storage: Storage
  8 |
  9 |     @_alwaysEmitIntoClient public internal(set) var count: Int
    |                                                     `- note: setter for property 'count' is not '@usableFromInline' or public
 10 |     @usableFromInline var startOffsetInStorage: Int
 11 |
    :
 35 |         precondition(count >= 0, "count must be non-negative")
 36 |         self.storage = Storage(capacity: count, zeroed: true)
 37 |         self.count = count
    |         `- warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
 38 |         self.startOffsetInStorage = 0
 39 |     }
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:46:9: warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
  7 |     @usableFromInline var storage: Storage
  8 |
  9 |     @_alwaysEmitIntoClient public internal(set) var count: Int
    |                                                     `- note: setter for property 'count' is not '@usableFromInline' or public
 10 |     @usableFromInline var startOffsetInStorage: Int
 11 |
    :
 44 |         precondition(capacity >= 0, "capacity must be non-negative")
 45 |         self.storage = Storage(capacity: capacity)
 46 |         self.count = 0
    |         `- warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
 47 |         self.startOffsetInStorage = 0
 48 |     }
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:55:13: warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
  7 |     @usableFromInline var storage: Storage
  8 |
  9 |     @_alwaysEmitIntoClient public internal(set) var count: Int
    |                                                     `- note: setter for property 'count' is not '@usableFromInline' or public
 10 |     @usableFromInline var startOffsetInStorage: Int
 11 |
    :
 53 |         if byteBuffer.isEmpty {
 54 |             self.storage = Storage(capacity: 0)
 55 |             self.count = 0
    |             `- warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
 56 |             self.startOffsetInStorage = 0
 57 |         } else {
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:59:13: warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
  7 |     @usableFromInline var storage: Storage
  8 |
  9 |     @_alwaysEmitIntoClient public internal(set) var count: Int
    |                                                     `- note: setter for property 'count' is not '@usableFromInline' or public
 10 |     @usableFromInline var startOffsetInStorage: Int
 11 |
    :
 57 |         } else {
 58 |             self.storage = byteBuffer.storage
 59 |             self.count = byteBuffer.count
    |             `- warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
 60 |             self.startOffsetInStorage = byteBuffer.startOffsetInStorage
 61 |         }
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:69:13: warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
  7 |     @usableFromInline var storage: Storage
  8 |
  9 |     @_alwaysEmitIntoClient public internal(set) var count: Int
    |                                                     `- note: setter for property 'count' is not '@usableFromInline' or public
 10 |     @usableFromInline var startOffsetInStorage: Int
 11 |
    :
 67 |         if byteBufferSlice.isEmpty {
 68 |             self.storage = Storage(capacity: 0)
 69 |             self.count = 0
    |             `- warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
 70 |             self.startOffsetInStorage = 0
 71 |         } else {
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:73:13: warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
  7 |     @usableFromInline var storage: Storage
  8 |
  9 |     @_alwaysEmitIntoClient public internal(set) var count: Int
    |                                                     `- note: setter for property 'count' is not '@usableFromInline' or public
 10 |     @usableFromInline var startOffsetInStorage: Int
 11 |
    :
 71 |         } else {
 72 |             self.storage = byteBufferSlice.base.storage
 73 |             self.count = byteBufferSlice.count
    |             `- warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
 74 |             self.startOffsetInStorage = byteBufferSlice.base.startOffsetInStorage + byteBufferSlice.startIndex
 75 |         }
/host/spi-builder-workspace/Sources/FileSystemCore/ByteBuffer/ByteBuffer.swift:82:9: warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
  7 |     @usableFromInline var storage: Storage
  8 |
  9 |     @_alwaysEmitIntoClient public internal(set) var count: Int
    |                                                     `- note: setter for property 'count' is not '@usableFromInline' or public
 10 |     @usableFromInline var startOffsetInStorage: Int
 11 |
    :
 80 |     public init<S: Sequence>(_ elements: S) where S.Element == Byte {
 81 |         self.storage = Storage(capacity: 0)
 82 |         self.count = 0
    |         `- warning: setter for property 'count' is internal and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode
 83 |         self.startOffsetInStorage = 0
 84 |         self.append(contentsOf: elements)
/host/spi-builder-workspace/Sources/FileSystemCore/Error/PosixErrorCode.swift:31:78: error: cannot find 'ENOTBLK' in scope
 29 |     @inlinable public static var badAddress: Self { .init(rawValue: EFAULT) }
 30 |     /// `ENOTBLK`
 31 |     @inlinable public static var blockDeviceRequired: Self { .init(rawValue: ENOTBLK) }
    |                                                                              `- error: cannot find 'ENOTBLK' in scope
 32 |     /// `EBUSY`
 33 |     @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