The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FTTestingKit, reference 0.5.0 (397827), with Swift 6.1 for Wasm on 27 May 2025 20:29:16 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/futuredapp/FTTestingKit.git
Reference: 0.5.0
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/futuredapp/FTTestingKit
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 3978273 Merge pull request #7 from futuredapp/release/0.5.0
Cloned https://github.com/futuredapp/FTTestingKit.git
Revision (git rev-parse @):
3978273c4b872970d91a8dad33f867ce692870cb
SUCCESS checkout https://github.com/futuredapp/FTTestingKit.git at 0.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/futuredapp/FTTestingKit.git
https://github.com/futuredapp/FTTestingKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "promisekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.11.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/PromiseKit.git"
    }
  ],
  "manifest_display_name" : "FTTestingKit",
  "name" : "FTTestingKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FTTestingKit",
      "targets" : [
        "FTTestingKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FTTestingKitPromiseKit",
      "targets" : [
        "FTTestingKitPromiseKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FTTestingKitTests",
      "module_type" : "SwiftTarget",
      "name" : "FTTestingKitTests",
      "path" : "Tests/FTTestingKitTests",
      "sources" : [
        "ExpectationTests.swift",
        "MockupTests.swift",
        "TimesTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "FTTestingKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FTTestingKitPromiseKitTests",
      "module_type" : "SwiftTarget",
      "name" : "FTTestingKitPromiseKitTests",
      "path" : "Tests/FTTestingKitPromiseKitTests",
      "sources" : [
        "BelieveTests.swift"
      ],
      "target_dependencies" : [
        "FTTestingKitPromiseKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FTTestingKitPromiseKit",
      "module_type" : "SwiftTarget",
      "name" : "FTTestingKitPromiseKit",
      "path" : "Sources/FTTestingKitPromiseKit",
      "product_dependencies" : [
        "PromiseKit"
      ],
      "product_memberships" : [
        "FTTestingKitPromiseKit"
      ],
      "sources" : [
        "XCTest+Believe.swift"
      ],
      "target_dependencies" : [
        "FTTestingKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FTTestingKit",
      "module_type" : "SwiftTarget",
      "name" : "FTTestingKit",
      "path" : "Sources/FTTestingKit",
      "product_memberships" : [
        "FTTestingKit",
        "FTTestingKitPromiseKit"
      ],
      "sources" : [
        "Date+Mockup.swift",
        "Int+Times.swift",
        "Mockup.swift",
        "Result+Void.swift",
        "String+Mockup.swift",
        "XCTest+Expect.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/mxcl/PromiseKit.git
[1/17186] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git from cache (1.19s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (1.81s)
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.22.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/27] Compiling PromiseKit Async.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[6/27] Compiling PromiseKit Box.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[7/27] Compiling PromiseKit Catchable.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/27] Emitting module PromiseKit
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[9/29] Compiling PromiseKit race.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[10/29] Compiling PromiseKit when.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[11/29] Compiling PromiseKit Thenable.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[12/29] Compiling PromiseKit after.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[13/29] Compiling PromiseKit firstly.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[14/29] Compiling PromiseKit hang.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[15/29] Compiling FTTestingKit Mockup.swift
[16/29] Compiling FTTestingKit Result+Void.swift
[17/29] Compiling FTTestingKit XCTest+Expect.swift
/host/spi-builder-workspace/Sources/FTTestingKit/XCTest+Expect.swift:14:27: error: cannot find 'XCTestExpectation' in scope
12 |         reply: @escaping (@escaping (Result<Void, Error>) -> Void) -> Void
13 |     ) {
14 |         let expectation = XCTestExpectation(description: "Expect reply within \(seconds)")
   |                           `- error: cannot find 'XCTestExpectation' in scope
15 |         reply { result in
16 |             if case .failure(let error) = result {
/host/spi-builder-workspace/Sources/FTTestingKit/XCTest+Expect.swift:21:9: error: cannot find 'wait' in scope
19 |             expectation.fulfill()
20 |         }
21 |         wait(for: [expectation], timeout: seconds)
   |         `- error: cannot find 'wait' in scope
22 |     }
23 | }
[18/29] Compiling FTTestingKit String+Mockup.swift
[19/29] Emitting module FTTestingKit
[20/29] Compiling FTTestingKit Date+Mockup.swift
[21/29] Compiling FTTestingKit Int+Times.swift
[22/29] Compiling PromiseKit Promise.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[23/29] Compiling PromiseKit Resolver.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[24/29] Compiling PromiseKit Guarantee.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[25/29] Compiling PromiseKit LogEvent.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[26/29] Compiling PromiseKit CustomStringConvertible.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[27/29] Compiling PromiseKit Error.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[28/29] Compiling PromiseKit Combine.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[29/29] Compiling PromiseKit Configuration.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/24] Compiling FTTestingKit Result+Void.swift
[3/24] Compiling FTTestingKit XCTest+Expect.swift
/host/spi-builder-workspace/Sources/FTTestingKit/XCTest+Expect.swift:14:27: error: cannot find 'XCTestExpectation' in scope
12 |         reply: @escaping (@escaping (Result<Void, Error>) -> Void) -> Void
13 |     ) {
14 |         let expectation = XCTestExpectation(description: "Expect reply within \(seconds)")
   |                           `- error: cannot find 'XCTestExpectation' in scope
15 |         reply { result in
16 |             if case .failure(let error) = result {
/host/spi-builder-workspace/Sources/FTTestingKit/XCTest+Expect.swift:21:9: error: cannot find 'wait' in scope
19 |             expectation.fulfill()
20 |         }
21 |         wait(for: [expectation], timeout: seconds)
   |         `- error: cannot find 'wait' in scope
22 |     }
23 | }
[4/24] Compiling FTTestingKit Date+Mockup.swift
[5/24] Emitting module FTTestingKit
[6/24] Compiling FTTestingKit Mockup.swift
[7/24] Compiling FTTestingKit Int+Times.swift
[8/24] Compiling FTTestingKit String+Mockup.swift
BUILD FAILURE 6.1 wasm