Build Information
Failed to build FlagsmithOpenFeatureProvider, reference v0.2.0 (1b5cec), with Swift 6.4 for Wasm on 28 Sep 2026 02:16:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Flagsmith/flagsmith-openfeature-swift-provider.git
Reference: v0.2.0
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/Flagsmith/flagsmith-openfeature-swift-provider
* tag v0.2.0 -> FETCH_HEAD
HEAD is now at 1b5cec0 chore(main): release 0.2.0 (#2)
Cloned https://github.com/Flagsmith/flagsmith-openfeature-swift-provider.git
Revision (git rev-parse @):
1b5cec0c1041c55cace705bbc7bfdd27928a3cd1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Flagsmith/flagsmith-openfeature-swift-provider.git at v0.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/Flagsmith/flagsmith-openfeature-swift-provider.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swhitty/FlyingFox.git
Fetching https://github.com/open-feature/swift-sdk.git
Fetching https://github.com/Flagsmith/flagsmith-ios-client.git
[1/1867] Fetching flagsmith-ios-client
[20/3744] Fetching flagsmith-ios-client, swift-sdk
[3708/11909] Fetching flagsmith-ios-client, swift-sdk, swift-log
[11873/18331] Fetching flagsmith-ios-client, swift-sdk, swift-log, flyingfox
Fetched https://github.com/Flagsmith/flagsmith-ios-client.git (1.07s)
Fetched https://github.com/open-feature/swift-sdk.git (1.07s)
Fetched https://github.com/swhitty/FlyingFox.git (1.07s)
Fetched https://github.com/apple/swift-log.git (1.07s)
Computing version for https://github.com/swhitty/FlyingFox.git
Computed https://github.com/swhitty/FlyingFox.git at 0.27.1 (1.26s)
Computing version for https://github.com/Flagsmith/flagsmith-ios-client.git
Computed https://github.com/Flagsmith/flagsmith-ios-client.git at 3.10.0 (0.14s)
Computing version for https://github.com/open-feature/swift-sdk.git
Computed https://github.com/open-feature/swift-sdk.git at 0.6.0 (1.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.19s)
Creating working copy for https://github.com/open-feature/swift-sdk.git
Working copy of https://github.com/open-feature/swift-sdk.git resolved at 0.6.0
Creating working copy for https://github.com/Flagsmith/flagsmith-ios-client.git
Working copy of https://github.com/Flagsmith/flagsmith-ios-client.git resolved at 3.10.0
Creating working copy for https://github.com/swhitty/FlyingFox.git
Working copy of https://github.com/swhitty/FlyingFox.git resolved at 0.27.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[54 / 99] FlagsmithClient
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Flagsmith.swift:568:35: [1;31merror: [1;39mtype 'URLCache' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m566 |[0;0m public final class CacheConfig {
[0;36m567 |[0;0m /// Cache to use when enabled, defaults to the shared app cache
[0;36m568 |[0;0m public var cache: URLCache = [4;39m.shared[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLCache' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m569 |[0;0m
[0;36m570 |[0;0m /// Use cached flags as a fallback?
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Flagsmith.swift:568:35: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m566 |[0;0m public final class CacheConfig {
[0;36m567 |[0;0m /// Cache to use when enabled, defaults to the shared app cache
[0;36m568 |[0;0m public var cache: URLCache = .shared
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m569 |[0;0m
[0;36m570 |[0;0m /// Use cached flags as a fallback?
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Flagsmith.swift:270:47: [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m268 |[0;0m }
[0;36m269 |[0;0m
[0;36m270 |[0;0m private func isCacheValid(cachedResponse: [4;39mCachedURLResponse[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m271 |[0;0m guard let httpResponse = cachedResponse.response as? HTTPURLResponse else { return false }
[0;36m272 |[0;0m
Foundation.CachedURLResponse:2:18: [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias CachedURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Flagsmith.swift:336:1: [1;31merror: [1;39mnon-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m334 |[0;0m // MARK: - HTTPURLResponse Extensions
[0;36m335 |[0;0m
[0;36m336 |[0;0m extension [4;39mHTTPURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m337 |[0;0m static let dateFormatter: DateFormatter = {
[0;36m338 |[0;0m let formatter = DateFormatter()
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:14:35: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m /// Handles interaction with a **Flagsmith** api.
[0;36m14 |[0;0m final class APIManager: NSObject, [4;39mURLSessionDataDelegate[0;0m, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m15 |[0;0m private var _session: URLSession!
[0;36m16 |[0;0m private var session: URLSession {
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:15:27: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m /// Handles interaction with a **Flagsmith** api.
[0;36m14 |[0;0m final class APIManager: NSObject, URLSessionDataDelegate, @unchecked Sendable {
[0;36m15 |[0;0m private var _session: [4;39mURLSession[0;0m!
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m private var session: URLSession {
[0;36m17 |[0;0m get {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:16:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m final class APIManager: NSObject, URLSessionDataDelegate, @unchecked Sendable {
[0;36m15 |[0;0m private var _session: URLSession!
[0;36m16 |[0;0m private var session: [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m get {
[0;36m18 |[0;0m propertiesSerialAccessQueue.sync { _session }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:68:37: [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m66 |[0;0m private var tasksToCompletionHandlers: [Int: @Sendable (Result<Data, any Error>) -> Void] = [:]
[0;36m67 |[0;0m private var tasksToData: [Int: Data] = [:]
[0;36m68 |[0;0m private let serialAccessQueue = [4;39mDispatchQueue[0;0m(label: "flagsmithSerialAccessQueue", qos: .default)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m69 |[0;0m let propertiesSerialAccessQueue = DispatchQueue(label: "propertiesSerialAccessQueue", qos: .default)
[0;36m70 |[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:69:39: [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m67 |[0;0m private var tasksToData: [Int: Data] = [:]
[0;36m68 |[0;0m private let serialAccessQueue = DispatchQueue(label: "flagsmithSerialAccessQueue", qos: .default)
[0;36m69 |[0;0m let propertiesSerialAccessQueue = [4;39mDispatchQueue[0;0m(label: "propertiesSerialAccessQueue", qos: .default)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m70 |[0;0m
[0;36m71 |[0;0m override init() {
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:79:24: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m77 |[0;0m }
[0;36m78 |[0;0m
[0;36m79 |[0;0m func urlSession(_: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m80 |[0;0m serialAccessQueue.sync {
[0;36m81 |[0;0m if let dataTask = task as? URLSessionDataTask {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:79:42: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m77 |[0;0m }
[0;36m78 |[0;0m
[0;36m79 |[0;0m func urlSession(_: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: (any Error)?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m80 |[0;0m serialAccessQueue.sync {
[0;36m81 |[0;0m if let dataTask = task as? URLSessionDataTask {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:96:24: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m94 |[0;0m }
[0;36m95 |[0;0m
[0;36m96 |[0;0m func urlSession(_: [4;39mURLSession[0;0m, dataTask _: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m97 |[0;0m completionHandler: @Sendable @escaping (CachedURLResponse?) -> Void)
[0;36m98 |[0;0m {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:96:48: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m94 |[0;0m }
[0;36m95 |[0;0m
[0;36m96 |[0;0m func urlSession(_: URLSession, dataTask _: [4;39mURLSessionDataTask[0;0m, willCacheResponse proposedResponse: CachedURLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m97 |[0;0m completionHandler: @Sendable @escaping (CachedURLResponse?) -> Void)
[0;36m98 |[0;0m {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:96:104: [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m94 |[0;0m }
[0;36m95 |[0;0m
[0;36m96 |[0;0m func urlSession(_: URLSession, dataTask _: URLSessionDataTask, willCacheResponse proposedResponse: [4;39mCachedURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m97 |[0;0m completionHandler: @Sendable @escaping (CachedURLResponse?) -> Void)
[0;36m98 |[0;0m {
Foundation.CachedURLResponse:2:18: [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias CachedURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:97:61: [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m95 |[0;0m
[0;36m96 |[0;0m func urlSession(_: URLSession, dataTask _: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse,
[0;36m97 |[0;0m completionHandler: @Sendable @escaping ([4;39mCachedURLResponse[0;0m?) -> Void)
[0;36m|[0;0m `- [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m98 |[0;0m {
[0;36m99 |[0;0m serialAccessQueue.sync {
Foundation.CachedURLResponse:2:18: [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias CachedURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:111:24: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m109 |[0;0m }
[0;36m110 |[0;0m
[0;36m111 |[0;0m func urlSession(_: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m112 |[0;0m serialAccessQueue.sync {
[0;36m113 |[0;0m var existingData = tasksToData[dataTask.taskIdentifier] ?? Data()
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:111:46: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m109 |[0;0m }
[0;36m110 |[0;0m
[0;36m111 |[0;0m func urlSession(_: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m112 |[0;0m serialAccessQueue.sync {
[0;36m113 |[0;0m var existingData = tasksToData[dataTask.taskIdentifier] ?? Data()
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:120:62: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m118 |[0;0m
[0;36m119 |[0;0m func urlSession(_: URLSession, dataTask _: URLSessionDataTask, didReceive _: URLResponse,
[0;36m120 |[0;0m completionHandler: @escaping ([4;39mURLSession[0;0m.ResponseDisposition) -> Void)
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m121 |[0;0m {
[0;36m122 |[0;0m completionHandler(.allow)
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:119:24: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m117 |[0;0m }
[0;36m118 |[0;0m
[0;36m119 |[0;0m func urlSession(_: [4;39mURLSession[0;0m, dataTask _: URLSessionDataTask, didReceive _: URLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m120 |[0;0m completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
[0;36m121 |[0;0m {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:119:48: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m117 |[0;0m }
[0;36m118 |[0;0m
[0;36m119 |[0;0m func urlSession(_: URLSession, dataTask _: [4;39mURLSessionDataTask[0;0m, didReceive _: URLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m120 |[0;0m completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
[0;36m121 |[0;0m {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:119:82: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m117 |[0;0m }
[0;36m118 |[0;0m
[0;36m119 |[0;0m func urlSession(_: URLSession, dataTask _: URLSessionDataTask, didReceive _: [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m120 |[0;0m completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
[0;36m121 |[0;0m {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift:255:58: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m253 |[0;0m }
[0;36m254 |[0;0m
[0;36m255 |[0;0m private func updateLastUpdatedFromRequest(_ request: [4;39mURLRequest[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m256 |[0;0m // Extract the lastUpdatedAt from the updatedAt header
[0;36m257 |[0;0m if let lastUpdatedAt = request.allHTTPHeaderFields?["x-flagsmith-document-updated-at"] {
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/CachedURLResponse.swift:13:1: [1;31merror: [1;39mnon-nominal type 'CachedURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m11 |[0;0m #endif
[0;36m12 |[0;0m
[0;36m13 |[0;0m extension [4;39mCachedURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'CachedURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m14 |[0;0m func response(withExpirationDuration duration: Int) -> CachedURLResponse {
[0;36m15 |[0;0m var cachedResponse = self
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/Router.swift:88:72: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m86 |[0;0m func request(baseUrl: URL,
[0;36m87 |[0;0m apiKey: String,
[0;36m88 |[0;0m using encoder: JSONEncoder = JSONEncoder()) throws -> [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m89 |[0;0m {
[0;36m90 |[0;0m let urlString = baseUrl.appendingPathComponent(path).absoluteString
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/SSEManager.swift:16:35: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m14 |[0;0m /// It manages the connection to the SSE endpoint, processes incoming events,
[0;36m15 |[0;0m /// and handles reconnection logic with a backoff strategy.
[0;36m16 |[0;0m final class SSEManager: NSObject, [4;39mURLSessionDataDelegate[0;0m, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m17 |[0;0m private var _session: URLSession!
[0;36m18 |[0;0m private var session: URLSession {
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/SSEManager.swift:17:27: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m /// and handles reconnection logic with a backoff strategy.
[0;36m16 |[0;0m final class SSEManager: NSObject, URLSessionDataDelegate, @unchecked Sendable {
[0;36m17 |[0;0m private var _session: [4;39mURLSession[0;0m!
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m private var session: URLSession {
[0;36m19 |[0;0m get {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/SSEManager.swift:18:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m final class SSEManager: NSObject, URLSessionDataDelegate, @unchecked Sendable {
[0;36m17 |[0;0m private var _session: URLSession!
[0;36m18 |[0;0m private var session: [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m get {
[0;36m20 |[0;0m propertiesSerialAccessQueue.sync { _session }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/SSEManager.swift:29:28: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m27 |[0;0m }
[0;36m28 |[0;0m
[0;36m29 |[0;0m private var _dataTask: [4;39mURLSessionDataTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m private var dataTask: URLSessionDataTask? {
[0;36m31 |[0;0m get {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/SSEManager.swift:30:27: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m private var _dataTask: URLSessionDataTask?
[0;36m30 |[0;0m private var dataTask: [4;39mURLSessionDataTask[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m get {
[0;36m32 |[0;0m propertiesSerialAccessQueue.sync { _dataTask }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/SSEManager.swift:72:37: [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m70 |[0;0m
[0;36m71 |[0;0m private var completionHandler: CompletionHandler<FlagEvent>?
[0;36m72 |[0;0m private let serialAccessQueue = [4;39mDispatchQueue[0;0m(label: "sseFlagsmithSerialAccessQueue", qos: .default)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m73 |[0;0m let propertiesSerialAccessQueue = DispatchQueue(label: "ssePropertiesSerialAccessQueue", qos: .default)
[0;36m74 |[0;0m private let reconnectionDelay = ReconnectionDelay()
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/SSEManager.swift:73:39: [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m71 |[0;0m private var completionHandler: CompletionHandler<FlagEvent>?
[0;36m72 |[0;0m private let serialAccessQueue = DispatchQueue(label: "sseFlagsmithSerialAccessQueue", qos: .default)
[0;36m73 |[0;0m let propertiesSerialAccessQueue = [4;39mDispatchQueue[0;0m(label: "ssePropertiesSerialAccessQueue", qos: .default)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m74 |[0;0m private let reconnectionDelay = ReconnectionDelay()
[0;36m75 |[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/SSEManager.swift:105:24: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m103 |[0;0m // MARK: URLSessionDelegate
[0;36m104 |[0;0m
[0;36m105 |[0;0m func urlSession(_: [4;39mURLSession[0;0m, dataTask _: URLSessionDataTask, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m106 |[0;0m serialAccessQueue.sync {
[0;36m107 |[0;0m if let message = String(data: data, encoding: .utf8) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/SSEManager.swift:105:48: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m103 |[0;0m // MARK: URLSessionDelegate
[0;36m104 |[0;0m
[0;36m105 |[0;0m func urlSession(_: URLSession, dataTask _: [4;39mURLSessionDataTask[0;0m, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m106 |[0;0m serialAccessQueue.sync {
[0;36m107 |[0;0m if let message = String(data: data, encoding: .utf8) {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/SSEManager.swift:114:24: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m112 |[0;0m }
[0;36m113 |[0;0m
[0;36m114 |[0;0m func urlSession(_: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m115 |[0;0m serialAccessQueue.sync {
[0;36m116 |[0;0m if task != dataTask {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/SSEManager.swift:114:42: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m112 |[0;0m }
[0;36m113 |[0;0m
[0;36m114 |[0;0m func urlSession(_: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: (any Error)?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m115 |[0;0m serialAccessQueue.sync {
[0;36m116 |[0;0m if task != dataTask {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlagsmithClient.build/Debug-webassembly-wasm32/FlagsmithClient-t.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Feature.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Flag.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/FlagEvent.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Flagsmith+Concurrency.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Flagsmith.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/FlagsmithError.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Identity.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/APIManager.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/CachedURLResponse.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/FlagsmithAnalytics.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/ReconnectionDelay.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/Router.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Internal/SSEManager.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Trait.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/Traits.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/TypedValue.swift /host/spi-builder-workspace/.build/checkouts/flagsmith-ios-client/FlagsmithClient/Classes/UnknownTypeValue.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency\=complete -enable-upcoming-feature ExistentialAny -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FlagsmithClient.build/Debug-webassembly-wasm32/FlagsmithClient-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FlagsmithClient.build/Debug-webassembly-wasm32/FlagsmithClient-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FlagsmithClient.build/Debug-webassembly-wasm32/FlagsmithClient-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name FlagsmithClient -package-name flagsmith_ios_client -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlagsmithClient.build/Debug-webassembly-wasm32/FlagsmithClient-t.build/Objects-normal/wasm32/FlagsmithClient_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlagsmithClient.build/Debug-webassembly-wasm32/FlagsmithClient-t.build/Objects-normal/wasm32/Modules/FlagsmithClient.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlagsmithClient.build/Debug-webassembly-wasm32/FlagsmithClient-t.build/Objects-normal/wasm32/Modules/FlagsmithClient.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlagsmithClient.build/Debug-webassembly-wasm32/FlagsmithClient-t.build/Objects-normal/wasm32/FlagsmithClient-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlagsmithClient.build/Debug-webassembly-wasm32/FlagsmithClient-t.build/Objects-normal/wasm32/FlagsmithClient-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlagsmithClient.build/Debug-webassembly-wasm32/FlagsmithClient-t.build/Objects-normal/wasm32/FlagsmithClient-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlagsmithClient.build/Debug-webassembly-wasm32/FlagsmithClient-t.build/Objects-normal/wasm32/Modules/FlagsmithClient.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm