The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build XCTest, reference main (f0cbdd), with Swift 6.2 (beta) for Wasm on 6 Sep 2025 16:50:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 f0cbdd7 Add a CODEOWNERS file (#513)
Cloned https://github.com/swiftlang/swift-corelibs-xctest.git
Revision (git rev-parse @):
f0cbdd72590ee29c91a421efe5279860dc6e6b6d
SUCCESS checkout https://github.com/swiftlang/swift-corelibs-xctest.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/swift-corelibs-xctest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/34] Compiling XCTest XCTestCaseRun.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[4/34] Compiling XCTest XCTestErrors.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[5/34] Compiling XCTest XCTestMain.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[6/34] Compiling XCTest XCTestObservation.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[7/38] Compiling XCTest XCTestInternalObservation.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[8/38] Compiling XCTest XCTNSNotificationExpectation.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[9/38] Compiling XCTest XCTNSPredicateExpectation.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[10/38] Compiling XCTest XCTWaiter+Validation.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[11/38] Compiling XCTest XCTAssert.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[12/38] Compiling XCTest XCTSkip.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[13/38] Compiling XCTest XCTestCase+Performance.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[14/38] Compiling XCTest XCTestCase.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[15/38] Compiling XCTest XCTestObservationCenter.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[16/38] Compiling XCTest XCTestRun.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[17/38] Compiling XCTest XCTestSuite.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[18/38] Compiling XCTest XCTestSuiteRun.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/38] Emitting module XCTest
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[20/38] Compiling XCTest PrintObserver.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[21/38] Compiling XCTest SourceLocation.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[22/38] Compiling XCTest TestFiltering.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[23/38] Compiling XCTest TestListing.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[24/38] Compiling XCTest XCTWaiter.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[25/38] Compiling XCTest XCTestCase+Asynchronous.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[26/38] Compiling XCTest XCTestExpectation.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[27/38] Compiling XCTest XCAbstractTest.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[28/38] Compiling XCTest WaiterManager.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[29/38] Compiling XCTest WallClockTimeMetric.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[30/38] Compiling XCTest XCTestCase.TearDownBlocksState.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[31/38] Compiling XCTest XCTestCaseSuite.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[32/38] Compiling XCTest ArgumentParser.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[33/38] Compiling XCTest IgnoredErrors.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[34/38] Compiling XCTest ObjectWrapper.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
[35/38] Compiling XCTest PerformanceMeter.swift
/host/spi-builder-workspace/Sources/XCTest/Public/XCTestMain.swift:24:23: error: no such module 'Foundation'
 22 |     #endif
 23 | #else
 24 |     @_exported import Foundation
    |                       `- error: no such module 'Foundation'
 25 | #endif
 26 |
BUILD FAILURE 6.2 wasm