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 swift-snapshot-testing, reference 1.18.7 (a8b7c5), with Swift 6.2 for Wasm on 18 Sep 2025 02:41:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/pointfreeco/swift-snapshot-testing.git
Reference: 1.18.7
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.7     -> FETCH_HEAD
HEAD is now at a8b7c5e Bump CI (#1025)
Cloned https://github.com/pointfreeco/swift-snapshot-testing.git
Revision (git rev-parse @):
a8b7c5e0ed33d8ab8887d1654d9b59f2cbad529b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.7
========================================
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-4609320-0":/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
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4598] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.63s)
[1/71918] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.64s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (6.30s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5499] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.64s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (3.82s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.37s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Building for debugging...
[0/20] Write sources
[18/20] Compiling _SwiftSyntaxCShims PlatformMutex.c
[19/20] Write swift-version-24593BA9C3E375BF.txt
[21/32] Emitting module SwiftSyntax600
[22/32] Emitting module SwiftSyntax509
[23/32] Emitting module SwiftSyntax510
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/63] 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)
[25/67] 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)
[26/67] 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)
[27/67] 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)
[28/67] 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)
[29/67] Compiling SwiftSyntax510 Empty.swift
[30/67] 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)
[31/67] 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)
[32/67] 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)
[33/67] 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)
[34/67] Emitting module SwiftSyntax601
[35/67] Compiling SwiftSyntax601 Empty.swift
[36/67] Emitting module IssueReportingPackageSupport
[37/67] Compiling IssueReportingPackageSupport _Test.swift
[38/70] Compiling SwiftSyntax509 Empty.swift
[39/71] Compiling SnapshotTesting View.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/71] Compiling SnapshotTesting XCTAttachment.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/71] Compiling SnapshotTesting Diff.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/71] Compiling SnapshotTesting Diffing.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/71] Compiling SnapshotTesting Wait.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/71] Compiling SwiftSyntax600 Empty.swift
[49/72] Compiling SnapshotTesting CaseIterable.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)
[50/72] Compiling SnapshotTesting Data.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)
[51/72] 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)
[52/72] 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)
[53/72] 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)
[54/72] 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)
[55/72] 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)
[56/72] 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)
[57/72] Compiling SwiftSyntax602 Empty.swift
[58/72] Emitting module SwiftSyntax602
[59/72] Compiling SnapshotTesting Snapshotting.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)
[60/72] Compiling SnapshotTesting Any.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)
[61/72] Compiling SnapshotTesting CALayer.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)
[62/72] Compiling SnapshotTesting CGPath.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)
[65/73] Compiling SnapshotTesting Deprecations.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)
[66/73] Compiling SnapshotTesting RecordIssue.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)
[67/73] Compiling SnapshotTesting SnapshotTestingConfiguration.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)
[68/73] Compiling SnapshotTesting SnapshotsTestTrait.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)
[69/92] 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? {
[70/92] 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? {
[71/92] Compiling IssueReporting 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? {
[72/157] Compiling SwiftSyntax AbsolutePosition.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? {
[73/157] Compiling SwiftSyntax AbsoluteSyntaxInfo.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? {
[74/157] Compiling SwiftSyntax ArenaAllocatedBuffer.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? {
[75/157] Compiling SwiftSyntax CustomTraits.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? {
[76/157] Compiling SwiftSyntax EditorPlaceholder.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? {
[77/157] Compiling SwiftSyntax CommonAncestor.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? {
[78/157] Compiling SwiftSyntax Convenience.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? {
[79/157] Compiling SwiftSyntax Assert.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? {
[80/157] Compiling SwiftSyntax BumpPtrAllocator.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? {
[81/157] Compiling SwiftSyntax RawSyntaxNodeProtocol.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? {
[82/157] Compiling SwiftSyntax RawSyntaxTokenView.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? {
[83/157] Compiling SwiftSyntax SourceEdit.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? {
[84/157] Compiling SwiftSyntax RawSyntax.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? {
[85/157] Compiling SwiftSyntax RawSyntaxArena.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? {
[86/157] Compiling SwiftSyntax RawSyntaxLayoutView.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? {
[87/157] Compiling SwiftSyntax SyntaxNodeStructure.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? {
[88/157] Compiling SwiftSyntax SyntaxProtocol.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? {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/157] 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? {
BUILD FAILURE 6.2 wasm