Build Information
Failed to build Customer.io, reference 5.2.1 (12b919), with Swift 6.2 for Android on 12 Nov 2026 02:53:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/customerio/customerio-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:d2452b62e3705b516974b91545f6a72393de452ed0d07016d276221983b5f27e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/LaunchDarkly/swift-eventsource.git
Fetching https://github.com/customerio/cdp-analytics-swift.git
Fetching https://github.com/customerio/jist.git
[1/2077] Fetching swift-eventsource
[500/4438] Fetching swift-eventsource, jist
[2692/7906] Fetching swift-eventsource, jist, cdp-analytics-swift
Fetched https://github.com/customerio/cdp-analytics-swift.git from cache (0.51s)
[3801/4438] Fetching swift-eventsource, jist
Fetched https://github.com/LaunchDarkly/swift-eventsource.git from cache (0.61s)
Fetched https://github.com/customerio/jist.git from cache (0.61s)
Computing version for https://github.com/customerio/jist.git
Computed https://github.com/customerio/jist.git at 0.1.0 (0.77s)
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 (0.13s)
Fetching https://github.com/segmentio/sovran-swift.git
Fetching https://github.com/segmentio/jsonsafeencoding-swift.git
[1/93] Fetching jsonsafeencoding-swift
[94/481] Fetching jsonsafeencoding-swift, sovran-swift
Fetched https://github.com/segmentio/jsonsafeencoding-swift.git from cache (0.40s)
Fetched https://github.com/segmentio/sovran-swift.git from cache (0.40s)
Computing version for https://github.com/segmentio/jsonsafeencoding-swift.git
Computed https://github.com/segmentio/jsonsafeencoding-swift.git at 2.0.0 (0.56s)
Computing version for https://github.com/segmentio/sovran-swift.git
Computed https://github.com/segmentio/sovran-swift.git at 1.1.2 (0.15s)
Computing version for https://github.com/LaunchDarkly/swift-eventsource.git
Computed https://github.com/LaunchDarkly/swift-eventsource.git at 3.3.1 (0.15s)
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
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/LaunchDarkly/swift-eventsource.git
Working copy of https://github.com/LaunchDarkly/swift-eventsource.git resolved at 3.3.1
Creating working copy for https://github.com/customerio/jist.git
Working copy of https://github.com/customerio/jist.git resolved at 0.1.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/MessagingInbox/Vendor/SVGPath/LICENSE.md
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/38] Write sources
[12/38] Copying PrivacyInfo.xcprivacy
[16/38] Write sources
[33/38] Copying PrivacyInfo.xcprivacy
[34/38] Write sources
[35/38] Copying CioInboxAssets.xcassets
[36/38] Copying SampleDataFiles
[37/38] Write swift-version--11D90AFD9DD3AB2.txt
[39/168] Compiling JSONSafeEncoding Version.swift
[40/168] Compiling Sovran Version.swift
[41/168] Compiling Jist ThemeResolver+FontResolver.swift
/host/spi-builder-workspace/.build/checkouts/jist/ios/Sources/Jist/JistView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// Renders a Jist template tree into native SwiftUI views.
[42/168] Compiling Jist ThemeResolver.swift
/host/spi-builder-workspace/.build/checkouts/jist/ios/Sources/Jist/JistView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// Renders a Jist template tree into native SwiftUI views.
[43/168] Emitting module CioLiveActivities_Attributes
[44/168] Compiling CioLiveActivities_Attributes CIOActivityTemplate.swift
[45/168] Compiling Sovran Testing.swift
[46/168] Compiling Jist Models.swift
/host/spi-builder-workspace/.build/checkouts/jist/ios/Sources/Jist/JistView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// Renders a Jist template tree into native SwiftUI views.
[47/168] Emitting module JSONSafeEncoding
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/168] Emitting module CioInternalCommon
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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
[49/181] Compiling LDSwiftEventSource UTF8LineParser.swift
[50/181] Compiling Jist JistView.swift
/host/spi-builder-workspace/.build/checkouts/jist/ios/Sources/Jist/JistView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// Renders a Jist template tree into native SwiftUI views.
[51/181] Compiling Jist JistValue.swift
/host/spi-builder-workspace/.build/checkouts/jist/ios/Sources/Jist/JistView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// Renders a Jist template tree into native SwiftUI views.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/181] Emitting module Jist
/host/spi-builder-workspace/.build/checkouts/jist/ios/Sources/Jist/JistView.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// Renders a Jist template tree into native SwiftUI views.
[53/181] Compiling Sovran Subscriber.swift
[54/181] Compiling JSONSafeEncoding JSONValue.swift
[55/181] Compiling LDSwiftEventSource Types.swift
[56/181] Compiling CioInternalCommon Atomic.swift
/host/spi-builder-workspace/Sources/Common/Util/Log.swift:115:22: error: value of type 'CioLogLevel' has no member 'shouldLog'
113 |
114 | private func printMessage(_ message: String, _ level: CioLogLevel, _ tag: String?, _ error: Error?) {
115 | if !logLevel.shouldLog(level) { return }
| `- error: value of type 'CioLogLevel' has no member 'shouldLog'
116 |
117 | // Tag prefix and error suffix prepended once so dispatcher and systemLogger see the same final message.
[57/181] Compiling CioInternalCommon DateUtil.swift
/host/spi-builder-workspace/Sources/Common/Util/Log.swift:115:22: error: value of type 'CioLogLevel' has no member 'shouldLog'
113 |
114 | private func printMessage(_ message: String, _ level: CioLogLevel, _ tag: String?, _ error: Error?) {
115 | if !logLevel.shouldLog(level) { return }
| `- error: value of type 'CioLogLevel' has no member 'shouldLog'
116 |
117 | // Tag prefix and error suffix prepended once so dispatcher and systemLogger see the same final message.
[58/181] Compiling CioInternalCommon DeepLinkUtil.swift
/host/spi-builder-workspace/Sources/Common/Util/Log.swift:115:22: error: value of type 'CioLogLevel' has no member 'shouldLog'
113 |
114 | private func printMessage(_ message: String, _ level: CioLogLevel, _ tag: String?, _ error: Error?) {
115 | if !logLevel.shouldLog(level) { return }
| `- error: value of type 'CioLogLevel' has no member 'shouldLog'
116 |
117 | // Tag prefix and error suffix prepended once so dispatcher and systemLogger see the same final message.
[59/181] Compiling CioInternalCommon DeviceInfo.swift
/host/spi-builder-workspace/Sources/Common/Util/Log.swift:115:22: error: value of type 'CioLogLevel' has no member 'shouldLog'
113 |
114 | private func printMessage(_ message: String, _ level: CioLogLevel, _ tag: String?, _ error: Error?) {
115 | if !logLevel.shouldLog(level) { return }
| `- error: value of type 'CioLogLevel' has no member 'shouldLog'
116 |
117 | // Tag prefix and error suffix prepended once so dispatcher and systemLogger see the same final message.
[60/181] Compiling CioInternalCommon DeviceMetricsGrabber.swift
/host/spi-builder-workspace/Sources/Common/Util/Log.swift:115:22: error: value of type 'CioLogLevel' has no member 'shouldLog'
113 |
114 | private func printMessage(_ message: String, _ level: CioLogLevel, _ tag: String?, _ error: Error?) {
115 | if !logLevel.shouldLog(level) { return }
| `- error: value of type 'CioLogLevel' has no member 'shouldLog'
116 |
117 | // Tag prefix and error suffix prepended once so dispatcher and systemLogger see the same final message.
[61/181] Compiling CioInternalCommon FileStorage.swift
/host/spi-builder-workspace/Sources/Common/Util/Log.swift:115:22: error: value of type 'CioLogLevel' has no member 'shouldLog'
113 |
114 | private func printMessage(_ message: String, _ level: CioLogLevel, _ tag: String?, _ error: Error?) {
115 | if !logLevel.shouldLog(level) { return }
| `- error: value of type 'CioLogLevel' has no member 'shouldLog'
116 |
117 | // Tag prefix and error suffix prepended once so dispatcher and systemLogger see the same final message.
[62/181] Compiling CioInternalCommon JsonAdapter.swift
/host/spi-builder-workspace/Sources/Common/Util/Log.swift:115:22: error: value of type 'CioLogLevel' has no member 'shouldLog'
113 |
114 | private func printMessage(_ message: String, _ level: CioLogLevel, _ tag: String?, _ error: Error?) {
115 | if !logLevel.shouldLog(level) { return }
| `- error: value of type 'CioLogLevel' has no member 'shouldLog'
116 |
117 | // Tag prefix and error suffix prepended once so dispatcher and systemLogger see the same final message.
[63/181] Compiling CioInternalCommon KeyValueStorage.swift
/host/spi-builder-workspace/Sources/Common/Util/Log.swift:115:22: error: value of type 'CioLogLevel' has no member 'shouldLog'
113 |
114 | private func printMessage(_ message: String, _ level: CioLogLevel, _ tag: String?, _ error: Error?) {
115 | if !logLevel.shouldLog(level) { return }
| `- error: value of type 'CioLogLevel' has no member 'shouldLog'
116 |
117 | // Tag prefix and error suffix prepended once so dispatcher and systemLogger see the same final message.
[64/181] Compiling CioInternalCommon KeyValueStorageKey.swift
/host/spi-builder-workspace/Sources/Common/Util/Log.swift:115:22: error: value of type 'CioLogLevel' has no member 'shouldLog'
113 |
114 | private func printMessage(_ message: String, _ level: CioLogLevel, _ tag: String?, _ error: Error?) {
115 | if !logLevel.shouldLog(level) { return }
| `- error: value of type 'CioLogLevel' has no member 'shouldLog'
116 |
117 | // Tag prefix and error suffix prepended once so dispatcher and systemLogger see the same final message.
[65/181] Compiling CioInternalCommon Lock.swift
/host/spi-builder-workspace/Sources/Common/Util/Log.swift:115:22: error: value of type 'CioLogLevel' has no member 'shouldLog'
113 |
114 | private func printMessage(_ message: String, _ level: CioLogLevel, _ tag: String?, _ error: Error?) {
115 | if !logLevel.shouldLog(level) { return }
| `- error: value of type 'CioLogLevel' has no member 'shouldLog'
116 |
117 | // Tag prefix and error suffix prepended once so dispatcher and systemLogger see the same final message.
[66/181] Compiling CioInternalCommon LockManager.swift
/host/spi-builder-workspace/Sources/Common/Util/Log.swift:115:22: error: value of type 'CioLogLevel' has no member 'shouldLog'
113 |
114 | private func printMessage(_ message: String, _ level: CioLogLevel, _ tag: String?, _ error: Error?) {
115 | if !logLevel.shouldLog(level) { return }
| `- error: value of type 'CioLogLevel' has no member 'shouldLog'
116 |
117 | // Tag prefix and error suffix prepended once so dispatcher and systemLogger see the same final message.
[67/181] Compiling CioInternalCommon Log.swift
/host/spi-builder-workspace/Sources/Common/Util/Log.swift:115:22: error: value of type 'CioLogLevel' has no member 'shouldLog'
113 |
114 | private func printMessage(_ message: String, _ level: CioLogLevel, _ tag: String?, _ error: Error?) {
115 | if !logLevel.shouldLog(level) { return }
| `- error: value of type 'CioLogLevel' has no member 'shouldLog'
116 |
117 | // Tag prefix and error suffix prepended once so dispatcher and systemLogger see the same final message.
[68/181] Compiling CioInternalCommon MockCollection.swift
/host/spi-builder-workspace/Sources/Common/Util/Log.swift:115:22: error: value of type 'CioLogLevel' has no member 'shouldLog'
113 |
114 | private func printMessage(_ message: String, _ level: CioLogLevel, _ tag: String?, _ error: Error?) {
115 | if !logLevel.shouldLog(level) { return }
| `- error: value of type 'CioLogLevel' has no member 'shouldLog'
116 |
117 | // Tag prefix and error suffix prepended once so dispatcher and systemLogger see the same final message.
[69/181] Compiling CioInternalCommon Synchronized+Hashable.swift
[70/181] Compiling CioInternalCommon Synchronized.swift
[71/181] Compiling CioInternalCommon ApiKey.swift
[72/181] Compiling CioInternalCommon DeviceTokenType.swift
[73/181] Compiling CioInternalCommon DoNotTrackAutomaticScreenViewEvent.swift
[74/181] Compiling CioInternalCommon GeofenceMetadataValue.swift
[75/181] Compiling CioInternalCommon GeofenceMetric.swift
[76/181] Compiling CioInternalCommon GeofenceTransition.swift
[77/181] Compiling CioInternalCommon LocationData.swift
[78/181] Compiling CioInternalCommon Region.swift
[79/181] Compiling CioInternalCommon ScreenView.swift
[80/181] Compiling CioInternalCommon AnyEncodable.swift
[81/181] Compiling CioInternalCommon AsyncOperation.swift
[82/181] Compiling CioInternalCommon TrackDeliveryEventRequestBody.swift
[83/181] Compiling CioInternalCommon ErrorMessageResponse.swift
[84/181] Compiling CioInternalCommon UserAgentUtil.swift
[85/181] Compiling CioInternalCommon BackgroundDeliveryContextStore.swift
[86/181] Compiling CioInternalCommon GlobalDataStore.swift
[87/181] Compiling CioInternalCommon ProfileStore.swift
[88/181] Compiling CioInternalCommon QueueInventoryMemoryStore.swift
[89/181] Compiling CioInternalCommon SdkConfig.swift
[90/181] Compiling CioInternalCommon Synchronized+Arithmetic.swift
[91/181] Compiling CioInternalCommon Synchronized+Bool.swift
[92/181] Compiling CioInternalCommon Synchronized+Collections.swift
[93/181] Compiling CioInternalCommon Synchronized+Comparable.swift
[94/181] Compiling CioInternalCommon Synchronized+Dictionaries.swift
[95/181] Compiling CioInternalCommon Synchronized+Equatable.swift
[96/181] Compiling Sovran Action.swift
[97/181] Emitting module Sovran
[98/181] Compiling CioInternalCommon EventBusHandler.swift
[99/181] Compiling CioInternalCommon EventMemoryStorage.swift
[100/181] Compiling CioInternalCommon EventStorage.swift
[101/181] Compiling CioInternalCommon RegistrationToken.swift
[102/181] Compiling CioInternalCommon CustomerIOInstance.swift
[103/181] Compiling CioInternalCommon DIGraphShared+PendingPushDeliveryStore.swift
[104/181] Compiling CioInternalCommon DIGraphShared.swift
[105/181] Compiling CioInternalCommon CustomerIO+Tracking.swift
[106/181] Compiling CioInternalCommon ArrayExtensions.swift
[107/181] Compiling CioInternalCommon DataExtensions.swift
[108/181] Compiling CioInternalCommon DateExtensions.swift
[109/181] Compiling CioInternalCommon DeviceExtension.swift
[110/181] Compiling CioInternalCommon DictionaryExtension.swift
[111/181] Compiling CioInternalCommon ErrorExtension.swift
[112/181] Compiling CioInternalCommon CIOApiEndpoint.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
[113/181] Compiling CioInternalCommon DownloadFileType.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
[114/181] Compiling CioInternalCommon HttpClient.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
[115/181] Compiling CioInternalCommon HttpRequestError.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
[116/181] Compiling CioInternalCommon HttpRequestParams.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
[117/181] Compiling CioInternalCommon HttpRequestRunner.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
[118/181] Compiling CioInternalCommon AppGroupIdentifier.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
[119/181] Compiling CioInternalCommon PendingPushDeliveryMetric.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
[120/181] Compiling CioInternalCommon PendingPushDeliveryMetricsConstants.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
[121/181] Compiling CioInternalCommon PendingPushDeliveryStore.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
[122/181] Compiling CioInternalCommon EmptyRequestBody.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
[123/181] Compiling CioInternalCommon InAppMetric.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
[124/181] Compiling CioInternalCommon MetricRequest.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
[125/181] Compiling CioInternalCommon PushMetric.swift
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:20:43: error: value of type 'FileManager' has no member 'containerURL'
18 | return .missingBundleIdentifier
19 | }
20 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: suite) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
21 | return .containerUnavailable(suiteName: suite)
22 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:97:47: error: value of type 'FileManager' has no member 'containerURL'
95 | if let explicitId = appGroupId {
96 | self.appGroupSuiteName = explicitId
97 | guard let container = fileManager.containerURL(forSecurityApplicationGroupIdentifier: explicitId) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
98 | self.metricsFileURL = nil
99 | logger.error("Pending push delivery store: could not resolve app group container for suite \(explicitId).")
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:9: error: cannot find 'NSFileCoordinator' in scope
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:145:111: error: cannot infer contextual base in reference to member 'forReplacing'
143 | var success = false
144 |
145 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
146 | // Never write over a file we could not read: treating it as empty replaces intact rows.
147 | guard case .rows(var items) = readItems(from: readURL) else { return }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:178:9: error: cannot find 'NSFileCoordinator' in scope
176 | var result: PendingPushDeliveryQueueRead = .unreadable
177 |
178 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], error: &coordError) { readURL in
| `- error: cannot find 'NSFileCoordinator' in scope
179 | result = readItems(from: readURL)
180 | }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:9: error: cannot find 'NSFileCoordinator' in scope
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:195:111: error: cannot infer contextual base in reference to member 'forReplacing'
193 | var wasRemoved = false
194 |
195 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
196 | guard case .rows(let items) = readItems(from: readURL) else { return }
197 | let filtered = items.filter { $0.id != id }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:9: error: cannot find 'NSFileCoordinator' in scope
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot find 'NSFileCoordinator' in scope
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
/host/spi-builder-workspace/Sources/Common/Service/Push/PendingPushDeliveryStore.swift:223:111: error: cannot infer contextual base in reference to member 'forReplacing'
221 | var success = false
222 |
223 | NSFileCoordinator().coordinate(readingItemAt: fileURL, options: [], writingItemAt: fileURL, options: .forReplacing, error: &coordError) { readURL, writeURL in
| `- error: cannot infer contextual base in reference to member 'forReplacing'
224 | guard case .rows(let items) = readItems(from: readURL) else { return }
225 | let filtered = items.filter { !ids.contains($0.id) }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[126/181] 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:82:97: error: value of type '_' expected to be instance of class or class-constrained type
80 | public var idleTimeout: TimeInterval = 300.0
81 |
82 | private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
| `- error: value of type '_' expected to be instance of class or class-constrained type
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
[127/181] 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:82:97: error: value of type '_' expected to be instance of class or class-constrained type
80 | public var idleTimeout: TimeInterval = 300.0
81 |
82 | private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
| `- error: value of type '_' expected to be instance of class or class-constrained type
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 | }
[128/181] Compiling LDSwiftEventSource EventParser.swift
[129/181] Compiling LDSwiftEventSource Logs.swift
[130/181] Compiling JSONSafeEncoding Extensions.swift
[131/181] Compiling CioInternalCommon Queue.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[132/181] Compiling CioInternalCommon QueueStorage.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[133/181] Compiling CioInternalCommon DeletePushNotificationQueueTaskData.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[134/181] Compiling CioInternalCommon IdentifyProfileQueueTaskData.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[135/181] Compiling CioInternalCommon RegisterPushNotificationQueueTaskData.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[136/181] Compiling CioInternalCommon TrackEventQueueTaskData.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[137/181] Compiling CioInternalCommon QueueStatus.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[138/181] Compiling CioInternalCommon QueueTask.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[139/181] Compiling CioInternalCommon QueueTaskMetadata.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[140/181] Compiling CioInternalCommon QueueTaskRunResults.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[141/181] Compiling CioInternalCommon QueueTaskType.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[142/181] Compiling CioInternalCommon CioEventBus.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[143/181] Compiling CioInternalCommon CombinedCacheEventBusHandler.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[144/181] Compiling CioInternalCommon Event.swift
/host/spi-builder-workspace/Sources/Common/Communication/CioEventBus.swift:41:65: warning: variable 'self' was written to, but never read
39 | func addObserver(key: String, action: @escaping Action) -> ObserverRegistration {
40 | let uuid = UUID()
41 | let token = RegistrationToken(identifier: uuid) { [weak self] in
| `- warning: variable 'self' was written to, but never read
42 | // Uncomment once callers retain the token.
43 | // Task { [weak self] in
[145/181] Compiling CioInternalCommon JsonExtensions.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
[146/181] Compiling CioInternalCommon ResultExtensions.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
[147/181] Compiling CioInternalCommon StringExtensions.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
[148/181] Compiling CioInternalCommon UIKitExtensions.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
[149/181] Compiling CioInternalCommon UserDefaultExtensions.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
[150/181] Compiling CioInternalCommon CustomerIOModule.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
[151/181] Compiling CioInternalCommon ModuleTopLevelObject.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
[152/181] Compiling CioInternalCommon DataPipelineTracking.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
[153/181] Compiling CioInternalCommon ProfileEnrichmentProvider.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
[154/181] Compiling CioInternalCommon ProfileEnrichmentRegistry.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
[155/181] Compiling CioInternalCommon ProfileEnrichmentRegistryImpl.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
[156/181] Compiling CioInternalCommon BackgroundDeliveryHttpClient.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
[157/181] Compiling CioInternalCommon BackgroundDeliveryHttpHelpers.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
[158/181] Compiling CioInternalCommon BackgroundTaskRunner.swift
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:70:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | private let contextStore: BackgroundDeliveryContextStore
69 | private let requestRunner: HttpRequestRunner
70 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | private let logger: Logger
72 |
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:102:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | contextStore: BackgroundDeliveryContextStore,
101 | requestRunner: HttpRequestRunner,
102 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | logger: Logger
104 | ) {
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/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:86:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
84 | resourceTimeout: TimeInterval = 20
85 | ) {
86 | let configuration = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
87 | configuration.allowsCellularAccess = true
88 | configuration.timeoutIntervalForRequest = requestTimeout
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:93:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | contextStore: contextStore,
92 | requestRunner: requestRunner,
93 | session: URLSession(configuration: configuration),
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | logger: logger
95 | )
/host/spi-builder-workspace/Sources/Common/Service/BackgroundDeliveryHttpClient.swift:147:56: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
145 | }
146 |
147 | requestRunner.request(params: params, session: session) { _, response, error in
| |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
| `- note: did you mean to use 'as!' to force downcast?
148 | if error != nil {
149 | return completion(.failure(.transport))
/host/spi-builder-workspace/Sources/Common/Util/ThreadUtil.swift:50:63: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
47 | }
48 |
49 | public func runBackground(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-Sendable
50 | DispatchQueue.global(qos: .background).async(execute: block)
| `- warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
51 | }
52 |
[159/181] Compiling JSONSafeEncoding JSONError.swift
[160/181] Compiling Sovran State.swift
BUILD FAILURE 6.2 android