Build Information
Failed to build SnapshotTestingStitch, reference main (a1c51a
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 07:32:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/sherlouk/swift-snapshot-testing-stitch.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/sherlouk/swift-snapshot-testing-stitch
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a1c51ab Merge pull request #11 from MojtabaHs/docs/fix-typos
Cloned https://github.com/sherlouk/swift-snapshot-testing-stitch.git
Revision (git rev-parse @):
a1c51ab705388cecee16ab80f6e0f4d1623595b1
SUCCESS checkout https://github.com/sherlouk/swift-snapshot-testing-stitch.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/sherlouk/swift-snapshot-testing-stitch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/alexey1312/SnapshotTestingHEIC.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/200] Fetching snapshottestingheic
[201/13427] Fetching snapshottestingheic, swift-snapshot-testing
Fetched https://github.com/alexey1312/SnapshotTestingHEIC.git from cache (1.69s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.90s)
Computing version for https://github.com/alexey1312/SnapshotTestingHEIC.git
Computed https://github.com/alexey1312/SnapshotTestingHEIC.git at 1.5.1 (2.44s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.39s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.29s)
[1/70906] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.37s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (4.72s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (2.87s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (3.54s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.77s)
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/alexey1312/SnapshotTestingHEIC.git
Working copy of https://github.com/alexey1312/SnapshotTestingHEIC.git resolved at 1.5.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
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/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/35] Emitting module SnapshotTesting
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[6/39] Compiling SnapshotTesting UIImage.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[7/39] Compiling SnapshotTesting UIView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[8/39] Compiling SnapshotTesting UIViewController.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[9/39] Compiling SnapshotTesting URLRequest.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[10/39] Compiling SnapshotTesting View.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[11/39] Compiling SnapshotTesting XCTAttachment.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[12/39] Compiling SnapshotTesting Diff.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[13/39] Compiling SnapshotTesting Diffing.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[14/39] Compiling SnapshotTesting Wait.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[15/39] Compiling SnapshotTesting Snapshotting.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[16/39] Compiling SnapshotTesting Any.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[17/39] Compiling SnapshotTesting CALayer.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[18/39] Compiling SnapshotTesting CGPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[19/39] Compiling SnapshotTesting Deprecations.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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/39] Compiling SnapshotTesting RecordIssue.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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/39] Compiling SnapshotTesting SnapshotTestingConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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/39] Compiling SnapshotTesting SnapshotsTestTrait.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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/39] Compiling SnapshotTesting SpriteKit.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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/39] Compiling SnapshotTesting String.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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/39] Compiling SnapshotTesting SwiftUIView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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/39] Compiling SnapshotTesting UIBezierPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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/39] Compiling SnapshotTesting CaseIterable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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/39] Compiling SnapshotTesting Data.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[29/39] Compiling SnapshotTesting Encodable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[30/39] Compiling SnapshotTesting NSBezierPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[31/39] Compiling SnapshotTesting NSImage.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[32/39] Compiling SnapshotTesting NSView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[33/39] Compiling SnapshotTesting NSViewController.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[34/39] Compiling SnapshotTesting SceneKit.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[35/39] Compiling SnapshotTesting AssertSnapshot.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[36/39] Compiling SnapshotTesting Async.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:1:8: error: no such module 'XCTest'
1 | import XCTest
| `- error: no such module 'XCTest'
2 |
3 | #if canImport(Testing)
[37/39] Compiling SnapshotTesting Internal.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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/39] Compiling SnapshotTesting PlistEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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/39] Compiling SnapshotTesting String+SpecialCharacters.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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