Build Information
Failed to build Observable, reference main (8634c9
), with Swift 6.1 for Wasm on 28 May 2025 09:18:14 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/Flowduino/Observable.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/Flowduino/Observable
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8634c9d Update FUNDING.yml
Cloned https://github.com/Flowduino/Observable.git
Revision (git rev-parse @):
8634c9d72b50763a6d66879fafa2cdd0345fce17
SUCCESS checkout https://github.com/Flowduino/Observable.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Flowduino/Observable.git
https://github.com/Flowduino/Observable.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "threadsafeswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flowduino/ThreadSafeSwift.git"
}
],
"manifest_display_name" : "Observable",
"name" : "Observable",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Observable",
"targets" : [
"Observable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ObservableTests",
"module_type" : "SwiftTarget",
"name" : "ObservableTests",
"path" : "Tests/ObservableTests",
"product_dependencies" : [
"ThreadSafeSwift"
],
"sources" : [
"KeyedObservableClassTests.swift",
"ObservableClassTests.swift"
],
"target_dependencies" : [
"Observable"
],
"type" : "test"
},
{
"c99name" : "Observable",
"module_type" : "SwiftTarget",
"name" : "Observable",
"path" : "Sources/Observable",
"product_dependencies" : [
"ThreadSafeSwift"
],
"product_memberships" : [
"Observable"
],
"sources" : [
"Keyed/KeyedObservable.swift",
"Keyed/KeyedObservableClass.swift",
"Keyed/KeyedObservableThread.swift",
"Keyed/KeyedObservableThreadSafeClass.swift",
"Observable.swift",
"ObservableClass.swift",
"ObservableThread.swift",
"ObservableThreadSafeClass.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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
Fetching https://github.com/Flowduino/ThreadSafeSwift.git
[2/53] Fetching threadsafeswift
Fetched https://github.com/Flowduino/ThreadSafeSwift.git from cache (0.23s)
Computing version for https://github.com/Flowduino/ThreadSafeSwift.git
Computed https://github.com/Flowduino/ThreadSafeSwift.git at 1.1.0 (1.10s)
Creating working copy for https://github.com/Flowduino/ThreadSafeSwift.git
Working copy of https://github.com/Flowduino/ThreadSafeSwift.git resolved at 1.1.0
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/5] Emitting module ThreadSafeSwift
/host/spi-builder-workspace/.build/checkouts/ThreadSafeSwift/Sources/ThreadSafeSwift/ThreadSafeSemaphore.swift:17:23: error: cannot find 'DispatchSemaphore' in scope
15 | @propertyWrapper
16 | public struct ThreadSafeSemaphore<T> {
17 | public var lock = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
18 | private var value: T
19 |
[5/5] Compiling ThreadSafeSwift ThreadSafeSemaphore.swift
/host/spi-builder-workspace/.build/checkouts/ThreadSafeSwift/Sources/ThreadSafeSwift/ThreadSafeSemaphore.swift:17:23: error: cannot find 'DispatchSemaphore' in scope
15 | @propertyWrapper
16 | public struct ThreadSafeSemaphore<T> {
17 | public var lock = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
18 | private var value: T
19 |
/host/spi-builder-workspace/.build/checkouts/ThreadSafeSwift/Sources/ThreadSafeSwift/ThreadSafeSemaphore.swift:52:31: error: cannot find 'DispatchTime' in scope
50 | */
51 | mutating public func withTryLock(_ onLock: @escaping (_ value: inout T) -> (), _ onCannotLock: @escaping ()->()) {
52 | if lock.wait(timeout: DispatchTime.now()) == .success { // If we are able to acquire the lock...
| `- error: cannot find 'DispatchTime' in scope
53 | onLock(&value) // Invoke the closure within the lock
54 | lock.signal() // Release the Lock
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module ThreadSafeSwift
/host/spi-builder-workspace/.build/checkouts/ThreadSafeSwift/Sources/ThreadSafeSwift/ThreadSafeSemaphore.swift:17:23: error: cannot find 'DispatchSemaphore' in scope
15 | @propertyWrapper
16 | public struct ThreadSafeSemaphore<T> {
17 | public var lock = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
18 | private var value: T
19 |
[3/3] Compiling ThreadSafeSwift ThreadSafeSemaphore.swift
/host/spi-builder-workspace/.build/checkouts/ThreadSafeSwift/Sources/ThreadSafeSwift/ThreadSafeSemaphore.swift:17:23: error: cannot find 'DispatchSemaphore' in scope
15 | @propertyWrapper
16 | public struct ThreadSafeSemaphore<T> {
17 | public var lock = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
18 | private var value: T
19 |
/host/spi-builder-workspace/.build/checkouts/ThreadSafeSwift/Sources/ThreadSafeSwift/ThreadSafeSemaphore.swift:52:31: error: cannot find 'DispatchTime' in scope
50 | */
51 | mutating public func withTryLock(_ onLock: @escaping (_ value: inout T) -> (), _ onCannotLock: @escaping ()->()) {
52 | if lock.wait(timeout: DispatchTime.now()) == .success { // If we are able to acquire the lock...
| `- error: cannot find 'DispatchTime' in scope
53 | onLock(&value) // Invoke the closure within the lock
54 | lock.signal() // Release the Lock
BUILD FAILURE 6.1 wasm