The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Customer.io, reference main (4c5db0), with Swift 6.1 for Android on 1 May 2026 13:35:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/customerio/customerio-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/customerio/customerio-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4c5db0e chore(deps): resolve 3rd-party vulnerabilities (MBL-1696) (#1035)
Cloned https://github.com/customerio/customerio-ios.git
Revision (git rev-parse @):
4c5db0e8586ff2b8897c6634162ad43e732a1333
SUCCESS checkout https://github.com/customerio/customerio-ios.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/customerio/customerio-ios.git
https://github.com/customerio/customerio-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/customerio/cdp-analytics-swift.git
Fetching https://github.com/LaunchDarkly/swift-eventsource.git
[1/1795] Fetching swift-eventsource
[1796/5264] Fetching swift-eventsource, cdp-analytics-swift
Fetched https://github.com/LaunchDarkly/swift-eventsource.git from cache (0.65s)
[347/3469] Fetching cdp-analytics-swift
Fetched https://github.com/customerio/cdp-analytics-swift.git from cache (0.95s)
Computing version for https://github.com/LaunchDarkly/swift-eventsource.git
Computed https://github.com/LaunchDarkly/swift-eventsource.git at 3.3.0 (2.10s)
Computing version for https://github.com/customerio/cdp-analytics-swift.git
Computed https://github.com/customerio/cdp-analytics-swift.git at 1.7.3+cio.1 (1.05s)
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.48s)
Fetched https://github.com/segmentio/sovran-swift.git from cache (0.47s)
Computing version for https://github.com/segmentio/jsonsafeencoding-swift.git
Computed https://github.com/segmentio/jsonsafeencoding-swift.git at 2.0.0 (1.73s)
Computing version for https://github.com/segmentio/sovran-swift.git
Computed https://github.com/segmentio/sovran-swift.git at 1.1.2 (1.10s)
Creating working copy for https://github.com/LaunchDarkly/swift-eventsource.git
Working copy of https://github.com/LaunchDarkly/swift-eventsource.git resolved at 3.3.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
Creating working copy for https://github.com/customerio/cdp-analytics-swift.git
Working copy of https://github.com/customerio/cdp-analytics-swift.git resolved at 1.7.3+cio.1
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': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/MessagingPush/UserNotificationsFramework/README.md
warning: 'cdp-analytics-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/cdp-analytics-swift/Sources/Segment/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/20] Write sources
[4/20] Copying PrivacyInfo.xcprivacy
[4/20] Write sources
[4/20] Copying PrivacyInfo.xcprivacy
[4/20] Write sources
[4/20] Copying PrivacyInfo.xcprivacy
[4/20] Write sources
[4/20] Copying SampleDataFiles
[4/20] Write sources
[19/20] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/120] Emitting module CioInternalCommon
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[22/131] Compiling JSONSafeEncoding Version.swift
[23/131] Compiling Sovran Version.swift
[24/131] Compiling JSONSafeEncoding JSONValue.swift
[25/131] Compiling LDSwiftEventSource UTF8LineParser.swift
[26/131] Compiling LDSwiftEventSource Logs.swift
[27/131] Compiling LDSwiftEventSource Types.swift
[28/131] Compiling LDSwiftEventSource LDSwiftEventSource.swift
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:47: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |         public var idleTimeout: TimeInterval = 300.0
 81 |
 82 |         private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                               `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |         /**
 84 |          The `URLSessionConfiguration` used to create the `URLSession`.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:97: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 80 |         public var idleTimeout: TimeInterval = 300.0
 81 |
 82 |         private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 83 |         /**
 84 |          The `URLSessionConfiguration` used to create the `URLSession`.
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:94:45: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |          - Since: 1.3.0
 93 |          */
 94 |         public var urlSessionConfiguration: URLSessionConfiguration {
    |                                             `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |             get {
 96 |                 // swiftlint:disable:next force_cast
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:165:38: error: cannot find type 'URLSessionDataDelegate' in scope
163 |
164 | // MARK: EventSourceDelegate
165 | class EventSourceDelegate: NSObject, URLSessionDataDelegate {
    |                                      `- error: cannot find type 'URLSessionDataDelegate' in scope
166 |     private let delegateQueue: DispatchQueue = DispatchQueue(label: "ESDelegateQueue")
167 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:181:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |     private let eventParser: EventParser
180 |     private let reconnectionTimer: ReconnectionTimer
181 |     private var urlSession: URLSession?
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
182 |     private var sessionTask: URLSessionDataTask?
183 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:182:30: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 |     private let reconnectionTimer: ReconnectionTimer
181 |     private var urlSession: URLSession?
182 |     private var sessionTask: URLSessionDataTask?
    |                              `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |
184 |     init(config: EventSource.Config) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:231:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 |     func getLastEventId() -> String { eventParser.getLastEventId() }
230 |
231 |     func createSession() -> URLSession {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
232 |         let opQueue = OperationQueue()
233 |         opQueue.underlyingQueue = self.delegateQueue
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:237:29: error: cannot find type 'URLRequest' in scope
235 |     }
236 |
237 |     func createRequest() -> URLRequest {
    |                             `- error: cannot find type 'URLRequest' in scope
238 |         var urlRequest = URLRequest(url: self.config.url,
239 |                                     cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:270:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
268 |
269 |     // Tells the delegate that the task finished transferring data.
270 |     public func urlSession(_ session: URLSession,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
271 |                            task: URLSessionTask,
272 |                            didCompleteWithError error: Error?) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:271:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 |     // Tells the delegate that the task finished transferring data.
270 |     public func urlSession(_ session: URLSession,
271 |                            task: URLSessionTask,
    |                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
272 |                            didCompleteWithError error: Error?) {
273 |         utf8LineParser.closeAndReset()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:312:69: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                     `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
313 |         logger.log(.debug, "Initial reply received")
314 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:309:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
307 |
308 |     // Tells the delegate that the data task received the initial reply (headers) from the server.
309 |     public func urlSession(_ session: URLSession,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:310:38: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 |     // Tells the delegate that the data task received the initial reply (headers) from the server.
309 |     public func urlSession(_ session: URLSession,
310 |                            dataTask: URLSessionDataTask,
    |                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 |                            didReceive response: URLResponse,
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:311:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
309 |     public func urlSession(_ session: URLSession,
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
    |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
313 |         logger.log(.debug, "Initial reply received")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |     }
339 |
340 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 |         utf8LineParser.append(data).forEach(eventParser.parse)
342 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |     }
339 |
340 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                                             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 |         utf8LineParser.append(data).forEach(eventParser.parse)
342 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:97:62: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
 95 |             get {
 96 |                 // swiftlint:disable:next force_cast
 97 |                 let sessionConfig = _urlSessionConfiguration.copy() as! URLSessionConfiguration
    |                                                              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
 98 |                 sessionConfig.httpAdditionalHeaders = ["Accept": "text/event-stream", "Cache-Control": "no-cache"]
 99 |                 sessionConfig.timeoutIntervalForRequest = idleTimeout
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:103:73: error: cannot infer contextual base in reference to member 'TLSv12'
101 |                 #if !os(Linux) && !os(Windows)
102 |                 if #available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *) {
103 |                     sessionConfig.tlsMinimumSupportedProtocolVersion = .TLSv12
    |                                                                         `- error: cannot infer contextual base in reference to member 'TLSv12'
104 |                 } else {
105 |                     sessionConfig.tlsMinimumSupportedProtocol = .tlsProtocol12
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:105:66: error: cannot infer contextual base in reference to member 'tlsProtocol12'
103 |                     sessionConfig.tlsMinimumSupportedProtocolVersion = .TLSv12
104 |                 } else {
105 |                     sessionConfig.tlsMinimumSupportedProtocol = .tlsProtocol12
    |                                                                  `- error: cannot infer contextual base in reference to member 'tlsProtocol12'
106 |                 }
107 |                 #endif
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:112:53: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
110 |             set {
111 |                 // swiftlint:disable:next force_cast
112 |                 _urlSessionConfiguration = newValue.copy() as! URLSessionConfiguration
    |                                                     `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
113 |             }
114 |         }
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:220:31: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
218 |             let previousState = self.readyState
219 |             self.readyState = .shutdown
220 |             self.sessionTask?.cancel()
    |                               `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
221 |             if previousState == .open {
222 |                 self.config.handler.onClosed()
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:234:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
232 |         let opQueue = OperationQueue()
233 |         opQueue.underlyingQueue = self.delegateQueue
234 |         return URLSession(configuration: config.urlSessionConfiguration, delegate: self, delegateQueue: opQueue)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
235 |     }
236 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:238:26: error: cannot find 'URLRequest' in scope
236 |
237 |     func createRequest() -> URLRequest {
238 |         var urlRequest = URLRequest(url: self.config.url,
    |                          `- error: cannot find 'URLRequest' in scope
239 |                                     cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
240 |                                     timeoutInterval: self.config.idleTimeout)
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:239:50: error: cannot find 'URLRequest' in scope
237 |     func createRequest() -> URLRequest {
238 |         var urlRequest = URLRequest(url: self.config.url,
239 |                                     cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
    |                                                  `- error: cannot find 'URLRequest' in scope
240 |                                     timeoutInterval: self.config.idleTimeout)
241 |         urlRequest.httpMethod = self.config.method
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:254:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
252 |     private func connect() {
253 |         logger.log(.info, "Starting EventSource client")
254 |         let task = urlSession?.dataTask(with: createRequest())
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
255 |         task?.resume()
256 |         sessionTask = task
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:317:32: error: cannot infer contextual base in reference to member 'cancel'
315 |         guard readyState != .shutdown
316 |         else {
317 |             completionHandler(.cancel)
    |                                `- error: cannot infer contextual base in reference to member 'cancel'
318 |             return
319 |         }
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:322:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
320 |
321 |         // swiftlint:disable:next force_cast
322 |         let httpResponse = response as! HTTPURLResponse
    |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
323 |         let statusCode = httpResponse.statusCode
324 |         if (200..<300).contains(statusCode) && statusCode != 204 {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:323:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
321 |         // swiftlint:disable:next force_cast
322 |         let httpResponse = response as! HTTPURLResponse
323 |         let statusCode = httpResponse.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
324 |         if (200..<300).contains(statusCode) && statusCode != 204 {
325 |             reconnectionTimer.connectedTime = Date()
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:328:32: error: cannot infer contextual base in reference to member 'allow'
326 |             readyState = .open
327 |             config.handler.onOpened()
328 |             completionHandler(.allow)
    |                                `- error: cannot infer contextual base in reference to member 'allow'
329 |         } else {
330 |             // this formatting shenanigans is to workaround String not implementing CVarArg on Swift<5.4 on Linux
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:336:32: error: cannot infer contextual base in reference to member 'cancel'
334 |                 readyState = .shutdown
335 |             }
336 |             completionHandler(.cancel)
    |                                `- error: cannot infer contextual base in reference to member 'cancel'
337 |         }
338 |     }
[29/131] Compiling Sovran Testing.swift
[30/131] Compiling JSONSafeEncoding Extensions.swift
[31/131] Emitting module JSONSafeEncoding
[32/131] Compiling CioInternalCommon Queue.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[33/131] Compiling CioInternalCommon QueueStorage.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[34/131] Compiling CioInternalCommon DeletePushNotificationQueueTaskData.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[35/131] Compiling CioInternalCommon IdentifyProfileQueueTaskData.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[36/131] Compiling CioInternalCommon RegisterPushNotificationQueueTaskData.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[37/131] Compiling CioInternalCommon TrackEventQueueTaskData.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[38/131] Compiling CioInternalCommon QueueStatus.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[39/131] Compiling CioInternalCommon QueueTask.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[40/131] Compiling CioInternalCommon QueueTaskMetadata.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[41/131] Compiling CioInternalCommon QueueTaskRunResults.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[42/131] Compiling CioInternalCommon QueueTaskType.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[43/131] Compiling CioInternalCommon Event+Location.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[44/131] Compiling CioInternalCommon Event.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[45/131] Compiling CioInternalCommon EventBus.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[46/131] Compiling CioInternalCommon EventBusHandler.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[47/131] Compiling CioInternalCommon EventMemoryStorage.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[48/131] Compiling CioInternalCommon EventStorage.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[49/131] Compiling CioInternalCommon CustomerIOInstance.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[50/131] Compiling CioInternalCommon DIGraphShared+PendingPushDeliveryStore.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[51/131] Compiling CioInternalCommon DIGraphShared.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[52/131] Compiling CioInternalCommon CustomerIO+Tracking.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[53/131] Compiling CioInternalCommon ArrayExtensions.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[54/131] Compiling CioInternalCommon DataExtensions.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[55/131] Compiling CioInternalCommon DateExtensions.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[56/131] Emitting module Sovran
[57/131] Compiling Sovran Subscriber.swift
[58/131] Compiling Sovran Store.swift
[59/131] Compiling Sovran State.swift
[60/131] Compiling Sovran Action.swift
[61/132] Compiling CioInternalCommon SingleScheduleTimer.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[62/132] Compiling CioInternalCommon StringAnyEncodable.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[63/132] Compiling CioInternalCommon SystemLogger.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[64/132] Compiling CioInternalCommon ThreadUtil.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[65/132] Compiling CioInternalCommon Time.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[66/132] Compiling CioInternalCommon Timer.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[67/132] Compiling CioInternalCommon UIKitWrapper.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[68/132] Compiling CioInternalCommon Version.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[69/132] Compiling CioInternalCommon AutoDependencyInjection.generated.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[70/132] Compiling CioInternalCommon AutoMockable.generated.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[71/132] Compiling CioInternalCommon Autogenerated.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/132] Emitting module LDSwiftEventSource
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:47: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |         public var idleTimeout: TimeInterval = 300.0
 81 |
 82 |         private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                               `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |         /**
 84 |          The `URLSessionConfiguration` used to create the `URLSession`.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:97: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 80 |         public var idleTimeout: TimeInterval = 300.0
 81 |
 82 |         private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 83 |         /**
 84 |          The `URLSessionConfiguration` used to create the `URLSession`.
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:94:45: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |          - Since: 1.3.0
 93 |          */
 94 |         public var urlSessionConfiguration: URLSessionConfiguration {
    |                                             `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |             get {
 96 |                 // swiftlint:disable:next force_cast
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:165:38: error: cannot find type 'URLSessionDataDelegate' in scope
163 |
164 | // MARK: EventSourceDelegate
165 | class EventSourceDelegate: NSObject, URLSessionDataDelegate {
    |                                      `- error: cannot find type 'URLSessionDataDelegate' in scope
166 |     private let delegateQueue: DispatchQueue = DispatchQueue(label: "ESDelegateQueue")
167 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:181:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |     private let eventParser: EventParser
180 |     private let reconnectionTimer: ReconnectionTimer
181 |     private var urlSession: URLSession?
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
182 |     private var sessionTask: URLSessionDataTask?
183 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:182:30: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 |     private let reconnectionTimer: ReconnectionTimer
181 |     private var urlSession: URLSession?
182 |     private var sessionTask: URLSessionDataTask?
    |                              `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |
184 |     init(config: EventSource.Config) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:231:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 |     func getLastEventId() -> String { eventParser.getLastEventId() }
230 |
231 |     func createSession() -> URLSession {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
232 |         let opQueue = OperationQueue()
233 |         opQueue.underlyingQueue = self.delegateQueue
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:237:29: error: cannot find type 'URLRequest' in scope
235 |     }
236 |
237 |     func createRequest() -> URLRequest {
    |                             `- error: cannot find type 'URLRequest' in scope
238 |         var urlRequest = URLRequest(url: self.config.url,
239 |                                     cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:270:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
268 |
269 |     // Tells the delegate that the task finished transferring data.
270 |     public func urlSession(_ session: URLSession,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
271 |                            task: URLSessionTask,
272 |                            didCompleteWithError error: Error?) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:271:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 |     // Tells the delegate that the task finished transferring data.
270 |     public func urlSession(_ session: URLSession,
271 |                            task: URLSessionTask,
    |                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
272 |                            didCompleteWithError error: Error?) {
273 |         utf8LineParser.closeAndReset()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:312:69: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                     `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
313 |         logger.log(.debug, "Initial reply received")
314 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:309:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
307 |
308 |     // Tells the delegate that the data task received the initial reply (headers) from the server.
309 |     public func urlSession(_ session: URLSession,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:310:38: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 |     // Tells the delegate that the data task received the initial reply (headers) from the server.
309 |     public func urlSession(_ session: URLSession,
310 |                            dataTask: URLSessionDataTask,
    |                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 |                            didReceive response: URLResponse,
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:311:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
309 |     public func urlSession(_ session: URLSession,
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
    |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
313 |         logger.log(.debug, "Initial reply received")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |     }
339 |
340 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 |         utf8LineParser.append(data).forEach(eventParser.parse)
342 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |     }
339 |
340 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                                             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 |         utf8LineParser.append(data).forEach(eventParser.parse)
342 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
[73/132] Compiling LDSwiftEventSource EventParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/EventParser.swift:68:22: error: no 'contains' candidates produce the expected type '(Character) throws -> Bool' for parameter #0
66 |             eventType = String(value)
67 |         case Constants.retryLabel:
68 |             if value.allSatisfy(("0"..."9").contains), let reconnectionTime = Int64(value) {
   |                      `- error: no 'contains' candidates produce the expected type '(Character) throws -> Bool' for parameter #0
69 |                 currentRetry = Double(reconnectionTime) * 0.001
70 |             }
[74/132] Compiling JSONSafeEncoding JSONSafeEncoder.swift
[75/132] Compiling JSONSafeEncoding JSONError.swift
[76/132] Compiling CioInternalCommon ProfileEnrichmentRegistry.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[77/132] Compiling CioInternalCommon ProfileEnrichmentRegistryImpl.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[78/132] Compiling CioInternalCommon CIOApiEndpoint.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[79/132] Compiling CioInternalCommon DownloadFileType.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[80/132] Compiling CioInternalCommon HttpClient.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[81/132] Compiling CioInternalCommon HttpRequestError.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[82/132] Compiling CioInternalCommon HttpRequestParams.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[83/132] Compiling CioInternalCommon HttpRequestRunner.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[84/132] Compiling CioInternalCommon AppGroupIdentifier.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[85/132] Compiling CioInternalCommon PendingPushDeliveryMetric.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[86/132] Compiling CioInternalCommon PendingPushDeliveryMetricsConstants.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[87/132] Compiling CioInternalCommon PendingPushDeliveryStore.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[88/132] Compiling CioInternalCommon EmptyRequestBody.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[89/132] Compiling CioInternalCommon InAppMetric.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[90/132] Compiling CioInternalCommon MetricRequest.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[91/132] Compiling CioInternalCommon PushMetric.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[92/132] Compiling CioInternalCommon TrackDeliveryEventRequestBody.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[93/132] Compiling CioInternalCommon ErrorMessageResponse.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[94/132] Compiling CioInternalCommon UserAgentUtil.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[95/132] Compiling CioInternalCommon GlobalDataStore.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[96/132] Compiling CioInternalCommon ProfileStore.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[97/132] Compiling CioInternalCommon QueueInventoryMemoryStore.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[98/132] Compiling CioInternalCommon DeviceExtension.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[99/132] Compiling CioInternalCommon DictionaryExtension.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[100/132] Compiling CioInternalCommon ErrorExtension.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[101/132] Compiling CioInternalCommon JsonExtensions.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[102/132] Compiling CioInternalCommon ResultExtensions.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[103/132] Compiling CioInternalCommon StringExtensions.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[104/132] Compiling CioInternalCommon UIKitExtensions.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[105/132] Compiling CioInternalCommon UserDefaultExtensions.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[106/132] Compiling CioInternalCommon CustomerIOModule.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[107/132] Compiling CioInternalCommon ModuleTopLevelObject.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[108/132] Compiling CioInternalCommon DataPipelineTracking.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[109/132] Compiling CioInternalCommon ProfileEnrichmentProvider.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[110/133] Compiling CioInternalCommon FileStorage.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[111/133] Compiling CioInternalCommon JsonAdapter.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[112/133] Compiling CioInternalCommon KeyValueStorage.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[113/133] Compiling CioInternalCommon KeyValueStorageKey.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[114/133] Compiling CioInternalCommon Lock.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[115/133] Compiling CioInternalCommon LockManager.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[116/133] Compiling CioInternalCommon Log.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[117/133] Compiling CioInternalCommon MockCollection.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[118/133] Compiling CioInternalCommon RingBuffer.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[119/133] Compiling CioInternalCommon SdkClient.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[120/133] Compiling CioInternalCommon SdkCommonLoggerLogger.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[121/133] Compiling CioInternalCommon SdkConfig.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[122/133] Compiling CioInternalCommon DoNotTrackAutomaticScreenViewEvent.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[123/133] Compiling CioInternalCommon Region.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[124/133] Compiling CioInternalCommon ScreenView.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[125/133] Compiling CioInternalCommon AnyEncodable.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[126/133] Compiling CioInternalCommon AsyncOperation.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[127/133] Compiling CioInternalCommon Atomic.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[128/133] Compiling CioInternalCommon DateUtil.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[129/133] Compiling CioInternalCommon DeepLinkUtil.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[130/133] Compiling CioInternalCommon DeviceInfo.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[131/133] Compiling CioInternalCommon DeviceMetricsGrabber.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
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/MessagingPush/UserNotificationsFramework/README.md
warning: 'cdp-analytics-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/cdp-analytics-swift/Sources/Segment/Resources/PrivacyInfo.xcprivacy
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/101] Compiling Sovran Version.swift
[3/101] Compiling Sovran State.swift
[4/101] Compiling JSONSafeEncoding JSONValue.swift
[5/101] Compiling JSONSafeEncoding Version.swift
[6/101] Emitting module Sovran
[7/101] Compiling Sovran Subscriber.swift
[8/101] Compiling Sovran Testing.swift
[9/101] Compiling JSONSafeEncoding Extensions.swift
[10/101] Compiling LDSwiftEventSource EventParser.swift
[11/101] Compiling CioInternalCommon SdkConfig.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[12/101] Compiling CioInternalCommon DoNotTrackAutomaticScreenViewEvent.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[13/101] Compiling CioInternalCommon Region.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[14/101] Compiling CioInternalCommon ScreenView.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[15/101] Compiling CioInternalCommon AnyEncodable.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[16/101] Compiling CioInternalCommon AsyncOperation.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[17/101] Compiling CioInternalCommon Atomic.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[18/101] Compiling CioInternalCommon DateUtil.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[19/101] Compiling CioInternalCommon DeepLinkUtil.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[20/101] Compiling CioInternalCommon DeviceInfo.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[21/101] Compiling CioInternalCommon DeviceMetricsGrabber.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[22/101] Compiling CioInternalCommon ProfileEnrichmentRegistry.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[23/101] Compiling CioInternalCommon ProfileEnrichmentRegistryImpl.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[24/101] Compiling CioInternalCommon CIOApiEndpoint.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[25/101] Compiling CioInternalCommon DownloadFileType.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[26/101] Compiling CioInternalCommon HttpClient.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[27/101] Compiling CioInternalCommon HttpRequestError.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[28/101] Compiling CioInternalCommon HttpRequestParams.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[29/101] Compiling CioInternalCommon HttpRequestRunner.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[30/101] Compiling CioInternalCommon AppGroupIdentifier.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[31/101] Compiling CioInternalCommon PendingPushDeliveryMetric.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[32/101] Compiling CioInternalCommon PendingPushDeliveryMetricsConstants.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[33/101] Compiling CioInternalCommon FileStorage.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[34/101] Compiling CioInternalCommon JsonAdapter.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[35/101] Compiling CioInternalCommon KeyValueStorage.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[36/101] Compiling CioInternalCommon KeyValueStorageKey.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[37/101] Compiling CioInternalCommon Lock.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[38/101] Compiling CioInternalCommon LockManager.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[39/101] Compiling CioInternalCommon Log.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[40/101] Compiling CioInternalCommon MockCollection.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[41/101] Compiling CioInternalCommon RingBuffer.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[42/101] Compiling CioInternalCommon SdkClient.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[43/101] Compiling CioInternalCommon SdkCommonLoggerLogger.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[44/101] Compiling CioInternalCommon DeviceExtension.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[45/101] Compiling CioInternalCommon DictionaryExtension.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[46/101] Compiling CioInternalCommon ErrorExtension.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[47/101] Compiling CioInternalCommon JsonExtensions.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[48/101] Compiling CioInternalCommon ResultExtensions.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[49/101] Compiling CioInternalCommon StringExtensions.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[50/101] Compiling CioInternalCommon UIKitExtensions.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[51/101] Compiling CioInternalCommon UserDefaultExtensions.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[52/101] Compiling CioInternalCommon CustomerIOModule.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[53/101] Compiling CioInternalCommon ModuleTopLevelObject.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[54/101] Compiling CioInternalCommon DataPipelineTracking.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[55/101] Compiling CioInternalCommon ProfileEnrichmentProvider.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[56/101] Compiling CioInternalCommon Queue.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[57/101] Compiling CioInternalCommon QueueStorage.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[58/101] Compiling CioInternalCommon DeletePushNotificationQueueTaskData.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[59/101] Compiling CioInternalCommon IdentifyProfileQueueTaskData.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[60/101] Compiling CioInternalCommon RegisterPushNotificationQueueTaskData.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[61/101] Compiling CioInternalCommon TrackEventQueueTaskData.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[62/101] Compiling CioInternalCommon QueueStatus.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[63/101] Compiling CioInternalCommon QueueTask.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[64/101] Compiling CioInternalCommon QueueTaskMetadata.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[65/101] Compiling CioInternalCommon QueueTaskRunResults.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[66/101] Compiling CioInternalCommon QueueTaskType.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[67/101] Compiling CioInternalCommon Event+Location.swift
/host/spi-builder-workspace/Sources/Common/Communication/EventBusHandler.swift:1:8: error: no such module 'Combine'
  1 | import Combine
    |        `- error: no such module 'Combine'
  2 | import Foundation
  3 |
[68/112] Compiling LDSwiftEventSource Types.swift
[69/112] Compiling LDSwiftEventSource Logs.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/112] Emitting module LDSwiftEventSource
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:47: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |         public var idleTimeout: TimeInterval = 300.0
 81 |
 82 |         private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                               `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |         /**
 84 |          The `URLSessionConfiguration` used to create the `URLSession`.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:97: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 80 |         public var idleTimeout: TimeInterval = 300.0
 81 |
 82 |         private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 83 |         /**
 84 |          The `URLSessionConfiguration` used to create the `URLSession`.
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:94:45: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |          - Since: 1.3.0
 93 |          */
 94 |         public var urlSessionConfiguration: URLSessionConfiguration {
    |                                             `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |             get {
 96 |                 // swiftlint:disable:next force_cast
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:165:38: error: cannot find type 'URLSessionDataDelegate' in scope
163 |
164 | // MARK: EventSourceDelegate
165 | class EventSourceDelegate: NSObject, URLSessionDataDelegate {
    |                                      `- error: cannot find type 'URLSessionDataDelegate' in scope
166 |     private let delegateQueue: DispatchQueue = DispatchQueue(label: "ESDelegateQueue")
167 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:181:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |     private let eventParser: EventParser
180 |     private let reconnectionTimer: ReconnectionTimer
181 |     private var urlSession: URLSession?
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
182 |     private var sessionTask: URLSessionDataTask?
183 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:182:30: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 |     private let reconnectionTimer: ReconnectionTimer
181 |     private var urlSession: URLSession?
182 |     private var sessionTask: URLSessionDataTask?
    |                              `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |
184 |     init(config: EventSource.Config) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:231:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 |     func getLastEventId() -> String { eventParser.getLastEventId() }
230 |
231 |     func createSession() -> URLSession {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
232 |         let opQueue = OperationQueue()
233 |         opQueue.underlyingQueue = self.delegateQueue
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:237:29: error: cannot find type 'URLRequest' in scope
235 |     }
236 |
237 |     func createRequest() -> URLRequest {
    |                             `- error: cannot find type 'URLRequest' in scope
238 |         var urlRequest = URLRequest(url: self.config.url,
239 |                                     cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:270:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
268 |
269 |     // Tells the delegate that the task finished transferring data.
270 |     public func urlSession(_ session: URLSession,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
271 |                            task: URLSessionTask,
272 |                            didCompleteWithError error: Error?) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:271:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 |     // Tells the delegate that the task finished transferring data.
270 |     public func urlSession(_ session: URLSession,
271 |                            task: URLSessionTask,
    |                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
272 |                            didCompleteWithError error: Error?) {
273 |         utf8LineParser.closeAndReset()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:312:69: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                     `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
313 |         logger.log(.debug, "Initial reply received")
314 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:309:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
307 |
308 |     // Tells the delegate that the data task received the initial reply (headers) from the server.
309 |     public func urlSession(_ session: URLSession,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:310:38: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 |     // Tells the delegate that the data task received the initial reply (headers) from the server.
309 |     public func urlSession(_ session: URLSession,
310 |                            dataTask: URLSessionDataTask,
    |                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 |                            didReceive response: URLResponse,
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:311:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
309 |     public func urlSession(_ session: URLSession,
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
    |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
313 |         logger.log(.debug, "Initial reply received")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |     }
339 |
340 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 |         utf8LineParser.append(data).forEach(eventParser.parse)
342 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |     }
339 |
340 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                                             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 |         utf8LineParser.append(data).forEach(eventParser.parse)
342 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
[71/112] Compiling LDSwiftEventSource UTF8LineParser.swift
[72/112] Compiling LDSwiftEventSource LDSwiftEventSource.swift
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:47: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |         public var idleTimeout: TimeInterval = 300.0
 81 |
 82 |         private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                               `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |         /**
 84 |          The `URLSessionConfiguration` used to create the `URLSession`.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:97: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 80 |         public var idleTimeout: TimeInterval = 300.0
 81 |
 82 |         private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 83 |         /**
 84 |          The `URLSessionConfiguration` used to create the `URLSession`.
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:94:45: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |          - Since: 1.3.0
 93 |          */
 94 |         public var urlSessionConfiguration: URLSessionConfiguration {
    |                                             `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |             get {
 96 |                 // swiftlint:disable:next force_cast
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:165:38: error: cannot find type 'URLSessionDataDelegate' in scope
163 |
164 | // MARK: EventSourceDelegate
165 | class EventSourceDelegate: NSObject, URLSessionDataDelegate {
    |                                      `- error: cannot find type 'URLSessionDataDelegate' in scope
166 |     private let delegateQueue: DispatchQueue = DispatchQueue(label: "ESDelegateQueue")
167 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:181:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |     private let eventParser: EventParser
180 |     private let reconnectionTimer: ReconnectionTimer
181 |     private var urlSession: URLSession?
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
182 |     private var sessionTask: URLSessionDataTask?
183 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:182:30: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 |     private let reconnectionTimer: ReconnectionTimer
181 |     private var urlSession: URLSession?
182 |     private var sessionTask: URLSessionDataTask?
    |                              `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |
184 |     init(config: EventSource.Config) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:231:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 |     func getLastEventId() -> String { eventParser.getLastEventId() }
230 |
231 |     func createSession() -> URLSession {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
232 |         let opQueue = OperationQueue()
233 |         opQueue.underlyingQueue = self.delegateQueue
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:237:29: error: cannot find type 'URLRequest' in scope
235 |     }
236 |
237 |     func createRequest() -> URLRequest {
    |                             `- error: cannot find type 'URLRequest' in scope
238 |         var urlRequest = URLRequest(url: self.config.url,
239 |                                     cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:270:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
268 |
269 |     // Tells the delegate that the task finished transferring data.
270 |     public func urlSession(_ session: URLSession,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
271 |                            task: URLSessionTask,
272 |                            didCompleteWithError error: Error?) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:271:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 |     // Tells the delegate that the task finished transferring data.
270 |     public func urlSession(_ session: URLSession,
271 |                            task: URLSessionTask,
    |                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
272 |                            didCompleteWithError error: Error?) {
273 |         utf8LineParser.closeAndReset()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:312:69: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                     `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
313 |         logger.log(.debug, "Initial reply received")
314 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:309:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
307 |
308 |     // Tells the delegate that the data task received the initial reply (headers) from the server.
309 |     public func urlSession(_ session: URLSession,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:310:38: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 |     // Tells the delegate that the data task received the initial reply (headers) from the server.
309 |     public func urlSession(_ session: URLSession,
310 |                            dataTask: URLSessionDataTask,
    |                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 |                            didReceive response: URLResponse,
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:311:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
309 |     public func urlSession(_ session: URLSession,
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
    |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
313 |         logger.log(.debug, "Initial reply received")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |     }
339 |
340 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 |         utf8LineParser.append(data).forEach(eventParser.parse)
342 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |     }
339 |
340 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                                             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 |         utf8LineParser.append(data).forEach(eventParser.parse)
342 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:97:62: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
 95 |             get {
 96 |                 // swiftlint:disable:next force_cast
 97 |                 let sessionConfig = _urlSessionConfiguration.copy() as! URLSessionConfiguration
    |                                                              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
 98 |                 sessionConfig.httpAdditionalHeaders = ["Accept": "text/event-stream", "Cache-Control": "no-cache"]
 99 |                 sessionConfig.timeoutIntervalForRequest = idleTimeout
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:103:73: error: cannot infer contextual base in reference to member 'TLSv12'
101 |                 #if !os(Linux) && !os(Windows)
102 |                 if #available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *) {
103 |                     sessionConfig.tlsMinimumSupportedProtocolVersion = .TLSv12
    |                                                                         `- error: cannot infer contextual base in reference to member 'TLSv12'
104 |                 } else {
105 |                     sessionConfig.tlsMinimumSupportedProtocol = .tlsProtocol12
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:105:66: error: cannot infer contextual base in reference to member 'tlsProtocol12'
103 |                     sessionConfig.tlsMinimumSupportedProtocolVersion = .TLSv12
104 |                 } else {
105 |                     sessionConfig.tlsMinimumSupportedProtocol = .tlsProtocol12
    |                                                                  `- error: cannot infer contextual base in reference to member 'tlsProtocol12'
106 |                 }
107 |                 #endif
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:112:53: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
110 |             set {
111 |                 // swiftlint:disable:next force_cast
112 |                 _urlSessionConfiguration = newValue.copy() as! URLSessionConfiguration
    |                                                     `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
113 |             }
114 |         }
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:220:31: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
218 |             let previousState = self.readyState
219 |             self.readyState = .shutdown
220 |             self.sessionTask?.cancel()
    |                               `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
221 |             if previousState == .open {
222 |                 self.config.handler.onClosed()
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:234:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
232 |         let opQueue = OperationQueue()
233 |         opQueue.underlyingQueue = self.delegateQueue
234 |         return URLSession(configuration: config.urlSessionConfiguration, delegate: self, delegateQueue: opQueue)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
235 |     }
236 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:238:26: error: cannot find 'URLRequest' in scope
236 |
237 |     func createRequest() -> URLRequest {
238 |         var urlRequest = URLRequest(url: self.config.url,
    |                          `- error: cannot find 'URLRequest' in scope
239 |                                     cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
240 |                                     timeoutInterval: self.config.idleTimeout)
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:239:50: error: cannot find 'URLRequest' in scope
237 |     func createRequest() -> URLRequest {
238 |         var urlRequest = URLRequest(url: self.config.url,
239 |                                     cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
    |                                                  `- error: cannot find 'URLRequest' in scope
240 |                                     timeoutInterval: self.config.idleTimeout)
241 |         urlRequest.httpMethod = self.config.method
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:254:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
252 |     private func connect() {
253 |         logger.log(.info, "Starting EventSource client")
254 |         let task = urlSession?.dataTask(with: createRequest())
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
255 |         task?.resume()
256 |         sessionTask = task
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:317:32: error: cannot infer contextual base in reference to member 'cancel'
315 |         guard readyState != .shutdown
316 |         else {
317 |             completionHandler(.cancel)
    |                                `- error: cannot infer contextual base in reference to member 'cancel'
318 |             return
319 |         }
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:322:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
320 |
321 |         // swiftlint:disable:next force_cast
322 |         let httpResponse = response as! HTTPURLResponse
    |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
323 |         let statusCode = httpResponse.statusCode
324 |         if (200..<300).contains(statusCode) && statusCode != 204 {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:323:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
321 |         // swiftlint:disable:next force_cast
322 |         let httpResponse = response as! HTTPURLResponse
323 |         let statusCode = httpResponse.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
324 |         if (200..<300).contains(statusCode) && statusCode != 204 {
325 |             reconnectionTimer.connectedTime = Date()
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:328:32: error: cannot infer contextual base in reference to member 'allow'
326 |             readyState = .open
327 |             config.handler.onOpened()
328 |             completionHandler(.allow)
    |                                `- error: cannot infer contextual base in reference to member 'allow'
329 |         } else {
330 |             // this formatting shenanigans is to workaround String not implementing CVarArg on Swift<5.4 on Linux
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:336:32: error: cannot infer contextual base in reference to member 'cancel'
334 |                 readyState = .shutdown
335 |             }
336 |             completionHandler(.cancel)
    |                                `- error: cannot infer contextual base in reference to member 'cancel'
337 |         }
338 |     }
[73/112] Compiling Sovran Action.swift
[74/112] Compiling JSONSafeEncoding JSONError.swift
[75/112] Emitting module JSONSafeEncoding
BUILD FAILURE 6.1 android