Build Information
Failed to build SegmentUserpilot, reference main (c47ee2), with Swift 6.3 for Wasm on 17 Apr 2026 02:13:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/Userpilot/segment-userpilot-ios.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/Userpilot/segment-userpilot-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c47ee21 Release 1.0.0-beta.2
Cloned https://github.com/Userpilot/segment-userpilot-ios.git
Revision (git rev-parse @):
c47ee219808a0bc45e41125d38fa6f894be7bf66
SUCCESS checkout https://github.com/Userpilot/segment-userpilot-ios.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/Userpilot/segment-userpilot-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/Userpilot/ios-sdk.git
Fetching https://github.com/segmentio/analytics-swift.git
[1/9563] Fetching analytics-swift
[288/16584] Fetching analytics-swift, ios-sdk
Fetched https://github.com/Userpilot/ios-sdk.git from cache (0.55s)
Fetched https://github.com/segmentio/analytics-swift.git from cache (0.56s)
Computing version for https://github.com/segmentio/analytics-swift.git
Computed https://github.com/segmentio/analytics-swift.git at 1.9.3 (2.28s)
Fetching https://github.com/segmentio/jsonsafeencoding-swift.git
Fetching https://github.com/segmentio/sovran-swift.git
[1/77] Fetching jsonsafeencoding-swift
[75/448] Fetching jsonsafeencoding-swift, sovran-swift
Fetched https://github.com/segmentio/jsonsafeencoding-swift.git from cache (0.24s)
Fetched https://github.com/segmentio/sovran-swift.git from cache (0.24s)
Computing version for https://github.com/segmentio/jsonsafeencoding-swift.git
Computed https://github.com/segmentio/jsonsafeencoding-swift.git at 2.0.0 (1.71s)
Computing version for https://github.com/segmentio/sovran-swift.git
Computed https://github.com/segmentio/sovran-swift.git at 1.1.2 (0.85s)
Computing version for https://github.com/Userpilot/ios-sdk.git
Computed https://github.com/Userpilot/ios-sdk.git at 1.1.0 (0.45s)
Creating working copy for https://github.com/segmentio/analytics-swift.git
Working copy of https://github.com/segmentio/analytics-swift.git resolved at 1.9.3
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/Userpilot/ios-sdk.git
Working copy of https://github.com/Userpilot/ios-sdk.git resolved at 1.1.0
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: 'ios-sdk': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Userpilot.docc
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Vendor/SwiftPhoenixClient/LICENSE
Building for debugging...
[0/11] Copying countries.json
[1/11] Copying SurveyListViewController.xib
[2/11] Copying CarouselExperienceViewController.xib
[3/11] Copying PrivacyInfo.xcprivacy
[4/11] Write sources
[4/11] Copying Assets.xcassets
[4/11] Write sources
[10/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/188] Emitting module Userpilot
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[13/211] Compiling JSONSafeEncoding Version.swift
[14/211] Compiling Sovran Version.swift
[15/211] 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")
[16/211] Compiling Sovran Action.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/211] 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 | }
[18/211] Compiling Sovran Subscriber.swift
[19/211] Compiling Userpilot AnalyticsPublisher.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[20/211] Compiling Userpilot AutoPropertyDecorator.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[21/211] Compiling Userpilot Event.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[22/211] Compiling Userpilot EventType.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[23/211] Compiling Userpilot ExperienceType.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[24/211] Compiling Userpilot ScreenViewEntity.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[25/211] Compiling Userpilot UserLogoutEvent.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[26/211] Compiling Userpilot SessionMonitor.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[27/211] Compiling Userpilot View+ClickAnalytics.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[28/211] Compiling Userpilot View+IgnoreInteractions.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[29/211] Compiling Userpilot View+RedactText.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[30/211] Compiling Userpilot View+ScreenName.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[31/211] Compiling Userpilot View+TrackScreen.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[32/211] Compiling Userpilot UIKit+ScreenAPIs.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[33/211] Compiling Userpilot UIKit+ViewAPIs.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[34/211] Compiling Userpilot UIView+ClickAnalytics.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[35/211] Compiling Userpilot AutoCapturer.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[36/211] Compiling Userpilot AutocaptureViewConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[37/211] Compiling Userpilot ScreenNameResolver.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[38/211] Compiling Userpilot UIApplication+AutoCapture.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[39/211] Compiling Userpilot UICollectionView+AutoCapture.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[40/211] Compiling Userpilot UIControl+AutoCapture.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[41/211] Compiling Userpilot UIPickerView+AutoCapture.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[42/211] Compiling Userpilot UITableView+AutoCapture.swift
/host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Analytics/AnalyticsPublisher.swift:16:8: error: no such module 'UIKit'
14 | // swiftlint:disable file_length
15 | import Foundation
16 | import UIKit
| `- error: no such module 'UIKit'
17 |
18 | /**
[43/211] Compiling Sovran State.swift
[44/211] 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()
[45/211] Emitting module JSONSafeEncoding
[46/211] Compiling JSONSafeEncoding Extensions.swift
BUILD FAILURE 6.3 wasm