The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SegmentUserpilot, reference main (c47ee2), with Swift 6.1 for Wasm on 25 Sep 2025 12:44:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.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.1
Building package at path:  $PWD
https://github.com/Userpilot/segment-userpilot-ios.git
https://github.com/Userpilot/segment-userpilot-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "analytics-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/segmentio/analytics-swift.git"
    },
    {
      "identity" : "ios-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.12",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Userpilot/ios-sdk.git"
    }
  ],
  "manifest_display_name" : "SegmentUserpilot",
  "name" : "SegmentUserpilot",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SegmentUserpilot",
      "targets" : [
        "SegmentUserpilot"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SegmentUserpilotTests",
      "module_type" : "SwiftTarget",
      "name" : "SegmentUserpilotTests",
      "path" : "Tests/SegmentUserpilotTests",
      "sources" : [
        "SegmentUserpilotTests.swift"
      ],
      "target_dependencies" : [
        "SegmentUserpilot"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SegmentUserpilot",
      "module_type" : "SwiftTarget",
      "name" : "SegmentUserpilot",
      "path" : "Sources/SegmentUserpilot",
      "product_dependencies" : [
        "Segment",
        "Userpilot"
      ],
      "product_memberships" : [
        "SegmentUserpilot"
      ],
      "sources" : [
        "UserpilotDestination.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/segmentio/analytics-swift.git
Fetching https://github.com/Userpilot/ios-sdk.git
[1/5777] Fetching ios-sdk
[2486/14538] Fetching ios-sdk, analytics-swift
Fetched https://github.com/Userpilot/ios-sdk.git from cache (0.52s)
Fetched https://github.com/segmentio/analytics-swift.git from cache (0.69s)
Computing version for https://github.com/Userpilot/ios-sdk.git
Computed https://github.com/Userpilot/ios-sdk.git at 1.0.12 (1.45s)
Computing version for https://github.com/segmentio/analytics-swift.git
Computed https://github.com/segmentio/analytics-swift.git at 1.8.0 (1.00s)
Fetching https://github.com/segmentio/jsonsafeencoding-swift.git
Fetching https://github.com/segmentio/sovran-swift.git
[1/77] Fetching jsonsafeencoding-swift
[78/448] Fetching jsonsafeencoding-swift, sovran-swift
Fetched https://github.com/segmentio/jsonsafeencoding-swift.git from cache (0.26s)
Fetched https://github.com/segmentio/sovran-swift.git from cache (0.27s)
Computing version for https://github.com/segmentio/jsonsafeencoding-swift.git
Computed https://github.com/segmentio/jsonsafeencoding-swift.git at 2.0.0 (1.09s)
Computing version for https://github.com/segmentio/sovran-swift.git
Computed https://github.com/segmentio/sovran-swift.git at 1.1.2 (1.01s)
Creating working copy for https://github.com/Userpilot/ios-sdk.git
Working copy of https://github.com/Userpilot/ios-sdk.git resolved at 1.0.12
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
Creating working copy for https://github.com/segmentio/analytics-swift.git
Working copy of https://github.com/segmentio/analytics-swift.git resolved at 1.8.0
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
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/Vendor/SwiftPhoenixClient/LICENSE
    /host/spi-builder-workspace/.build/checkouts/ios-sdk/Sources/Userpilot/Userpilot.docc
Building for debugging...
[0/11] Copying SurveyListViewController.xib
[0/11] Copying CarouselExperienceViewController.xib
[0/11] Write sources
[0/11] Copying PrivacyInfo.xcprivacy
[0/11] Write sources
[8/11] Copying countries.json
[9/11] Copying Assets.xcassets
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/162] Compiling Sovran Version.swift
[13/162] Compiling JSONSafeEncoding Version.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/162] 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 |     }
[15/162] Compiling Sovran Action.swift
[16/162] Compiling JSONSafeEncoding JSONValue.swift
[17/162] Emitting module JSONSafeEncoding
[18/162] 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()
[19/162] Compiling Userpilot UPLikertView+ExperienceView.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/162] Compiling Userpilot UPLikertView+Views.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/162] Compiling Userpilot UPMultipleChoiceView.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/162] Compiling Userpilot ChoiceTableViewCell.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/162] Compiling Userpilot UPMultipleChoiceView+ExperienceView.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/162] Compiling Userpilot UPMultipleChoiceView+TableView.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/162] Compiling Userpilot UPMultipleChoiceView+Views.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/162] Compiling Userpilot UPOpenTextView.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/162] Compiling Userpilot UPOpenTextView+ExperienceView.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/162] Compiling Userpilot UPOpenTextView+Views.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/162] Compiling Userpilot UPSingleInputView.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/162] Compiling Userpilot UPSingleInputView+Date.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/162] Compiling Userpilot UPSingleInputView+ExperienceView.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/162] Compiling Userpilot UPSingleInputView+Phone.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/162] Compiling Userpilot UPSingleInputView+UITextFieldDelegate.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/162] Compiling Userpilot UPSingleInputView+Views.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/162] Compiling Userpilot UPThankYouView.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/162] Compiling Userpilot UPTitleDescriptionView.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/162] Compiling Userpilot UPCollectionViewLayout.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/162] Compiling Userpilot UPIconTextContainerView.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/162] Compiling Sovran Subscriber.swift
[40/162] Compiling Sovran State.swift
[41/162] 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")
[42/162] Compiling Userpilot SurveyExperienceActionEvent.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/162] Compiling Userpilot SurveyExperienceStepActionEvent.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 | /**
[44/162] Compiling Userpilot ThemeContentEvent.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 | /**
[45/162] Compiling Userpilot NPSExperienceActionEvent.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 | /**
[46/162] Compiling Userpilot ExperiencesPublisher.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 | /**
[47/162] Compiling Userpilot ImageLoader.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 | /**
[48/162] Compiling Userpilot CountryEntity.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 | /**
[49/162] Compiling Userpilot ExperienceContent.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 | /**
[50/162] Compiling Userpilot FlowContent.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 | /**
[51/162] Compiling Userpilot NPSContent.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 | /**
[52/162] Compiling Userpilot SurveyContent.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 | /**
[53/162] Compiling Userpilot SurveyLogic.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 | /**
[54/162] Compiling Userpilot ThemeContent.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 | /**
[55/162] Compiling Userpilot ThemeHandler.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 | /**
[56/162] Compiling Userpilot BottomSheetViewController.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 | /**
[57/162] Compiling Userpilot DialogViewController.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 | /**
[58/162] Compiling Userpilot RatingItem.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 | /**
[59/162] Compiling Userpilot UPLikertView.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 | /**
[60/162] Compiling Userpilot LikertCollectionViewCell.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 | /**
[61/162] Compiling Userpilot UPLikertView+CollectionView.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 | /**
[62/180] Compiling JSONSafeEncoding Extensions.swift
[63/181] Compiling Userpilot PushNotificationTokenEvent.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 | /**
[64/181] Compiling Userpilot UserpilotNotification.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 | /**
[65/181] Compiling Userpilot PushNotificationAutoConfig.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 | /**
[66/181] Compiling Userpilot PushNotificationMonitor.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 | /**
[67/181] Compiling Userpilot Swizzle.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 | /**
[68/181] Compiling Userpilot UIApplicationDelegate+Swizzle.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 | /**
[69/181] Compiling Userpilot UNUserNotificationCenter+Swizzle.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 | /**
[70/181] Compiling Userpilot SDKSettingsDetector.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 | /**
[71/181] Compiling Userpilot DynamicCodingKeys.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 | /**
[72/181] Compiling Userpilot SocketManager.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 | /**
[73/181] Compiling Userpilot User.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 | /**
[74/181] Compiling Userpilot Storage.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 | /**
[75/181] Compiling Userpilot Userpilot+Config.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 | /**
[76/181] Compiling Userpilot Userpilot.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 | /**
[77/181] Compiling Userpilot SurveyLogicHandler.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 | /**
[78/181] Compiling Userpilot Environment.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 | /**
[79/181] Compiling Userpilot Constants.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 | /**
[80/181] Compiling Userpilot MulticastDelegate.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 | /**
[81/181] Compiling Userpilot Utils.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 | /**
[82/181] Compiling JSONSafeEncoding JSONError.swift
[83/181] Compiling JSONSafeEncoding JSONSafeEncoder.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/152] Compiling Sovran State.swift
[3/152] Compiling Sovran Action.swift
[4/152] Compiling Sovran Version.swift
[5/152] 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)
[6/152] 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 |     }
[7/152] Compiling Sovran Subscriber.swift
[8/152] 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/152] Compiling JSONSafeEncoding Version.swift
[10/152] Compiling JSONSafeEncoding JSONValue.swift
[11/152] Compiling JSONSafeEncoding Extensions.swift
[12/152] Emitting module JSONSafeEncoding
[13/152] Compiling JSONSafeEncoding JSONError.swift
BUILD FAILURE 6.1 wasm