The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ThreadExtensions, reference main (4122ba), with Swift 6.1 for Wasm on 27 May 2025 23:02:27 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/ThreadExtensions.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/elegantchaos/ThreadExtensions
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4122ba9 added license
Cloned https://github.com/elegantchaos/ThreadExtensions.git
Revision (git rev-parse @):
4122ba90ffd6dbd1a09e78cb3c5a096042ba61d4
SUCCESS checkout https://github.com/elegantchaos/ThreadExtensions.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/ThreadExtensions.git
https://github.com/elegantchaos/ThreadExtensions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "xctestextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/XCTestExtensions.git"
    }
  ],
  "manifest_display_name" : "ThreadExtensions",
  "name" : "ThreadExtensions",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "ThreadExtensions",
      "targets" : [
        "ThreadExtensions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ThreadExtensionsTests",
      "module_type" : "SwiftTarget",
      "name" : "ThreadExtensionsTests",
      "path" : "Tests/ThreadExtensionsTests",
      "product_dependencies" : [
        "XCTestExtensions"
      ],
      "sources" : [
        "ThreadExtensionsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ThreadExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ThreadExtensions",
      "module_type" : "SwiftTarget",
      "name" : "ThreadExtensions",
      "path" : "Sources/ThreadExtensions",
      "product_memberships" : [
        "ThreadExtensions"
      ],
      "sources" : [
        "ThreadExtensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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 -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/elegantchaos/XCTestExtensions.git
[1/571] Fetching xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.26s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (0.83s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.35s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (1.36s)
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module ThreadExtensions
[4/4] Compiling ThreadExtensions ThreadExtensions.swift
/host/spi-builder-workspace/Sources/ThreadExtensions/ThreadExtensions.swift:9:5: error: cannot find 'DispatchQueue' in scope
 7 |
 8 | public func onMainQueue(_ work: @escaping () -> ()) {
 9 |     DispatchQueue.main.async(execute: work)
   |     `- error: cannot find 'DispatchQueue' in scope
10 | }
11 |
/host/spi-builder-workspace/Sources/ThreadExtensions/ThreadExtensions.swift:13:5: error: cannot find 'DispatchQueue' in scope
11 |
12 | public func onMainQueue(after seconds: TimeInterval, _ work: @escaping () -> ()) {
13 |     DispatchQueue.main.asyncAfter(deadline: .now() + seconds, execute: work)
   |     `- error: cannot find 'DispatchQueue' in scope
14 | }
15 |
/host/spi-builder-workspace/Sources/ThreadExtensions/ThreadExtensions.swift:13:46: error: cannot call value of non-function type 'Date'
11 |
12 | public func onMainQueue(after seconds: TimeInterval, _ work: @escaping () -> ()) {
13 |     DispatchQueue.main.asyncAfter(deadline: .now() + seconds, execute: work)
   |                                              `- error: cannot call value of non-function type 'Date'
14 | }
15 |
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: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/3] Emitting module ThreadExtensions
[3/3] Compiling ThreadExtensions ThreadExtensions.swift
/host/spi-builder-workspace/Sources/ThreadExtensions/ThreadExtensions.swift:9:5: error: cannot find 'DispatchQueue' in scope
 7 |
 8 | public func onMainQueue(_ work: @escaping () -> ()) {
 9 |     DispatchQueue.main.async(execute: work)
   |     `- error: cannot find 'DispatchQueue' in scope
10 | }
11 |
/host/spi-builder-workspace/Sources/ThreadExtensions/ThreadExtensions.swift:13:5: error: cannot find 'DispatchQueue' in scope
11 |
12 | public func onMainQueue(after seconds: TimeInterval, _ work: @escaping () -> ()) {
13 |     DispatchQueue.main.asyncAfter(deadline: .now() + seconds, execute: work)
   |     `- error: cannot find 'DispatchQueue' in scope
14 | }
15 |
/host/spi-builder-workspace/Sources/ThreadExtensions/ThreadExtensions.swift:13:46: error: cannot call value of non-function type 'Date'
11 |
12 | public func onMainQueue(after seconds: TimeInterval, _ work: @escaping () -> ()) {
13 |     DispatchQueue.main.asyncAfter(deadline: .now() + seconds, execute: work)
   |                                              `- error: cannot call value of non-function type 'Date'
14 | }
15 |
BUILD FAILURE 6.1 wasm