The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ZIPFoundation, reference main (2640fc), with Swift 6.4 for Wasm on 16 Sep 2026 04:43:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gregcotten/ZIPFoundationModern.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/gregcotten/ZIPFoundationModern
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2640fc9 Merge pull request #4 from furbytm/main
Cloned https://github.com/gregcotten/ZIPFoundationModern.git
Revision (git rev-parse @):
2640fc90941624fe287744b834719fe29c8ea1ef
SUCCESS checkout https://github.com/gregcotten/ZIPFoundationModern.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/gregcotten/ZIPFoundationModern.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:7:61: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 5 |     name: "ZIPFoundation",
 6 |     platforms: [
 7 |         .macOS(.v10_15), .iOS(.v12), .tvOS(.v12), .watchOS(.v4),
   |                                                             `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 8 |     ],
 9 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/gregcotten/CSProgress
Fetching https://github.com/apple/swift-system
Fetching https://github.com/the-swift-collective/zlib
[1/71] Fetching zlib
[66/310] Fetching zlib, csprogress
Fetched https://github.com/gregcotten/CSProgress (0.47s)
[66/6969] Fetching zlib, swift-system
Fetched https://github.com/the-swift-collective/zlib (0.77s)
Fetched https://github.com/apple/swift-system (0.77s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (0.96s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.19s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.22s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/gregcotten/CSProgress
Working copy of https://github.com/gregcotten/CSProgress resolved at 0.0.1
Creating working copy for https://github.com/the-swift-collective/zlib
Working copy of https://github.com/the-swift-collective/zlib resolved at 1.3.2
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[106 / 128] CSystem
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:210:35: error: cannot find 'DispatchSemaphore' in scope
 208 |
 209 |     // The access semaphore, allowing us to be thread-safe. A semaphore was chosen, because it performs better here than an NSLock or a dispatch queue.
 210 |     private var accessSemaphore = DispatchSemaphore(value: 1)
     |                                   `- error: cannot find 'DispatchSemaphore' in scope
 211 |
 212 |     // The parent progress object.
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:409:20: error: cannot find type 'OperationQueue' in scope
 407 |     private struct CancellationNotificationWrapper {
 408 |         let notification: CancellationNotification
 409 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 410 |     }
 411 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:414:20: error: cannot find type 'OperationQueue' in scope
 412 |     private struct FractionCompletedNotificationWrapper {
 413 |         let notification: FractionCompletedNotification
 414 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 415 |     }
 416 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:419:20: error: cannot find type 'OperationQueue' in scope
 417 |     private struct DescriptionNotificationWrapper {
 418 |         let notification: DescriptionNotification
 419 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 420 |     }
 421 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:429:62: error: cannot find type 'OperationQueue' in scope
 427 |     // The add...Notification() methods return an identifier which can be later sent to remove...Notification() to remove the notification.
 428 |
 429 |     private func _addCancellationNotification(onQueue queue: OperationQueue, notification: @escaping CancellationNotification) -> Any {
     |                                                              `- error: cannot find type 'OperationQueue' in scope
 430 |         let uuid = UUID()
 431 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:453:60: error: cannot find type 'OperationQueue' in scope
 451 |      - returns: An opaque value that can be passed to removeCancellationNotification() to de-register the notification.
 452 |      */
 453 |     public func addCancellationNotification(onQueue queue: OperationQueue = .main, notification: @escaping CancellationNotification) -> Any {
     |                                                            `- error: cannot find type 'OperationQueue' in scope
 454 |         self.accessSemaphore.wait()
 455 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:478:67: error: cannot find type 'OperationQueue' in scope
 476 |     }
 477 |
 478 |     private func _addFractionCompletedNotification(onQueue queue: OperationQueue, notification: @escaping FractionCompletedNotification) -> Any {
     |                                                                   `- error: cannot find type 'OperationQueue' in scope
 479 |         let uuid = UUID()
 480 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:499:84: error: cannot find type 'OperationQueue' in scope
 497 |      - returns: An opaque value that can be passed to removeFractionCompletedNotification() to de-register the notification.
 498 |      */
 499 |     @discardableResult public func addFractionCompletedNotification(onQueue queue: OperationQueue = .main, notification: @escaping FractionCompletedNotification) -> Any {
     |                                                                                    `- error: cannot find type 'OperationQueue' in scope
 500 |         self.accessSemaphore.wait()
 501 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:524:61: error: cannot find type 'OperationQueue' in scope
 522 |     }
 523 |
 524 |     private func _addDescriptionNotification(onQueue queue: OperationQueue, notification: @escaping DescriptionNotification) -> Any {
     |                                                             `- error: cannot find type 'OperationQueue' in scope
 525 |         let uuid = UUID()
 526 |
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:545:78: error: cannot find type 'OperationQueue' in scope
 543 |      - returns: An opaque value that can be passed to removeDescriptionNotification() to de-register the notification.
 544 |      */
 545 |     @discardableResult public func addDescriptionNotification(onQueue queue: OperationQueue = .main, notification: @escaping DescriptionNotification) -> Any {
     |                                                                              `- error: cannot find type 'OperationQueue' in scope
 546 |         self.accessSemaphore.wait()
 547 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:715:134: error: cannot find type 'OperationQueue' in scope
 713 |      This parameter defaults to the main operation queue.
 714 |      */
 715 |     public convenience init<Count: BinaryInteger>(totalUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
     |                                                                                                                                      `- error: cannot find type 'OperationQueue' in scope
 716 |         #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
 717 |         let allowBridge = true
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:760:99: error: cannot find type 'OperationQueue' in scope
 758 |      This parameter defaults to the main operation queue.
 759 |      */
 760 |     public func becomeCurrent<Count: BinaryInteger>(withPendingUnitCount unitCount: Count, queue: OperationQueue = .main) {
     |                                                                                                   `- error: cannot find type 'OperationQueue' in scope
 761 |         CSProgress._current = ParentReference(progress: self, pendingUnitCount: UnitCount(unitCount))
 762 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift -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 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -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 -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/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/CSProgress.build/Debug-webassembly-wasm32/CSProgress-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/CSProgress.build/Debug-webassembly-wasm32/CSProgress-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/CSProgress.build/Debug-webassembly-wasm32/CSProgress-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CSProgress -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/CSProgress.build/Debug-webassembly-wasm32/CSProgress-t.build/Objects-normal/wasm32/CSProgress_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CSProgress.build/Debug-webassembly-wasm32/CSProgress-t.build/Objects-normal/wasm32/Modules/CSProgress.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CSProgress.build/Debug-webassembly-wasm32/CSProgress-t.build/Objects-normal/wasm32/Modules/CSProgress.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CSProgress.build/Debug-webassembly-wasm32/CSProgress-t.build/Objects-normal/wasm32/CSProgress-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CSProgress.build/Debug-webassembly-wasm32/CSProgress-t.build/Objects-normal/wasm32/CSProgress-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CSProgress.build/Debug-webassembly-wasm32/CSProgress-t.build/Objects-normal/wasm32/CSProgress-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CSProgress.build/Debug-webassembly-wasm32/CSProgress-t.build/Objects-normal/wasm32/Modules/CSProgress.swiftmodule
[112 / 137] CSProgress
error: Build failed
BUILD FAILURE 6.4 wasm