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 XCTestExtensions, reference 1.2.2 (5f4b96), with Swift 6.1 for Wasm on 8 Aug 2025 10:13:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/XCTestExtensions.git
Reference: 1.2.2
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/StanfordBDHG/XCTestExtensions
 * tag               1.2.2      -> FETCH_HEAD
HEAD is now at 5f4b967 add toggle utilities (#34)
Cloned https://github.com/StanfordBDHG/XCTestExtensions.git
Revision (git rev-parse @):
5f4b9670acfac68ed55a2d6462d716a2bcdc2261
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/XCTestExtensions.git at 1.2.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/StanfordBDHG/XCTestExtensions.git
https://github.com/StanfordBDHG/XCTestExtensions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XCTestExtensions",
  "name" : "XCTestExtensions",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "XCTestApp",
      "targets" : [
        "XCTestApp"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "XCTestExtensions",
      "targets" : [
        "XCTestExtensions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCTestExtensionsTests",
      "module_type" : "SwiftTarget",
      "name" : "XCTestExtensionsTests",
      "path" : "Tests/XCTestExtensionsTests",
      "sources" : [
        "XCTestExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "XCTestExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCTestExtensions",
      "module_type" : "SwiftTarget",
      "name" : "XCTestExtensions",
      "path" : "Sources/XCTestExtensions",
      "product_memberships" : [
        "XCTestExtensions"
      ],
      "sources" : [
        "XCTAssertThrowsErrorAsync.swift",
        "XCUIApplication+DeleteAndLaunch.swift",
        "XCUIApplication+Keyboard.swift",
        "XCUIApplication+VisionOS.swift",
        "XCUIElement+TextEntry.swift",
        "XCUIElement+Toggle.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XCTestApp",
      "module_type" : "SwiftTarget",
      "name" : "XCTestApp",
      "path" : "Sources/XCTestApp",
      "product_memberships" : [
        "XCTestApp"
      ],
      "sources" : [
        "TestAppTestCase.swift",
        "TestAppTests.swift",
        "TestAppTestsView.swift",
        "TestAppView.swift",
        "XCTest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/16] Emitting module XCTestApp
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 |
[5/16] Compiling XCTestApp TestAppTestCase.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 |
[6/16] Compiling XCTestApp TestAppTestsView.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 |
[7/16] Compiling XCTestApp TestAppView.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 |
[8/16] Compiling XCTestApp XCTest.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 |
[9/16] Compiling XCTestApp TestAppTests.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling XCTestApp TestAppView.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 |
[3/14] Compiling XCTestApp XCTest.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 |
[4/14] Compiling XCTestApp TestAppTests.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 |
[5/14] Compiling XCTestApp TestAppTestCase.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 |
[6/14] Compiling XCTestApp TestAppTestsView.swift
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/14] Emitting module XCTestApp
/host/spi-builder-workspace/Sources/XCTestApp/TestAppTests.swift:9:8: error: no such module 'SwiftUI'
 7 | //
 8 |
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 |
BUILD FAILURE 6.1 wasm