The Swift Package Index logo.Swift Package Index

Build Information

Failed to build XCTest, reference main (80a3f9), with Swift 6.4 for Wasm on 29 Sep 2026 04:33:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-corelibs-xctest.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/swiftlang/swift-corelibs-xctest
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 80a3f95 Revert "Update minimum CMake version to 3.29 (#553)" (#554)
Cloned https://github.com/swiftlang/swift-corelibs-xctest.git
Revision (git rev-parse @):
80a3f9545d26c43d50ed1e0f377504ae00e759d2
SUCCESS checkout https://github.com/swiftlang/swift-corelibs-xctest.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/swiftlang/swift-corelibs-xctest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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
Building for debugging...
[Planning deferred tasks]
[18 / 27] XCTest
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:25:11: error: cannot find type 'DispatchWorkItem' in scope
 23 |     func cancel()
 24 | }
 25 | extension DispatchWorkItem: ManageableWaiterWatchdog {}
    |           `- error: cannot find type 'DispatchWorkItem' in scope
 26 |
 27 | /// This class manages the XCTWaiter instances which are currently waiting on a particular thread.
/host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift:54:25: error: cannot find 'DispatchQueue' in scope
 52 |     private var managedWaiterStack = [ManagedWaiterDetails]()
 53 |     private weak var thread = Thread.current
 54 |     private let queue = DispatchQueue(label: "org.swift.XCTest.WaiterManager")
    |                         `- error: cannot find 'DispatchQueue' in scope
 55 |
 56 |     // Use `WaiterManager.current` to access the thread-specific instance
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSNotificationExpectation.swift:26:25: error: cannot find 'DispatchQueue' in scope
 24 |     public typealias Handler = @Sendable (Notification) -> Bool
 25 |
 26 |     private let queue = DispatchQueue(label: "org.swift.XCTest.XCTNSNotificationExpectation")
    |                         `- error: cannot find 'DispatchQueue' in scope
 27 |
 28 |     /// The name of the notification being waited on.
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSNotificationExpectation.swift:16:12: warning: class 'XCTNSNotificationExpectation' must restate inherited '@unchecked Sendable' conformance
 14 |
 15 | /// Expectation subclass for waiting on a condition defined by a Foundation Notification instance.
 16 | open class XCTNSNotificationExpectation: XCTestExpectation {
    |            `- warning: class 'XCTNSNotificationExpectation' must restate inherited '@unchecked Sendable' conformance
 17 |
 18 |     /// A closure to be invoked when a notification specified by the expectation is observed.
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift:25:25: error: cannot find 'DispatchQueue' in scope
 23 |     public typealias Handler = @Sendable () -> Bool
 24 |
 25 |     private let queue = DispatchQueue(label: "org.swift.XCTest.XCTNSPredicateExpectation")
    |                         `- error: cannot find 'DispatchQueue' in scope
 26 |
 27 |     /// The predicate used by the expectation.
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift:49:35: error: 'current' is unavailable: RunLoop is not available on WASI
 47 |     }
 48 |
 49 |     private let runLoop = RunLoop.current
    |                                   `- error: 'current' is unavailable: RunLoop is not available on WASI
 50 |     private var timer: Timer?
 51 |     private let evaluationInterval = 0.01
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift:16:12: warning: class 'XCTNSPredicateExpectation' must restate inherited '@unchecked Sendable' conformance
 14 |
 15 | /// Expectation subclass for waiting on a condition defined by an NSPredicate and an optional object.
 16 | open class XCTNSPredicateExpectation: XCTestExpectation {
    |            `- warning: class 'XCTNSPredicateExpectation' must restate inherited '@unchecked Sendable' conformance
 17 |
 18 |     /// A closure to be invoked whenever evaluating the predicate against the object returns true.
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:116:42: error: cannot find 'DispatchQueue' in scope
114 |     }
115 |
116 |     internal static let subsystemQueue = DispatchQueue(label: "org.swift.XCTest.XCTWaiter")
    |                                          `- error: cannot find 'DispatchQueue' in scope
117 |
118 |     private var state = State.ready
/host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift:125:33: error: cannot find 'DispatchQueue' in scope
123 |
124 |     private weak var _delegate: XCTWaiterDelegate?
125 |     private let delegateQueue = DispatchQueue(label: "org.swift.XCTest.XCTWaiter.delegate")
    |                                 `- error: cannot find 'DispatchQueue' in scope
126 |
127 |     /// The waiter delegate will be called with various events described in the `XCTWaiterDelegate` protocol documentation.
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift:70:32: error: cannot find type 'DispatchQueue' in scope
 68 |     }
 69 |     #else
 70 |     typealias SubsystemQueue = DispatchQueue
    |                                `- error: cannot find type 'DispatchQueue' in scope
 71 |     #endif
 72 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/XCTest/Private/ArgumentParser.swift /host/spi-builder-workspace/Sources/XCTest/Private/IgnoredErrors.swift /host/spi-builder-workspace/Sources/XCTest/Private/Interop/InteropHandler.swift /host/spi-builder-workspace/Sources/XCTest/Private/Interop/InteropRecord.swift /host/spi-builder-workspace/Sources/XCTest/Private/ObjectWrapper.swift /host/spi-builder-workspace/Sources/XCTest/Private/PerformanceMeter.swift /host/spi-builder-workspace/Sources/XCTest/Private/PrintObserver.swift /host/spi-builder-workspace/Sources/XCTest/Private/SourceLocation.swift /host/spi-builder-workspace/Sources/XCTest/Private/TestFiltering.swift /host/spi-builder-workspace/Sources/XCTest/Private/TestListing.swift /host/spi-builder-workspace/Sources/XCTest/Private/WaiterManager.swift /host/spi-builder-workspace/Sources/XCTest/Private/WallClockTimeMetric.swift /host/spi-builder-workspace/Sources/XCTest/Private/XCTestCase.TearDownBlocksState.swift /host/spi-builder-workspace/Sources/XCTest/Private/XCTestCaseSuite.swift /host/spi-builder-workspace/Sources/XCTest/Private/XCTestInternalObservation.swift /host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSNotificationExpectation.swift /host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTNSPredicateExpectation.swift /host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter+Validation.swift /host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTWaiter.swift /host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTestCase+Asynchronous.swift /host/spi-builder-workspace/Sources/XCTest/Public/Asynchronous/XCTestExpectation.swift /host/spi-builder-workspace/Sources/XCTest/Public/XCAbstractTest.swift /host/spi-builder-workspace/Sources/XCTest/Public/XCTAssert.swift /host/spi-builder-workspace/Sources/XCTest/Public/XCTSkip.swift /host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase+Performance.swift /host/spi-builder-workspace/Sources/XCTest/Public/XCTestCase.swift /host/spi-builder-workspace/Sources/XCTest/Public/XCTestCaseRun.swift /host/spi-builder-workspace/Sources/XCTest/Public/XCTestErrors.swift /host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift /host/spi-builder-workspace/Sources/XCTest/Public/XCTestObservation.swift /host/spi-builder-workspace/Sources/XCTest/Public/XCTestObservationCenter.swift /host/spi-builder-workspace/Sources/XCTest/Public/XCTestRun.swift /host/spi-builder-workspace/Sources/XCTest/Public/XCTestSuite.swift /host/spi-builder-workspace/Sources/XCTest/Public/XCTestSuiteRun.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 -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/XCTest.build/Debug-webassembly-wasm32/XCTest-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/XCTest.build/Debug-webassembly-wasm32/XCTest-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/XCTest.build/Debug-webassembly-wasm32/XCTest-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name XCTest -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/XCTest.build/Debug-webassembly-wasm32/XCTest-t.build/Objects-normal/wasm32/XCTest_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/XCTest.build/Debug-webassembly-wasm32/XCTest-t.build/Objects-normal/wasm32/Modules/XCTest.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/XCTest.build/Debug-webassembly-wasm32/XCTest-t.build/Objects-normal/wasm32/Modules/XCTest.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/XCTest.build/Debug-webassembly-wasm32/XCTest-t.build/Objects-normal/wasm32/XCTest-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/XCTest.build/Debug-webassembly-wasm32/XCTest-t.build/Objects-normal/wasm32/XCTest-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/XCTest.build/Debug-webassembly-wasm32/XCTest-t.build/Objects-normal/wasm32/XCTest-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/XCTest.build/Debug-webassembly-wasm32/XCTest-t.build/Objects-normal/wasm32/Modules/XCTest.swiftmodule
[27 / 35] XCTest
error: Build failed
BUILD FAILURE 6.4 wasm