Build Information
Successful build of Optimizely, reference master (993701
), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 22:04:41 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/optimizely/swift-sdk.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/optimizely/swift-sdk
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 993701c [FSSDK-11145] chore: implement cmab client (#600)
Cloned https://github.com/optimizely/swift-sdk.git
Revision (git rev-parse @):
993701ce28eaf9784a20f30f692d3a4e5e83cb44
SUCCESS checkout https://github.com/optimizely/swift-sdk.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/optimizely/swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/90] Compiling Optimizely OPTBucketer.swift
[5/90] Compiling Optimizely OPTDataStore.swift
[6/90] Compiling Optimizely OPTDecisionService.swift
[7/90] Compiling Optimizely OPTNotificationCenter.swift
[8/90] Compiling Optimizely AtomicArray.swift
[9/90] Compiling Optimizely AtomicDictionary.swift
[10/90] Compiling Optimizely AtomicProperty.swift
[11/90] Compiling Optimizely Constants.swift
[12/90] Compiling Optimizely HandlerRegistryService.swift
[13/90] Compiling Optimizely LruCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:75:39: warning: capture of non-sendable type 'K.Type' in an isolated closure
73 |
74 | queue.async(flags: .barrier) {
75 | let oldSegments = self.map[key]
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
76 | let newSegments = CacheElement(key: key, value: value)
77 | self.map[key] = newSegments
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:71:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
69 | }
70 |
71 | func save(key: K, value: V) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
72 | if maxSize <= 0 { return }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:20: warning: variable 'item' was never mutated; consider changing to 'let' constant
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: variable 'item' was never mutated; consider changing to 'let' constant
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:35: warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:92:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
90 | }
91 |
92 | func remove(key: K) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
[14/90] Compiling Optimizely OdpConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:75:39: warning: capture of non-sendable type 'K.Type' in an isolated closure
73 |
74 | queue.async(flags: .barrier) {
75 | let oldSegments = self.map[key]
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
76 | let newSegments = CacheElement(key: key, value: value)
77 | self.map[key] = newSegments
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:71:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
69 | }
70 |
71 | func save(key: K, value: V) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
72 | if maxSize <= 0 { return }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:20: warning: variable 'item' was never mutated; consider changing to 'let' constant
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: variable 'item' was never mutated; consider changing to 'let' constant
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:35: warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:92:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
90 | }
91 |
92 | func remove(key: K) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
[15/90] Compiling Optimizely OdpEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:75:39: warning: capture of non-sendable type 'K.Type' in an isolated closure
73 |
74 | queue.async(flags: .barrier) {
75 | let oldSegments = self.map[key]
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
76 | let newSegments = CacheElement(key: key, value: value)
77 | self.map[key] = newSegments
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:71:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
69 | }
70 |
71 | func save(key: K, value: V) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
72 | if maxSize <= 0 { return }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:20: warning: variable 'item' was never mutated; consider changing to 'let' constant
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: variable 'item' was never mutated; consider changing to 'let' constant
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:35: warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:92:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
90 | }
91 |
92 | func remove(key: K) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
[16/90] Compiling Optimizely OdpEventApiManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:75:39: warning: capture of non-sendable type 'K.Type' in an isolated closure
73 |
74 | queue.async(flags: .barrier) {
75 | let oldSegments = self.map[key]
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
76 | let newSegments = CacheElement(key: key, value: value)
77 | self.map[key] = newSegments
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:71:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
69 | }
70 |
71 | func save(key: K, value: V) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
72 | if maxSize <= 0 { return }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:20: warning: variable 'item' was never mutated; consider changing to 'let' constant
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: variable 'item' was never mutated; consider changing to 'let' constant
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:35: warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:92:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
90 | }
91 |
92 | func remove(key: K) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
[17/90] Compiling Optimizely OdpEventManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:75:39: warning: capture of non-sendable type 'K.Type' in an isolated closure
73 |
74 | queue.async(flags: .barrier) {
75 | let oldSegments = self.map[key]
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
76 | let newSegments = CacheElement(key: key, value: value)
77 | self.map[key] = newSegments
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:71:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
69 | }
70 |
71 | func save(key: K, value: V) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
72 | if maxSize <= 0 { return }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:20: warning: variable 'item' was never mutated; consider changing to 'let' constant
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: variable 'item' was never mutated; consider changing to 'let' constant
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:35: warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:92:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
90 | }
91 |
92 | func remove(key: K) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
[18/90] Compiling Optimizely OdpManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:75:39: warning: capture of non-sendable type 'K.Type' in an isolated closure
73 |
74 | queue.async(flags: .barrier) {
75 | let oldSegments = self.map[key]
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
76 | let newSegments = CacheElement(key: key, value: value)
77 | self.map[key] = newSegments
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:71:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
69 | }
70 |
71 | func save(key: K, value: V) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
72 | if maxSize <= 0 { return }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:20: warning: variable 'item' was never mutated; consider changing to 'let' constant
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: variable 'item' was never mutated; consider changing to 'let' constant
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:35: warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:92:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
90 | }
91 |
92 | func remove(key: K) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
[19/90] Compiling Optimizely OdpSegmentApiManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:75:39: warning: capture of non-sendable type 'K.Type' in an isolated closure
73 |
74 | queue.async(flags: .barrier) {
75 | let oldSegments = self.map[key]
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
76 | let newSegments = CacheElement(key: key, value: value)
77 | self.map[key] = newSegments
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:71:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
69 | }
70 |
71 | func save(key: K, value: V) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
72 | if maxSize <= 0 { return }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:20: warning: variable 'item' was never mutated; consider changing to 'let' constant
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: variable 'item' was never mutated; consider changing to 'let' constant
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:35: warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:92:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
90 | }
91 |
92 | func remove(key: K) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
[20/90] Compiling Optimizely OdpSegmentManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:75:39: warning: capture of non-sendable type 'K.Type' in an isolated closure
73 |
74 | queue.async(flags: .barrier) {
75 | let oldSegments = self.map[key]
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
76 | let newSegments = CacheElement(key: key, value: value)
77 | self.map[key] = newSegments
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:71:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
69 | }
70 |
71 | func save(key: K, value: V) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
72 | if maxSize <= 0 { return }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:20: warning: variable 'item' was never mutated; consider changing to 'let' constant
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: variable 'item' was never mutated; consider changing to 'let' constant
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:35: warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:92:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
90 | }
91 |
92 | func remove(key: K) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
[21/90] Compiling Optimizely OptimizelySdkSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:75:39: warning: capture of non-sendable type 'K.Type' in an isolated closure
73 |
74 | queue.async(flags: .barrier) {
75 | let oldSegments = self.map[key]
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
76 | let newSegments = CacheElement(key: key, value: value)
77 | self.map[key] = newSegments
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:71:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
69 | }
70 |
71 | func save(key: K, value: V) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
72 | if maxSize <= 0 { return }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:20: warning: variable 'item' was never mutated; consider changing to 'let' constant
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: variable 'item' was never mutated; consider changing to 'let' constant
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:95:35: warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
95 | if var item = self.map[key] {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
96 | self.removeFromLink(item)
97 | self.map[key] = nil
/Users/admin/builder/spi-builder-workspace/Sources/ODP/LruCache.swift:92:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
90 | }
91 |
92 | func remove(key: K) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
93 | if maxSize <= 0 { return }
94 | queue.async(flags: .barrier) {
[22/99] Compiling Optimizely Experiment.swift
[23/99] Compiling Optimizely ExperimentCore.swift
[24/99] Compiling Optimizely FeatureFlag.swift
[25/99] Compiling Optimizely FeatureVariable.swift
[26/99] Compiling Optimizely Group.swift
[27/99] Compiling Optimizely Holdout.swift
[28/99] Compiling Optimizely HoldoutConfig.swift
[29/99] Compiling Optimizely Integration.swift
[30/99] Compiling Optimizely Project.swift
[31/99] Compiling Optimizely ProjectConfig.swift
[32/99] Compiling Optimizely AttributeValue.swift
[33/99] Compiling Optimizely Audience.swift
[34/99] Compiling Optimizely ConditionHolder.swift
[35/99] Compiling Optimizely ConditionLeaf.swift
[36/99] Compiling Optimizely SemanticVersion.swift
[37/99] Compiling Optimizely UserAttribute.swift
[38/99] Compiling Optimizely Cmab.swift
[39/99] Compiling Optimizely BatchEvent.swift
[40/99] Compiling Optimizely EventForDispatch.swift
[41/99] Compiling Optimizely Event.swift
[42/99] Compiling Optimizely DataStoreQueueStackImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:42:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
40 | public func save(item: T) {
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
43 |
44 | if var queue = self.dataStore.getItem(forKey: self.queueStackName) as? [Data] {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:40:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
38 | - Parameter item: Item to save.
39 | */
40 | public func save(item: T) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
[43/99] Compiling Optimizely DataStoreUserDefaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:42:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
40 | public func save(item: T) {
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
43 |
44 | if var queue = self.dataStore.getItem(forKey: self.queueStackName) as? [Data] {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:40:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
38 | - Parameter item: Item to save.
39 | */
40 | public func save(item: T) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
[44/99] Compiling Optimizely DecisionInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:42:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
40 | public func save(item: T) {
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
43 |
44 | if var queue = self.dataStore.getItem(forKey: self.queueStackName) as? [Data] {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:40:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
38 | - Parameter item: Item to save.
39 | */
40 | public func save(item: T) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
[45/99] Compiling Optimizely DecisionReasons.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:42:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
40 | public func save(item: T) {
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
43 |
44 | if var queue = self.dataStore.getItem(forKey: self.queueStackName) as? [Data] {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:40:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
38 | - Parameter item: Item to save.
39 | */
40 | public func save(item: T) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
[46/99] Compiling Optimizely DecisionResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:42:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
40 | public func save(item: T) {
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
43 |
44 | if var queue = self.dataStore.getItem(forKey: self.queueStackName) as? [Data] {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:40:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
38 | - Parameter item: Item to save.
39 | */
40 | public func save(item: T) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
[47/99] Compiling Optimizely DefaultBucketer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:42:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
40 | public func save(item: T) {
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
43 |
44 | if var queue = self.dataStore.getItem(forKey: self.queueStackName) as? [Data] {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:40:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
38 | - Parameter item: Item to save.
39 | */
40 | public func save(item: T) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
[48/99] Compiling Optimizely DefaultDecisionService.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:42:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
40 | public func save(item: T) {
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
43 |
44 | if var queue = self.dataStore.getItem(forKey: self.queueStackName) as? [Data] {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:40:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
38 | - Parameter item: Item to save.
39 | */
40 | public func save(item: T) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
[49/99] Compiling Optimizely DefaultNotificationCenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:42:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
40 | public func save(item: T) {
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
43 |
44 | if var queue = self.dataStore.getItem(forKey: self.queueStackName) as? [Data] {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:40:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
38 | - Parameter item: Item to save.
39 | */
40 | public func save(item: T) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
[50/99] Compiling Optimizely BatchEventBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:42:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
40 | public func save(item: T) {
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
43 |
44 | if var queue = self.dataStore.getItem(forKey: self.queueStackName) as? [Data] {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:40:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
38 | - Parameter item: Item to save.
39 | */
40 | public func save(item: T) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
[51/99] Compiling Optimizely UserProfileTracker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:42:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
40 | public func save(item: T) {
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
43 |
44 | if var queue = self.dataStore.getItem(forKey: self.queueStackName) as? [Data] {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreQueueStackImpl.swift:40:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
38 | - Parameter item: Item to save.
39 | */
40 | public func save(item: T) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
41 | lock.async {
42 | guard let data = try? JSONEncoder().encode(item) else { return }
[52/99] Compiling Optimizely Rollout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:64:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
62 | public func saveItem(forKey: String, value: Any) {
63 | lock.async {
64 | if let value = value as? T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
65 | self.data = value
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:62:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
60 | }
61 |
62 | public func saveItem(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
63 | lock.async {
64 | if let value = value as? T {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:72:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
70 | public func removeItem(forKey: String) {
71 | lock.async {
72 | self.data = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
73 | self.backupDataStore.removeItem(forKey: forKey)
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:70:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
68 | }
69 |
70 | public func removeItem(forKey: String) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
71 | lock.async {
72 | self.data = nil
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | func save(forKey: String, value: Any) {
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:78:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
76 | }
77 |
78 | func save(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
[53/99] Compiling Optimizely TrafficAllocation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:64:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
62 | public func saveItem(forKey: String, value: Any) {
63 | lock.async {
64 | if let value = value as? T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
65 | self.data = value
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:62:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
60 | }
61 |
62 | public func saveItem(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
63 | lock.async {
64 | if let value = value as? T {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:72:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
70 | public func removeItem(forKey: String) {
71 | lock.async {
72 | self.data = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
73 | self.backupDataStore.removeItem(forKey: forKey)
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:70:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
68 | }
69 |
70 | public func removeItem(forKey: String) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
71 | lock.async {
72 | self.data = nil
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | func save(forKey: String, value: Any) {
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:78:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
76 | }
77 |
78 | func save(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
[54/99] Compiling Optimizely Variable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:64:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
62 | public func saveItem(forKey: String, value: Any) {
63 | lock.async {
64 | if let value = value as? T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
65 | self.data = value
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:62:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
60 | }
61 |
62 | public func saveItem(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
63 | lock.async {
64 | if let value = value as? T {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:72:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
70 | public func removeItem(forKey: String) {
71 | lock.async {
72 | self.data = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
73 | self.backupDataStore.removeItem(forKey: forKey)
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:70:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
68 | }
69 |
70 | public func removeItem(forKey: String) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
71 | lock.async {
72 | self.data = nil
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | func save(forKey: String, value: Any) {
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:78:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
76 | }
77 |
78 | func save(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
[55/99] Compiling Optimizely Variation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:64:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
62 | public func saveItem(forKey: String, value: Any) {
63 | lock.async {
64 | if let value = value as? T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
65 | self.data = value
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:62:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
60 | }
61 |
62 | public func saveItem(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
63 | lock.async {
64 | if let value = value as? T {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:72:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
70 | public func removeItem(forKey: String) {
71 | lock.async {
72 | self.data = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
73 | self.backupDataStore.removeItem(forKey: forKey)
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:70:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
68 | }
69 |
70 | public func removeItem(forKey: String) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
71 | lock.async {
72 | self.data = nil
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | func save(forKey: String, value: Any) {
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:78:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
76 | }
77 |
78 | func save(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
[56/99] Compiling Optimizely Array+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:64:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
62 | public func saveItem(forKey: String, value: Any) {
63 | lock.async {
64 | if let value = value as? T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
65 | self.data = value
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:62:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
60 | }
61 |
62 | public func saveItem(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
63 | lock.async {
64 | if let value = value as? T {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:72:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
70 | public func removeItem(forKey: String) {
71 | lock.async {
72 | self.data = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
73 | self.backupDataStore.removeItem(forKey: forKey)
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:70:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
68 | }
69 |
70 | public func removeItem(forKey: String) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
71 | lock.async {
72 | self.data = nil
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | func save(forKey: String, value: Any) {
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:78:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
76 | }
77 |
78 | func save(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
[57/99] Compiling Optimizely ArrayEventForDispatch+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:64:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
62 | public func saveItem(forKey: String, value: Any) {
63 | lock.async {
64 | if let value = value as? T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
65 | self.data = value
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:62:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
60 | }
61 |
62 | public func saveItem(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
63 | lock.async {
64 | if let value = value as? T {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:72:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
70 | public func removeItem(forKey: String) {
71 | lock.async {
72 | self.data = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
73 | self.backupDataStore.removeItem(forKey: forKey)
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:70:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
68 | }
69 |
70 | public func removeItem(forKey: String) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
71 | lock.async {
72 | self.data = nil
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | func save(forKey: String, value: Any) {
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:78:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
76 | }
77 |
78 | func save(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
[58/99] Compiling Optimizely DataStoreQueueStackImpl+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:64:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
62 | public func saveItem(forKey: String, value: Any) {
63 | lock.async {
64 | if let value = value as? T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
65 | self.data = value
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:62:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
60 | }
61 |
62 | public func saveItem(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
63 | lock.async {
64 | if let value = value as? T {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:72:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
70 | public func removeItem(forKey: String) {
71 | lock.async {
72 | self.data = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
73 | self.backupDataStore.removeItem(forKey: forKey)
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:70:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
68 | }
69 |
70 | public func removeItem(forKey: String) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
71 | lock.async {
72 | self.data = nil
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | func save(forKey: String, value: Any) {
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:78:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
76 | }
77 |
78 | func save(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
[59/99] Compiling Optimizely OptimizelyClient+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:64:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
62 | public func saveItem(forKey: String, value: Any) {
63 | lock.async {
64 | if let value = value as? T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
65 | self.data = value
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:62:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
60 | }
61 |
62 | public func saveItem(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
63 | lock.async {
64 | if let value = value as? T {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:72:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
70 | public func removeItem(forKey: String) {
71 | lock.async {
72 | self.data = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
73 | self.backupDataStore.removeItem(forKey: forKey)
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:70:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
68 | }
69 |
70 | public func removeItem(forKey: String) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
71 | lock.async {
72 | self.data = nil
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | func save(forKey: String, value: Any) {
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:78:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
76 | }
77 |
78 | func save(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
[60/99] Compiling Optimizely DataStoreFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:64:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
62 | public func saveItem(forKey: String, value: Any) {
63 | lock.async {
64 | if let value = value as? T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
65 | self.data = value
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:62:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
60 | }
61 |
62 | public func saveItem(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
63 | lock.async {
64 | if let value = value as? T {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:72:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
70 | public func removeItem(forKey: String) {
71 | lock.async {
72 | self.data = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
73 | self.backupDataStore.removeItem(forKey: forKey)
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:70:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
68 | }
69 |
70 | public func removeItem(forKey: String) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
71 | lock.async {
72 | self.data = nil
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | func save(forKey: String, value: Any) {
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:78:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
76 | }
77 |
78 | func save(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
[61/99] Compiling Optimizely DataStoreMemory.swift
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:64:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
62 | public func saveItem(forKey: String, value: Any) {
63 | lock.async {
64 | if let value = value as? T {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
65 | self.data = value
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:62:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
60 | }
61 |
62 | public func saveItem(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
63 | lock.async {
64 | if let value = value as? T {
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:72:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
70 | public func removeItem(forKey: String) {
71 | lock.async {
72 | self.data = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
73 | self.backupDataStore.removeItem(forKey: forKey)
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:70:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
68 | }
69 |
70 | public func removeItem(forKey: String) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
71 | lock.async {
72 | self.data = nil
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | func save(forKey: String, value: Any) {
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Implementation/Datastore/DataStoreMemory.swift:78:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
76 | }
77 |
78 | func save(forKey: String, value: Any) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
79 | lock.async {
80 | self.backupDataStore.saveItem(forKey: forKey, value: value)
[62/99] Compiling Optimizely OptimizelySegmentOption.swift
[63/99] Compiling Optimizely OptimizelyClient+Decide.swift
[64/99] Compiling Optimizely OptimizelyDecideOption.swift
[65/99] Compiling Optimizely OptimizelyDecision.swift
[66/99] Compiling Optimizely OptimizelyUserContext+ObjC.swift
[67/99] Compiling Optimizely OptimizelyUserContext.swift
[68/99] Compiling Optimizely OptimizelyClient+ObjC.swift
[69/99] Compiling Optimizely OptimizelyClient.swift
[70/99] Compiling Optimizely OptimizelyConfig+ObjC.swift
[71/99] Emitting module Optimizely
[72/99] Compiling Optimizely CmabClient.swift
[73/99] Compiling Optimizely DefaultDatafileHandler.swift
[74/99] Compiling Optimizely DefaultEventDispatcher.swift
[75/99] Compiling Optimizely DefaultLogger.swift
[76/99] Compiling Optimizely DefaultUserProfileService.swift
[77/99] Compiling Optimizely OPTDatafileHandler.swift
[78/99] Compiling Optimizely OPTEventDispatcher.swift
[79/99] Compiling Optimizely OPTLogger.swift
[80/99] Compiling Optimizely OPTUserProfileService.swift
[81/99] Compiling Optimizely Attribute.swift
[82/99] Compiling Optimizely OptimizelyConfig.swift
[83/99] Compiling Optimizely OptimizelyError.swift
[84/99] Compiling Optimizely OptimizelyJSON+ObjC.swift
[85/99] Compiling Optimizely OptimizelyJSON.swift
[86/99] Compiling Optimizely OptimizelyLogLevel.swift
[87/99] Compiling Optimizely OptimizelyResult.swift
[88/99] Compiling Optimizely VuidManager.swift
[89/99] Compiling Optimizely BackgroundingCallbacks.swift
[90/99] Compiling Optimizely DataStoreQueueStack.swift
[91/99] Compiling Optimizely LogMessage.swift
[92/99] Compiling Optimizely MurmurHash3.swift
[93/99] Compiling Optimizely NetworkReachability.swift
[94/99] Compiling Optimizely Notifications.swift
[95/99] Compiling Optimizely SDKVersion.swift
[96/99] Compiling Optimizely ThreadSafeLogger.swift
[97/99] Compiling Optimizely Utils.swift
[98/99] Compiling Optimizely WatchBackgroundNotifier.swift
[99/99] Compiling Optimizely resource_bundle_accessor.swift
Build complete! (8.00s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/Supporting Files/Info.plist
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Optimizely",
"name" : "Optimizely",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Optimizely",
"targets" : [
"Optimizely"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "Optimizely",
"module_type" : "SwiftTarget",
"name" : "Optimizely",
"path" : "Sources",
"product_memberships" : [
"Optimizely"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Supporting Files/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CMAB/CmabClient.swift",
"Customization/DefaultDatafileHandler.swift",
"Customization/DefaultEventDispatcher.swift",
"Customization/DefaultLogger.swift",
"Customization/DefaultUserProfileService.swift",
"Customization/Protocols/OPTDatafileHandler.swift",
"Customization/Protocols/OPTEventDispatcher.swift",
"Customization/Protocols/OPTLogger.swift",
"Customization/Protocols/OPTUserProfileService.swift",
"Data Model/Attribute.swift",
"Data Model/Audience/AttributeValue.swift",
"Data Model/Audience/Audience.swift",
"Data Model/Audience/ConditionHolder.swift",
"Data Model/Audience/ConditionLeaf.swift",
"Data Model/Audience/SemanticVersion.swift",
"Data Model/Audience/UserAttribute.swift",
"Data Model/Cmab.swift",
"Data Model/DispatchEvents/BatchEvent.swift",
"Data Model/DispatchEvents/EventForDispatch.swift",
"Data Model/Event.swift",
"Data Model/Experiment.swift",
"Data Model/ExperimentCore.swift",
"Data Model/FeatureFlag.swift",
"Data Model/FeatureVariable.swift",
"Data Model/Group.swift",
"Data Model/Holdout.swift",
"Data Model/HoldoutConfig.swift",
"Data Model/Integration.swift",
"Data Model/Project.swift",
"Data Model/ProjectConfig.swift",
"Data Model/Rollout.swift",
"Data Model/TrafficAllocation.swift",
"Data Model/Variable.swift",
"Data Model/Variation.swift",
"Extensions/Array+Extension.swift",
"Extensions/ArrayEventForDispatch+Extension.swift",
"Extensions/DataStoreQueueStackImpl+Extension.swift",
"Extensions/OptimizelyClient+Extension.swift",
"Implementation/Datastore/DataStoreFile.swift",
"Implementation/Datastore/DataStoreMemory.swift",
"Implementation/Datastore/DataStoreQueueStackImpl.swift",
"Implementation/Datastore/DataStoreUserDefaults.swift",
"Implementation/DecisionInfo.swift",
"Implementation/DecisionReasons.swift",
"Implementation/DecisionResponse.swift",
"Implementation/DefaultBucketer.swift",
"Implementation/DefaultDecisionService.swift",
"Implementation/DefaultNotificationCenter.swift",
"Implementation/Events/BatchEventBuilder.swift",
"Implementation/UserProfileTracker.swift",
"ODP/LruCache.swift",
"ODP/OdpConfig.swift",
"ODP/OdpEvent.swift",
"ODP/OdpEventApiManager.swift",
"ODP/OdpEventManager.swift",
"ODP/OdpManager.swift",
"ODP/OdpSegmentApiManager.swift",
"ODP/OdpSegmentManager.swift",
"ODP/OptimizelySdkSettings.swift",
"ODP/OptimizelySegmentOption.swift",
"Optimizely+Decide/OptimizelyClient+Decide.swift",
"Optimizely+Decide/OptimizelyDecideOption.swift",
"Optimizely+Decide/OptimizelyDecision.swift",
"Optimizely+Decide/OptimizelyUserContext+ObjC.swift",
"Optimizely+Decide/OptimizelyUserContext.swift",
"Optimizely/OptimizelyClient+ObjC.swift",
"Optimizely/OptimizelyClient.swift",
"Optimizely/OptimizelyConfig+ObjC.swift",
"Optimizely/OptimizelyConfig.swift",
"Optimizely/OptimizelyError.swift",
"Optimizely/OptimizelyJSON+ObjC.swift",
"Optimizely/OptimizelyJSON.swift",
"Optimizely/OptimizelyLogLevel.swift",
"Optimizely/OptimizelyResult.swift",
"Optimizely/VuidManager.swift",
"Protocols/BackgroundingCallbacks.swift",
"Protocols/DataStoreQueueStack.swift",
"Protocols/OPTBucketer.swift",
"Protocols/OPTDataStore.swift",
"Protocols/OPTDecisionService.swift",
"Protocols/OPTNotificationCenter.swift",
"Utils/AtomicArray.swift",
"Utils/AtomicDictionary.swift",
"Utils/AtomicProperty.swift",
"Utils/Constants.swift",
"Utils/HandlerRegistryService.swift",
"Utils/LogMessage.swift",
"Utils/MurmurHash3.swift",
"Utils/NetworkReachability.swift",
"Utils/Notifications.swift",
"Utils/SDKVersion.swift",
"Utils/ThreadSafeLogger.swift",
"Utils/Utils.swift",
"watchOS/WatchBackgroundNotifier.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.