Build Information
Failed to build Customer.io, reference main (12b919), with Swift 6.1 for Android on 14 Nov 2026 01:54:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
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))
[68/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))
[69/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))
[70/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))
[71/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))
[72/181] Compiling CioInternalCommon CIOApiEndpoint.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[73/181] Compiling CioInternalCommon DownloadFileType.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[74/181] Compiling CioInternalCommon HttpClient.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[75/181] Compiling CioInternalCommon HttpRequestError.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[76/181] Compiling CioInternalCommon HttpRequestParams.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[77/181] Compiling CioInternalCommon HttpRequestRunner.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[78/181] Compiling CioInternalCommon AppGroupIdentifier.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[79/181] Compiling CioInternalCommon PendingPushDeliveryMetric.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[80/181] Compiling CioInternalCommon PendingPushDeliveryMetricsConstants.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[81/181] Compiling CioInternalCommon PendingPushDeliveryStore.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[82/181] Compiling CioInternalCommon EmptyRequestBody.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[83/181] Compiling CioInternalCommon InAppMetric.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[84/181] Compiling CioInternalCommon MetricRequest.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[85/181] Compiling CioInternalCommon PushMetric.swift
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:45:13: warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | print("----------------- HTTP logs end -----------------")
44 | */
45 | onComplete(data, response as? HTTPURLResponse, error)
| |- warning: capture of 'onComplete' with non-sendable type '(Data?, HTTPURLResponse?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | }.resume()
47 | }
/host/spi-builder-workspace/Sources/Common/Service/HttpRequestRunner.swift:59:24: warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 | session.downloadTask(with: url) { tempLocation, response, _ in
58 | guard let tempLocation = tempLocation, let suggestedFileName = response?.suggestedFilename else {
59 | return onComplete(nil)
| |- warning: capture of 'onComplete' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/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) }
[86/181] Compiling LDSwiftEventSource UTF8LineParser.swift
[87/181] Compiling CioLiveActivities_Attributes EpochSecondsDate.swift
[88/181] Compiling CioLiveActivities_Attributes CioLiveActivityWidgetUrl.swift
[89/182] Compiling CioInternalCommon TrackDeliveryEventRequestBody.swift
[90/182] Compiling CioInternalCommon ErrorMessageResponse.swift
[91/182] Compiling CioInternalCommon UserAgentUtil.swift
[92/182] Compiling CioInternalCommon BackgroundDeliveryContextStore.swift
[93/182] Compiling CioInternalCommon GlobalDataStore.swift
[94/182] Compiling CioInternalCommon ProfileStore.swift
[95/182] Compiling CioInternalCommon QueueInventoryMemoryStore.swift
[96/182] Compiling CioInternalCommon SdkConfig.swift
[97/182] Compiling CioInternalCommon Synchronized+Arithmetic.swift
[98/182] Compiling CioInternalCommon Synchronized+Bool.swift
[99/182] Compiling CioInternalCommon Synchronized+Collections.swift
[100/182] Compiling CioInternalCommon Synchronized+Comparable.swift
[101/182] Compiling CioInternalCommon Synchronized+Dictionaries.swift
[102/182] Compiling CioInternalCommon Synchronized+Equatable.swift
[103/182] Compiling CioInternalCommon Synchronized+Hashable.swift
[104/182] Compiling CioInternalCommon Synchronized.swift
[105/182] Compiling CioInternalCommon ApiKey.swift
[106/182] Compiling CioInternalCommon DeviceTokenType.swift
[107/182] Compiling CioInternalCommon DoNotTrackAutomaticScreenViewEvent.swift
[108/182] Compiling CioInternalCommon GeofenceMetadataValue.swift
[109/182] Compiling CioInternalCommon GeofenceMetric.swift
[110/182] Compiling CioInternalCommon GeofenceTransition.swift
[111/182] Compiling CioInternalCommon LocationData.swift
[112/182] Compiling CioInternalCommon Region.swift
[113/182] Compiling CioInternalCommon ScreenView.swift
[114/182] Compiling CioInternalCommon AnyEncodable.swift
[115/182] Compiling CioInternalCommon AsyncOperation.swift
[116/182] 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.
[117/182] 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.
[118/182] 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.
[119/182] 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.
[120/182] 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.
[121/182] 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.
[122/182] 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.
[123/182] 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.
[124/182] 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.
[125/182] 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.
[126/182] 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.
[127/182] 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.
[128/182] 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.
[129/182] Compiling LDSwiftEventSource Logs.swift
[130/182] Compiling LDSwiftEventSource LDSwiftEventSource.swift
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:47: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 | public var idleTimeout: TimeInterval = 300.0
81 |
82 | private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
83 | /**
84 | The `URLSessionConfiguration` used to create the `URLSession`.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:97: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
80 | public var idleTimeout: TimeInterval = 300.0
81 |
82 | private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
83 | /**
84 | The `URLSessionConfiguration` used to create the `URLSession`.
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:94:45: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
92 | - Since: 1.3.0
93 | */
94 | public var urlSessionConfiguration: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
95 | get {
96 | // swiftlint:disable:next force_cast
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:165:38: error: cannot find type 'URLSessionDataDelegate' in scope
163 |
164 | // MARK: EventSourceDelegate
165 | class EventSourceDelegate: NSObject, URLSessionDataDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
166 | private let delegateQueue: DispatchQueue = DispatchQueue(label: "ESDelegateQueue")
167 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:181:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 | private let eventParser: EventParser
180 | private let reconnectionTimer: ReconnectionTimer
181 | private var urlSession: URLSession?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
182 | private var sessionTask: URLSessionDataTask?
183 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:182:30: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 | private let reconnectionTimer: ReconnectionTimer
181 | private var urlSession: URLSession?
182 | private var sessionTask: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |
184 | init(config: EventSource.Config) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:231:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 | func getLastEventId() -> String { eventParser.getLastEventId() }
230 |
231 | func createSession() -> URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
232 | let opQueue = OperationQueue()
233 | opQueue.underlyingQueue = self.delegateQueue
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:237:29: error: cannot find type 'URLRequest' in scope
235 | }
236 |
237 | func createRequest() -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
238 | var urlRequest = URLRequest(url: self.config.url,
239 | cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:270:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
268 |
269 | // Tells the delegate that the task finished transferring data.
270 | public func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
271 | task: URLSessionTask,
272 | didCompleteWithError error: Error?) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:271:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 | // Tells the delegate that the task finished transferring data.
270 | public func urlSession(_ session: URLSession,
271 | task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
272 | didCompleteWithError error: Error?) {
273 | utf8LineParser.closeAndReset()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:312:69: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
310 | dataTask: URLSessionDataTask,
311 | didReceive response: URLResponse,
312 | completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
313 | logger.log(.debug, "Initial reply received")
314 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:309:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
307 |
308 | // Tells the delegate that the data task received the initial reply (headers) from the server.
309 | public func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 | dataTask: URLSessionDataTask,
311 | didReceive response: URLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:310:38: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 | // Tells the delegate that the data task received the initial reply (headers) from the server.
309 | public func urlSession(_ session: URLSession,
310 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 | didReceive response: URLResponse,
312 | completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:311:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
309 | public func urlSession(_ session: URLSession,
310 | dataTask: URLSessionDataTask,
311 | didReceive response: URLResponse,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
312 | completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
313 | logger.log(.debug, "Initial reply received")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 | }
339 |
340 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 | utf8LineParser.append(data).forEach(eventParser.parse)
342 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 | }
339 |
340 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 | utf8LineParser.append(data).forEach(eventParser.parse)
342 | }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:97:62: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
95 | get {
96 | // swiftlint:disable:next force_cast
97 | let sessionConfig = _urlSessionConfiguration.copy() as! URLSessionConfiguration
| `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
98 | sessionConfig.httpAdditionalHeaders = ["Accept": "text/event-stream", "Cache-Control": "no-cache"]
99 | sessionConfig.timeoutIntervalForRequest = idleTimeout
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:103:73: error: cannot infer contextual base in reference to member 'TLSv12'
101 | #if !os(Linux) && !os(Windows)
102 | if #available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *) {
103 | sessionConfig.tlsMinimumSupportedProtocolVersion = .TLSv12
| `- error: cannot infer contextual base in reference to member 'TLSv12'
104 | } else {
105 | sessionConfig.tlsMinimumSupportedProtocol = .tlsProtocol12
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:105:66: error: cannot infer contextual base in reference to member 'tlsProtocol12'
103 | sessionConfig.tlsMinimumSupportedProtocolVersion = .TLSv12
104 | } else {
105 | sessionConfig.tlsMinimumSupportedProtocol = .tlsProtocol12
| `- error: cannot infer contextual base in reference to member 'tlsProtocol12'
106 | }
107 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:112:53: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
110 | set {
111 | // swiftlint:disable:next force_cast
112 | _urlSessionConfiguration = newValue.copy() as! URLSessionConfiguration
| `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
113 | }
114 | }
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:220:31: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
218 | let previousState = self.readyState
219 | self.readyState = .shutdown
220 | self.sessionTask?.cancel()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
221 | if previousState == .open {
222 | self.config.handler.onClosed()
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:234:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
232 | let opQueue = OperationQueue()
233 | opQueue.underlyingQueue = self.delegateQueue
234 | return URLSession(configuration: config.urlSessionConfiguration, delegate: self, delegateQueue: opQueue)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
235 | }
236 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:238:26: error: cannot find 'URLRequest' in scope
236 |
237 | func createRequest() -> URLRequest {
238 | var urlRequest = URLRequest(url: self.config.url,
| `- error: cannot find 'URLRequest' in scope
239 | cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
240 | timeoutInterval: self.config.idleTimeout)
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:239:50: error: cannot find 'URLRequest' in scope
237 | func createRequest() -> URLRequest {
238 | var urlRequest = URLRequest(url: self.config.url,
239 | cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
| `- error: cannot find 'URLRequest' in scope
240 | timeoutInterval: self.config.idleTimeout)
241 | urlRequest.httpMethod = self.config.method
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:254:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
252 | private func connect() {
253 | logger.log(.info, "Starting EventSource client")
254 | let task = urlSession?.dataTask(with: createRequest())
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
255 | task?.resume()
256 | sessionTask = task
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:317:32: error: cannot infer contextual base in reference to member 'cancel'
315 | guard readyState != .shutdown
316 | else {
317 | completionHandler(.cancel)
| `- error: cannot infer contextual base in reference to member 'cancel'
318 | return
319 | }
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:322:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
320 |
321 | // swiftlint:disable:next force_cast
322 | let httpResponse = response as! HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
323 | let statusCode = httpResponse.statusCode
324 | if (200..<300).contains(statusCode) && statusCode != 204 {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:323:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
321 | // swiftlint:disable:next force_cast
322 | let httpResponse = response as! HTTPURLResponse
323 | let statusCode = httpResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
324 | if (200..<300).contains(statusCode) && statusCode != 204 {
325 | reconnectionTimer.connectedTime = Date()
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:328:32: error: cannot infer contextual base in reference to member 'allow'
326 | readyState = .open
327 | config.handler.onOpened()
328 | completionHandler(.allow)
| `- error: cannot infer contextual base in reference to member 'allow'
329 | } else {
330 | // this formatting shenanigans is to workaround String not implementing CVarArg on Swift<5.4 on Linux
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:336:32: error: cannot infer contextual base in reference to member 'cancel'
334 | readyState = .shutdown
335 | }
336 | completionHandler(.cancel)
| `- error: cannot infer contextual base in reference to member 'cancel'
337 | }
338 | }
[131/182] Compiling LDSwiftEventSource Types.swift
[132/182] Compiling JSONSafeEncoding JSONError.swift
[133/182] Compiling JSONSafeEncoding JSONSafeEncoder.swift
[134/182] Emitting module JSONSafeEncoding
[135/182] Compiling JSONSafeEncoding Extensions.swift
[136/182] Compiling Sovran Store.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:f3d584653be307e49a83a538a44ff19f3e457cf354c03a81b3bd04fe87199e26
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/118] Compiling JSONSafeEncoding Extensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/131] 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.
[4/131] Compiling Sovran Version.swift
[5/131] Compiling Sovran Testing.swift
[6/131] Compiling CioLiveActivities_Attributes CIOActivityTemplate.swift
[7/131] Compiling CioLiveActivities_Attributes CIOActivityAttribute.swift
[8/131] Compiling Sovran Subscriber.swift
[9/131] 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.
[10/131] Compiling JSONSafeEncoding Version.swift
[11/131] Compiling Sovran Action.swift
[12/131] Emitting module Sovran
[13/131] Compiling Sovran Store.swift
[14/131] Compiling Sovran State.swift
[15/132] Compiling LDSwiftEventSource LDSwiftEventSource.swift
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:47: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 | public var idleTimeout: TimeInterval = 300.0
81 |
82 | private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
83 | /**
84 | The `URLSessionConfiguration` used to create the `URLSession`.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:97: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
80 | public var idleTimeout: TimeInterval = 300.0
81 |
82 | private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
83 | /**
84 | The `URLSessionConfiguration` used to create the `URLSession`.
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:94:45: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
92 | - Since: 1.3.0
93 | */
94 | public var urlSessionConfiguration: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
95 | get {
96 | // swiftlint:disable:next force_cast
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:165:38: error: cannot find type 'URLSessionDataDelegate' in scope
163 |
164 | // MARK: EventSourceDelegate
165 | class EventSourceDelegate: NSObject, URLSessionDataDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
166 | private let delegateQueue: DispatchQueue = DispatchQueue(label: "ESDelegateQueue")
167 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:181:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 | private let eventParser: EventParser
180 | private let reconnectionTimer: ReconnectionTimer
181 | private var urlSession: URLSession?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
182 | private var sessionTask: URLSessionDataTask?
183 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:182:30: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 | private let reconnectionTimer: ReconnectionTimer
181 | private var urlSession: URLSession?
182 | private var sessionTask: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |
184 | init(config: EventSource.Config) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:231:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 | func getLastEventId() -> String { eventParser.getLastEventId() }
230 |
231 | func createSession() -> URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
232 | let opQueue = OperationQueue()
233 | opQueue.underlyingQueue = self.delegateQueue
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:237:29: error: cannot find type 'URLRequest' in scope
235 | }
236 |
237 | func createRequest() -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
238 | var urlRequest = URLRequest(url: self.config.url,
239 | cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:270:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
268 |
269 | // Tells the delegate that the task finished transferring data.
270 | public func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
271 | task: URLSessionTask,
272 | didCompleteWithError error: Error?) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:271:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 | // Tells the delegate that the task finished transferring data.
270 | public func urlSession(_ session: URLSession,
271 | task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
272 | didCompleteWithError error: Error?) {
273 | utf8LineParser.closeAndReset()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:312:69: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
310 | dataTask: URLSessionDataTask,
311 | didReceive response: URLResponse,
312 | completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
313 | logger.log(.debug, "Initial reply received")
314 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:309:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
307 |
308 | // Tells the delegate that the data task received the initial reply (headers) from the server.
309 | public func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 | dataTask: URLSessionDataTask,
311 | didReceive response: URLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:310:38: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 | // Tells the delegate that the data task received the initial reply (headers) from the server.
309 | public func urlSession(_ session: URLSession,
310 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 | didReceive response: URLResponse,
312 | completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:311:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
309 | public func urlSession(_ session: URLSession,
310 | dataTask: URLSessionDataTask,
311 | didReceive response: URLResponse,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
312 | completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
313 | logger.log(.debug, "Initial reply received")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 | }
339 |
340 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 | utf8LineParser.append(data).forEach(eventParser.parse)
342 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 | }
339 |
340 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 | utf8LineParser.append(data).forEach(eventParser.parse)
342 | }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:97:62: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
95 | get {
96 | // swiftlint:disable:next force_cast
97 | let sessionConfig = _urlSessionConfiguration.copy() as! URLSessionConfiguration
| `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
98 | sessionConfig.httpAdditionalHeaders = ["Accept": "text/event-stream", "Cache-Control": "no-cache"]
99 | sessionConfig.timeoutIntervalForRequest = idleTimeout
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:103:73: error: cannot infer contextual base in reference to member 'TLSv12'
101 | #if !os(Linux) && !os(Windows)
102 | if #available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *) {
103 | sessionConfig.tlsMinimumSupportedProtocolVersion = .TLSv12
| `- error: cannot infer contextual base in reference to member 'TLSv12'
104 | } else {
105 | sessionConfig.tlsMinimumSupportedProtocol = .tlsProtocol12
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:105:66: error: cannot infer contextual base in reference to member 'tlsProtocol12'
103 | sessionConfig.tlsMinimumSupportedProtocolVersion = .TLSv12
104 | } else {
105 | sessionConfig.tlsMinimumSupportedProtocol = .tlsProtocol12
| `- error: cannot infer contextual base in reference to member 'tlsProtocol12'
106 | }
107 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:112:53: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
110 | set {
111 | // swiftlint:disable:next force_cast
112 | _urlSessionConfiguration = newValue.copy() as! URLSessionConfiguration
| `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
113 | }
114 | }
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:220:31: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
218 | let previousState = self.readyState
219 | self.readyState = .shutdown
220 | self.sessionTask?.cancel()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
221 | if previousState == .open {
222 | self.config.handler.onClosed()
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:234:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
232 | let opQueue = OperationQueue()
233 | opQueue.underlyingQueue = self.delegateQueue
234 | return URLSession(configuration: config.urlSessionConfiguration, delegate: self, delegateQueue: opQueue)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
235 | }
236 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:238:26: error: cannot find 'URLRequest' in scope
236 |
237 | func createRequest() -> URLRequest {
238 | var urlRequest = URLRequest(url: self.config.url,
| `- error: cannot find 'URLRequest' in scope
239 | cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
240 | timeoutInterval: self.config.idleTimeout)
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:239:50: error: cannot find 'URLRequest' in scope
237 | func createRequest() -> URLRequest {
238 | var urlRequest = URLRequest(url: self.config.url,
239 | cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
| `- error: cannot find 'URLRequest' in scope
240 | timeoutInterval: self.config.idleTimeout)
241 | urlRequest.httpMethod = self.config.method
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:254:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
252 | private func connect() {
253 | logger.log(.info, "Starting EventSource client")
254 | let task = urlSession?.dataTask(with: createRequest())
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
255 | task?.resume()
256 | sessionTask = task
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:317:32: error: cannot infer contextual base in reference to member 'cancel'
315 | guard readyState != .shutdown
316 | else {
317 | completionHandler(.cancel)
| `- error: cannot infer contextual base in reference to member 'cancel'
318 | return
319 | }
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:322:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
320 |
321 | // swiftlint:disable:next force_cast
322 | let httpResponse = response as! HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
323 | let statusCode = httpResponse.statusCode
324 | if (200..<300).contains(statusCode) && statusCode != 204 {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:323:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
321 | // swiftlint:disable:next force_cast
322 | let httpResponse = response as! HTTPURLResponse
323 | let statusCode = httpResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
324 | if (200..<300).contains(statusCode) && statusCode != 204 {
325 | reconnectionTimer.connectedTime = Date()
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:328:32: error: cannot infer contextual base in reference to member 'allow'
326 | readyState = .open
327 | config.handler.onOpened()
328 | completionHandler(.allow)
| `- error: cannot infer contextual base in reference to member 'allow'
329 | } else {
330 | // this formatting shenanigans is to workaround String not implementing CVarArg on Swift<5.4 on Linux
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:336:32: error: cannot infer contextual base in reference to member 'cancel'
334 | readyState = .shutdown
335 | }
336 | completionHandler(.cancel)
| `- error: cannot infer contextual base in reference to member 'cancel'
337 | }
338 | }
[17/132] Compiling JSONSafeEncoding JSONValue.swift
[18/132] Compiling CioLiveActivities_Attributes CioLiveActivityWidgetUrl.swift
[19/132] Compiling CioLiveActivities_Attributes CIOCustomAttributes.swift
[20/132] Compiling CioLiveActivities_Attributes CIOLiveActivityMetadata.swift
[21/132] Compiling CioLiveActivities_Attributes EpochSecondsDate.swift
[22/132] Emitting module CioLiveActivities_Attributes
[23/133] 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.
[24/133] 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.
[25/133] 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.
[26/133] 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.
[27/133] 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.
[28/133] 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.
[29/133] 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.
[30/133] 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.
[31/133] 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.
[32/133] 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.
[33/133] 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.
[34/133] 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.
[35/133] 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.
[36/138] Compiling LDSwiftEventSource EventParser.swift
[37/146] Compiling LDSwiftEventSource UTF8LineParser.swift
[38/146] Compiling LDSwiftEventSource Types.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/146] Emitting module LDSwiftEventSource
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:47: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 | public var idleTimeout: TimeInterval = 300.0
81 |
82 | private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
83 | /**
84 | The `URLSessionConfiguration` used to create the `URLSession`.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:97: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
80 | public var idleTimeout: TimeInterval = 300.0
81 |
82 | private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
83 | /**
84 | The `URLSessionConfiguration` used to create the `URLSession`.
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:94:45: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
92 | - Since: 1.3.0
93 | */
94 | public var urlSessionConfiguration: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
95 | get {
96 | // swiftlint:disable:next force_cast
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:165:38: error: cannot find type 'URLSessionDataDelegate' in scope
163 |
164 | // MARK: EventSourceDelegate
165 | class EventSourceDelegate: NSObject, URLSessionDataDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
166 | private let delegateQueue: DispatchQueue = DispatchQueue(label: "ESDelegateQueue")
167 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:181:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 | private let eventParser: EventParser
180 | private let reconnectionTimer: ReconnectionTimer
181 | private var urlSession: URLSession?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
182 | private var sessionTask: URLSessionDataTask?
183 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:182:30: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 | private let reconnectionTimer: ReconnectionTimer
181 | private var urlSession: URLSession?
182 | private var sessionTask: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |
184 | init(config: EventSource.Config) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:231:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 | func getLastEventId() -> String { eventParser.getLastEventId() }
230 |
231 | func createSession() -> URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
232 | let opQueue = OperationQueue()
233 | opQueue.underlyingQueue = self.delegateQueue
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:237:29: error: cannot find type 'URLRequest' in scope
235 | }
236 |
237 | func createRequest() -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
238 | var urlRequest = URLRequest(url: self.config.url,
239 | cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:270:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
268 |
269 | // Tells the delegate that the task finished transferring data.
270 | public func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
271 | task: URLSessionTask,
272 | didCompleteWithError error: Error?) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:271:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 | // Tells the delegate that the task finished transferring data.
270 | public func urlSession(_ session: URLSession,
271 | task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
272 | didCompleteWithError error: Error?) {
273 | utf8LineParser.closeAndReset()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:312:69: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
310 | dataTask: URLSessionDataTask,
311 | didReceive response: URLResponse,
312 | completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
313 | logger.log(.debug, "Initial reply received")
314 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:309:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
307 |
308 | // Tells the delegate that the data task received the initial reply (headers) from the server.
309 | public func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 | dataTask: URLSessionDataTask,
311 | didReceive response: URLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:310:38: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 | // Tells the delegate that the data task received the initial reply (headers) from the server.
309 | public func urlSession(_ session: URLSession,
310 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 | didReceive response: URLResponse,
312 | completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:311:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
309 | public func urlSession(_ session: URLSession,
310 | dataTask: URLSessionDataTask,
311 | didReceive response: URLResponse,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
312 | completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
313 | logger.log(.debug, "Initial reply received")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 | }
339 |
340 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 | utf8LineParser.append(data).forEach(eventParser.parse)
342 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 | }
339 |
340 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 | utf8LineParser.append(data).forEach(eventParser.parse)
342 | }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
[40/146] Compiling LDSwiftEventSource Logs.swift
[42/146] Emitting module JSONSafeEncoding
[43/146] 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.
[44/146] 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.
BUILD FAILURE 6.1 android