The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-snapshot-testing, reference main (4ee19e), with Swift 6.2 for Wasm on 22 Jun 2025 23:18:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/mihai8804858/swift-snapshot-testing.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/mihai8804858/swift-snapshot-testing
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4ee19ec Merge branch 'main' into main
Cloned https://github.com/mihai8804858/swift-snapshot-testing.git
Revision (git rev-parse @):
4ee19ec0d8af7a3fce0a3f961fef71f0c7c1edd2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mihai8804858/swift-snapshot-testing.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mihai8804858/swift-snapshot-testing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
[1/70925] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (9.65s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (14.95s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Building for debugging...
[0/13] Write sources
[11/13] Compiling _SwiftSyntaxCShims dummy.c
[12/13] Write swift-version-24593BA9C3E375BF.txt
[14/50] Compiling SwiftSyntax509 Empty.swift
[15/50] Emitting module SwiftSyntax509
[16/51] 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)
[17/51] 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)
[18/51] 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)
[19/51] 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)
[20/51] 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)
[21/51] 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)
[22/51] 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)
[23/51] 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)
[24/51] 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)
[26/55] 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)
[27/55] 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)
[28/55] 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)
[29/55] 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)
[30/55] 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)
[31/55] 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)
[32/55] 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)
[33/55] 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)
[34/55] 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)
[35/55] 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)
[36/55] 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)
[37/55] 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)
[38/55] 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)
[39/55] 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)
[40/55] 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)
[41/55] 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)
[42/55] 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)
[43/55] 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)
[44/55] 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)
[45/55] 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)
[46/55] Compiling SwiftSyntax510 Empty.swift
[47/55] Emitting module SwiftSyntax510
[48/55] Emitting module SwiftSyntax600
[49/56] Compiling SwiftSyntax600 Empty.swift
[52/121] Compiling SwiftSyntax AbsolutePosition.swift
[53/121] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[54/121] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[55/121] Compiling SwiftSyntax Assert.swift
[56/121] Compiling SwiftSyntax BumpPtrAllocator.swift
[57/121] Compiling SwiftSyntax CommonAncestor.swift
[58/121] Compiling SwiftSyntax Convenience.swift
[59/121] Compiling SwiftSyntax CustomTraits.swift
[60/121] Compiling SwiftSyntax Identifier.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/129] 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)
[62/129] Compiling SwiftSyntax Trivia.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/129] Compiling SwiftSyntax SourcePresence.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)
[64/129] Compiling SwiftSyntax SwiftSyntaxCompatibility.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/129] Compiling SwiftSyntax Syntax.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/129] Compiling SwiftSyntax SyntaxArena.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)
BUILD FAILURE 6.2 wasm