Build Information
Failed to build swift-signal, reference main (39127f
), with Swift 6.1 for Wasm on 29 May 2025 05:38:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 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/unixzii/swift-signal
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 39127fa Change the property wrapper constructor to convenience init
Cloned https://github.com/unixzii/swift-signal.git
Revision (git rev-parse @):
39127faee5c1f1c57effb81b172ef989089e8bd7
SUCCESS checkout https://github.com/unixzii/swift-signal.git at main
========================================
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-4606859-3":/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 Computation.swift
[6/10] Compiling SwiftSignal Observer.swift
[7/10] Compiling SwiftSignal Signal.swift
[8/10] Compiling SwiftSignal Source.swift
[9/10] Compiling SwiftSignal Scope.swift
[10/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)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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 Signal.swift
[5/8] Compiling SwiftSignal Scope.swift
[6/8] Compiling SwiftSignal Computation.swift
[7/8] Emitting module SwiftSignal
[8/8] Compiling SwiftSignal Observer.swift
BUILD FAILURE 6.1 wasm