Build Information
Failed to build CioAnalytics, reference 1.7.3+cio.1 (9c2cd6), with Swift 6.3 for Wasm on 19 Apr 2026 17:03:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/customerio/cdp-analytics-swift.git
Reference: 1.7.3+cio.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/customerio/cdp-analytics-swift
* tag 1.7.3+cio.1 -> FETCH_HEAD
HEAD is now at 9c2cd6f Package and Podspec sync with upstream
Cloned https://github.com/customerio/cdp-analytics-swift.git
Revision (git rev-parse @):
9c2cd6f840ca2df72e9be6597420f1b45f3c8e46
SUCCESS checkout https://github.com/customerio/cdp-analytics-swift.git at 1.7.3+cio.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/customerio/cdp-analytics-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/segmentio/sovran-swift.git
Fetching https://github.com/segmentio/jsonsafeencoding-swift.git
[1/77] Fetching jsonsafeencoding-swift
[22/448] Fetching jsonsafeencoding-swift, sovran-swift
Fetched https://github.com/segmentio/jsonsafeencoding-swift.git from cache (0.34s)
Fetched https://github.com/segmentio/sovran-swift.git from cache (0.34s)
Computing version for https://github.com/segmentio/jsonsafeencoding-swift.git
Computed https://github.com/segmentio/jsonsafeencoding-swift.git at 2.0.0 (2.63s)
Computing version for https://github.com/segmentio/sovran-swift.git
Computed https://github.com/segmentio/sovran-swift.git at 1.1.2 (0.44s)
Creating working copy for https://github.com/segmentio/sovran-swift.git
Working copy of https://github.com/segmentio/sovran-swift.git resolved at 1.1.2
Creating working copy for https://github.com/segmentio/jsonsafeencoding-swift.git
Working copy of https://github.com/segmentio/jsonsafeencoding-swift.git resolved at 2.0.0
warning: 'spi-builder-workspace': Invalid Resource 'Segment/Resources': File not found.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Segment/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/17] Compiling Sovran Version.swift
[6/17] Compiling JSONSafeEncoding Version.swift
[7/17] Compiling Sovran Subscriber.swift
[8/17] Compiling Sovran Testing.swift
/host/spi-builder-workspace/.build/checkouts/sovran-swift/Sources/Sovran/Testing.swift:19:19: error: cannot find 'Thread' in scope
17 | // this will work on linux and apple platforms, but not in anything with a UI
18 | // because XCTest doesn't come into the call stack till much later.
19 | let matches = Thread.callStackSymbols.filter { line in
| `- error: cannot find 'Thread' in scope
20 | return line.contains("XCTest") || line.contains("xctest")
21 | }
/host/spi-builder-workspace/.build/checkouts/sovran-swift/Sources/Sovran/Store.swift:16:30: error: cannot find 'DispatchQueue' in scope
14 | internal let updateQueue = DispatchQueue(label: "state.update.segment.com")
15 | // handles synchronizing subscription adds/removes
16 | internal let syncQueue = DispatchQueue(label: "state.sync.segment.com")
| `- error: cannot find 'DispatchQueue' in scope
17 | internal var states = [Container]()
18 | internal var subscribers = [Subscription]()
/host/spi-builder-workspace/.build/checkouts/sovran-swift/Sources/Sovran/Store.swift:14:32: error: cannot find 'DispatchQueue' in scope
12 | public class Store {
13 | // handles synchronizing state changes thru the system
14 | internal let updateQueue = DispatchQueue(label: "state.update.segment.com")
| `- error: cannot find 'DispatchQueue' in scope
15 | // handles synchronizing subscription adds/removes
16 | internal let syncQueue = DispatchQueue(label: "state.sync.segment.com")
[9/17] Compiling Sovran State.swift
[10/17] Compiling Sovran Store.swift
/host/spi-builder-workspace/.build/checkouts/sovran-swift/Sources/Sovran/Store.swift:14:32: error: cannot find 'DispatchQueue' in scope
12 | public class Store {
13 | // handles synchronizing state changes thru the system
14 | internal let updateQueue = DispatchQueue(label: "state.update.segment.com")
| `- error: cannot find 'DispatchQueue' in scope
15 | // handles synchronizing subscription adds/removes
16 | internal let syncQueue = DispatchQueue(label: "state.sync.segment.com")
/host/spi-builder-workspace/.build/checkouts/sovran-swift/Sources/Sovran/Store.swift:16:30: error: cannot find 'DispatchQueue' in scope
14 | internal let updateQueue = DispatchQueue(label: "state.update.segment.com")
15 | // handles synchronizing subscription adds/removes
16 | internal let syncQueue = DispatchQueue(label: "state.sync.segment.com")
| `- error: cannot find 'DispatchQueue' in scope
17 | internal var states = [Container]()
18 | internal var subscribers = [Subscription]()
/host/spi-builder-workspace/.build/checkouts/sovran-swift/Sources/Sovran/Store.swift:54:98: error: cannot find type 'DispatchQueue' in scope
52 | */
53 | @discardableResult
54 | public func subscribe<T: State>(_ subscriber: Subscriber, initialState: Bool = false, queue: DispatchQueue = .main, handler: @escaping Handler<T>) -> SubscriptionID {
| `- error: cannot find type 'DispatchQueue' in scope
55 | let subscription = Subscription(owner: subscriber, queue: queue, handler: handler)
56 | syncQueue.sync {
/host/spi-builder-workspace/.build/checkouts/sovran-swift/Sources/Sovran/Store.swift:202:16: error: cannot find type 'DispatchQueue' in scope
200 | internal struct Subscription {
201 | weak var owner: Subscriber? = nil
202 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
203 | let handler: Any
204 | let subscriptionID = createNextSubscriptionID()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/17] Compiling Sovran Action.swift
[12/17] Emitting module Sovran
/host/spi-builder-workspace/.build/checkouts/sovran-swift/Sources/Sovran/Store.swift:14:32: error: cannot find 'DispatchQueue' in scope
12 | public class Store {
13 | // handles synchronizing state changes thru the system
14 | internal let updateQueue = DispatchQueue(label: "state.update.segment.com")
| `- error: cannot find 'DispatchQueue' in scope
15 | // handles synchronizing subscription adds/removes
16 | internal let syncQueue = DispatchQueue(label: "state.sync.segment.com")
/host/spi-builder-workspace/.build/checkouts/sovran-swift/Sources/Sovran/Store.swift:16:30: error: cannot find 'DispatchQueue' in scope
14 | internal let updateQueue = DispatchQueue(label: "state.update.segment.com")
15 | // handles synchronizing subscription adds/removes
16 | internal let syncQueue = DispatchQueue(label: "state.sync.segment.com")
| `- error: cannot find 'DispatchQueue' in scope
17 | internal var states = [Container]()
18 | internal var subscribers = [Subscription]()
/host/spi-builder-workspace/.build/checkouts/sovran-swift/Sources/Sovran/Store.swift:54:98: error: cannot find type 'DispatchQueue' in scope
52 | */
53 | @discardableResult
54 | public func subscribe<T: State>(_ subscriber: Subscriber, initialState: Bool = false, queue: DispatchQueue = .main, handler: @escaping Handler<T>) -> SubscriptionID {
| `- error: cannot find type 'DispatchQueue' in scope
55 | let subscription = Subscription(owner: subscriber, queue: queue, handler: handler)
56 | syncQueue.sync {
/host/spi-builder-workspace/.build/checkouts/sovran-swift/Sources/Sovran/Store.swift:202:16: error: cannot find type 'DispatchQueue' in scope
200 | internal struct Subscription {
201 | weak var owner: Subscriber? = nil
202 | let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
203 | let handler: Any
204 | let subscriptionID = createNextSubscriptionID()
/host/spi-builder-workspace/.build/checkouts/sovran-swift/Sources/Sovran/Testing.swift:19:19: error: cannot find 'Thread' in scope
17 | // this will work on linux and apple platforms, but not in anything with a UI
18 | // because XCTest doesn't come into the call stack till much later.
19 | let matches = Thread.callStackSymbols.filter { line in
| `- error: cannot find 'Thread' in scope
20 | return line.contains("XCTest") || line.contains("xctest")
21 | }
[13/17] Compiling JSONSafeEncoding JSONValue.swift
[14/17] Compiling JSONSafeEncoding Extensions.swift
[15/17] Emitting module JSONSafeEncoding
[16/17] Compiling JSONSafeEncoding JSONError.swift
BUILD FAILURE 6.3 wasm