Build Information
Successful build of OpenfortSwift, reference main (726c94), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 11:52:34 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
99 | onReady()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:106:13: warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
106 | onFail(err)
| |- warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:142:21: warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
140 | let isSuccess = userInfo["success"] as? Bool {
141 | if isSuccess {
142 | completion(.success(()))
| |- warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | } else {
144 | let msg = userInfo["errorMessage"] as? String
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:202:25: warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
200 | if isSuccess {
201 | if let object = notification.object as? T {
202 | completion(.success(object))
| |- warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
203 | } else {
204 | completion(.success(nil))
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:96:15: warning: 'okObs' mutated after capture by sendable closure
92 | let readyName = Notification.Name("openfortReady")
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
| `- note: variable defined here
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| | `- note: variable captured by sendable closure
| `- warning: 'okObs' mutated after capture by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
| `- note: capturing use
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
:
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| | `- note: variable captured by sendable closure
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| `- note: variable captured by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:136:18: warning: 'observer' mutated after capture by sendable closure
133 |
134 | let notificationName = Notification.Name(method)
135 | var observer: NSObjectProtocol?
| `- note: variable defined here
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:195:18: warning: 'observer' mutated after capture by sendable closure
192 |
193 | let notificationName = Notification.Name(method)
194 | var observer: NSObjectProtocol?
| `- note: variable defined here
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
197 |
198 | if let userInfo = notification.userInfo,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1457/1470] Compiling OpenfortSwift OFMethods.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
99 | onReady()
100 | }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:99:13: warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
| |- warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
99 | onReady()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:106:13: warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
106 | onFail(err)
| |- warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:142:21: warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
140 | let isSuccess = userInfo["success"] as? Bool {
141 | if isSuccess {
142 | completion(.success(()))
| |- warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | } else {
144 | let msg = userInfo["errorMessage"] as? String
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:202:25: warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
200 | if isSuccess {
201 | if let object = notification.object as? T {
202 | completion(.success(object))
| |- warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
203 | } else {
204 | completion(.success(nil))
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:96:15: warning: 'okObs' mutated after capture by sendable closure
92 | let readyName = Notification.Name("openfortReady")
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
| `- note: variable defined here
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| | `- note: variable captured by sendable closure
| `- warning: 'okObs' mutated after capture by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
| `- note: capturing use
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
:
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| | `- note: variable captured by sendable closure
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| `- note: variable captured by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:136:18: warning: 'observer' mutated after capture by sendable closure
133 |
134 | let notificationName = Notification.Name(method)
135 | var observer: NSObjectProtocol?
| `- note: variable defined here
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:195:18: warning: 'observer' mutated after capture by sendable closure
192 |
193 | let notificationName = Notification.Name(method)
194 | var observer: NSObjectProtocol?
| `- note: variable defined here
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
197 |
198 | if let userInfo = notification.userInfo,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1458/1470] Compiling OpenfortSwift OFOpenfortRootable.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
99 | onReady()
100 | }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:99:13: warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
| |- warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
99 | onReady()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:106:13: warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
106 | onFail(err)
| |- warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:142:21: warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
140 | let isSuccess = userInfo["success"] as? Bool {
141 | if isSuccess {
142 | completion(.success(()))
| |- warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | } else {
144 | let msg = userInfo["errorMessage"] as? String
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:202:25: warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
200 | if isSuccess {
201 | if let object = notification.object as? T {
202 | completion(.success(object))
| |- warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
203 | } else {
204 | completion(.success(nil))
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:96:15: warning: 'okObs' mutated after capture by sendable closure
92 | let readyName = Notification.Name("openfortReady")
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
| `- note: variable defined here
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| | `- note: variable captured by sendable closure
| `- warning: 'okObs' mutated after capture by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
| `- note: capturing use
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
:
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| | `- note: variable captured by sendable closure
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| `- note: variable captured by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:136:18: warning: 'observer' mutated after capture by sendable closure
133 |
134 | let notificationName = Notification.Name(method)
135 | var observer: NSObjectProtocol?
| `- note: variable defined here
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:195:18: warning: 'observer' mutated after capture by sendable closure
192 |
193 | let notificationName = Notification.Name(method)
194 | var observer: NSObjectProtocol?
| `- note: variable defined here
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
197 |
198 | if let userInfo = notification.userInfo,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1459/1470] Compiling OpenfortSwift OFProxible.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
99 | onReady()
100 | }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:99:13: warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
| |- warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
99 | onReady()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:106:13: warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
106 | onFail(err)
| |- warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:142:21: warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
140 | let isSuccess = userInfo["success"] as? Bool {
141 | if isSuccess {
142 | completion(.success(()))
| |- warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | } else {
144 | let msg = userInfo["errorMessage"] as? String
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:202:25: warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
200 | if isSuccess {
201 | if let object = notification.object as? T {
202 | completion(.success(object))
| |- warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
203 | } else {
204 | completion(.success(nil))
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:96:15: warning: 'okObs' mutated after capture by sendable closure
92 | let readyName = Notification.Name("openfortReady")
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
| `- note: variable defined here
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| | `- note: variable captured by sendable closure
| `- warning: 'okObs' mutated after capture by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
| `- note: capturing use
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
:
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| | `- note: variable captured by sendable closure
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| `- note: variable captured by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:136:18: warning: 'observer' mutated after capture by sendable closure
133 |
134 | let notificationName = Notification.Name(method)
135 | var observer: NSObjectProtocol?
| `- note: variable defined here
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:195:18: warning: 'observer' mutated after capture by sendable closure
192 |
193 | let notificationName = Notification.Name(method)
194 | var observer: NSObjectProtocol?
| `- note: variable defined here
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
197 |
198 | if let userInfo = notification.userInfo,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1460/1470] Compiling OpenfortSwift OFUserAccessable.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
99 | onReady()
100 | }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:99:13: warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
| |- warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
99 | onReady()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:106:13: warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
106 | onFail(err)
| |- warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:142:21: warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
140 | let isSuccess = userInfo["success"] as? Bool {
141 | if isSuccess {
142 | completion(.success(()))
| |- warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | } else {
144 | let msg = userInfo["errorMessage"] as? String
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:202:25: warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
200 | if isSuccess {
201 | if let object = notification.object as? T {
202 | completion(.success(object))
| |- warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
203 | } else {
204 | completion(.success(nil))
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:96:15: warning: 'okObs' mutated after capture by sendable closure
92 | let readyName = Notification.Name("openfortReady")
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
| `- note: variable defined here
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| | `- note: variable captured by sendable closure
| `- warning: 'okObs' mutated after capture by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
| `- note: capturing use
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
:
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| | `- note: variable captured by sendable closure
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| `- note: variable captured by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:136:18: warning: 'observer' mutated after capture by sendable closure
133 |
134 | let notificationName = Notification.Name(method)
135 | var observer: NSObjectProtocol?
| `- note: variable defined here
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:195:18: warning: 'observer' mutated after capture by sendable closure
192 |
193 | let notificationName = Notification.Name(method)
194 | var observer: NSObjectProtocol?
| `- note: variable defined here
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
197 |
198 | if let userInfo = notification.userInfo,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1461/1470] Compiling OpenfortSwift OFAddEmailResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
99 | onReady()
100 | }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:99:13: warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
| |- warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
99 | onReady()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:106:13: warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
106 | onFail(err)
| |- warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:142:21: warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
140 | let isSuccess = userInfo["success"] as? Bool {
141 | if isSuccess {
142 | completion(.success(()))
| |- warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | } else {
144 | let msg = userInfo["errorMessage"] as? String
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:202:25: warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
200 | if isSuccess {
201 | if let object = notification.object as? T {
202 | completion(.success(object))
| |- warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
203 | } else {
204 | completion(.success(nil))
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:96:15: warning: 'okObs' mutated after capture by sendable closure
92 | let readyName = Notification.Name("openfortReady")
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
| `- note: variable defined here
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| | `- note: variable captured by sendable closure
| `- warning: 'okObs' mutated after capture by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
| `- note: capturing use
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
:
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| | `- note: variable captured by sendable closure
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| `- note: variable captured by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:136:18: warning: 'observer' mutated after capture by sendable closure
133 |
134 | let notificationName = Notification.Name(method)
135 | var observer: NSObjectProtocol?
| `- note: variable defined here
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:195:18: warning: 'observer' mutated after capture by sendable closure
192 |
193 | let notificationName = Notification.Name(method)
194 | var observer: NSObjectProtocol?
| `- note: variable defined here
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
197 |
198 | if let userInfo = notification.userInfo,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1462/1470] Compiling OpenfortSwift OFAuthPlayerResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
99 | onReady()
100 | }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:99:13: warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
| |- warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
99 | onReady()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:106:13: warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
106 | onFail(err)
| |- warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:142:21: warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
140 | let isSuccess = userInfo["success"] as? Bool {
141 | if isSuccess {
142 | completion(.success(()))
| |- warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | } else {
144 | let msg = userInfo["errorMessage"] as? String
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:202:25: warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
200 | if isSuccess {
201 | if let object = notification.object as? T {
202 | completion(.success(object))
| |- warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
203 | } else {
204 | completion(.success(nil))
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:96:15: warning: 'okObs' mutated after capture by sendable closure
92 | let readyName = Notification.Name("openfortReady")
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
| `- note: variable defined here
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| | `- note: variable captured by sendable closure
| `- warning: 'okObs' mutated after capture by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
| `- note: capturing use
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
:
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| | `- note: variable captured by sendable closure
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| `- note: variable captured by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:136:18: warning: 'observer' mutated after capture by sendable closure
133 |
134 | let notificationName = Notification.Name(method)
135 | var observer: NSObjectProtocol?
| `- note: variable defined here
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:195:18: warning: 'observer' mutated after capture by sendable closure
192 |
193 | let notificationName = Notification.Name(method)
194 | var observer: NSObjectProtocol?
| `- note: variable defined here
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
197 |
198 | if let userInfo = notification.userInfo,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1463/1470] Compiling OpenfortSwift OFAuthenticateWithSIWEResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
99 | onReady()
100 | }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:99:13: warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
| |- warning: capture of 'onReady' with non-Sendable type '() -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:97:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:98:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
99 | onReady()
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: capture of 'okObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: capture of 'failObs' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:106:13: warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
106 | onFail(err)
| |- warning: capture of 'onFail' with non-Sendable type '(any Error) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:102:24: warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
| `- warning: reference to captured var 'okObs' in concurrently-executing code [#SendableClosureCaptures]
103 | if let f = failObs { center.removeObserver(f) }
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:103:24: warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- warning: reference to captured var 'failObs' in concurrently-executing code [#SendableClosureCaptures]
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:142:21: warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
140 | let isSuccess = userInfo["success"] as? Bool {
141 | if isSuccess {
142 | completion(.success(()))
| |- warning: capture of 'completion' with non-Sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | } else {
144 | let msg = userInfo["errorMessage"] as? String
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:137:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
135 | var observer: NSObjectProtocol?
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: capture of 'observer' with non-Sendable type '(any NSObjectProtocol)?' in a '@Sendable' closure [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
13 | @class NSString, NSMethodSignature, NSInvocation;
14 |
15 | @protocol NSObject
| `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
16 |
17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:202:25: warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
200 | if isSuccess {
201 | if let object = notification.object as? T {
202 | completion(.success(object))
| |- warning: capture of 'completion' with non-Sendable type '(Result<T?, any Error>) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
203 | } else {
204 | completion(.success(nil))
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:196:26: warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
194 | var observer: NSObjectProtocol?
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- warning: reference to captured var 'observer' in concurrently-executing code [#SendableClosureCaptures]
197 |
198 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:96:15: warning: 'okObs' mutated after capture by sendable closure
92 | let readyName = Notification.Name("openfortReady")
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
| `- note: variable defined here
95 | var failObs: NSObjectProtocol?
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| | `- note: variable captured by sendable closure
| `- warning: 'okObs' mutated after capture by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
| `- note: capturing use
98 | if let f = failObs { center.removeObserver(f) }
99 | onReady()
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
97 | if let o = okObs { center.removeObserver(o) }
:
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| | `- note: variable captured by sendable closure
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
104 | let msg = (note.userInfo?["error"] as? String) ?? "Initialization failed"
105 | let err = NSError(domain: "OFInitialization", code: -1, userInfo: [NSLocalizedDescriptionKey: msg])
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:101:17: warning: 'failObs' mutated after capture by sendable closure
93 | let failName = Notification.Name("openfortInitError")
94 | var okObs: NSObjectProtocol?
95 | var failObs: NSObjectProtocol?
| `- note: variable defined here
96 | okObs = center.addObserver(forName: readyName, object: nil, queue: .main) { _ in
| `- note: variable captured by sendable closure
97 | if let o = okObs { center.removeObserver(o) }
98 | if let f = failObs { center.removeObserver(f) }
| `- note: capturing use
99 | onReady()
100 | }
101 | failObs = center.addObserver(forName: failName, object: nil, queue: .main) { note in
| `- warning: 'failObs' mutated after capture by sendable closure
102 | if let o = okObs { center.removeObserver(o) }
103 | if let f = failObs { center.removeObserver(f) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:136:18: warning: 'observer' mutated after capture by sendable closure
133 |
134 | let notificationName = Notification.Name(method)
135 | var observer: NSObjectProtocol?
| `- note: variable defined here
136 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
137 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
138 |
139 | if let userInfo = notification.userInfo,
/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Protocols/OFOpenfortRootable.swift:195:18: warning: 'observer' mutated after capture by sendable closure
192 |
193 | let notificationName = Notification.Name(method)
194 | var observer: NSObjectProtocol?
| `- note: variable defined here
195 | observer = NotificationCenter.default.addObserver(forName: notificationName, object: nil, queue: .main) { notification in
| | `- note: variable captured by sendable closure
| `- warning: 'observer' mutated after capture by sendable closure
196 | if let obs = observer { NotificationCenter.default.removeObserver(obs) }
| `- note: capturing use
197 |
198 | if let userInfo = notification.userInfo,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1464/1470] Compiling OpenfortSwift OFStorageMessageProcessor.swift
[1465/1470] Compiling OpenfortSwift OFAuthReplyHandler.swift
[1466/1470] Compiling OpenfortSwift OFConfig.swift
[1467/1470] Compiling OpenfortSwift OFScriptMessageHandler.swift
[1468/1470] Compiling OpenfortSwift OFWebView.swift
[1469/1470] Compiling OpenfortSwift OFWebViewCoordinator.swift
[1470/1470] Compiling OpenfortSwift resource_bundle_accessor.swift
Build complete! (63.63s)
warning: 'web3.swift': found 67 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/EthereumContract.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/UnsignedInteger+Shifting.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/Types+EthereumValueConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ABIObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Secp256k1+CTXCreator.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumCall.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/String+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/String+HexBytes.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3HttpProvider.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPItem.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityWrappedValue.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityInvocation.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+SecureRandom.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumTransaction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/SynchronizedArray.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/UnsignedInteger+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/Eth+ABI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+UInt.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumQuantity.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/String+Conversion.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3+HTTPInitializer.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPItemConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityEvent.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC20.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/Types+RLPItemConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/CharacterSet+Hex.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/Eth+Contract.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumBlockObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumTransactionObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/BigUInt+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Data+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPDecoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/EthereumUtils.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Exports+Web3.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumPrivateKey.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3+WebSocketInitializer.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/RPCRequest.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3WebSocketProvider.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/UInt+BytesRepresentable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/RPCResponse.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumSyncStatusObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumAddress.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+HexString.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/SynchronizedDictionary.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityTuple.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIEncoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumPublicKey.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumQuantityTag.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC721.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumLogObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityFunction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumValueConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Providers/Web3Provider.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC165.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+TrimLeadingZeros.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumTransactionReceiptObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPEncoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIDecoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumValue.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumData.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityType.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Int+ETH.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Web3/Web3.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityType+Codable.swift
warning: 'web3.swift': found 53 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/UnsignedInteger+Shifting.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/Types+EthereumValueConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Secp256k1+CTXCreator.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Exports+PromiseKit.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumCall.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/String+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/String+HexBytes.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3HttpProvider.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPItem.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Web3+PromiseKit.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumTransaction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+SecureRandom.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/SynchronizedArray.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/UnsignedInteger+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/String+Conversion.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+UInt.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumQuantity.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3+HTTPInitializer.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPItemConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/Types+RLPItemConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Data+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/EthereumUtils.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/CharacterSet+Hex.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumBlockObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumTransactionObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/BigUInt+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumPrivateKey.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3+WebSocketInitializer.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPDecoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Exports+Web3.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3WebSocketProvider.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/RPCRequest.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/UInt+BytesRepresentable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/RPCResponse.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumSyncStatusObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumAddress.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Promisable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+HexString.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/SynchronizedDictionary.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/ContractPromiseExtensions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumPublicKey.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumQuantityTag.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumLogObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumValueConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Providers/Web3Provider.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+TrimLeadingZeros.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumTransactionReceiptObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPEncoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumValue.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumData.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Int+ETH.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Web3/Web3.swift
warning: 'web3.swift': found 22 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/Eth+Contract.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC165.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityFunction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIDecoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Exports+PromiseKit.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityInvocation.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityEvent.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Web3+PromiseKit.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC20.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIEncoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityType+Codable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityWrappedValue.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC721.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/ContractPromiseExtensions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityTuple.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ABIObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/Eth+ABI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Promisable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityType.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/EthereumContract.swift
Build complete.
{
"dependencies" : [
{
"identity" : "web3.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.8",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Boilertalk/Web3.swift.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin.git"
}
],
"manifest_display_name" : "OpenfortSwift",
"name" : "OpenfortSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "OpenfortSwift",
"targets" : [
"OpenfortSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OpenfortSwiftTests",
"module_type" : "SwiftTarget",
"name" : "OpenfortSwiftTests",
"path" : "Tests/OpenfortSwiftTests",
"sources" : [
"OpenfortSwiftTests.swift"
],
"target_dependencies" : [
"OpenfortSwift"
],
"type" : "test"
},
{
"c99name" : "OpenfortSwift",
"module_type" : "SwiftTarget",
"name" : "OpenfortSwift",
"path" : "Sources/OpenfortSwift",
"product_dependencies" : [
"Web3",
"Web3PromiseKit",
"Web3ContractABI"
],
"product_memberships" : [
"OpenfortSwift"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Resources/index.html",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Resources/openfort-sync.js",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Resources/openfort.js",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Resources/securestorage.js",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Resources/storage.js",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/OpenfortSwift/Resources/utils.js",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AnyCodable/AnyCodable.swift",
"DTO/OFAddEmailParams.swift",
"DTO/OFAuthEmailPasswordParams.swift",
"DTO/OFAuthenticateWithSIWEParams.swift",
"DTO/OFConfigureEmbeddedWalletDTO.swift",
"DTO/OFEmbeddedAccountCreateParams.swift",
"DTO/OFEmbeddedAccountRecoverParams.swift",
"DTO/OFGetEthereumProviderParams.swift",
"DTO/OFInitLinkOAuthParams.swift",
"DTO/OFInitLinkSiweParams.swift",
"DTO/OFInitOAuthParams.swift",
"DTO/OFInitSIWEParams.swift",
"DTO/OFLinkPhoneOtpParams.swift",
"DTO/OFLinkWalletParams.swift",
"DTO/OFLinkWithSiweParams.swift",
"DTO/OFLogInWithEmailOtpParams.swift",
"DTO/OFLogInWithPhoneOtpParams.swift",
"DTO/OFLoginWithIdTokenParams.swift",
"DTO/OFLoginWithSiweParams.swift",
"DTO/OFRequestEmailOtpParams.swift",
"DTO/OFRequestEmailVerificationParams.swift",
"DTO/OFRequestPhoneOtpParams.swift",
"DTO/OFRequestResetPasswordParams.swift",
"DTO/OFResetPasswordParams.swift",
"DTO/OFSendSignatureSessionRequestParams.swift",
"DTO/OFSendSignatureTransactionIntentRequestParams.swift",
"DTO/OFSetRecoveryMethodParams.swift",
"DTO/OFSignMessageParams.swift",
"DTO/OFSignTypedDataParams.swift",
"DTO/OFSignUpWithEmailPasswordParams.swift",
"DTO/OFStoreCredentialsParams.swift",
"DTO/OFUnlinkOAuthParams.swift",
"DTO/OFUnlinkWalletParams.swift",
"DTO/OFVerifyEmailOtpParams.swift",
"DTO/OFVerifyEmailParams.swift",
"Errors/OFErrorDomains.swift",
"Errors/OFErrors.swift",
"Keychain/OFKeychainHelper.swift",
"OFSDK.swift",
"Protocols/OFAuthorizable.swift",
"Protocols/OFEmbeddedWalletAccessable.swift",
"Protocols/OFMethods.swift",
"Protocols/OFOpenfortRootable.swift",
"Protocols/OFProxible.swift",
"Protocols/OFUserAccessable.swift",
"ResponseModels/OFAddEmailResponse.swift",
"ResponseModels/OFAuthPlayerResponse.swift",
"ResponseModels/OFAuthenticateWithSIWEResponse.swift",
"ResponseModels/OFAuthorizationResponse.swift",
"ResponseModels/OFCodableSendable.swift",
"ResponseModels/OFEmbeddedState.swift",
"ResponseModels/OFGetResponse.swift",
"ResponseModels/OFGetUserInstanceResponse.swift",
"ResponseModels/OFInitLinkOAuthResponse.swift",
"ResponseModels/OFInitOAuthResponse.swift",
"ResponseModels/OFInitSIWEResponse.swift",
"ResponseModels/OFLinkWalletResponse.swift",
"ResponseModels/OFLinkedAccountResponse.swift",
"ResponseModels/OFListResponse.swift",
"ResponseModels/OFLoginWithIdTokenResponse.swift",
"ResponseModels/OFOAuthProvider.swift",
"ResponseModels/OFPoolOAuthResponse.swift",
"ResponseModels/OFSendSignatureTransactionIntentRequestResponse.swift",
"ResponseModels/OFSessionResponse.swift",
"ResponseModels/OFSignUpResponse.swift",
"ResponseModels/OFSimpleResultResponse.swift",
"ResponseModels/OFUnlinkOAuthResponse.swift",
"ResponseModels/OFUnlinkWalletResponse.swift",
"Utils/OpenfortEIP1193Provider.swift",
"WebView/MessageProcessors/OFScriptMessageProcessor.swift",
"WebView/MessageProcessors/OFStorageMessageProcessor.swift",
"WebView/OFAuthReplyHandler.swift",
"WebView/OFConfig.swift",
"WebView/OFScriptMessageHandler.swift",
"WebView/OFWebView.swift",
"WebView/OFWebViewCoordinator.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/openfort-xyz/swift-sdk/main
Repository: openfort-xyz/swift-sdk
Swift version used: 6.3
.package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.3.0")
Target: OpenfortSwift
Extracting symbol information for 'OpenfortSwift'...
Finished extracting symbol information for 'OpenfortSwift'. (52.06s)
Building documentation for 'OpenfortSwift'...
Finished building documentation for 'OpenfortSwift' (1.05s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/openfort-xyz/swift-sdk/main
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--6988338F2F200930.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Identifier.swift
[8/57] Compiling SymbolKit KindIdentifier.swift
[9/57] Compiling SymbolKit Location.swift
[10/57] Compiling SymbolKit Mutability.swift
[11/57] Compiling SymbolKit Mixin+Equals.swift
[12/57] Compiling SymbolKit Mixin+Hash.swift
[13/57] Compiling SymbolKit Mixin.swift
[14/57] Compiling SymbolKit LineList.swift
[15/57] Compiling SymbolKit Position.swift
[16/57] Compiling SymbolKit DeclarationFragments.swift
[17/57] Compiling SymbolKit Fragment.swift
[18/57] Compiling SymbolKit FragmentKind.swift
[19/57] Compiling SymbolKit FunctionParameter.swift
[20/57] Compiling SymbolKit FunctionSignature.swift
[21/57] Compiling SymbolKit Names.swift
[22/57] Compiling SymbolKit SPI.swift
[23/57] Compiling SymbolKit Snippet.swift
[24/57] Compiling SymbolKit Extension.swift
[25/57] Compiling SymbolKit SemanticVersion.swift
[26/57] Compiling SymbolKit AccessControl.swift
[27/57] Compiling SymbolKit Availability.swift
[28/57] Compiling SymbolKit AvailabilityItem.swift
[29/57] Compiling SymbolKit Domain.swift
[30/57] Compiling SymbolKit Relationship.swift
[31/57] Compiling SymbolKit RelationshipKind.swift
[32/57] Compiling SymbolKit SourceOrigin.swift
[33/57] Compiling SymbolKit GenericConstraints.swift
[34/57] Compiling SymbolKit Swift.swift
[35/57] Compiling SymbolKit GenericConstraint.swift
[36/57] Compiling SymbolKit GenericParameter.swift
[37/57] Compiling SymbolKit Generics.swift
[38/57] Compiling SymbolKit Namespace.swift
[39/57] Compiling SymbolKit SourceRange.swift
[40/57] Compiling SymbolKit Metadata.swift
[41/57] Compiling SymbolKit Module.swift
[42/57] Compiling SymbolKit OperatingSystem.swift
[43/57] Compiling SymbolKit Platform.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (5.92s)
warning: 'web3.swift': found 67 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Web3/Web3.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIEncoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/RPCResponse.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+UInt.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ABIObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityInvocation.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumValue.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityWrappedValue.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+HexString.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityEvent.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumCall.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/UInt+BytesRepresentable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumValueConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityFunction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumLogObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/EthereumUtils.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Providers/Web3Provider.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/String+HexBytes.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/String+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumTransactionObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Exports+Web3.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumQuantity.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3+HTTPInitializer.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumAddress.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Data+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPItemConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3HttpProvider.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPItem.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumTransactionReceiptObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/BigUInt+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC165.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumBlockObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityType+Codable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC721.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/EthereumContract.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+SecureRandom.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumSyncStatusObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityType.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/CharacterSet+Hex.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/SynchronizedDictionary.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3+WebSocketInitializer.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumData.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPDecoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumPublicKey.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumPrivateKey.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityTuple.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC20.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumQuantityTag.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Int+ETH.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+TrimLeadingZeros.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/Eth+Contract.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/SynchronizedArray.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/Eth+ABI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Secp256k1+CTXCreator.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/UnsignedInteger+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/UnsignedInteger+Shifting.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/String+Conversion.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/Types+RLPItemConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumTransaction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/Types+EthereumValueConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIDecoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPEncoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/RPCRequest.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3WebSocketProvider.swift
warning: 'web3.swift': found 53 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Web3/Web3.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/RPCResponse.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+UInt.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumValue.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+HexString.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumCall.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/UInt+BytesRepresentable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumValueConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Web3+PromiseKit.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumLogObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/EthereumUtils.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Providers/Web3Provider.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/String+HexBytes.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/String+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumTransactionObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Exports+Web3.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumQuantity.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Promisable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3+HTTPInitializer.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumAddress.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Data+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPItemConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3HttpProvider.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPItem.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumTransactionReceiptObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/BigUInt+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Exports+PromiseKit.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumBlockObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+SecureRandom.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumSyncStatusObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/CharacterSet+Hex.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/SynchronizedDictionary.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3+WebSocketInitializer.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumData.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPDecoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumPublicKey.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumPrivateKey.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/EthereumQuantityTag.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Int+ETH.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Bytes+TrimLeadingZeros.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/SynchronizedArray.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/Secp256k1+CTXCreator.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/UnsignedInteger+BytesConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/UnsignedInteger+Shifting.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Toolbox/String+Conversion.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/Types+RLPItemConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Transaction/EthereumTransaction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/Types+EthereumValueConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/ContractPromiseExtensions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/RLP/RLPEncoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/Core/Json/RPCRequest.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/FoundationHTTP/Web3WebSocketProvider.swift
warning: 'web3.swift': found 22 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Exports+PromiseKit.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ABIObject.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIConvertible.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityType.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIEncoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC20.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityFunction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityEvent.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/ContractPromiseExtensions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/Eth+Contract.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/SolidityInvocation.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABIDecoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityTuple.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/EthereumContract.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityType+Codable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Promisable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/Eth+ABI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/SolidityWrappedValue.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/ABI/ABI.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/PromiseKit/Web3+PromiseKit.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC721.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Web3.swift/Sources/ContractABI/Contract/ERC165.swift
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
Build of target: 'OpenfortSwift' complete! (3.43s)
2434
14 /Users/admin/builder/spi-builder-workspace/.docs/openfort-xyz/swift-sdk/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/openfort-xyz/swift-sdk/main
File count: 2434
Doc size: 14.0MB
Preparing doc bundle ...
Uploading prod-openfort-xyz-swift-sdk-main-b3ee1555.zip to s3://spi-docs-inbox/prod-openfort-xyz-swift-sdk-main-b3ee1555.zip
Copying... [11%]
Copying... [21%]
Copying... [32%]
Copying... [40%]
Copying... [51%]
Copying... [62%]
Copying... [70%]
Copying... [81%]
Copying... [91%]
Copying... [100%]
Done.