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-signal, reference 1.0.0-alpha.1 (0b7d2f), with Swift 6.1 for Wasm on 29 May 2025 05:38:54 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/unixzii/swift-signal.git
Reference: 1.0.0-alpha.1
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/unixzii/swift-signal
 * tag               1.0.0-alpha.1 -> FETCH_HEAD
HEAD is now at 0b7d2f2 Fix typo
Cloned https://github.com/unixzii/swift-signal.git
Revision (git rev-parse @):
0b7d2f2378e1194741c633ff0c7a4948ca56f2ff
SUCCESS checkout https://github.com/unixzii/swift-signal.git at 1.0.0-alpha.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/unixzii/swift-signal.git
https://github.com/unixzii/swift-signal.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-signal",
  "name" : "swift-signal",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSignal",
      "targets" : [
        "SwiftSignal"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftUISignal",
      "targets" : [
        "SwiftUISignal"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUISignal",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUISignal",
      "path" : "Sources/SwiftUISignal",
      "product_memberships" : [
        "SwiftUISignal"
      ],
      "sources" : [
        "ObservedTypes.swift"
      ],
      "target_dependencies" : [
        "SwiftSignal"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftSignalTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSignalTests",
      "path" : "Tests/SwiftSignalTests",
      "sources" : [
        "SwiftSignalTests.swift"
      ],
      "target_dependencies" : [
        "SwiftSignal"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSignal",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSignal",
      "path" : "Sources/SwiftSignal",
      "product_memberships" : [
        "SwiftSignal",
        "SwiftUISignal"
      ],
      "sources" : [
        "Computation.swift",
        "Observer.swift",
        "Scope.swift",
        "Signal.swift",
        "Source.swift",
        "ThreadLocal.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/10] Emitting module SwiftSignal
[5/10] Compiling SwiftSignal Signal.swift
[6/10] Compiling SwiftSignal Source.swift
[7/10] Compiling SwiftSignal Scope.swift
[8/10] Compiling SwiftSignal Computation.swift
[9/10] Compiling SwiftSignal ThreadLocal.swift
/host/spi-builder-workspace/Sources/SwiftSignal/ThreadLocal.swift:28:36: error: cannot find 'Thread' in scope
26 |     static var value: T? {
27 |         get {
28 |             let threadDictionary = Thread.current.threadDictionary
   |                                    `- error: cannot find 'Thread' in scope
29 |             let maybeBox = threadDictionary.object(forKey: Box<T>.key)
30 |             guard let box = maybeBox as? Box<T> else {
/host/spi-builder-workspace/Sources/SwiftSignal/ThreadLocal.swift:36:36: error: cannot find 'Thread' in scope
34 |         }
35 |         set {
36 |             let threadDictionary = Thread.current.threadDictionary
   |                                    `- error: cannot find 'Thread' in scope
37 |             guard let newValue else {
38 |                 threadDictionary.removeObject(forKey: Box<T>.key)
[10/10] Compiling SwiftSignal Observer.swift
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/8] Compiling SwiftSignal Source.swift
[3/8] Compiling SwiftSignal ThreadLocal.swift
/host/spi-builder-workspace/Sources/SwiftSignal/ThreadLocal.swift:28:36: error: cannot find 'Thread' in scope
26 |     static var value: T? {
27 |         get {
28 |             let threadDictionary = Thread.current.threadDictionary
   |                                    `- error: cannot find 'Thread' in scope
29 |             let maybeBox = threadDictionary.object(forKey: Box<T>.key)
30 |             guard let box = maybeBox as? Box<T> else {
/host/spi-builder-workspace/Sources/SwiftSignal/ThreadLocal.swift:36:36: error: cannot find 'Thread' in scope
34 |         }
35 |         set {
36 |             let threadDictionary = Thread.current.threadDictionary
   |                                    `- error: cannot find 'Thread' in scope
37 |             guard let newValue else {
38 |                 threadDictionary.removeObject(forKey: Box<T>.key)
[4/8] Compiling SwiftSignal Observer.swift
[5/8] Compiling SwiftSignal Scope.swift
[6/8] Compiling SwiftSignal Signal.swift
[7/8] Emitting module SwiftSignal
[8/8] Compiling SwiftSignal Computation.swift
BUILD FAILURE 6.1 wasm