Build Information
Failed to build XCTest, reference main (5c7856
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 08:50:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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.64.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 5c7856d Merge pull request #509 from compnerd/nesting
Cloned https://github.com/swiftlang/swift-corelibs-xctest.git
Revision (git rev-parse @):
5c7856dad282af5da0bd0bb26556aa74272f7bda
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" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/34] 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 |
[4/38] 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 |
[5/38] 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 |
[6/38] 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 |
[7/38] 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 |
[8/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 |
[9/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 |
[10/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 |
[11/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 |
[12/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 |
[13/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 |
[14/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 |
[15/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 |
[16/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 |
[17/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 |
[18/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 |
[19/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 |
[20/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 |
[21/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 |
[22/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 |
[23/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 |
[24/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 |
[25/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 |
[26/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 |
[27/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 |
[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 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 |
[33/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 |
[34/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 |
[35/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 |
BUILD FAILURE 6.2 wasm