Build Information
Successful build of Statsig, reference main (ffe36d), with Swift 6.1 for watchOS using Xcode 16.3 on 18 Apr 2026 22:26:52 UTC.
Swift 6 data race errors: 63
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Statsig -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCapturesBuild Log
static var defaultOptions = StatsigOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigOptions.swift:354:16: note: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
static var defaultOptions = StatsigOptions()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigOptions.swift:354:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var defaultOptions = StatsigOptions()
^
nonisolated(unsafe)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigUser.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigUserCustomTypeConvertible.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/BootstrapMetadata.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/FileStorageAdapter.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/FileStorageAdapter.swift:4:16: warning: static property 'defaultRootDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var defaultRootDirectory = FileManager
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/FileStorageAdapter.swift:4:16: note: convert 'defaultRootDirectory' to a 'let' constant to make 'Sendable' shared state immutable
static var defaultRootDirectory = FileManager
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/FileStorageAdapter.swift:4:16: note: add '@MainActor' to make static property 'defaultRootDirectory' part of global actor 'MainActor'
static var defaultRootDirectory = FileManager
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/FileStorageAdapter.swift:4:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var defaultRootDirectory = FileManager
^
nonisolated(unsafe)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:74:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.cache.saveNetworkFallbackInfo(fallbackInfo)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:74:49: warning: capture of 'fallbackInfo' with non-sendable type 'FallbackInfo?' (aka 'Optional<Dictionary<Endpoint, FallbackInfoEntry>>') in a '@Sendable' closure
self?.cache.saveNetworkFallbackInfo(fallbackInfo)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkFallbackResolver.swift:7:15: note: consider making struct 'FallbackInfoEntry' conform to the 'Sendable' protocol
public struct FallbackInfoEntry {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:114:13: warning: capture of 'completion' with non-sendable type '([String : Any?], EvaluationDetails) -> Void' in a '@Sendable' closure
completion(self.cache.getInitializeResponseValues(), self.cache.getEvaluationDetails())
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:114:13: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(self.cache.getInitializeResponseValues(), self.cache.getEvaluationDetails())
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:114:24: warning: capture of 'self' with non-sendable type 'InternalStore' in a '@Sendable' closure
completion(self.cache.getInitializeResponseValues(), self.cache.getEvaluationDetails())
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:226:16: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
if self?.cache.source == .Loading {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:231:17: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
completion?()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:231:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion?()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:231:17: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
completion?()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:231:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion?()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:252:30: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
guard let self = self else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:254:35: warning: capture of 'values' with non-sendable type '[String : Any]' in a '@Sendable' closure
self.cache.saveValues(values, cacheKey, userHash)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:256:44: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
DispatchQueue.global().async { completion?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:256:44: note: a function type must be marked '@Sendable' to conform to 'Sendable'
DispatchQueue.global().async { completion?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:256:44: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
DispatchQueue.global().async { completion?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:256:44: note: a function type must be marked '@Sendable' to conform to 'Sendable'
DispatchQueue.global().async { completion?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:262:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.cache.updateUser(newUser, values)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:262:45: warning: capture of 'values' with non-sendable type '[String : Any]?' in a '@Sendable' closure
self?.cache.updateUser(newUser, values)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:297:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.gatesKey]?[gateName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:304:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.configsKey]?[configName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:304:85: warning: capture of 'value' with non-sendable type '[String : Any]' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.configsKey]?[configName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:311:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.layerConfigsKey]?[layerName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:311:89: warning: capture of 'value' with non-sendable type '[String : Any]' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.layerConfigsKey]?[layerName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:318:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.paramStoresKey]?[storeName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:318:88: warning: capture of 'value' with non-sendable type '[String : Any]' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.paramStoresKey]?[storeName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:325:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.gatesKey]?.removeValue(forKey: name)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:335:30: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
guard let this = self else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:405:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.cache.removeStickyExperiment(name)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:415:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.cache.saveStickyExperimentIfNeeded(name, config)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:415:60: warning: capture of 'config' with non-sendable type 'any ConfigProtocol' in a '@Sendable' closure
self?.cache.saveStickyExperimentIfNeeded(name, config)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/ConfigProtocol.swift:1:19: note: protocol 'ConfigProtocol' does not conform to the 'Sendable' protocol
internal protocol ConfigProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:440:17: warning: capture of 'cacheByID' with non-sendable type '[String : [String : Any]]' in a '@Sendable' closure
cacheByID,
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:443:17: warning: capture of 'storageService' with non-sendable type 'StorageService' in a '@Sendable' closure
storageService.userPayload.storageAdapter
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift:3:13: note: class 'StorageService' does not conform to the 'Sendable' protocol
final class StorageService {
^
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/SDKConfigs.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal armv7k Compiling ExternalInitializeResponse.swift, FailedLogRequestStore.swift, FeatureGate.swift, Gzip.swift, JsonValue.swift, Layer.swift, NetworkFallbackResolver.swift, NetworkService.swift (in target 'Statsig' from project 'Statsig')
SwiftDriverJobDiscovery normal armv7k Compiling DynamicConfigObjC.swift, FeatureGateObjC.swift, LayerObjC.swift, ParameterStoreObjC.swift, StatsigObjC.swift, StatsigOptionsObjC.swift, StatsigOverridesObjC.swift, StatsigUserObjC.swift (in target 'Statsig' from project 'Statsig')
SwiftDriverJobDiscovery normal armv7k Compiling NetworkMarker.swift, OverallMarker.swift, DynamicConfig.swift, ErrorBoundary.swift, EvaluationDetails.swift, EvaluationResult.swift, Evaluator.swift, Event.swift, EventLogger.swift (in target 'Statsig' from project 'Statsig')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/armv7k-apple-watchos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.swiftmodule (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/armv7k-apple-watchos.swiftmodule
SwiftDriverJobDiscovery normal armv7k Compiling StatsigNetworkMetadataProvider.swift, StatsigOptions.swift, StatsigUser.swift, StatsigUserCustomTypeConvertible.swift, BootstrapMetadata.swift, FileStorageAdapter.swift, InternalStore.swift, SDKConfigs.swift (in target 'Statsig' from project 'Statsig')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/armv7k-apple-watchos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.swiftdoc (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/armv7k-apple-watchos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/armv7k-apple-watchos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.abi.json (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/armv7k-apple-watchos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/Project/armv7k-apple-watchos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.swiftsourceinfo (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/Project/armv7k-apple-watchos.swiftsourceinfo
SwiftCompile normal arm64_32 Compiling\ Data+Statsig.swift,\ DedupeKey.swift,\ DeviceEnvironment.swift,\ CreateCacheMarker.swift,\ Diagnostics.swift,\ DiagnosticsEvent.swift,\ InitializeMarker.swift,\ InitializeStepMarker.swift,\ MarkerBase.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Data+Statsig.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/DedupeKey.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/DeviceEnvironment.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/CreateCacheMarker.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/DiagnosticsEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/InitializeMarker.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/InitializeStepMarker.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/MarkerBase.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Data+Statsig.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/DedupeKey.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/DeviceEnvironment.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/CreateCacheMarker.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:10:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var instance: DiagnosticsImpl?
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:10:24: note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
private static var instance: DiagnosticsImpl?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:10:24: note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
private static var instance: DiagnosticsImpl?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:10:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var instance: DiagnosticsImpl?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:11:24: warning: static property '_sampling' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _sampling = Int.random(in: 1...10000)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:11:24: note: convert '_sampling' to a 'let' constant to make 'Sendable' shared state immutable
private static var _sampling = Int.random(in: 1...10000)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:11:24: note: add '@MainActor' to make static property '_sampling' part of global actor 'MainActor'
private static var _sampling = Int.random(in: 1...10000)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:11:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _sampling = Int.random(in: 1...10000)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:12:24: warning: static property 'disableCoreAPI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var disableCoreAPI = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:12:24: note: convert 'disableCoreAPI' to a 'let' constant to make 'Sendable' shared state immutable
private static var disableCoreAPI = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:12:24: note: add '@MainActor' to make static property 'disableCoreAPI' part of global actor 'MainActor'
private static var disableCoreAPI = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:12:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var disableCoreAPI = false
^
nonisolated(unsafe)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/DiagnosticsEvent.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/InitializeMarker.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/InitializeStepMarker.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/MarkerBase.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ StatsigClient+AppLifecycle.swift,\ StatsigClient.swift,\ StatsigDebugViewController.swift,\ StatsigDynamicConfigValue.swift,\ StatsigEnvironment.swift,\ StatsigError.swift,\ StatsigListening.swift,\ StatsigMetadata.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient+AppLifecycle.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigDebugViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigDynamicConfigValue.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigEnvironment.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigError.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigListening.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigMetadata.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient+AppLifecycle.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient+AppLifecycle.swift:36:30: warning: capture of 'self' with non-sendable type 'StatsigClient?' in a '@Sendable' closure
guard let self = self else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift:3:14: note: class 'StatsigClient' does not conform to the 'Sendable' protocol
public class StatsigClient {
^
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift:217:34: warning: capture of 'self' with non-sendable type 'StatsigClient?' in a '@Sendable' closure
guard let self = self else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift:3:14: note: class 'StatsigClient' does not conform to the 'Sendable' protocol
public class StatsigClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift:975:17: warning: capture of 'self' with non-sendable type 'StatsigClient?' in a '@Sendable' closure
self?.syncValuesForCurrentUser()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift:3:14: note: class 'StatsigClient' does not conform to the 'Sendable' protocol
public class StatsigClient {
^
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigDebugViewController.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigDynamicConfigValue.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigEnvironment.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigError.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigListening.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigMetadata.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal armv7k Compiling OnDeviceEvalAdapter.swift, OverrideAdapter.swift, ParameterStore.swift, PlatformCompatibility.swift, PrintHandler.swift, SDKKeyValidator.swift, SpecsResponse.swift, Statsig.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64 Compiling\ StatsigClient+AppLifecycle.swift,\ StatsigClient.swift,\ StatsigDebugViewController.swift,\ StatsigDynamicConfigValue.swift,\ StatsigEnvironment.swift,\ StatsigError.swift,\ StatsigListening.swift,\ StatsigMetadata.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient+AppLifecycle.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigDebugViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigDynamicConfigValue.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigEnvironment.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigError.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigListening.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigMetadata.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient+AppLifecycle.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient+AppLifecycle.swift:36:30: warning: capture of 'self' with non-sendable type 'StatsigClient?' in a '@Sendable' closure
guard let self = self else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift:3:14: note: class 'StatsigClient' does not conform to the 'Sendable' protocol
public class StatsigClient {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift:217:34: warning: capture of 'self' with non-sendable type 'StatsigClient?' in a '@Sendable' closure
guard let self = self else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift:3:14: note: class 'StatsigClient' does not conform to the 'Sendable' protocol
public class StatsigClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift:975:17: warning: capture of 'self' with non-sendable type 'StatsigClient?' in a '@Sendable' closure
self?.syncValuesForCurrentUser()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigClient.swift:3:14: note: class 'StatsigClient' does not conform to the 'Sendable' protocol
public class StatsigClient {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigDebugViewController.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigDynamicConfigValue.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigEnvironment.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigError.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigListening.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigMetadata.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Emitting module for Statsig (in target 'Statsig' from project 'Statsig')
SwiftDriver\ Compilation\ Requirements Statsig normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name Statsig -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos7.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling StatsigClient+AppLifecycle.swift, StatsigClient.swift, StatsigDebugViewController.swift, StatsigDynamicConfigValue.swift, StatsigEnvironment.swift, StatsigError.swift, StatsigListening.swift, StatsigMetadata.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64_32 Compiling\ OnDeviceEvalAdapter.swift,\ OverrideAdapter.swift,\ ParameterStore.swift,\ PlatformCompatibility.swift,\ PrintHandler.swift,\ SDKKeyValidator.swift,\ SpecsResponse.swift,\ Statsig.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/OverrideAdapter/OnDeviceEvalAdapter.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/OverrideAdapter/OverrideAdapter.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ParameterStore.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/PrintHandler.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/SDKKeyValidator.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/SpecsResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/OverrideAdapter/OnDeviceEvalAdapter.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/OverrideAdapter/OverrideAdapter.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ParameterStore.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/PrintHandler.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PrintHandler.swift:4:24: warning: static property 'printHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var printHandler: ((String) -> Void)?
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PrintHandler.swift:4:24: note: convert 'printHandler' to a 'let' constant to make 'Sendable' shared state immutable
private static var printHandler: ((String) -> Void)?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PrintHandler.swift:4:24: note: add '@MainActor' to make static property 'printHandler' part of global actor 'MainActor'
private static var printHandler: ((String) -> Void)?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PrintHandler.swift:4:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var printHandler: ((String) -> Void)?
^
nonisolated(unsafe)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/SDKKeyValidator.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/SpecsResponse.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:8:25: warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal static var client: StatsigClient?
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:8:25: note: convert 'client' to a 'let' constant to make 'Sendable' shared state immutable
internal static var client: StatsigClient?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:8:25: note: add '@MainActor' to make static property 'client' part of global actor 'MainActor'
internal static var client: StatsigClient?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:8:25: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal static var client: StatsigClient?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:9:25: warning: static property 'pendingListeners' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal static var pendingListeners: [StatsigListening] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:9:25: note: convert 'pendingListeners' to a 'let' constant to make 'Sendable' shared state immutable
internal static var pendingListeners: [StatsigListening] = []
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:9:25: note: add '@MainActor' to make static property 'pendingListeners' part of global actor 'MainActor'
internal static var pendingListeners: [StatsigListening] = []
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:9:25: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal static var pendingListeners: [StatsigListening] = []
^
nonisolated(unsafe)
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/arm64-apple-watchos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.swiftmodule (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/arm64-apple-watchos.swiftmodule
SwiftDriverJobDiscovery normal arm64 Compiling NetworkMarker.swift, OverallMarker.swift, DynamicConfig.swift, ErrorBoundary.swift, EvaluationDetails.swift, EvaluationResult.swift, Evaluator.swift, Event.swift, EventLogger.swift (in target 'Statsig' from project 'Statsig')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/arm64-apple-watchos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.swiftdoc (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/arm64-apple-watchos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/arm64-apple-watchos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.abi.json (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/arm64-apple-watchos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.swiftsourceinfo (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo
SwiftCompile normal arm64_32 Compiling\ ExternalInitializeResponse.swift,\ FailedLogRequestStore.swift,\ FeatureGate.swift,\ Gzip.swift,\ JsonValue.swift,\ Layer.swift,\ NetworkFallbackResolver.swift,\ NetworkService.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ExternalInitializeResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/FailedLogRequestStore.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/FeatureGate.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Gzip.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/JsonValue.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Layer.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkFallbackResolver.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ExternalInitializeResponse.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/FailedLogRequestStore.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/FailedLogRequestStore.swift:103:24: warning: static property 'storesBySDKKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var storesBySDKKey: [String: FailedLogRequestStore] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/FailedLogRequestStore.swift:103:24: note: convert 'storesBySDKKey' to a 'let' constant to make 'Sendable' shared state immutable
private static var storesBySDKKey: [String: FailedLogRequestStore] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/FailedLogRequestStore.swift:103:24: note: add '@MainActor' to make static property 'storesBySDKKey' part of global actor 'MainActor'
private static var storesBySDKKey: [String: FailedLogRequestStore] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/FailedLogRequestStore.swift:103:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var storesBySDKKey: [String: FailedLogRequestStore] = [:]
^
nonisolated(unsafe)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/FeatureGate.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Gzip.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/JsonValue.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Layer.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkFallbackResolver.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkFallbackResolver.swift:41:25: warning: static property 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal static var now: () -> Date = { Date() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkFallbackResolver.swift:41:25: note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
internal static var now: () -> Date = { Date() }
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkFallbackResolver.swift:41:25: note: add '@MainActor' to make static property 'now' part of global actor 'MainActor'
internal static var now: () -> Date = { Date() }
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkFallbackResolver.swift:41:25: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal static var now: () -> Date = { Date() }
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkFallbackResolver.swift:43:25: warning: static property 'fallbackEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal static var fallbackEnabled = DEFAULT_NETWORK_FALLBACK_ENABLED
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkFallbackResolver.swift:43:25: note: convert 'fallbackEnabled' to a 'let' constant to make 'Sendable' shared state immutable
internal static var fallbackEnabled = DEFAULT_NETWORK_FALLBACK_ENABLED
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkFallbackResolver.swift:43:25: note: add '@MainActor' to make static property 'fallbackEnabled' part of global actor 'MainActor'
internal static var fallbackEnabled = DEFAULT_NETWORK_FALLBACK_ENABLED
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkFallbackResolver.swift:43:25: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal static var fallbackEnabled = DEFAULT_NETWORK_FALLBACK_ENABLED
^
nonisolated(unsafe)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:49:25: warning: static property 'defaultInitializationURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal static var defaultInitializationURL = URL(
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:49:25: note: convert 'defaultInitializationURL' to a 'let' constant to make 'Sendable' shared state immutable
internal static var defaultInitializationURL = URL(
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:49:25: note: add '@MainActor' to make static property 'defaultInitializationURL' part of global actor 'MainActor'
internal static var defaultInitializationURL = URL(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:49:25: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal static var defaultInitializationURL = URL(
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:55:25: warning: static property 'defaultEventLoggingURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal static var defaultEventLoggingURL = URL(
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:55:25: note: convert 'defaultEventLoggingURL' to a 'let' constant to make 'Sendable' shared state immutable
internal static var defaultEventLoggingURL = URL(
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:55:25: note: add '@MainActor' to make static property 'defaultEventLoggingURL' part of global actor 'MainActor'
internal static var defaultEventLoggingURL = URL(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:55:25: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal static var defaultEventLoggingURL = URL(
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:61:25: warning: static property 'disableCompression' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal static var disableCompression = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:61:25: note: convert 'disableCompression' to a 'let' constant to make 'Sendable' shared state immutable
internal static var disableCompression = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:61:25: note: add '@MainActor' to make static property 'disableCompression' part of global actor 'MainActor'
internal static var disableCompression = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:61:25: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal static var disableCompression = false
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:195:17: warning: capture of 'done' with non-sendable type '(StatsigClientError?) -> Void' in a '@Sendable' closure
done(StatsigClientError(.initTimeoutExpired))
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:195:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
done(StatsigClientError(.initTimeoutExpired))
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:435:13: warning: capture of 'marker' with non-sendable type 'NetworkMarker?' in a '@Sendable' closure
marker?.end(currentAttempt, responseData, response, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/NetworkMarker.swift:3:7: note: class 'NetworkMarker' does not conform to the 'Sendable' protocol
class NetworkMarker: MarkerBase {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:437:30: warning: capture of 'self' with non-sendable type 'NetworkService?' in a '@Sendable' closure
guard let self = self else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:39:7: note: class 'NetworkService' does not conform to the 'Sendable' protocol
class NetworkService {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:438:17: warning: capture of 'completion' with non-sendable type 'NetworkCompletionHandler' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure
completion(responseData, response, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:438:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(responseData, response, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:462:34: warning: capture of 'taskCapture' with non-sendable type 'TaskCaptureHandler' (aka 'Optional<(URLSessionDataTask) -> ()>') in a '@Sendable' closure
taskCapture: taskCapture
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:462:34: note: a function type must be marked '@Sendable' to conform to 'Sendable'
taskCapture: taskCapture
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:482:37: warning: capture of 'marker' with non-sendable type 'NetworkMarker?' in an isolated closure; this is an error in the Swift 6 language mode
marker: marker,
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/NetworkMarker.swift:3:7: note: class 'NetworkMarker' does not conform to the 'Sendable' protocol
class NetworkMarker: MarkerBase {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:483:41: warning: capture of 'completion' with non-sendable type 'NetworkCompletionHandler' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
completion: completion,
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:483:41: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion: completion,
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:484:42: warning: capture of 'taskCapture' with non-sendable type 'TaskCaptureHandler' (aka 'Optional<(URLSessionDataTask) -> ()>') in an isolated closure; this is an error in the Swift 6 language mode
taskCapture: taskCapture
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkService.swift:484:42: note: a function type must be marked '@Sendable' to conform to 'Sendable'
taskCapture: taskCapture
^
SwiftCompile normal arm64_32 Compiling\ DynamicConfigObjC.swift,\ FeatureGateObjC.swift,\ LayerObjC.swift,\ ParameterStoreObjC.swift,\ StatsigObjC.swift,\ StatsigOptionsObjC.swift,\ StatsigOverridesObjC.swift,\ StatsigUserObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/DynamicConfigObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/FeatureGateObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/LayerObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/ParameterStoreObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigOptionsObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigOverridesObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigUserObjC.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/DynamicConfigObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/FeatureGateObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/LayerObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/ParameterStoreObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigOptionsObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigOverridesObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigUserObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling ExternalInitializeResponse.swift, FailedLogRequestStore.swift, FeatureGate.swift, Gzip.swift, JsonValue.swift, Layer.swift, NetworkFallbackResolver.swift, NetworkService.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64 Compiling\ OnDeviceEvalAdapter.swift,\ OverrideAdapter.swift,\ ParameterStore.swift,\ PlatformCompatibility.swift,\ PrintHandler.swift,\ SDKKeyValidator.swift,\ SpecsResponse.swift,\ Statsig.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/OverrideAdapter/OnDeviceEvalAdapter.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/OverrideAdapter/OverrideAdapter.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ParameterStore.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/PrintHandler.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/SDKKeyValidator.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/SpecsResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/OverrideAdapter/OnDeviceEvalAdapter.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/OverrideAdapter/OverrideAdapter.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ParameterStore.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/PrintHandler.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PrintHandler.swift:4:24: warning: static property 'printHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var printHandler: ((String) -> Void)?
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PrintHandler.swift:4:24: note: convert 'printHandler' to a 'let' constant to make 'Sendable' shared state immutable
private static var printHandler: ((String) -> Void)?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PrintHandler.swift:4:24: note: add '@MainActor' to make static property 'printHandler' part of global actor 'MainActor'
private static var printHandler: ((String) -> Void)?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PrintHandler.swift:4:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var printHandler: ((String) -> Void)?
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/SDKKeyValidator.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/SpecsResponse.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:8:25: warning: static property 'client' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal static var client: StatsigClient?
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:8:25: note: convert 'client' to a 'let' constant to make 'Sendable' shared state immutable
internal static var client: StatsigClient?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:8:25: note: add '@MainActor' to make static property 'client' part of global actor 'MainActor'
internal static var client: StatsigClient?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:8:25: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal static var client: StatsigClient?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:9:25: warning: static property 'pendingListeners' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal static var pendingListeners: [StatsigListening] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:9:25: note: convert 'pendingListeners' to a 'let' constant to make 'Sendable' shared state immutable
internal static var pendingListeners: [StatsigListening] = []
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:9:25: note: add '@MainActor' to make static property 'pendingListeners' part of global actor 'MainActor'
internal static var pendingListeners: [StatsigListening] = []
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Statsig.swift:9:25: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal static var pendingListeners: [StatsigListening] = []
^
nonisolated(unsafe)
SwiftDriverJobDiscovery normal arm64_32 Emitting module for Statsig (in target 'Statsig' from project 'Statsig')
SwiftDriver\ Compilation\ Requirements Statsig normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name Statsig -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos7.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64_32 Compiling FileBasedUserDefaults.swift, StatsigUserDefaults.swift, StorageProviderBasedUserDefaults.swift, UserDefaultsKeys.swift, Threads.swift, Time.swift, URLResponse+Statsig.swift, UserCacheKey.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64 Compiling\ AtomicDictionary.swift,\ BootstrapValidator.swift,\ ClientError.swift,\ Comparison.swift,\ LockedValue.swift,\ ConfigBase.swift,\ ConfigProtocol.swift,\ CryptoSwift.swift,\ DNSQuery.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/BootstrapValidator.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ClientError.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Comparison.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Concurrency/LockedValue.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ConfigBase.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ConfigProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/CryptoSwift.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/DNSQuery.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:38:13: warning: capture of 'self' with non-sendable type 'AtomicDictionary<T>' in a '@Sendable' closure
self.internalDictionary[key] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:7: note: generic class 'AtomicDictionary' does not conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:38:44: warning: capture of 'value' with non-sendable type 'T?' in a '@Sendable' closure
self.internalDictionary[key] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:24: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:49:13: warning: capture of 'self' with non-sendable type 'AtomicDictionary<T>' in a '@Sendable' closure
self.internalDictionary[key] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:7: note: generic class 'AtomicDictionary' does not conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:49:44: warning: capture of 'value' with non-sendable type 'T?' in a '@Sendable' closure
self.internalDictionary[key] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:24: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:53:17: warning: capture of 'completion' with non-sendable type '((Data?) -> Void)?' in a '@Sendable' closure
completion?(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:53:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion?(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:52:41: warning: capture of 'dict' with non-sendable type '[String : T]' in a '@Sendable' closure
let data = dataFromDict(dict)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:24: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:53:17: warning: capture of 'completion' with non-sendable type '((Data?) -> Void)?' in a '@Sendable' closure
completion?(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:53:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion?(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:60:13: warning: capture of 'self' with non-sendable type 'AtomicDictionary<T>' in a '@Sendable' closure
self.internalDictionary.removeValue(forKey: key)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:7: note: generic class 'AtomicDictionary' does not conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:99:13: warning: capture of 'self' with non-sendable type 'AtomicDictionary<T>' in a '@Sendable' closure
self.internalDictionary = values
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:7: note: generic class 'AtomicDictionary' does not conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:99:39: warning: capture of 'values' with non-sendable type '[String : T]' in a '@Sendable' closure
self.internalDictionary = values
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:24: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:149:35: warning: 'unarchiveTopLevelObjectWithData' was deprecated in watchOS 5.0: Use unarchivedObject(ofClass:from:) instead
return try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/BootstrapValidator.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ClientError.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/ClientError.swift:3:27: warning: non-final class 'StatsigClientError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
@objcMembers public class StatsigClientError: NSObject, Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/ClientError.swift:4:16: warning: stored property 'code' of 'Sendable'-conforming class 'StatsigClientError' has non-sendable type 'StatsigClientErrorCode'; this is an error in the Swift 6 language mode
public let code: StatsigClientErrorCode
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/ClientError.swift:15:19: note: consider making enum 'StatsigClientErrorCode' conform to the 'Sendable' protocol
@objc public enum StatsigClientErrorCode: Int {
^
, Sendable
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Comparison.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Concurrency/LockedValue.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ConfigBase.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ConfigProtocol.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/CryptoSwift.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/DNSQuery.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/DNSQuery.swift:28:13: warning: capture of 'completion' with non-sendable type '(Result<[String], any Error>) -> Void' in a '@Sendable' closure
completion(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/DNSQuery.swift:28:13: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(.failure(error))
^
SwiftCompile normal arm64 Compiling\ SDKFlags.swift,\ StatsigValuesCache.swift,\ StorageAdapter.swift,\ StorageProviderToAdapter.swift,\ StorageService.swift,\ StorageServiceMigrationStatus.swift,\ UserPayloadIndex.swift,\ UserPayloadStore.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/SDKFlags.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StatsigValuesCache.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageProviderToAdapter.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadIndex.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/SDKFlags.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StatsigValuesCache.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageProviderToAdapter.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift:6:24: warning: static property 'servicesBySDKKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var servicesBySDKKey: [String: StorageService] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift:6:24: note: convert 'servicesBySDKKey' to a 'let' constant to make 'Sendable' shared state immutable
private static var servicesBySDKKey: [String: StorageService] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift:6:24: note: add '@MainActor' to make static property 'servicesBySDKKey' part of global actor 'MainActor'
private static var servicesBySDKKey: [String: StorageService] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift:6:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var servicesBySDKKey: [String: StorageService] = [:]
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:9:24: warning: static property 'state' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var state: StorageServiceMigrationStatus?
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:9:24: note: convert 'state' to a 'let' constant to make 'Sendable' shared state immutable
private static var state: StorageServiceMigrationStatus?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:9:24: note: add '@MainActor' to make static property 'state' part of global actor 'MainActor'
private static var state: StorageServiceMigrationStatus?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:9:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var state: StorageServiceMigrationStatus?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:10:24: warning: static property 'hasStateBeenSet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var hasStateBeenSet = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:10:24: note: convert 'hasStateBeenSet' to a 'let' constant to make 'Sendable' shared state immutable
private static var hasStateBeenSet = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:10:24: note: add '@MainActor' to make static property 'hasStateBeenSet' part of global actor 'MainActor'
private static var hasStateBeenSet = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:10:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var hasStateBeenSet = false
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadIndex.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadIndex.swift:182:13: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.write(indexData, indexFileKey, options: .createFolderIfNeeded)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadIndex.swift:220:13: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.write(data, key)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:14:24: warning: static property 'storesBySDKKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var storesBySDKKey: [String: UserPayloadStore] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:14:24: note: convert 'storesBySDKKey' to a 'let' constant to make 'Sendable' shared state immutable
private static var storesBySDKKey: [String: UserPayloadStore] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:14:24: note: add '@MainActor' to make static property 'storesBySDKKey' part of global actor 'MainActor'
private static var storesBySDKKey: [String: UserPayloadStore] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:14:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var storesBySDKKey: [String: UserPayloadStore] = [:]
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:105:13: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.write(data, payloadKey, options: .createFolderIfNeeded)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:128:13: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.write(data, key, options: [.withoutOverwriting])
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:264:13: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.remove(payloadKey)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:319:17: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.createFolderIfNeeded(sdkDirectoryKey)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:352:17: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.createFolderIfNeeded(LEGACY_DIRECTORY_KEY)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:365:13: warning: capture of 'defaults' with non-sendable type 'any DefaultsLike' in a '@Sendable' closure
defaults.removeObject(forKey: UserDefaultsKeys.localStorageKey)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaults/StatsigUserDefaults.swift:3:10: note: protocol 'DefaultsLike' does not conform to the 'Sendable' protocol
protocol DefaultsLike {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:413:17: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.remove(sdkDirectoryKey + [filename])
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:421:13: warning: capture of 'self' with non-sendable type 'UserPayloadStore?' in a '@Sendable' closure
self?.runEviction()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:9:13: note: class 'UserPayloadStore' does not conform to the 'Sendable' protocol
final class UserPayloadStore {
^
SwiftDriverJobDiscovery normal arm64_32 Compiling DynamicConfigObjC.swift, FeatureGateObjC.swift, LayerObjC.swift, ParameterStoreObjC.swift, StatsigObjC.swift, StatsigOptionsObjC.swift, StatsigOverridesObjC.swift, StatsigUserObjC.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64 Compiling\ StatsigNetworkMetadataProvider.swift,\ StatsigOptions.swift,\ StatsigUser.swift,\ StatsigUserCustomTypeConvertible.swift,\ BootstrapMetadata.swift,\ FileStorageAdapter.swift,\ InternalStore.swift,\ SDKConfigs.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigNetworkMetadataProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigUser.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigUserCustomTypeConvertible.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/BootstrapMetadata.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/FileStorageAdapter.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/SDKConfigs.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigNetworkMetadataProvider.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigOptions.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigOptions.swift:354:16: warning: static property 'defaultOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var defaultOptions = StatsigOptions()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigOptions.swift:354:16: note: convert 'defaultOptions' to a 'let' constant to make 'Sendable' shared state immutable
static var defaultOptions = StatsigOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigOptions.swift:354:16: note: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
static var defaultOptions = StatsigOptions()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigOptions.swift:354:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var defaultOptions = StatsigOptions()
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigUser.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/StatsigUserCustomTypeConvertible.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/BootstrapMetadata.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/FileStorageAdapter.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/FileStorageAdapter.swift:4:16: warning: static property 'defaultRootDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var defaultRootDirectory = FileManager
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/FileStorageAdapter.swift:4:16: note: convert 'defaultRootDirectory' to a 'let' constant to make 'Sendable' shared state immutable
static var defaultRootDirectory = FileManager
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/FileStorageAdapter.swift:4:16: note: add '@MainActor' to make static property 'defaultRootDirectory' part of global actor 'MainActor'
static var defaultRootDirectory = FileManager
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/FileStorageAdapter.swift:4:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var defaultRootDirectory = FileManager
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:74:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.cache.saveNetworkFallbackInfo(fallbackInfo)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:74:49: warning: capture of 'fallbackInfo' with non-sendable type 'FallbackInfo?' (aka 'Optional<Dictionary<Endpoint, FallbackInfoEntry>>') in a '@Sendable' closure
self?.cache.saveNetworkFallbackInfo(fallbackInfo)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/NetworkFallbackResolver.swift:7:15: note: consider making struct 'FallbackInfoEntry' conform to the 'Sendable' protocol
public struct FallbackInfoEntry {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:114:13: warning: capture of 'completion' with non-sendable type '([String : Any?], EvaluationDetails) -> Void' in a '@Sendable' closure
completion(self.cache.getInitializeResponseValues(), self.cache.getEvaluationDetails())
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:114:13: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(self.cache.getInitializeResponseValues(), self.cache.getEvaluationDetails())
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:114:24: warning: capture of 'self' with non-sendable type 'InternalStore' in a '@Sendable' closure
completion(self.cache.getInitializeResponseValues(), self.cache.getEvaluationDetails())
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:226:16: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
if self?.cache.source == .Loading {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:231:17: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
completion?()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:231:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion?()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:231:17: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
completion?()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:231:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion?()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:252:30: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
guard let self = self else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:254:35: warning: capture of 'values' with non-sendable type '[String : Any]' in a '@Sendable' closure
self.cache.saveValues(values, cacheKey, userHash)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:256:44: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
DispatchQueue.global().async { completion?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:256:44: note: a function type must be marked '@Sendable' to conform to 'Sendable'
DispatchQueue.global().async { completion?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:256:44: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
DispatchQueue.global().async { completion?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:256:44: note: a function type must be marked '@Sendable' to conform to 'Sendable'
DispatchQueue.global().async { completion?() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:262:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.cache.updateUser(newUser, values)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:262:45: warning: capture of 'values' with non-sendable type '[String : Any]?' in a '@Sendable' closure
self?.cache.updateUser(newUser, values)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:297:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.gatesKey]?[gateName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:304:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.configsKey]?[configName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:304:85: warning: capture of 'value' with non-sendable type '[String : Any]' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.configsKey]?[configName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:311:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.layerConfigsKey]?[layerName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:311:89: warning: capture of 'value' with non-sendable type '[String : Any]' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.layerConfigsKey]?[layerName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:318:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.paramStoresKey]?[storeName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:318:88: warning: capture of 'value' with non-sendable type '[String : Any]' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.paramStoresKey]?[storeName] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:325:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.localOverrides[jsonDict: InternalStore.gatesKey]?.removeValue(forKey: name)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:335:30: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
guard let this = self else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:405:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.cache.removeStickyExperiment(name)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:415:13: warning: capture of 'self' with non-sendable type 'InternalStore?' in a '@Sendable' closure
self?.cache.saveStickyExperimentIfNeeded(name, config)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:18:7: note: class 'InternalStore' does not conform to the 'Sendable' protocol
class InternalStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:415:60: warning: capture of 'config' with non-sendable type 'any ConfigProtocol' in a '@Sendable' closure
self?.cache.saveStickyExperimentIfNeeded(name, config)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/ConfigProtocol.swift:1:19: note: protocol 'ConfigProtocol' does not conform to the 'Sendable' protocol
internal protocol ConfigProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:440:17: warning: capture of 'cacheByID' with non-sendable type '[String : [String : Any]]' in a '@Sendable' closure
cacheByID,
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/InternalStore.swift:443:17: warning: capture of 'storageService' with non-sendable type 'StorageService' in a '@Sendable' closure
storageService.userPayload.storageAdapter
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift:3:13: note: class 'StorageService' does not conform to the 'Sendable' protocol
final class StorageService {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/SDKConfigs.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ FileBasedUserDefaults.swift,\ StatsigUserDefaults.swift,\ StorageProviderBasedUserDefaults.swift,\ UserDefaultsKeys.swift,\ Threads.swift,\ Time.swift,\ URLResponse+Statsig.swift,\ UserCacheKey.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaults/FileBasedUserDefaults.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaults/StatsigUserDefaults.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaults/StorageProviderBasedUserDefaults.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaultsKeys.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Threads.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Time.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/URLResponse+Statsig.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/UserCacheKey.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaults/FileBasedUserDefaults.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaults/StatsigUserDefaults.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaults/StatsigUserDefaults.swift:52:16: warning: static property 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var defaults: DefaultsLike = UserDefaults.standard
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaults/StatsigUserDefaults.swift:52:16: note: convert 'defaults' to a 'let' constant to make 'Sendable' shared state immutable
static var defaults: DefaultsLike = UserDefaults.standard
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaults/StatsigUserDefaults.swift:52:16: note: add '@MainActor' to make static property 'defaults' part of global actor 'MainActor'
static var defaults: DefaultsLike = UserDefaults.standard
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaults/StatsigUserDefaults.swift:52:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var defaults: DefaultsLike = UserDefaults.standard
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaults/StorageProviderBasedUserDefaults.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaultsKeys.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Threads.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Threads.swift:11:43: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
DispatchQueue.main.async(execute: block)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Threads.swift:7:34: note: parameter 'block' is implicitly non-sendable
internal func ensureMainThread(_ block: @escaping () -> Void) {
^
@Sendable
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Time.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/URLResponse+Statsig.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/UserCacheKey.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling Data+Statsig.swift, DedupeKey.swift, DeviceEnvironment.swift, CreateCacheMarker.swift, Diagnostics.swift, DiagnosticsEvent.swift, InitializeMarker.swift, InitializeStepMarker.swift, MarkerBase.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64_32 Compiling\ AtomicDictionary.swift,\ BootstrapValidator.swift,\ ClientError.swift,\ Comparison.swift,\ LockedValue.swift,\ ConfigBase.swift,\ ConfigProtocol.swift,\ CryptoSwift.swift,\ DNSQuery.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/BootstrapValidator.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ClientError.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Comparison.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Concurrency/LockedValue.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ConfigBase.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ConfigProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/CryptoSwift.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/DNSQuery.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:38:13: warning: capture of 'self' with non-sendable type 'AtomicDictionary<T>' in a '@Sendable' closure
self.internalDictionary[key] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:7: note: generic class 'AtomicDictionary' does not conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:38:44: warning: capture of 'value' with non-sendable type 'T?' in a '@Sendable' closure
self.internalDictionary[key] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:24: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:49:13: warning: capture of 'self' with non-sendable type 'AtomicDictionary<T>' in a '@Sendable' closure
self.internalDictionary[key] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:7: note: generic class 'AtomicDictionary' does not conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:49:44: warning: capture of 'value' with non-sendable type 'T?' in a '@Sendable' closure
self.internalDictionary[key] = value
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:24: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:53:17: warning: capture of 'completion' with non-sendable type '((Data?) -> Void)?' in a '@Sendable' closure
completion?(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:53:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion?(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:52:41: warning: capture of 'dict' with non-sendable type '[String : T]' in a '@Sendable' closure
let data = dataFromDict(dict)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:24: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:53:17: warning: capture of 'completion' with non-sendable type '((Data?) -> Void)?' in a '@Sendable' closure
completion?(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:53:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion?(data)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:60:13: warning: capture of 'self' with non-sendable type 'AtomicDictionary<T>' in a '@Sendable' closure
self.internalDictionary.removeValue(forKey: key)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:7: note: generic class 'AtomicDictionary' does not conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:99:13: warning: capture of 'self' with non-sendable type 'AtomicDictionary<T>' in a '@Sendable' closure
self.internalDictionary = values
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:7: note: generic class 'AtomicDictionary' does not conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:99:39: warning: capture of 'values' with non-sendable type '[String : T]' in a '@Sendable' closure
self.internalDictionary = values
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:3:24: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
class AtomicDictionary<T> {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/AtomicDictionary.swift:149:35: warning: 'unarchiveTopLevelObjectWithData' was deprecated in watchOS 5.0: Use unarchivedObject(ofClass:from:) instead
return try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data)
^
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/BootstrapValidator.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ClientError.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/ClientError.swift:3:27: warning: non-final class 'StatsigClientError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
@objcMembers public class StatsigClientError: NSObject, Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/ClientError.swift:4:16: warning: stored property 'code' of 'Sendable'-conforming class 'StatsigClientError' has non-sendable type 'StatsigClientErrorCode'; this is an error in the Swift 6 language mode
public let code: StatsigClientErrorCode
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/ClientError.swift:15:19: note: consider making enum 'StatsigClientErrorCode' conform to the 'Sendable' protocol
@objc public enum StatsigClientErrorCode: Int {
^
, Sendable
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Comparison.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Concurrency/LockedValue.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ConfigBase.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ConfigProtocol.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/CryptoSwift.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/DNSQuery.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/DNSQuery.swift:28:13: warning: capture of 'completion' with non-sendable type '(Result<[String], any Error>) -> Void' in a '@Sendable' closure
completion(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/DNSQuery.swift:28:13: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(.failure(error))
^
SwiftCompile normal armv7k Compiling\ SDKFlags.swift,\ StatsigValuesCache.swift,\ StorageAdapter.swift,\ StorageProviderToAdapter.swift,\ StorageService.swift,\ StorageServiceMigrationStatus.swift,\ UserPayloadIndex.swift,\ UserPayloadStore.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/SDKFlags.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StatsigValuesCache.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageProviderToAdapter.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadIndex.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/SDKFlags.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StatsigValuesCache.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageProviderToAdapter.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift:6:24: warning: static property 'servicesBySDKKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var servicesBySDKKey: [String: StorageService] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift:6:24: note: convert 'servicesBySDKKey' to a 'let' constant to make 'Sendable' shared state immutable
private static var servicesBySDKKey: [String: StorageService] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift:6:24: note: add '@MainActor' to make static property 'servicesBySDKKey' part of global actor 'MainActor'
private static var servicesBySDKKey: [String: StorageService] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageService.swift:6:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var servicesBySDKKey: [String: StorageService] = [:]
^
nonisolated(unsafe)
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:9:24: warning: static property 'state' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var state: StorageServiceMigrationStatus?
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:9:24: note: convert 'state' to a 'let' constant to make 'Sendable' shared state immutable
private static var state: StorageServiceMigrationStatus?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:9:24: note: add '@MainActor' to make static property 'state' part of global actor 'MainActor'
private static var state: StorageServiceMigrationStatus?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:9:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var state: StorageServiceMigrationStatus?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:10:24: warning: static property 'hasStateBeenSet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var hasStateBeenSet = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:10:24: note: convert 'hasStateBeenSet' to a 'let' constant to make 'Sendable' shared state immutable
private static var hasStateBeenSet = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:10:24: note: add '@MainActor' to make static property 'hasStateBeenSet' part of global actor 'MainActor'
private static var hasStateBeenSet = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageServiceMigrationStatus.swift:10:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var hasStateBeenSet = false
^
nonisolated(unsafe)
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadIndex.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadIndex.swift:182:13: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.write(indexData, indexFileKey, options: .createFolderIfNeeded)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadIndex.swift:220:13: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.write(data, key)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:14:24: warning: static property 'storesBySDKKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var storesBySDKKey: [String: UserPayloadStore] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:14:24: note: convert 'storesBySDKKey' to a 'let' constant to make 'Sendable' shared state immutable
private static var storesBySDKKey: [String: UserPayloadStore] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:14:24: note: add '@MainActor' to make static property 'storesBySDKKey' part of global actor 'MainActor'
private static var storesBySDKKey: [String: UserPayloadStore] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:14:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var storesBySDKKey: [String: UserPayloadStore] = [:]
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:105:13: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.write(data, payloadKey, options: .createFolderIfNeeded)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:128:13: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.write(data, key, options: [.withoutOverwriting])
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:264:13: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.remove(payloadKey)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:319:17: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.createFolderIfNeeded(sdkDirectoryKey)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:352:17: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.createFolderIfNeeded(LEGACY_DIRECTORY_KEY)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:365:13: warning: capture of 'defaults' with non-sendable type 'any DefaultsLike' in a '@Sendable' closure
defaults.removeObject(forKey: UserDefaultsKeys.localStorageKey)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/UserDefaults/StatsigUserDefaults.swift:3:10: note: protocol 'DefaultsLike' does not conform to the 'Sendable' protocol
protocol DefaultsLike {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:413:17: warning: capture of 'storageAdapter' with non-sendable type 'any StorageAdapter' in a '@Sendable' closure
storageAdapter.remove(sdkDirectoryKey + [filename])
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StorageAdapter.swift:16:10: note: protocol 'StorageAdapter' does not conform to the 'Sendable' protocol
protocol StorageAdapter {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:421:13: warning: capture of 'self' with non-sendable type 'UserPayloadStore?' in a '@Sendable' closure
self?.runEviction()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Storage/StoreItems/UserPayloadStore.swift:9:13: note: class 'UserPayloadStore' does not conform to the 'Sendable' protocol
final class UserPayloadStore {
^
SwiftCompile normal arm64 Compiling\ Data+Statsig.swift,\ DedupeKey.swift,\ DeviceEnvironment.swift,\ CreateCacheMarker.swift,\ Diagnostics.swift,\ DiagnosticsEvent.swift,\ InitializeMarker.swift,\ InitializeStepMarker.swift,\ MarkerBase.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Data+Statsig.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/DedupeKey.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/DeviceEnvironment.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/CreateCacheMarker.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/DiagnosticsEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/InitializeMarker.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/InitializeStepMarker.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/MarkerBase.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Data+Statsig.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/DedupeKey.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/DeviceEnvironment.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/CreateCacheMarker.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:10:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var instance: DiagnosticsImpl?
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:10:24: note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
private static var instance: DiagnosticsImpl?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:10:24: note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
private static var instance: DiagnosticsImpl?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:10:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var instance: DiagnosticsImpl?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:11:24: warning: static property '_sampling' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var _sampling = Int.random(in: 1...10000)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:11:24: note: convert '_sampling' to a 'let' constant to make 'Sendable' shared state immutable
private static var _sampling = Int.random(in: 1...10000)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:11:24: note: add '@MainActor' to make static property '_sampling' part of global actor 'MainActor'
private static var _sampling = Int.random(in: 1...10000)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:11:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var _sampling = Int.random(in: 1...10000)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:12:24: warning: static property 'disableCoreAPI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var disableCoreAPI = false
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:12:24: note: convert 'disableCoreAPI' to a 'let' constant to make 'Sendable' shared state immutable
private static var disableCoreAPI = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:12:24: note: add '@MainActor' to make static property 'disableCoreAPI' part of global actor 'MainActor'
private static var disableCoreAPI = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/Diagnostics.swift:12:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var disableCoreAPI = false
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/DiagnosticsEvent.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/InitializeMarker.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/InitializeStepMarker.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/MarkerBase.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling StatsigClient+AppLifecycle.swift, StatsigClient.swift, StatsigDebugViewController.swift, StatsigDynamicConfigValue.swift, StatsigEnvironment.swift, StatsigError.swift, StatsigListening.swift, StatsigMetadata.swift (in target 'Statsig' from project 'Statsig')
SwiftDriverJobDiscovery normal arm64 Compiling OnDeviceEvalAdapter.swift, OverrideAdapter.swift, ParameterStore.swift, PlatformCompatibility.swift, PrintHandler.swift, SDKKeyValidator.swift, SpecsResponse.swift, Statsig.swift (in target 'Statsig' from project 'Statsig')
SwiftDriverJobDiscovery normal arm64_32 Compiling SDKFlags.swift, StatsigValuesCache.swift, StorageAdapter.swift, StorageProviderToAdapter.swift, StorageService.swift, StorageServiceMigrationStatus.swift, UserPayloadIndex.swift, UserPayloadStore.swift (in target 'Statsig' from project 'Statsig')
SwiftDriverJobDiscovery normal arm64_32 Compiling NetworkMarker.swift, OverallMarker.swift, DynamicConfig.swift, ErrorBoundary.swift, EvaluationDetails.swift, EvaluationResult.swift, Evaluator.swift, Event.swift, EventLogger.swift (in target 'Statsig' from project 'Statsig')
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/Statsig-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig-Swift.h (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig-Swift.h -arch arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig-Swift.h -arch armv7k /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/Statsig-Swift.h
SwiftDriverJobDiscovery normal arm64_32 Compiling StatsigNetworkMetadataProvider.swift, StatsigOptions.swift, StatsigUser.swift, StatsigUserCustomTypeConvertible.swift, BootstrapMetadata.swift, FileStorageAdapter.swift, InternalStore.swift, SDKConfigs.swift (in target 'Statsig' from project 'Statsig')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/arm64_32-apple-watchos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.swiftmodule (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/arm64_32-apple-watchos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/arm64_32-apple-watchos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.swiftdoc (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/arm64_32-apple-watchos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/arm64_32-apple-watchos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.abi.json (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/arm64_32-apple-watchos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/Project/arm64_32-apple-watchos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.swiftsourceinfo (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.swiftmodule/Project/arm64_32-apple-watchos.swiftsourceinfo
SwiftCompile normal arm64 Compiling\ DynamicConfigObjC.swift,\ FeatureGateObjC.swift,\ LayerObjC.swift,\ ParameterStoreObjC.swift,\ StatsigObjC.swift,\ StatsigOptionsObjC.swift,\ StatsigOverridesObjC.swift,\ StatsigUserObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/DynamicConfigObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/FeatureGateObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/LayerObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/ParameterStoreObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigOptionsObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigOverridesObjC.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigUserObjC.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/DynamicConfigObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/FeatureGateObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/LayerObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/ParameterStoreObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigOptionsObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigOverridesObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ObjectiveC/StatsigUserObjC.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling ExternalInitializeResponse.swift, FailedLogRequestStore.swift, FeatureGate.swift, Gzip.swift, JsonValue.swift, Layer.swift, NetworkFallbackResolver.swift, NetworkService.swift (in target 'Statsig' from project 'Statsig')
SwiftDriverJobDiscovery normal arm64_32 Compiling OnDeviceEvalAdapter.swift, OverrideAdapter.swift, ParameterStore.swift, PlatformCompatibility.swift, PrintHandler.swift, SDKKeyValidator.swift, SpecsResponse.swift, Statsig.swift (in target 'Statsig' from project 'Statsig')
SwiftDriverJobDiscovery normal arm64 Compiling FileBasedUserDefaults.swift, StatsigUserDefaults.swift, StorageProviderBasedUserDefaults.swift, UserDefaultsKeys.swift, Threads.swift, Time.swift, URLResponse+Statsig.swift, UserCacheKey.swift (in target 'Statsig' from project 'Statsig')
SwiftDriverJobDiscovery normal arm64 Compiling Data+Statsig.swift, DedupeKey.swift, DeviceEnvironment.swift, CreateCacheMarker.swift, Diagnostics.swift, DiagnosticsEvent.swift, InitializeMarker.swift, InitializeStepMarker.swift, MarkerBase.swift (in target 'Statsig' from project 'Statsig')
SwiftDriverJobDiscovery normal arm64 Compiling AtomicDictionary.swift, BootstrapValidator.swift, ClientError.swift, Comparison.swift, LockedValue.swift, ConfigBase.swift, ConfigProtocol.swift, CryptoSwift.swift, DNSQuery.swift (in target 'Statsig' from project 'Statsig')
SwiftDriverJobDiscovery normal arm64 Compiling DynamicConfigObjC.swift, FeatureGateObjC.swift, LayerObjC.swift, ParameterStoreObjC.swift, StatsigObjC.swift, StatsigOptionsObjC.swift, StatsigOverridesObjC.swift, StatsigUserObjC.swift (in target 'Statsig' from project 'Statsig')
SwiftDriverJobDiscovery normal arm64_32 Compiling AtomicDictionary.swift, BootstrapValidator.swift, ClientError.swift, Comparison.swift, LockedValue.swift, ConfigBase.swift, ConfigProtocol.swift, CryptoSwift.swift, DNSQuery.swift (in target 'Statsig' from project 'Statsig')
SwiftDriver\ Compilation Statsig normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name Statsig -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos7.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Binary/Statsig.o normal arm64_32 (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64_32-apple-watchos7.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Binary/Statsig.o
SwiftDriverJobDiscovery normal arm64 Compiling SDKFlags.swift, StatsigValuesCache.swift, StorageAdapter.swift, StorageProviderToAdapter.swift, StorageService.swift, StorageServiceMigrationStatus.swift, UserPayloadIndex.swift, UserPayloadStore.swift (in target 'Statsig' from project 'Statsig')
SwiftDriverJobDiscovery normal arm64 Compiling StatsigNetworkMetadataProvider.swift, StatsigOptions.swift, StatsigUser.swift, StatsigUserCustomTypeConvertible.swift, BootstrapMetadata.swift, FileStorageAdapter.swift, InternalStore.swift, SDKConfigs.swift (in target 'Statsig' from project 'Statsig')
SwiftDriver\ Compilation Statsig normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name Statsig -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos7.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Binary/Statsig.o normal arm64 (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-watchos7.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Binary/Statsig.o
SwiftDriverJobDiscovery normal armv7k Compiling SDKFlags.swift, StatsigValuesCache.swift, StorageAdapter.swift, StorageProviderToAdapter.swift, StorageService.swift, StorageServiceMigrationStatus.swift, UserPayloadIndex.swift, UserPayloadStore.swift (in target 'Statsig' from project 'Statsig')
SwiftDriver\ Compilation Statsig normal armv7k com.apple.xcode.tools.swift.compiler (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name Statsig -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target armv7k-apple-watchos7.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Binary/Statsig.o normal armv7k (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target armv7k-apple-watchos7.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Binary/Statsig.o
CreateUniversalBinary /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.o normal arm64\ armv7k\ arm64_32 (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo -create /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Binary/Statsig.o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Binary/Statsig.o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Binary/Statsig.o -output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.o
ExtractAppIntentsMetadata (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name Statsig --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk --xcode-version 16E140 --platform-family watchOS --deployment-target 7.0 --bundle-identifier spi-builder-workspace.Statsig --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.appintents --target-triple arm64-apple-watchos7.0 --target-triple armv7k-apple-watchos7.0 --target-triple arm64_32-apple-watchos7.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig_dependency_info.dat --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig_dependency_info.dat --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/ExtractedAppShortcutsMetadata.stringsdata --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.SwiftFileList --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.SwiftFileList --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Statsig.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Statsig.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64/Statsig.SwiftConstValuesFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/armv7k/Statsig.SwiftConstValuesFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-watchos/Statsig.build/Objects-normal/arm64_32/Statsig.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2026-04-18 15:26:51.360 appintentsmetadataprocessor[1066:5905] Starting appintentsmetadataprocessor export
2026-04-18 15:26:51.402 appintentsmetadataprocessor[1066:5905] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.o (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Statsig.o
** BUILD SUCCEEDED **
Build complete.
{
"dependencies" : [
{
"identity" : "ohhttpstubs",
"requirement" : {
"range" : [
{
"lower_bound" : "9.1.0",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/AliSoftware/OHHTTPStubs.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "10.0.0",
"upper_bound" : "11.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
},
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "ocmock",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/erikdoe/ocmock"
},
{
"identity" : "gzipswift",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/1024jp/GzipSwift"
}
],
"manifest_display_name" : "Statsig",
"name" : "Statsig",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "Statsig",
"targets" : [
"Statsig"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "StatsigTests",
"module_type" : "SwiftTarget",
"name" : "StatsigTests",
"path" : "Tests/StatsigTests",
"product_dependencies" : [
"Quick",
"Nimble",
"OHHTTPStubs",
"Gzip",
"OHHTTPStubsSwift"
],
"sources" : [
"ApiOverrideSpec.swift",
"AppLifecycleSpec.swift",
"AsyncInitVsUpdateSpec.swift",
"AtomicDictionarySpec.swift",
"AutoUpdateSpec.swift",
"BaseSpec.swift",
"CodableSpec.swift",
"ComparisonSpec.swift",
"CompletionCallbackRaceSpec.swift",
"DNSQuerySpec.swift",
"DeviceEnvironmentSpec.swift",
"DiagnosticsSpec.swift",
"DynamicConfigSpec.swift",
"ErrorBoundarySpec.swift",
"EvaluationCallbackSpec.swift",
"EvaluationDetailSpec.swift",
"EventLoggerSpec.swift",
"EventLoggingEnabledSpec.swift",
"EventSpec.swift",
"ExposureLoggingSpec.swift",
"FailedLogRequestStoreSpec.swift",
"FailedLogRequestStoreTestHelpers.swift",
"FileBasedUserDefaultsSpec.swift",
"FileBasedUserDefaultsUsageSpec.swift",
"GzipSpec.swift",
"InitRetriesSpec.swift",
"InitializeSinceTimeSpec.swift",
"InternalStoreAppleUserDefaultsSpec.swift",
"InternalStoreFileBasedUserDefaultsSpec.swift",
"InternalStoreMultiFileSpec.swift",
"InternalStoreSpec.swift",
"LayerConfigSpec.swift",
"LayerExposureSpec.swift",
"LocalOverridesSpec.swift",
"LockedValueSpec.swift",
"LogEventFailureSpec.swift",
"LogFlushTimerSpec.swift",
"ManualFlushSpec.swift",
"ManyThreadsSpec.swift",
"MockUserDefaults.swift",
"MultiClientSupportSpec.swift",
"NetworkFallbackResolverSpec.swift",
"NetworkServiceSpec.swift",
"NotAwaitingInitCallsSpec.swift",
"NullInitialize.swift",
"PerformanceSpec.swift",
"PrintHandlerSpec.swift",
"PublicFuncSpec.swift",
"SDKKeySpec.swift",
"SpiedEventLogger.swift",
"StatsigClientSpec.swift",
"StatsigListeningSpec.swift",
"StatsigMetadataSpec.swift",
"StatsigNetworkMetadataProviderSpec.swift",
"StatsigOptionsSpec.swift",
"StatsigSpec.swift",
"StatsigUserSpec.swift",
"StoragePerformanceSpec.swift",
"StorageProviderBasedUserDefaultsSpec.swift",
"StorageProviderBasedUserDefaultsUsageSpec.swift",
"StoreDeadlockSpec.swift",
"TestUtils.swift",
"ThreadsSpec.swift",
"UserCacheKeyMigrationSpec.swift",
"UserCacheKeySpec.swift",
"UserHashingSpec.swift"
],
"target_dependencies" : [
"Statsig"
],
"type" : "test"
},
{
"c99name" : "StatsigObjcTests",
"module_type" : "ClangTarget",
"name" : "StatsigObjcTests",
"path" : "Tests/StatsigObjcTests",
"product_dependencies" : [
"OCMock"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/StatsigObjcTests/Resources/initialize.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ObjcManualExposureSpec.m",
"ObjcParameterStoreSpec.m",
"ObjcStableIDSpec.m",
"ObjcStatsigUserSpec.m",
"ObjcTestUtils.m",
"ObjcUsageSpec.m"
],
"target_dependencies" : [
"Statsig"
],
"type" : "test"
},
{
"c99name" : "Statsig",
"module_type" : "SwiftTarget",
"name" : "Statsig",
"path" : "Sources/Statsig",
"product_memberships" : [
"Statsig"
],
"sources" : [
"AtomicDictionary.swift",
"BootstrapValidator.swift",
"ClientError.swift",
"Comparison.swift",
"Concurrency/LockedValue.swift",
"ConfigBase.swift",
"ConfigProtocol.swift",
"CryptoSwift.swift",
"DNSQuery.swift",
"Data+Statsig.swift",
"DedupeKey.swift",
"DeviceEnvironment.swift",
"Diagnostics/CreateCacheMarker.swift",
"Diagnostics/Diagnostics.swift",
"Diagnostics/DiagnosticsEvent.swift",
"Diagnostics/InitializeMarker.swift",
"Diagnostics/InitializeStepMarker.swift",
"Diagnostics/MarkerBase.swift",
"Diagnostics/NetworkMarker.swift",
"Diagnostics/OverallMarker.swift",
"DynamicConfig.swift",
"ErrorBoundary.swift",
"EvaluationDetails.swift",
"EvaluationResult.swift",
"Evaluator.swift",
"Event.swift",
"EventLogger.swift",
"ExternalInitializeResponse.swift",
"FailedLogRequestStore.swift",
"FeatureGate.swift",
"Gzip.swift",
"JsonValue.swift",
"Layer.swift",
"NetworkFallbackResolver.swift",
"NetworkService.swift",
"ObjectiveC/DynamicConfigObjC.swift",
"ObjectiveC/FeatureGateObjC.swift",
"ObjectiveC/LayerObjC.swift",
"ObjectiveC/ParameterStoreObjC.swift",
"ObjectiveC/StatsigObjC.swift",
"ObjectiveC/StatsigOptionsObjC.swift",
"ObjectiveC/StatsigOverridesObjC.swift",
"ObjectiveC/StatsigUserObjC.swift",
"OverrideAdapter/OnDeviceEvalAdapter.swift",
"OverrideAdapter/OverrideAdapter.swift",
"ParameterStore.swift",
"PlatformCompatibility.swift",
"PrintHandler.swift",
"SDKKeyValidator.swift",
"SpecsResponse.swift",
"Statsig.swift",
"StatsigClient+AppLifecycle.swift",
"StatsigClient.swift",
"StatsigDebugViewController.swift",
"StatsigDynamicConfigValue.swift",
"StatsigEnvironment.swift",
"StatsigError.swift",
"StatsigListening.swift",
"StatsigMetadata.swift",
"StatsigNetworkMetadataProvider.swift",
"StatsigOptions.swift",
"StatsigUser.swift",
"StatsigUserCustomTypeConvertible.swift",
"Storage/BootstrapMetadata.swift",
"Storage/FileStorageAdapter.swift",
"Storage/InternalStore.swift",
"Storage/SDKConfigs.swift",
"Storage/SDKFlags.swift",
"Storage/StatsigValuesCache.swift",
"Storage/StorageAdapter.swift",
"Storage/StorageProviderToAdapter.swift",
"Storage/StorageService.swift",
"Storage/StorageServiceMigrationStatus.swift",
"Storage/StoreItems/UserPayloadIndex.swift",
"Storage/StoreItems/UserPayloadStore.swift",
"Storage/UserDefaults/FileBasedUserDefaults.swift",
"Storage/UserDefaults/StatsigUserDefaults.swift",
"Storage/UserDefaults/StorageProviderBasedUserDefaults.swift",
"Storage/UserDefaultsKeys.swift",
"Threads.swift",
"Time.swift",
"URLResponse+Statsig.swift",
"UserCacheKey.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.