Build Information
Failed to build LaunchDarkly, reference v9 (082430
), with Swift 6.1 for Android on 30 May 2025 21:30:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/launchdarkly/ios-client-sdk.git
Reference: v9
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/launchdarkly/ios-client-sdk
* branch v9 -> FETCH_HEAD
* [new branch] v9 -> origin/v9
HEAD is now at 082430f chore(v9): release 9.13.0 (#436)
Cloned https://github.com/launchdarkly/ios-client-sdk.git
Revision (git rev-parse @):
082430ff008d76d503327c52b27e3b2af99c3ef2
SUCCESS checkout https://github.com/launchdarkly/ios-client-sdk.git at v9
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/launchdarkly/ios-client-sdk.git
https://github.com/launchdarkly/ios-client-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "ohhttpstubs",
"requirement" : {
"exact" : [
"9.1.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/AliSoftware/OHHTTPStubs.git"
},
{
"identity" : "quick",
"requirement" : {
"exact" : [
"4.0.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"exact" : [
"9.2.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
},
{
"identity" : "cwlpreconditiontesting",
"requirement" : {
"exact" : [
"2.1.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattgallagher/CwlPreconditionTesting"
},
{
"identity" : "swift-eventsource",
"requirement" : {
"exact" : [
"3.3.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/LaunchDarkly/swift-eventsource.git"
},
{
"identity" : "datacompression",
"requirement" : {
"exact" : [
"3.8.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/mw99/DataCompression"
}
],
"manifest_display_name" : "LaunchDarkly",
"name" : "LaunchDarkly",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "LaunchDarkly",
"targets" : [
"LaunchDarkly"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "LaunchDarklyTests",
"module_type" : "SwiftTarget",
"name" : "LaunchDarklyTests",
"path" : "LaunchDarkly",
"product_dependencies" : [
"OHHTTPStubsSwift",
"Quick",
"CwlPreconditionTesting",
"Nimble"
],
"sources" : [
"GeneratedCode/mocks.generated.swift",
"LaunchDarklyTests/Extensions/ThreadSpec.swift",
"LaunchDarklyTests/LDClientHookSpec.swift",
"LaunchDarklyTests/LDClientSpec.swift",
"LaunchDarklyTests/LDValueDecoderSpec.swift",
"LaunchDarklyTests/Mocks/ClientServiceMockFactory.swift",
"LaunchDarklyTests/Mocks/DarklyServiceMock.swift",
"LaunchDarklyTests/Mocks/EnvironmentReportingMock.swift",
"LaunchDarklyTests/Mocks/FlagMaintainingMock.swift",
"LaunchDarklyTests/Mocks/LDConfigStub.swift",
"LaunchDarklyTests/Mocks/LDContextStub.swift",
"LaunchDarklyTests/Mocks/LDEventSourceMock.swift",
"LaunchDarklyTests/Models/Context/KindSpec.swift",
"LaunchDarklyTests/Models/Context/LDContextCodableSpec.swift",
"LaunchDarklyTests/Models/Context/LDContextSpec.swift",
"LaunchDarklyTests/Models/Context/ModifierSpec.swift",
"LaunchDarklyTests/Models/Context/ReferenceSpec.swift",
"LaunchDarklyTests/Models/DiagnosticEventSpec.swift",
"LaunchDarklyTests/Models/EventSpec.swift",
"LaunchDarklyTests/Models/FeatureFlag/FeatureFlagSpec.swift",
"LaunchDarklyTests/Models/FeatureFlag/FlagChange/FlagChangeObserverSpec.swift",
"LaunchDarklyTests/Models/FeatureFlag/FlagRequestTracking/FlagCounterSpec.swift",
"LaunchDarklyTests/Models/FeatureFlag/FlagRequestTracking/FlagRequestTrackerSpec.swift",
"LaunchDarklyTests/Models/LDConfigSpec.swift",
"LaunchDarklyTests/Networking/DarklyServiceSpec.swift",
"LaunchDarklyTests/Networking/HTTPHeadersSpec.swift",
"LaunchDarklyTests/Networking/HTTPURLResponse.swift",
"LaunchDarklyTests/Networking/URLRequestSpec.swift",
"LaunchDarklyTests/ServiceObjects/Cache/CacheConverterSpec.swift",
"LaunchDarklyTests/ServiceObjects/Cache/DiagnosticCacheSpec.swift",
"LaunchDarklyTests/ServiceObjects/Cache/FeatureFlagCacheSpec.swift",
"LaunchDarklyTests/ServiceObjects/DiagnosticReporterSpec.swift",
"LaunchDarklyTests/ServiceObjects/EnvironmentReporting/ApplicationInfoEnvironmentReporterSpec.swift",
"LaunchDarklyTests/ServiceObjects/EnvironmentReporting/EnvironmentReporterChainBaseSpec.swift",
"LaunchDarklyTests/ServiceObjects/EnvironmentReporting/IOSEnvironmentReporterSpec.swift",
"LaunchDarklyTests/ServiceObjects/EnvironmentReporting/SDKEnvironmentReporterSpec.swift",
"LaunchDarklyTests/ServiceObjects/EnvironmentReporting/WatchOSEnvironmentReporterSpec.swift",
"LaunchDarklyTests/ServiceObjects/EventReporterSpec.swift",
"LaunchDarklyTests/ServiceObjects/FlagChangeNotifierSpec.swift",
"LaunchDarklyTests/ServiceObjects/FlagStoreSpec.swift",
"LaunchDarklyTests/ServiceObjects/FlagSynchronizerSpec.swift",
"LaunchDarklyTests/ServiceObjects/LDTimerSpec.swift",
"LaunchDarklyTests/ServiceObjects/SheddingQueueSpec.swift",
"LaunchDarklyTests/ServiceObjects/SynchronizingErrorSpec.swift",
"LaunchDarklyTests/ServiceObjects/ThrottlerSpec.swift",
"LaunchDarklyTests/TestContext.swift",
"LaunchDarklyTests/TestUtil.swift",
"LaunchDarklyTests/UtilSpec.swift"
],
"target_dependencies" : [
"LaunchDarkly"
],
"type" : "test"
},
{
"c99name" : "LaunchDarkly",
"module_type" : "SwiftTarget",
"name" : "LaunchDarkly",
"path" : "LaunchDarkly/LaunchDarkly",
"product_dependencies" : [
"LDSwiftEventSource",
"DataCompression"
],
"product_memberships" : [
"LaunchDarkly"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Extensions/Data.swift",
"Extensions/Date.swift",
"Extensions/DateFormatter.swift",
"Extensions/Thread.swift",
"LDClient.swift",
"LDClientVariation.swift",
"LDCommon.swift",
"LDValueDecoder.swift",
"Models/ConnectionInformation.swift",
"Models/Context/Kind.swift",
"Models/Context/LDContext.swift",
"Models/Context/Modifier.swift",
"Models/Context/Reference.swift",
"Models/DiagnosticEvent.swift",
"Models/Event.swift",
"Models/FeatureFlag/FeatureFlag.swift",
"Models/FeatureFlag/FlagChange/ConnectionModeChangeObserver.swift",
"Models/FeatureFlag/FlagChange/FlagChangeObserver.swift",
"Models/FeatureFlag/FlagChange/FlagsUnchangedObserver.swift",
"Models/FeatureFlag/FlagChange/LDChangedFlag.swift",
"Models/FeatureFlag/FlagRequestTracker.swift",
"Models/FeatureFlag/LDEvaluationDetail.swift",
"Models/Hooks/EvaluationSeriesContext.swift",
"Models/Hooks/Hook.swift",
"Models/Hooks/Metadata.swift",
"Models/IdentifyTypes.swift",
"Models/LDConfig.swift",
"Networking/DarklyService.swift",
"Networking/HTTPHeaders.swift",
"Networking/HTTPURLRequest.swift",
"Networking/HTTPURLResponse.swift",
"Networking/URLResponse.swift",
"ObjectiveC/ObjcLDApplicationInfo.swift",
"ObjectiveC/ObjcLDChangedFlag.swift",
"ObjectiveC/ObjcLDClient.swift",
"ObjectiveC/ObjcLDConfig.swift",
"ObjectiveC/ObjcLDContext.swift",
"ObjectiveC/ObjcLDEvaluationDetail.swift",
"ObjectiveC/ObjcLDReference.swift",
"ObjectiveC/ObjcLDValue.swift",
"ServiceObjects/Cache/CacheConverter.swift",
"ServiceObjects/Cache/ConnectionInformationStore.swift",
"ServiceObjects/Cache/DiagnosticCache.swift",
"ServiceObjects/Cache/FeatureFlagCache.swift",
"ServiceObjects/Cache/KeyedValueCache.swift",
"ServiceObjects/ClientServiceFactory.swift",
"ServiceObjects/CwlSysctl.swift",
"ServiceObjects/DiagnosticReporter.swift",
"ServiceObjects/EnvironmentReporter.swift",
"ServiceObjects/EnvironmentReporting/ApplicationInfoEnvironmentReporter.swift",
"ServiceObjects/EnvironmentReporting/EnvironmentReporterBuilder.swift",
"ServiceObjects/EnvironmentReporting/EnvironmentReporterChainBase.swift",
"ServiceObjects/EnvironmentReporting/IOSEnvironmentReporter.swift",
"ServiceObjects/EnvironmentReporting/MacOSEnvironmentReporter.swift",
"ServiceObjects/EnvironmentReporting/ReportingConsts.swift",
"ServiceObjects/EnvironmentReporting/SDKEnvironmentReporter.swift",
"ServiceObjects/EnvironmentReporting/SystemCapabilities.swift",
"ServiceObjects/EnvironmentReporting/TVOSEnvironmentReporter.swift",
"ServiceObjects/EnvironmentReporting/WatchOSEnvironmentReporter.swift",
"ServiceObjects/EventReporter.swift",
"ServiceObjects/FlagChangeNotifier.swift",
"ServiceObjects/FlagStore.swift",
"ServiceObjects/FlagSynchronizer.swift",
"ServiceObjects/LDTimer.swift",
"ServiceObjects/Log.swift",
"ServiceObjects/NetworkReporter.swift",
"ServiceObjects/SheddingQueue.swift",
"ServiceObjects/Throttler.swift",
"Util.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/LaunchDarkly/swift-eventsource.git
Fetching https://github.com/mw99/DataCompression
Fetching https://github.com/mattgallagher/CwlPreconditionTesting
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
[1/194] Fetching datacompression
[23/1451] Fetching datacompression, cwlpreconditiontesting
[93/3024] Fetching datacompression, cwlpreconditiontesting, swift-eventsource
[966/10924] Fetching datacompression, cwlpreconditiontesting, swift-eventsource, ohhttpstubs
[1058/25679] Fetching datacompression, cwlpreconditiontesting, swift-eventsource, ohhttpstubs, quick
[8299/45263] Fetching datacompression, cwlpreconditiontesting, swift-eventsource, ohhttpstubs, quick, nimble
Fetched https://github.com/LaunchDarkly/swift-eventsource.git from cache (0.72s)
[16900/43690] Fetching datacompression, cwlpreconditiontesting, ohhttpstubs, quick, nimble
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (1.10s)
[18361/35790] Fetching datacompression, cwlpreconditiontesting, quick, nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting from cache (1.37s)
Fetched https://github.com/Quick/Quick.git from cache (1.38s)
[3915/19778] Fetching datacompression, nimble
Fetched https://github.com/mw99/DataCompression from cache (2.36s)
Fetched https://github.com/Quick/Nimble.git from cache (2.39s)
Computing version for https://github.com/mw99/DataCompression
Computed https://github.com/mw99/DataCompression at 3.8.0 (3.91s)
Computing version for https://github.com/LaunchDarkly/swift-eventsource.git
Computed https://github.com/LaunchDarkly/swift-eventsource.git at 3.3.0 (0.76s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting
Computed https://github.com/mattgallagher/CwlPreconditionTesting at 2.1.2 (0.58s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.36s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (1.02s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.69s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.59s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.64s)
Creating working copy for https://github.com/mw99/DataCompression
Working copy of https://github.com/mw99/DataCompression resolved at 3.8.0
Creating working copy for https://github.com/LaunchDarkly/swift-eventsource.git
Working copy of https://github.com/LaunchDarkly/swift-eventsource.git resolved at 3.3.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting resolved at 2.1.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Building for debugging...
[0/5] Write sources
[0/5] Copying PrivacyInfo.xcprivacy
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/13] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/13] Emitting module DataCompression
/host/spi-builder-workspace/.build/checkouts/DataCompression/Sources/DataCompression/DataCompression.swift:31:8: error: no such module 'Compression'
29 |
30 | import Foundation
31 | import Compression
| `- error: no such module 'Compression'
32 |
33 | public extension Data
[8/13] Compiling DataCompression DataCompression.swift
/host/spi-builder-workspace/.build/checkouts/DataCompression/Sources/DataCompression/DataCompression.swift:31:8: error: no such module 'Compression'
29 |
30 | import Foundation
31 | import Compression
| `- error: no such module 'Compression'
32 |
33 | public extension Data
[9/13] Compiling LDSwiftEventSource Types.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 71 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/EnvironmentReporting/IOSEnvironmentReporter.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/LDConfig.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Networking/DarklyService.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/LDValueDecoder.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/Cache/FeatureFlagCache.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/SheddingQueue.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/Log.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/Context/Kind.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/DiagnosticReporter.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Extensions/Date.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/LDTimer.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/Hooks/Metadata.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/EnvironmentReporting/EnvironmentReporterChainBase.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/FeatureFlag/FlagChange/FlagsUnchangedObserver.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Networking/HTTPURLRequest.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/ClientServiceFactory.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/FlagSynchronizer.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Util.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/CwlSysctl.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Extensions/Thread.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/EnvironmentReporting/SDKEnvironmentReporter.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/ConnectionInformation.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/PrivacyInfo.xcprivacy
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/EnvironmentReporting/TVOSEnvironmentReporter.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/LDClient.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/Context/LDContext.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ObjectiveC/ObjcLDContext.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ObjectiveC/ObjcLDEvaluationDetail.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/Event.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/LDCommon.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Extensions/Data.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Extensions/DateFormatter.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/FeatureFlag/FlagChange/ConnectionModeChangeObserver.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/Hooks/Hook.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ObjectiveC/ObjcLDApplicationInfo.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/EnvironmentReporting/EnvironmentReporterBuilder.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/Hooks/EvaluationSeriesContext.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/EnvironmentReporter.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/EnvironmentReporting/SystemCapabilities.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/FlagStore.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/Throttler.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/FeatureFlag/FlagRequestTracker.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/FeatureFlag/LDEvaluationDetail.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ObjectiveC/ObjcLDClient.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/EnvironmentReporting/ReportingConsts.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/Context/Modifier.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/Cache/DiagnosticCache.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/EventReporter.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ObjectiveC/ObjcLDConfig.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ObjectiveC/ObjcLDReference.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/EnvironmentReporting/WatchOSEnvironmentReporter.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ObjectiveC/ObjcLDValue.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/FeatureFlag/FlagChange/FlagChangeObserver.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Networking/HTTPHeaders.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Support/Info.plist
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/EnvironmentReporting/ApplicationInfoEnvironmentReporter.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/Context/Reference.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/FlagChangeNotifier.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/FeatureFlag/FlagChange/LDChangedFlag.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/IdentifyTypes.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/LDClientVariation.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/Cache/KeyedValueCache.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/NetworkReporter.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/Cache/ConnectionInformationStore.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Networking/HTTPURLResponse.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/DiagnosticEvent.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/Cache/CacheConverter.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Models/FeatureFlag/FeatureFlag.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ServiceObjects/EnvironmentReporting/MacOSEnvironmentReporter.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/ObjectiveC/ObjcLDChangedFlag.swift
/host/spi-builder-workspace/LaunchDarkly/LaunchDarkly/Networking/URLResponse.swift
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling LDSwiftEventSource Types.swift
[3/9] Compiling LDSwiftEventSource Logs.swift
[4/9] Compiling LDSwiftEventSource UTF8LineParser.swift
[5/9] 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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Compiling LDSwiftEventSource EventParser.swift
[7/9] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/9] Emitting module DataCompression
/host/spi-builder-workspace/.build/checkouts/DataCompression/Sources/DataCompression/DataCompression.swift:31:8: error: no such module 'Compression'
29 |
30 | import Foundation
31 | import Compression
| `- error: no such module 'Compression'
32 |
33 | public extension Data
BUILD FAILURE 6.1 android