Build Information
Successful build of Statsig, reference main (ffe36d), with Swift 6.1 for visionOS using Xcode 16.3 on 18 Apr 2026 21:38:39 UTC.
Swift 6 data race errors: 24
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=xrOS 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
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/statsig-io/statsig-kit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/statsig-io/statsig-kit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ffe36d6 [release] 1.62.5 - override SDK exception diagnostics URL (#506)
Cloned https://github.com/statsig-io/statsig-kit.git
Revision (git rev-parse @):
ffe36d6d070b6f0c23524cc06eeb20d4100d258b
SUCCESS checkout https://github.com/statsig-io/statsig-kit.git at main
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/statsig-io/statsig-kit.git
https://github.com/statsig-io/statsig-kit.git
{
"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"
}
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Fetching from https://github.com/erikdoe/ocmock
Fetching from https://github.com/Quick/Quick.git
Fetching from https://github.com/AliSoftware/OHHTTPStubs.git
Fetching from https://github.com/1024jp/GzipSwift
Fetching from https://github.com/Quick/Nimble.git
Fetching from https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching from https://github.com/mattgallagher/CwlCatchException.git
Creating working copy of package ‘CwlPreconditionTesting’
Checking out 2.2.2 of package ‘CwlPreconditionTesting’
Creating working copy of package ‘OHHTTPStubs’
Checking out 9.1.0 of package ‘OHHTTPStubs’
Creating working copy of package ‘GzipSwift’
Checking out 5.2.0 of package ‘GzipSwift’
Creating working copy of package ‘CwlCatchException’
Checking out 2.2.1 of package ‘CwlCatchException’
Creating working copy of package ‘Quick’
Checking out 5.0.1 of package ‘Quick’
Creating working copy of package ‘ocmock’
Checking out master (7f6e9e9) of package ‘ocmock’
Creating working copy of package ‘Nimble’
Checking out 10.0.0 of package ‘Nimble’
Resolve Package Graph
Resolved source packages:
CwlPreconditionTesting: https://github.com/mattgallagher/CwlPreconditionTesting.git @ 2.2.2
Nimble: https://github.com/Quick/Nimble.git @ 10.0.0
OHHTTPStubs: https://github.com/AliSoftware/OHHTTPStubs.git @ 9.1.0
Gzip: https://github.com/1024jp/GzipSwift @ 5.2.0
Quick: https://github.com/Quick/Quick.git @ 5.0.1
OCMock: https://github.com/erikdoe/ocmock @ master (7f6e9e9)
CwlCatchException: https://github.com/mattgallagher/CwlCatchException.git @ 2.2.1
Statsig: /Users/admin/builder/spi-builder-workspace
resolved source packages: CwlPreconditionTesting, Nimble, OHHTTPStubs, Gzip, Quick, OCMock, CwlCatchException, Statsig
{
"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"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"Statsig"
]
}
}
Running build ...
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=xrOS 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 InferSendableFromCaptures
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Statsig -destination generic/platform=xrOS "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 InferSendableFromCaptures"
Build settings from command line:
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 InferSendableFromCaptures
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
OCMock: https://github.com/erikdoe/ocmock @ master (7f6e9e9)
CwlPreconditionTesting: https://github.com/mattgallagher/CwlPreconditionTesting.git @ 2.2.2
Quick: https://github.com/Quick/Quick.git @ 5.0.1
Nimble: https://github.com/Quick/Nimble.git @ 10.0.0
CwlCatchException: https://github.com/mattgallagher/CwlCatchException.git @ 2.2.1
OHHTTPStubs: https://github.com/AliSoftware/OHHTTPStubs.git @ 9.1.0
Gzip: https://github.com/1024jp/GzipSwift @ 5.2.0
Statsig: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'Statsig' in project 'Statsig'
➜ Explicit dependency on target 'Statsig' in project 'Statsig'
Target 'Statsig' in project 'Statsig' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 97e0bf0fa76bbceec264b162abec452d
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/97e0bf0fa76bbceec264b162abec452d.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Statsig.modulemap (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Statsig.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig.LinkFileList (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig-OutputFileMap.json (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Statsig.DependencyStaticMetadataFileList (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Statsig.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig.SwiftConstValuesFileList (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Statsig.DependencyMetadataFileList (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Statsig.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig_const_extract_protocols.json (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig.SwiftFileList (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig.SwiftFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/Statsig.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Statsig.modulemap (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 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Statsig.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver 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-SwiftDriver -- /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-xros/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/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.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-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/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-xros/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-xros/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-xros/Statsig.build/Objects-normal/arm64/Statsig_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/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-xros/Statsig.build/Objects-normal/arm64/Statsig-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
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
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:93:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
let systemVersion = UIDevice.current.systemVersion
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:94:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
let systemName = UIDevice.current.systemName
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:95:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
let model = UIDevice.current.model
^
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
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 visionOS 1.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\ 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
SwiftCompile normal arm64 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 /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 /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 /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 /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 /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 /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 /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 /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 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\ 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
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
SwiftEmitModule normal arm64 Emitting\ module\ for\ Statsig (in target 'Statsig' from project 'Statsig')
EmitSwiftModule normal arm64 (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
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:93:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
let systemVersion = UIDevice.current.systemVersion
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:94:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
let systemName = UIDevice.current.systemName
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:95:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
let model = UIDevice.current.model
^
/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)
/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)
/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)
/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/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)
/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)
/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)
/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)
/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)
/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)
/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/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 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
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:93:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
let systemVersion = UIDevice.current.systemVersion
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:94:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
let systemName = UIDevice.current.systemName
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:95:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
let model = UIDevice.current.model
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:108:46: warning: main actor-isolated property 'connectedScenes' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let scene = UIApplication.shared.connectedScenes.first(where: { scene in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:170:50: note: property declared here
@property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:108:39: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let scene = UIApplication.shared.connectedScenes.first(where: { scene in
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: class property declared here
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:109:30: warning: main actor-isolated property 'activationState' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
return scene.activationState == UIScene.ActivationState.foregroundActive
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:38:56: note: property declared here
@property (nonatomic, readonly) UISceneActivationState activationState;
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:112:81: warning: main actor-isolated property 'rootViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let root = (scene?.delegate as? UIWindowSceneDelegate)?.window??.rootViewController {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:66:57: note: property declared here
@property(nullable, nonatomic,strong) UIViewController *rootViewController API_AVAILABLE(ios(4.0)); // default is nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:112:35: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let root = (scene?.delegate as? UIWindowSceneDelegate)?.window??.rootViewController {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:34:61: note: property declared here
@property (nullable, nonatomic, strong) id<UISceneDelegate> delegate;
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/PlatformCompatibility.swift:112:72: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let root = (scene?.delegate as? UIWindowSceneDelegate)?.window??.rootViewController {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:64:51: note: property declared here
@property (nullable, nonatomic, strong) UIWindow *window;
^
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)
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 {
^
SwiftCompile normal arm64 Compiling\ NetworkMarker.swift,\ OverallMarker.swift,\ DynamicConfig.swift,\ ErrorBoundary.swift,\ EvaluationDetails.swift,\ EvaluationResult.swift,\ Evaluator.swift,\ Event.swift,\ EventLogger.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/NetworkMarker.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/OverallMarker.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/DynamicConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/ErrorBoundary.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/EvaluationDetails.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/EvaluationResult.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Evaluator.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Event.swift /Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift (in target 'Statsig' from project 'Statsig')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Statsig/Diagnostics/NetworkMarker.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/OverallMarker.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/DynamicConfig.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/ErrorBoundary.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/EvaluationDetails.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/EvaluationResult.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/Evaluator.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/Event.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/EventLogger.swift (in target 'Statsig' from project 'Statsig')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:49:28: warning: capture of 'self' with non-sendable type 'EventLogger?' in a '@Sendable' closure
let self = self,
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:3:7: note: class 'EventLogger' does not conform to the 'Sendable' protocol
class EventLogger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:61:21: warning: capture of 'failedRequestStore' with non-sendable type 'FailedLogRequestStore' in a '@Sendable' closure
failedRequestStore.addRequests(failedRequests)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/FailedLogRequestStore.swift:92:13: note: class 'FailedLogRequestStore' does not conform to the 'Sendable' protocol
final class FailedLogRequestStore {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:69:30: warning: capture of 'self' with non-sendable type 'EventLogger?' in a '@Sendable' closure
guard let self = self else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:3:7: note: class 'EventLogger' does not conform to the 'Sendable' protocol
class EventLogger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:71:26: warning: capture of 'exposureDedupeKey' with non-sendable type 'DedupeKey?' in a '@Sendable' closure
if let key = exposureDedupeKey {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/DedupeKey.swift:1:15: note: consider making enum 'DedupeKey' conform to the 'Sendable' protocol
internal enum DedupeKey: Hashable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:82:32: warning: capture of 'event' with non-sendable type 'Event' in a '@Sendable' closure
self.events.append(event)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/Event.swift:3:7: note: class 'Event' does not conform to the 'Sendable' protocol
class Event {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:92:13: warning: capture of 'self' with non-sendable type 'EventLogger?' in a '@Sendable' closure
self?.exposuresDedupeDict.removeAll()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:3:7: note: class 'EventLogger' does not conform to the 'Sendable' protocol
class EventLogger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:101:17: warning: capture of 'self' with non-sendable type 'EventLogger?' in a '@Sendable' closure
self?.flush()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:3:7: note: class 'EventLogger' does not conform to the 'Sendable' protocol
class EventLogger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:114:48: 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/EventLogger.swift:114:48: note: a function type must be marked '@Sendable' to conform to 'Sendable'
DispatchQueue.global().async { completion() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:121:13: warning: capture of 'self' with non-sendable type 'EventLogger?' in a '@Sendable' closure
self?.addNonExposedChecksEvent()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:3:7: note: class 'EventLogger' does not conform to the 'Sendable' protocol
class EventLogger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:123:40: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
guard let completion = completion else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:123:40: note: a function type must be marked '@Sendable' to conform to 'Sendable'
guard let completion = completion else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:123:40: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in an isolated closure; this is an error in the Swift 6 language mode
guard let completion = completion else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:123:40: note: a function type must be marked '@Sendable' to conform to 'Sendable'
guard let completion = completion else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:124:48: 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/EventLogger.swift:124:48: note: a function type must be marked '@Sendable' to conform to 'Sendable'
DispatchQueue.global().async { completion() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:195:23: warning: capture of 'self' with non-sendable type 'EventLogger' in a '@Sendable' closure
? self.failedRequestStore.takeRequest(requestData)
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:3:7: note: class 'EventLogger' does not conform to the 'Sendable' protocol
class EventLogger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:208:21: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
completion?()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:208:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion?()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:208:21: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a '@Sendable' closure
completion?()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:208:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion?()
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:257:30: warning: capture of 'self' with non-sendable type 'EventLogger?' in a '@Sendable' closure
guard let self = self else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:3:7: note: class 'EventLogger' does not conform to the 'Sendable' protocol
class EventLogger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:98:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self?.flushTimer?.invalidate()
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Statsig/EventLogger.swift:98:13: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self?.flushTimer?.invalidate()
^~~~
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-xros/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/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.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-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/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-xros/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-xros/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-xros/Statsig.build/Objects-normal/arm64/Statsig_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/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-xros/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 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 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 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 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 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 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 ExternalInitializeResponse.swift, FailedLogRequestStore.swift, FeatureGate.swift, Gzip.swift, JsonValue.swift, Layer.swift, NetworkFallbackResolver.swift, NetworkService.swift (in target 'Statsig' from project 'Statsig')
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/Statsig-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/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-xros/Statsig.build/Objects-normal/arm64/Statsig-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/Statsig-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Statsig.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/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-xros/Statsig.build/Objects-normal/arm64/Statsig.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Statsig.swiftmodule/arm64-apple-xros.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Statsig.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/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-xros/Statsig.build/Objects-normal/arm64/Statsig.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Statsig.swiftmodule/arm64-apple-xros.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Statsig.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/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-xros/Statsig.build/Objects-normal/arm64/Statsig.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Statsig.swiftmodule/arm64-apple-xros.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Statsig.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/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-xros/Statsig.build/Objects-normal/arm64/Statsig.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Statsig.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
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')
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')
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')
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-xros/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/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.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-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/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-xros/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-xros/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-xros/Statsig.build/Objects-normal/arm64/Statsig_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/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-xros/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/Products/Debug-xros/Statsig.o normal (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-xros1.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/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-xros/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-xros/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/xros -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/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/XROS.platform/Developer/SDKs/XROS2.4.sdk --xcode-version 16E140 --platform-family xrOS --deployment-target 1.0 --bundle-identifier spi-builder-workspace.Statsig --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Statsig.appintents --target-triple arm64-apple-xros1.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Statsig.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Statsig.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Statsig.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Statsig.build/Debug-xros/Statsig.build/Objects-normal/arm64/Statsig.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2026-04-18 14:38:38.356 appintentsmetadataprocessor[1045:5477] Starting appintentsmetadataprocessor export
2026-04-18 14:38:38.394 appintentsmetadataprocessor[1045:5477] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/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-xros/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.