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.6 (d7e406), with Swift 6.2 (beta) for Wasm on 24 Jul 2025 01:23:36 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.6
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.6     -> FETCH_HEAD
HEAD is now at d7e4060 Run swift-format
Cloned https://github.com/pointfreeco/swift-snapshot-testing.git
Revision (git rev-parse @):
d7e40607dcd6bc26543f5d9433103f06e0b28f8f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.6
========================================
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
[4582/75941] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (8.33s)
Fetched https://github.com/swiftlang/swift-syntax from cache (8.39s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (8.85s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5482] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.94s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (6.38s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.0 (0.76s)
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.6.0
Building for debugging...
[0/19] Write sources
[17/19] Compiling _SwiftSyntaxCShims dummy.c
[18/19] Write swift-version-24593BA9C3E375BF.txt
[20/60] Emitting module IssueReportingPackageSupport
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/60] 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)
[22/64] 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)
[23/64] 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)
[24/64] 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)
[25/64] 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)
[26/64] Emitting module SwiftSyntax509
[27/64] Compiling SwiftSyntax509 Empty.swift
[28/64] Compiling IssueReportingPackageSupport _Test.swift
[31/66] Emitting module SwiftSyntax600
[32/66] Compiling SwiftSyntax600 Empty.swift
[33/66] Compiling SwiftSyntax510 Empty.swift
[34/66] Emitting module SwiftSyntax510
[35/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)
[36/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)
[37/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)
[38/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)
[39/68] 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)
[40/68] 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)
[41/68] 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)
[42/68] 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)
[43/68] 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)
[44/68] 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)
[45/68] 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)
[46/68] 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)
[47/68] 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)
[48/68] 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)
[49/68] 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)
[50/68] 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/68] Emitting module SwiftSyntax601
[54/68] Compiling SwiftSyntax601 Empty.swift
[55/68] 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)
[56/68] 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)
[57/68] 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)
[58/68] 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)
[59/68] 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)
[60/69] 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)
[61/69] 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)
[62/69] 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)
[63/69] 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)
[65/88] 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? {
[66/88] 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? {
[67/88] 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? {
[68/90] Compiling IssueReporting TestContext.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? {
[69/90] Compiling IssueReporting Unimplemented.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/90] Compiling IssueReporting FailureObserver.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/90] Compiling IssueReporting LockIsolated.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/90] Compiling IssueReporting Rethrows.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/100] Compiling IssueReporting BreakpointReporter.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/100] Compiling IssueReporting FatalErrorReporter.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/100] 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? {
[76/100] 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? {
[77/154] 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? {
[78/154] 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? {
[79/154] 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? {
[80/154] Compiling SwiftSyntax MissingNodeInitializers.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/154] 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? {
[82/154] 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? {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[83/154] 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? {
[84/154] Compiling SwiftSyntax Trivia.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/154] Compiling SwiftSyntax Utils.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? {
BUILD FAILURE 6.2 wasm