The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Segment, reference main (729d6a), with Swift 6.1 for Wasm on 30 Apr 2026 04:53:07 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/segmentio/analytics-swift.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/segmentio/analytics-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 729d6ae Version 1.9.4
Cloned https://github.com/segmentio/analytics-swift.git
Revision (git rev-parse @):
729d6ae08b5488123f5c8e973cd4385ffa84f46a
SUCCESS checkout https://github.com/segmentio/analytics-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/segmentio/analytics-swift.git
https://github.com/segmentio/analytics-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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.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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/segmentio/sovran-swift.git
Fetching https://github.com/segmentio/jsonsafeencoding-swift.git
[1/77] Fetching jsonsafeencoding-swift
[78/448] Fetching jsonsafeencoding-swift, sovran-swift
Fetched https://github.com/segmentio/sovran-swift.git from cache (0.38s)
Fetched https://github.com/segmentio/jsonsafeencoding-swift.git from cache (0.38s)
Computing version for https://github.com/segmentio/jsonsafeencoding-swift.git
Computed https://github.com/segmentio/jsonsafeencoding-swift.git at 2.0.0 (3.77s)
Computing version for https://github.com/segmentio/sovran-swift.git
Computed https://github.com/segmentio/sovran-swift.git at 1.1.2 (0.65s)
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
Building for debugging...
[0/5] Write sources
[0/5] Copying PrivacyInfo.xcprivacy
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/18] Compiling Sovran Version.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/18] Compiling Sovran State.swift
[8/18] Compiling Sovran Action.swift
[9/18] 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 |     }
[10/18] 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()
[11/18] Compiling JSONSafeEncoding JSONSafeEncoder.swift
[12/18] Compiling JSONSafeEncoding JSONError.swift
[13/18] Compiling Sovran Subscriber.swift
[14/18] 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")
[15/18] Compiling JSONSafeEncoding Version.swift
[16/18] Compiling JSONSafeEncoding JSONValue.swift
[17/18] Emitting module JSONSafeEncoding
[18/18] Compiling JSONSafeEncoding Extensions.swift
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling Sovran Subscriber.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/14] Compiling Sovran Action.swift
[4/14] 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 |     }
[5/14] Compiling Sovran State.swift
[6/14] 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()
[7/14] Compiling Sovran Version.swift
[8/14] 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/14] Compiling JSONSafeEncoding Version.swift
BUILD FAILURE 6.1 wasm