Build Information
Failed to build swift-snapshot-testing, reference 1.18.4 (37230a
), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 04:48:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/pointfreeco/swift-snapshot-testing.git
Reference: 1.18.4
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/pointfreeco/swift-snapshot-testing
* tag 1.18.4 -> FETCH_HEAD
HEAD is now at 37230a3 Help with file paths that include spaces (#990)
Cloned https://github.com/pointfreeco/swift-snapshot-testing.git
Revision (git rev-parse @):
37230a37e83f1b7023be08e1b1a2603fcb1567fb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/pointfreeco/swift-snapshot-testing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.40s)
[1/70927] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.34s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (6.82s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.77s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (4.01s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.48s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Building for debugging...
[0/18] Write sources
[16/18] Compiling _SwiftSyntaxCShims dummy.c
[17/18] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/76] Emitting module SnapshotTesting
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[20/80] Compiling SnapshotTesting SpriteKit.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[21/80] Compiling SnapshotTesting String.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[22/80] Compiling SnapshotTesting SwiftUIView.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[23/80] Compiling SnapshotTesting UIBezierPath.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[24/80] Compiling SnapshotTesting NSImage.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[25/80] Compiling SnapshotTesting NSView.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[26/80] Compiling SnapshotTesting NSViewController.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[27/80] Compiling SnapshotTesting SceneKit.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[28/80] Compiling SnapshotTesting AssertSnapshot.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[29/80] Compiling SnapshotTesting Async.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[30/80] Compiling SnapshotTesting Internal.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[31/82] Emitting module SwiftSyntax601
[32/82] Compiling SwiftSyntax601 Empty.swift
[33/83] Compiling SnapshotTesting XCTAttachment.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[34/83] Compiling SnapshotTesting Diff.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[35/83] Compiling SnapshotTesting Diffing.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[37/83] Compiling IssueReporting TestContext.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[38/83] Compiling IssueReporting Unimplemented.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[39/83] Compiling IssueReporting BreakpointReporter.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[40/83] Compiling IssueReporting FatalErrorReporter.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[41/83] Compiling SnapshotTesting UIImage.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[42/83] Compiling SnapshotTesting UIView.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[43/83] Compiling SnapshotTesting UIViewController.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[44/83] Compiling SnapshotTesting URLRequest.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[45/83] Compiling IssueReporting WithExpectedIssue.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[46/83] Compiling IssueReporting WithIssueContext.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[47/83] Compiling SnapshotTesting Encodable.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[48/83] Compiling SnapshotTesting NSBezierPath.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/83] Compiling IssueReporting ErrorReporting.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[50/83] Compiling IssueReporting AppHostWarning.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[51/83] Compiling SnapshotTesting View.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[52/83] Emitting module IssueReporting
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[53/83] Compiling SnapshotTesting Wait.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[54/83] Compiling SnapshotTesting Deprecations.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[55/83] Compiling SnapshotTesting RecordIssue.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[58/83] Emitting module SwiftSyntax510
[59/83] Compiling SwiftSyntax510 Empty.swift
[60/84] Emitting module SwiftSyntax509
[61/84] Compiling SwiftSyntax509 Empty.swift
[62/84] Emitting module SwiftSyntax600
[63/84] Compiling SwiftSyntax600 Empty.swift
[64/86] Compiling IssueReporting RuntimeWarningReporter.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
[65/86] Compiling IssueReporting ReportIssue.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/AppHostWarning.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | extension String? {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
BUILD FAILURE 6.2 wasm