Build Information
Successful build of Extentos, reference main (d61f70), with Swift 6.1 for macOS (SPM) on 3 Sep 2026 05:09:51 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .statsBuild Log
183 | if let call {
184 | call.markCancelled()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultConnectionClient.swift:54:23: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
52 |
53 | func reconnect(deviceId: DeviceId?) async -> ExtentosResult<Void, ConnectError> {
54 | reconnectLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
55 | let prior = reconnectTail
56 | let work = Task { [transport] () -> ExtentosResult<Void, ConnectError> in
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultConnectionClient.swift:62:23: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | }
61 | reconnectTail = Task { _ = await work.value }
62 | reconnectLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
63 | return await work.value
64 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:59:22: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
57 | if willUpload {
58 | await transport.showDisplay(root: preparingVideoCard(), onSelect: { _ in }, onBack: onBack)
59 | lock.lock(); shownKind = "video_preparing"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | log.info("""
61 | display.video_preparing: hosting the recorded clip for the lens — a few \
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:59:66: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
57 | if willUpload {
58 | await transport.showDisplay(root: preparingVideoCard(), onSelect: { _ in }, onBack: onBack)
59 | lock.lock(); shownKind = "video_preparing"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | log.info("""
61 | display.video_preparing: hosting the recorded clip for the lens — a few \
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:70:26: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
68 | if willUpload {
69 | await transport.clearDisplay()
70 | lock.lock(); shownKind = nil; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
71 | }
72 | log.warning("""
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:70:56: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
68 | if willUpload {
69 | await transport.clearDisplay()
70 | lock.lock(); shownKind = nil; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
71 | }
72 | log.warning("""
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:78:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
76 | return
77 | }
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:78:58: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
76 | return
77 | }
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:80:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
81 | return
82 | }
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:80:52: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
81 | return
82 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:99:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
97 | return
98 | }
99 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
100 | await present(
101 | root: .image(url: url, size: .fill, cornerRadius: .none, align: .center),
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:99:58: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
97 | return
98 | }
99 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
100 | await present(
101 | root: .image(url: url, size: .fill, cornerRadius: .none, align: .center),
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:104:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
102 | onBack: onBack
103 | )
104 | lock.lock(); shownKind = "image"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
105 | return
106 | }
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:104:52: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
102 | onBack: onBack
103 | )
104 | lock.lock(); shownKind = "image"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
105 | return
106 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:113:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
111 | log.warning("display.video_dropped: \(warn.reason, privacy: .public)")
112 | }
113 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
114 | handlers = scope.handlers
115 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:115:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
113 | lock.lock()
114 | handlers = scope.handlers
115 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
116 |
117 | await present(root: normalized.root, onBack: onBack)
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:118:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
116 |
117 | await present(root: normalized.root, onBack: onBack)
118 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
119 | shownKind = normalized.shownKind
120 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:120:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
118 | lock.lock()
119 | shownKind = normalized.shownKind
120 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
121 | }
122 |
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:153:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
151 | split = [root]
152 | }
153 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
154 | pages = split
155 | pageIndex = 0
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:157:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
155 | pageIndex = 0
156 | pageOnBack = onBack
157 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
158 | await sendCurrentPage()
159 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:162:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
160 |
161 | private func sendCurrentPage() async {
162 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
163 | let page = pageIndex < pages.count ? pages[pageIndex] : nil
164 | let onBack = pageOnBack
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:165:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
163 | let page = pageIndex < pages.count ? pages[pageIndex] : nil
164 | let onBack = pageOnBack
165 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
166 | guard let page else { return }
167 | await transport.showDisplay(
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:232:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
230 |
231 | func clear() async {
232 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
233 | handlers = [:]
234 | shownKind = nil
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:238:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
236 | pageIndex = 0
237 | pageOnBack = nil
238 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
239 | await transport.clearDisplay()
240 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAssistantClient.swift:103:19: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
101 |
102 | func stop() async {
103 | stateLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
104 | let current = activeSessionRef
105 | stateLock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAssistantClient.swift:105:19: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
103 | stateLock.lock()
104 | let current = activeSessionRef
105 | stateLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
106 | await current?.stop()
107 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAssistantClient.swift:264:26: warning: no 'async' operations occur within 'await' expression
262 | // invariant: only developer-null fields are filled.
263 | let live = await resolveLiveOverlay()
264 | let rt = await createRuntime(overlay: live)
| `- warning: no 'async' operations occur within 'await' expression
265 | try await rt.start()
266 | runtime = rt
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:148:19: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
146 | ) async -> Bool {
147 | let call = LocalSpeak(synth: synth)
148 | speakLock.lock(); activeLocalSpeak = call; speakLock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
149 | defer {
150 | speakLock.lock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:148:62: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
146 | ) async -> Bool {
147 | let call = LocalSpeak(synth: synth)
148 | speakLock.lock(); activeLocalSpeak = call; speakLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
149 | defer {
150 | speakLock.lock()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:150:23: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
148 | speakLock.lock(); activeLocalSpeak = call; speakLock.unlock()
149 | defer {
150 | speakLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
151 | if activeLocalSpeak === call { activeLocalSpeak = nil }
152 | speakLock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:152:23: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
150 | speakLock.lock()
151 | if activeLocalSpeak === call { activeLocalSpeak = nil }
152 | speakLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
153 | }
154 | let gain = config.volume
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:180:19: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
178 |
179 | func cancelSpeak() async {
180 | speakLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
181 | let call = activeLocalSpeak
182 | speakLock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:182:19: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
180 | speakLock.lock()
181 | let call = activeLocalSpeak
182 | speakLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
183 | if let call {
184 | call.markCancelled()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultConnectionClient.swift:54:23: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
52 |
53 | func reconnect(deviceId: DeviceId?) async -> ExtentosResult<Void, ConnectError> {
54 | reconnectLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
55 | let prior = reconnectTail
56 | let work = Task { [transport] () -> ExtentosResult<Void, ConnectError> in
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultConnectionClient.swift:62:23: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | }
61 | reconnectTail = Task { _ = await work.value }
62 | reconnectLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
63 | return await work.value
64 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:59:22: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
57 | if willUpload {
58 | await transport.showDisplay(root: preparingVideoCard(), onSelect: { _ in }, onBack: onBack)
59 | lock.lock(); shownKind = "video_preparing"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | log.info("""
61 | display.video_preparing: hosting the recorded clip for the lens — a few \
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:59:66: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
57 | if willUpload {
58 | await transport.showDisplay(root: preparingVideoCard(), onSelect: { _ in }, onBack: onBack)
59 | lock.lock(); shownKind = "video_preparing"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | log.info("""
61 | display.video_preparing: hosting the recorded clip for the lens — a few \
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:70:26: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
68 | if willUpload {
69 | await transport.clearDisplay()
70 | lock.lock(); shownKind = nil; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
71 | }
72 | log.warning("""
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:70:56: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
68 | if willUpload {
69 | await transport.clearDisplay()
70 | lock.lock(); shownKind = nil; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
71 | }
72 | log.warning("""
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:78:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
76 | return
77 | }
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:78:58: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
76 | return
77 | }
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:80:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
81 | return
82 | }
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:80:52: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
81 | return
82 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:99:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
97 | return
98 | }
99 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
100 | await present(
101 | root: .image(url: url, size: .fill, cornerRadius: .none, align: .center),
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:99:58: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
97 | return
98 | }
99 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
100 | await present(
101 | root: .image(url: url, size: .fill, cornerRadius: .none, align: .center),
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:104:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
102 | onBack: onBack
103 | )
104 | lock.lock(); shownKind = "image"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
105 | return
106 | }
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:104:52: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
102 | onBack: onBack
103 | )
104 | lock.lock(); shownKind = "image"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
105 | return
106 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:113:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
111 | log.warning("display.video_dropped: \(warn.reason, privacy: .public)")
112 | }
113 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
114 | handlers = scope.handlers
115 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:115:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
113 | lock.lock()
114 | handlers = scope.handlers
115 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
116 |
117 | await present(root: normalized.root, onBack: onBack)
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:118:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
116 |
117 | await present(root: normalized.root, onBack: onBack)
118 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
119 | shownKind = normalized.shownKind
120 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:120:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
118 | lock.lock()
119 | shownKind = normalized.shownKind
120 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
121 | }
122 |
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:153:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
151 | split = [root]
152 | }
153 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
154 | pages = split
155 | pageIndex = 0
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:157:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
155 | pageIndex = 0
156 | pageOnBack = onBack
157 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
158 | await sendCurrentPage()
159 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:162:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
160 |
161 | private func sendCurrentPage() async {
162 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
163 | let page = pageIndex < pages.count ? pages[pageIndex] : nil
164 | let onBack = pageOnBack
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:165:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
163 | let page = pageIndex < pages.count ? pages[pageIndex] : nil
164 | let onBack = pageOnBack
165 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
166 | guard let page else { return }
167 | await transport.showDisplay(
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:232:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
230 |
231 | func clear() async {
232 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
233 | handlers = [:]
234 | shownKind = nil
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:238:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
236 | pageIndex = 0
237 | pageOnBack = nil
238 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
239 | await transport.clearDisplay()
240 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAssistantClient.swift:103:19: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
101 |
102 | func stop() async {
103 | stateLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
104 | let current = activeSessionRef
105 | stateLock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAssistantClient.swift:105:19: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
103 | stateLock.lock()
104 | let current = activeSessionRef
105 | stateLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
106 | await current?.stop()
107 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAssistantClient.swift:264:26: warning: no 'async' operations occur within 'await' expression
262 | // invariant: only developer-null fields are filled.
263 | let live = await resolveLiveOverlay()
264 | let rt = await createRuntime(overlay: live)
| `- warning: no 'async' operations occur within 'await' expression
265 | try await rt.start()
266 | runtime = rt
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:148:19: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
146 | ) async -> Bool {
147 | let call = LocalSpeak(synth: synth)
148 | speakLock.lock(); activeLocalSpeak = call; speakLock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
149 | defer {
150 | speakLock.lock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:148:62: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
146 | ) async -> Bool {
147 | let call = LocalSpeak(synth: synth)
148 | speakLock.lock(); activeLocalSpeak = call; speakLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
149 | defer {
150 | speakLock.lock()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:150:23: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
148 | speakLock.lock(); activeLocalSpeak = call; speakLock.unlock()
149 | defer {
150 | speakLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
151 | if activeLocalSpeak === call { activeLocalSpeak = nil }
152 | speakLock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:152:23: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
150 | speakLock.lock()
151 | if activeLocalSpeak === call { activeLocalSpeak = nil }
152 | speakLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
153 | }
154 | let gain = config.volume
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:180:19: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
178 |
179 | func cancelSpeak() async {
180 | speakLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
181 | let call = activeLocalSpeak
182 | speakLock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:182:19: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
180 | speakLock.lock()
181 | let call = activeLocalSpeak
182 | speakLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
183 | if let call {
184 | call.markCancelled()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultConnectionClient.swift:54:23: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
52 |
53 | func reconnect(deviceId: DeviceId?) async -> ExtentosResult<Void, ConnectError> {
54 | reconnectLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
55 | let prior = reconnectTail
56 | let work = Task { [transport] () -> ExtentosResult<Void, ConnectError> in
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultConnectionClient.swift:62:23: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | }
61 | reconnectTail = Task { _ = await work.value }
62 | reconnectLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
63 | return await work.value
64 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:59:22: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
57 | if willUpload {
58 | await transport.showDisplay(root: preparingVideoCard(), onSelect: { _ in }, onBack: onBack)
59 | lock.lock(); shownKind = "video_preparing"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | log.info("""
61 | display.video_preparing: hosting the recorded clip for the lens — a few \
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:59:66: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
57 | if willUpload {
58 | await transport.showDisplay(root: preparingVideoCard(), onSelect: { _ in }, onBack: onBack)
59 | lock.lock(); shownKind = "video_preparing"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | log.info("""
61 | display.video_preparing: hosting the recorded clip for the lens — a few \
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:70:26: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
68 | if willUpload {
69 | await transport.clearDisplay()
70 | lock.lock(); shownKind = nil; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
71 | }
72 | log.warning("""
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:70:56: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
68 | if willUpload {
69 | await transport.clearDisplay()
70 | lock.lock(); shownKind = nil; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
71 | }
72 | log.warning("""
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:78:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
76 | return
77 | }
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:78:58: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
76 | return
77 | }
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:80:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
81 | return
82 | }
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:80:52: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
81 | return
82 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:99:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
97 | return
98 | }
99 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
100 | await present(
101 | root: .image(url: url, size: .fill, cornerRadius: .none, align: .center),
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:99:58: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
97 | return
98 | }
99 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
100 | await present(
101 | root: .image(url: url, size: .fill, cornerRadius: .none, align: .center),
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:104:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
102 | onBack: onBack
103 | )
104 | lock.lock(); shownKind = "image"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
105 | return
106 | }
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:104:52: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
102 | onBack: onBack
103 | )
104 | lock.lock(); shownKind = "image"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
105 | return
106 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:113:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
111 | log.warning("display.video_dropped: \(warn.reason, privacy: .public)")
112 | }
113 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
114 | handlers = scope.handlers
115 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:115:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
113 | lock.lock()
114 | handlers = scope.handlers
115 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
116 |
117 | await present(root: normalized.root, onBack: onBack)
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:118:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
116 |
117 | await present(root: normalized.root, onBack: onBack)
118 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
119 | shownKind = normalized.shownKind
120 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:120:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
118 | lock.lock()
119 | shownKind = normalized.shownKind
120 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
121 | }
122 |
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:153:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
151 | split = [root]
152 | }
153 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
154 | pages = split
155 | pageIndex = 0
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:157:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
155 | pageIndex = 0
156 | pageOnBack = onBack
157 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
158 | await sendCurrentPage()
159 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:162:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
160 |
161 | private func sendCurrentPage() async {
162 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
163 | let page = pageIndex < pages.count ? pages[pageIndex] : nil
164 | let onBack = pageOnBack
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:165:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
163 | let page = pageIndex < pages.count ? pages[pageIndex] : nil
164 | let onBack = pageOnBack
165 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
166 | guard let page else { return }
167 | await transport.showDisplay(
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:232:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
230 |
231 | func clear() async {
232 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
233 | handlers = [:]
234 | shownKind = nil
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:238:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
236 | pageIndex = 0
237 | pageOnBack = nil
238 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
239 | await transport.clearDisplay()
240 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAssistantClient.swift:103:19: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
101 |
102 | func stop() async {
103 | stateLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
104 | let current = activeSessionRef
105 | stateLock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAssistantClient.swift:105:19: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
103 | stateLock.lock()
104 | let current = activeSessionRef
105 | stateLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
106 | await current?.stop()
107 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAssistantClient.swift:264:26: warning: no 'async' operations occur within 'await' expression
262 | // invariant: only developer-null fields are filled.
263 | let live = await resolveLiveOverlay()
264 | let rt = await createRuntime(overlay: live)
| `- warning: no 'async' operations occur within 'await' expression
265 | try await rt.start()
266 | runtime = rt
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:148:19: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
146 | ) async -> Bool {
147 | let call = LocalSpeak(synth: synth)
148 | speakLock.lock(); activeLocalSpeak = call; speakLock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
149 | defer {
150 | speakLock.lock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:148:62: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
146 | ) async -> Bool {
147 | let call = LocalSpeak(synth: synth)
148 | speakLock.lock(); activeLocalSpeak = call; speakLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
149 | defer {
150 | speakLock.lock()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:150:23: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
148 | speakLock.lock(); activeLocalSpeak = call; speakLock.unlock()
149 | defer {
150 | speakLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
151 | if activeLocalSpeak === call { activeLocalSpeak = nil }
152 | speakLock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:152:23: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
150 | speakLock.lock()
151 | if activeLocalSpeak === call { activeLocalSpeak = nil }
152 | speakLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
153 | }
154 | let gain = config.volume
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:180:19: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
178 |
179 | func cancelSpeak() async {
180 | speakLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
181 | let call = activeLocalSpeak
182 | speakLock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:182:19: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
180 | speakLock.lock()
181 | let call = activeLocalSpeak
182 | speakLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
183 | if let call {
184 | call.markCancelled()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultConnectionClient.swift:54:23: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
52 |
53 | func reconnect(deviceId: DeviceId?) async -> ExtentosResult<Void, ConnectError> {
54 | reconnectLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
55 | let prior = reconnectTail
56 | let work = Task { [transport] () -> ExtentosResult<Void, ConnectError> in
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultConnectionClient.swift:62:23: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | }
61 | reconnectTail = Task { _ = await work.value }
62 | reconnectLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
63 | return await work.value
64 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:59:22: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
57 | if willUpload {
58 | await transport.showDisplay(root: preparingVideoCard(), onSelect: { _ in }, onBack: onBack)
59 | lock.lock(); shownKind = "video_preparing"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | log.info("""
61 | display.video_preparing: hosting the recorded clip for the lens — a few \
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:59:66: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
57 | if willUpload {
58 | await transport.showDisplay(root: preparingVideoCard(), onSelect: { _ in }, onBack: onBack)
59 | lock.lock(); shownKind = "video_preparing"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | log.info("""
61 | display.video_preparing: hosting the recorded clip for the lens — a few \
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:70:26: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
68 | if willUpload {
69 | await transport.clearDisplay()
70 | lock.lock(); shownKind = nil; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
71 | }
72 | log.warning("""
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:70:56: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
68 | if willUpload {
69 | await transport.clearDisplay()
70 | lock.lock(); shownKind = nil; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
71 | }
72 | log.warning("""
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:78:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
76 | return
77 | }
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:78:58: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
76 | return
77 | }
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:80:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
81 | return
82 | }
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:80:52: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
81 | return
82 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:99:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
97 | return
98 | }
99 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
100 | await present(
101 | root: .image(url: url, size: .fill, cornerRadius: .none, align: .center),
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:99:58: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
97 | return
98 | }
99 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
100 | await present(
101 | root: .image(url: url, size: .fill, cornerRadius: .none, align: .center),
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:104:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
102 | onBack: onBack
103 | )
104 | lock.lock(); shownKind = "image"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
105 | return
106 | }
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:104:52: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
102 | onBack: onBack
103 | )
104 | lock.lock(); shownKind = "image"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
105 | return
106 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:113:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
111 | log.warning("display.video_dropped: \(warn.reason, privacy: .public)")
112 | }
113 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
114 | handlers = scope.handlers
115 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:115:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
113 | lock.lock()
114 | handlers = scope.handlers
115 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
116 |
117 | await present(root: normalized.root, onBack: onBack)
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:118:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
116 |
117 | await present(root: normalized.root, onBack: onBack)
118 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
119 | shownKind = normalized.shownKind
120 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:120:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
118 | lock.lock()
119 | shownKind = normalized.shownKind
120 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
121 | }
122 |
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:153:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
151 | split = [root]
152 | }
153 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
154 | pages = split
155 | pageIndex = 0
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:157:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
155 | pageIndex = 0
156 | pageOnBack = onBack
157 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
158 | await sendCurrentPage()
159 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:162:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
160 |
161 | private func sendCurrentPage() async {
162 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
163 | let page = pageIndex < pages.count ? pages[pageIndex] : nil
164 | let onBack = pageOnBack
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:165:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
163 | let page = pageIndex < pages.count ? pages[pageIndex] : nil
164 | let onBack = pageOnBack
165 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
166 | guard let page else { return }
167 | await transport.showDisplay(
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:232:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
230 |
231 | func clear() async {
232 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
233 | handlers = [:]
234 | shownKind = nil
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:238:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
236 | pageIndex = 0
237 | pageOnBack = nil
238 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
239 | await transport.clearDisplay()
240 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAssistantClient.swift:103:19: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
101 |
102 | func stop() async {
103 | stateLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
104 | let current = activeSessionRef
105 | stateLock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAssistantClient.swift:105:19: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
103 | stateLock.lock()
104 | let current = activeSessionRef
105 | stateLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
106 | await current?.stop()
107 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAssistantClient.swift:264:26: warning: no 'async' operations occur within 'await' expression
262 | // invariant: only developer-null fields are filled.
263 | let live = await resolveLiveOverlay()
264 | let rt = await createRuntime(overlay: live)
| `- warning: no 'async' operations occur within 'await' expression
265 | try await rt.start()
266 | runtime = rt
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:148:19: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
146 | ) async -> Bool {
147 | let call = LocalSpeak(synth: synth)
148 | speakLock.lock(); activeLocalSpeak = call; speakLock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
149 | defer {
150 | speakLock.lock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:148:62: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
146 | ) async -> Bool {
147 | let call = LocalSpeak(synth: synth)
148 | speakLock.lock(); activeLocalSpeak = call; speakLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
149 | defer {
150 | speakLock.lock()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:150:23: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
148 | speakLock.lock(); activeLocalSpeak = call; speakLock.unlock()
149 | defer {
150 | speakLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
151 | if activeLocalSpeak === call { activeLocalSpeak = nil }
152 | speakLock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:152:23: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
150 | speakLock.lock()
151 | if activeLocalSpeak === call { activeLocalSpeak = nil }
152 | speakLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
153 | }
154 | let gain = config.volume
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:180:19: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
178 |
179 | func cancelSpeak() async {
180 | speakLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
181 | let call = activeLocalSpeak
182 | speakLock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultAudioClient.swift:182:19: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
180 | speakLock.lock()
181 | let call = activeLocalSpeak
182 | speakLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
183 | if let call {
184 | call.markCancelled()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultConnectionClient.swift:54:23: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
52 |
53 | func reconnect(deviceId: DeviceId?) async -> ExtentosResult<Void, ConnectError> {
54 | reconnectLock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
55 | let prior = reconnectTail
56 | let work = Task { [transport] () -> ExtentosResult<Void, ConnectError> in
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultConnectionClient.swift:62:23: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | }
61 | reconnectTail = Task { _ = await work.value }
62 | reconnectLock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
63 | return await work.value
64 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:59:22: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
57 | if willUpload {
58 | await transport.showDisplay(root: preparingVideoCard(), onSelect: { _ in }, onBack: onBack)
59 | lock.lock(); shownKind = "video_preparing"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | log.info("""
61 | display.video_preparing: hosting the recorded clip for the lens — a few \
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:59:66: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
57 | if willUpload {
58 | await transport.showDisplay(root: preparingVideoCard(), onSelect: { _ in }, onBack: onBack)
59 | lock.lock(); shownKind = "video_preparing"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
60 | log.info("""
61 | display.video_preparing: hosting the recorded clip for the lens — a few \
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:70:26: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
68 | if willUpload {
69 | await transport.clearDisplay()
70 | lock.lock(); shownKind = nil; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
71 | }
72 | log.warning("""
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:70:56: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
68 | if willUpload {
69 | await transport.clearDisplay()
70 | lock.lock(); shownKind = nil; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
71 | }
72 | log.warning("""
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:78:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
76 | return
77 | }
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:78:58: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
76 | return
77 | }
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:80:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
81 | return
82 | }
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:80:52: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
78 | lock.lock(); handlers = scope.handlers; lock.unlock()
79 | await present(root: .video(url: url), onBack: onBack)
80 | lock.lock(); shownKind = "video"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
81 | return
82 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:99:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
97 | return
98 | }
99 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
100 | await present(
101 | root: .image(url: url, size: .fill, cornerRadius: .none, align: .center),
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:99:58: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
97 | return
98 | }
99 | lock.lock(); handlers = scope.handlers; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
100 | await present(
101 | root: .image(url: url, size: .fill, cornerRadius: .none, align: .center),
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:104:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
102 | onBack: onBack
103 | )
104 | lock.lock(); shownKind = "image"; lock.unlock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
105 | return
106 | }
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:104:52: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
102 | onBack: onBack
103 | )
104 | lock.lock(); shownKind = "image"; lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
105 | return
106 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:113:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
111 | log.warning("display.video_dropped: \(warn.reason, privacy: .public)")
112 | }
113 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
114 | handlers = scope.handlers
115 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:115:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
113 | lock.lock()
114 | handlers = scope.handlers
115 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
116 |
117 | await present(root: normalized.root, onBack: onBack)
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:118:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
116 |
117 | await present(root: normalized.root, onBack: onBack)
118 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
119 | shownKind = normalized.shownKind
120 | lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:120:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
118 | lock.lock()
119 | shownKind = normalized.shownKind
120 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
121 | }
122 |
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:153:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
151 | split = [root]
152 | }
153 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
154 | pages = split
155 | pageIndex = 0
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:157:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
155 | pageIndex = 0
156 | pageOnBack = onBack
157 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
158 | await sendCurrentPage()
159 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:162:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
160 |
161 | private func sendCurrentPage() async {
162 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
163 | let page = pageIndex < pages.count ? pages[pageIndex] : nil
164 | let onBack = pageOnBack
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:165:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
163 | let page = pageIndex < pages.count ? pages[pageIndex] : nil
164 | let onBack = pageOnBack
165 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
166 | guard let page else { return }
167 | await transport.showDisplay(
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:232:14: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
230 |
231 | func clear() async {
232 | lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
233 | handlers = [:]
234 | shownKind = nil
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Impl/DefaultDisplayClient.swift:238:14: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
236 | pageIndex = 0
237 | pageOnBack = nil
238 | lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
239 | await transport.clearDisplay()
240 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
[541/691] Compiling Hub YYJSONParser.swift
[541/691] Compiling hadamard.cpp
[542/698] Compiling fence.cpp
[543/698] Compiling indexing.cpp
[544/705] Compiling event.cpp
[546/705] Compiling Hub resource_bundle_accessor.swift
[547/705] Compiling Hub Config.swift
[548/705] Compiling Hub BinaryDistinct.swift
[549/705] Compiling Hub Hub.swift
[550/705] Emitting module Hub
[551/705] Compiling Hub HubApi.swift
[551/709] Compiling eval.cpp
[552/721] Compiling fft.cpp
[554/721] Compiling GlassesLocalVoice KokoroServingProbe.swift
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocalVoice/KokoroServingProbe.swift:125:45: warning: 'SherpaOnnxOfflineTtsGenerate' is deprecated: Use SherpaOnnxOfflineTtsGenerateWithConfig() instead
123 | let t0 = Date()
124 | guard let audio = text.withCString({ c in
125 | SherpaOnnxOfflineTtsGenerate(tts, c, 0, 1.0)
| `- warning: 'SherpaOnnxOfflineTtsGenerate' is deprecated: Use SherpaOnnxOfflineTtsGenerateWithConfig() instead
126 | }) else {
127 | parts.append("synthFAIL")
[555/721] Compiling GlassesLocalVoice KokoroSynthesizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocalVoice/KokoroSynthesizer.swift:168:21: warning: 'SherpaOnnxOfflineTtsGenerateWithCallbackWithArg' is deprecated: Use SherpaOnnxOfflineTtsGenerateWithConfig() instead
166 | let arg = Unmanaged.passRetained(box).toOpaque()
167 | let audio = text.withCString { cText in
168 | SherpaOnnxOfflineTtsGenerateWithCallbackWithArg(
| `- warning: 'SherpaOnnxOfflineTtsGenerateWithCallbackWithArg' is deprecated: Use SherpaOnnxOfflineTtsGenerateWithConfig() instead
169 | tts, cText, self.speakerId, 1.0, kokoroChunkCallback, arg
170 | )
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocalVoice/KokoroSynthesizer.swift:181:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
179 | }
180 | }
181 | box.lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
182 | let cancelled = box.cancelled
183 | box.lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocalVoice/KokoroSynthesizer.swift:183:18: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
181 | box.lock.lock()
182 | let cancelled = box.cancelled
183 | box.lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
184 | guard !cancelled, totalSamples > 0 else { return nil }
185 | return Double(totalSamples) / Double(rate)
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocalVoice/KokoroSynthesizer.swift:169:25: warning: capture of 'tts' with non-sendable type 'OpaquePointer' in a '@Sendable' closure
167 | let audio = text.withCString { cText in
168 | SherpaOnnxOfflineTtsGenerateWithCallbackWithArg(
169 | tts, cText, self.speakerId, 1.0, kokoroChunkCallback, arg
| `- warning: capture of 'tts' with non-sendable type 'OpaquePointer' in a '@Sendable' closure
170 | )
171 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocalVoice/KokoroSynthesizer.swift:169:25: warning: capture of 'tts' with non-sendable type 'OpaquePointer' in an isolated closure; this is an error in the Swift 6 language mode
167 | let audio = text.withCString { cText in
168 | SherpaOnnxOfflineTtsGenerateWithCallbackWithArg(
169 | tts, cText, self.speakerId, 1.0, kokoroChunkCallback, arg
| `- warning: capture of 'tts' with non-sendable type 'OpaquePointer' in an isolated closure; this is an error in the Swift 6 language mode
170 | )
171 | }
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
| `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocalVoice/KokoroSynthesizer.swift:190:18: warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
188 | public func cancel() async {
189 | guard let box = currentBox else { return }
190 | box.lock.lock()
| `- warning: instance method 'lock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
191 | box.cancelled = true
192 | box.lock.unlock()
Foundation.NSLock.lock:2:11: note: 'lock()' declared here
1 | class NSLock {
2 | open func lock()}
| `- note: 'lock()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocalVoice/KokoroSynthesizer.swift:192:18: warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
190 | box.lock.lock()
191 | box.cancelled = true
192 | box.lock.unlock()
| `- warning: instance method 'unlock' is unavailable from asynchronous contexts; Use async-safe scoped locking instead; this is an error in the Swift 6 language mode
193 | }
194 | }
Foundation.NSLock.unlock:2:11: note: 'unlock()' declared here
1 | class NSLock {
2 | open func unlock()}
| `- note: 'unlock()' declared here
3 |
[556/721] Compiling GlassesLocalVoice KokoroModelDownload.swift
[557/721] Emitting module GlassesLocalVoice
[558/721] Compiling GlassesLocalVoice KokoroModelManifest.swift
[558/721] Compiling export.cpp
[560/721] Compiling Tokenizers Trie.swift
[560/722] Compiling jit_kernels.cpp
[569/722] Compiling Tokenizers UnigramTokenizer.swift
[570/722] Compiling Tokenizers TokenLattice.swift
[571/722] Compiling Tokenizers String+PreTokenization.swift
[572/722] Compiling Tokenizers PreTokenizer.swift
[573/722] Compiling Tokenizers PostProcessor.swift
[574/722] Compiling Tokenizers ByteEncoder.swift
[575/722] Compiling Tokenizers Decoder.swift
[576/722] Compiling Tokenizers Normalizer.swift
[577/722] Compiling Tokenizers BPETokenizer.swift
[578/722] Compiling Tokenizers BertTokenizer.swift
[579/722] Compiling Tokenizers Tokenizer.swift
[580/722] Emitting module Tokenizers
[581/765] Compiling SwiftParser TokenConsumer.swift
[582/765] Compiling SwiftParser TokenPrecedence.swift
[583/765] Compiling SwiftParser TokenSpec.swift
[584/765] Compiling SwiftParser TokenSpecSet.swift
[585/765] Compiling SwiftParser TopLevel.swift
[586/765] Compiling SwiftParser TriviaParser.swift
[587/765] Compiling SwiftParser Types.swift
[588/765] Compiling SwiftParser ExperimentalFeatures.swift
[588/769] Compiling device_info.cpp
[590/769] Compiling SwiftParser Names.swift
[591/769] Compiling SwiftParser Nominals.swift
[592/769] Compiling SwiftParser Parameters.swift
[593/769] Compiling SwiftParser ParseSourceFile.swift
[594/769] Compiling SwiftParser Parser.swift
[595/769] Compiling SwiftParser StringLiterals.swift
[596/769] Compiling SwiftParser SwiftParserCompatibility.swift
[597/769] Compiling SwiftParser SwiftVersion.swift
[598/769] Compiling SwiftParser SyntaxUtils.swift
[599/769] Emitting module SwiftParser
[600/779] Compiling SwiftParser Patterns.swift
[601/779] Compiling SwiftParser Recovery.swift
[602/779] Compiling SwiftParser Specifiers.swift
[603/779] Compiling SwiftParser Statements.swift
[604/779] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[605/779] Compiling SwiftParser RegexLiteralLexer.swift
[606/779] Compiling SwiftParser UnicodeScalarExtensions.swift
[607/779] Compiling SwiftParser Lookahead.swift
[608/779] Compiling SwiftParser LoopProgressCondition.swift
[609/779] Compiling SwiftParser Modifiers.swift
[610/779] Compiling SwiftDiagnostics Message.swift
[611/780] Compiling SwiftDiagnostics Diagnostic.swift
[612/780] Compiling SwiftDiagnostics Convenience.swift
[613/780] Compiling SwiftParser Attributes.swift
[614/780] Compiling SwiftParser Availability.swift
[615/780] Compiling SwiftParser CharacterInfo.swift
[616/780] Compiling SwiftParser CollectionNodes+Parsable.swift
[617/780] Compiling SwiftParser CompilerFiles.swift
[617/780] Compiling distributed.cpp
[619/780] Compiling SwiftDiagnostics Note.swift
[620/780] Compiling SwiftDiagnostics FixIt.swift
[621/780] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[622/780] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[623/780] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[624/780] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[625/780] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[626/780] Emitting module SwiftDiagnostics
[627/787] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[628/787] Compiling SwiftBasicFormat Syntax+Extensions.swift
[629/787] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[630/787] Compiling SwiftBasicFormat Indenter.swift
[631/787] Compiling SwiftBasicFormat InferIndentation.swift
[632/787] Compiling SwiftParser IsValidIdentifier.swift
[633/787] Compiling SwiftParser Cursor.swift
[634/787] Compiling SwiftParser Lexeme.swift
[635/787] Compiling SwiftParser LexemeSequence.swift
[636/787] Compiling SwiftParser Lexer.swift
[637/787] Compiling SwiftParser Declarations.swift
[638/787] Compiling SwiftParser Directives.swift
[639/787] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[640/787] Compiling SwiftParser Expressions.swift
[641/787] Compiling SwiftParser IncrementalParseTransition.swift
[642/787] Compiling SwiftBasicFormat BasicFormat.swift
[643/787] Emitting module SwiftBasicFormat
[643/787] Compiling copy.cpp
[644/787] Compiling device.cpp
[646/787] Compiling SwiftParser IsLexerClassified.swift
[647/787] Compiling SwiftParser LayoutNodes+Parsable.swift
[648/787] Compiling SwiftParser Parser+TokenSpecSet.swift
[649/787] Compiling SwiftParser TokenSpecStaticMembers.swift
[650/787] Emitting module GlassesTesting
[651/787] Compiling GlassesTesting FakeExtentosGlasses.swift
[652/787] Compiling GlassesUI ExtentosTheme.swift
[653/787] Compiling GlassesLifecycle ListeningModifier.swift
[654/787] Emitting module GlassesLifecycle
[655/787] Emitting module GlassesDebug
[656/787] Compiling GlassesDebug ExtentosDebugPanel.swift
[657/810] Compiling GlassesUI ExtentosPairingScreen.swift
[658/810] Compiling SwiftOperators PrecedenceGroup.swift
[659/811] Compiling SwiftOperators PrecedenceGraph.swift
[660/811] Compiling SwiftOperators OperatorTable.swift
[661/811] Compiling SwiftOperators SyntaxSynthesis.swift
[662/811] Compiling SwiftOperators OperatorTable+Semantics.swift
[663/811] Compiling SwiftOperators OperatorTable+Defaults.swift
[664/811] Compiling SwiftOperators OperatorError+Diagnostics.swift
[665/811] Compiling SwiftOperators OperatorError.swift
[666/811] Compiling SwiftOperators Operator.swift
[667/811] Compiling SwiftOperators OperatorTable+Folding.swift
[668/811] Emitting module SwiftOperators
[668/811] Compiling custom_kernel.cpp
[670/811] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[671/811] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[672/812] Compiling SwiftParserDiagnostics Utils.swift
[673/812] Compiling SwiftParserDiagnostics PresenceUtils.swift
[674/812] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[675/812] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[676/812] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[677/812] Compiling GlassesUI ConnectionPageJsonConfig.swift
[678/812] Compiling GlassesUI EscapeHatch.swift
[679/812] Compiling GlassesUI Appearance.swift
[680/812] Emitting module GlassesUI
[681/812] Compiling GlassesUI ExtentosConnectionPage.swift
/Users/admin/builder/spi-builder-workspace/Sources/GlassesUI/ExtentosConnectionPage.swift:475:10: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
473 | .clipShape(appearance.shapes.card)
474 | .hairlineBorder(appearance.shapes.card)
475 | .onChange(of: toggle.value) { newValue in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
476 | localValue = newValue
477 | }
[681/812] Compiling slicing.cpp
[682/812] Compiling threefry.cpp
[683/812] Compiling conv.cpp
[684/812] Compiling no_cuda.cpp
[686/812] Compiling SwiftParserDiagnostics MissingNodesError.swift
[687/812] Compiling SwiftParserDiagnostics MissingTokenError.swift
[688/812] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[689/812] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[690/812] Emitting module SwiftParserDiagnostics
[691/812] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[692/812] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[692/812] Compiling primitives.cpp
[693/823] Compiling allocator.cpp
[694/827] Compiling copy.cpp
[695/827] Compiling compiled.cpp
[696/827] Compiling binary.cpp
[698/827] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[699/827] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[700/827] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[701/827] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[702/827] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[703/827] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[704/828] Compiling SwiftSyntaxBuilder Indenter.swift
[705/828] Compiling SwiftSyntaxBuilder ListBuilder.swift
[706/828] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[707/828] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[708/828] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[709/828] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[710/828] Emitting module SwiftSyntaxBuilder
[711/828] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[712/828] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[713/828] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[713/828] Compiling select.cpp
[714/828] Compiling svd.cpp
[715/843] Compiling softmax.cpp
[717/843] Compiling SwiftIfConfig SyntaxLiteralUtils.swift
[718/843] Compiling SwiftIfConfig VersionTuple+Parsing.swift
[719/843] Compiling SwiftIfConfig SyntaxProtocol+IfConfig.swift
[720/844] Compiling SwiftIfConfig IfConfigFunctions.swift
[721/844] Compiling SwiftIfConfig IfConfigRegionState.swift
[722/844] Compiling SwiftIfConfig StaticBuildConfiguration.swift
[723/844] Compiling SwiftIfConfig VersionTuple.swift
[723/844] Compiling scan.cpp
[725/844] Compiling SwiftIfConfig ConfiguredRegions.swift
[726/844] Compiling SwiftIfConfig IfConfigDecl+IfConfig.swift
[727/844] Compiling SwiftIfConfig ActiveSyntaxVisitor.swift
[728/844] Compiling SwiftIfConfig BuildConfiguration.swift
[729/844] Compiling SwiftIfConfig ActiveClauseEvaluator.swift
[730/844] Compiling SwiftIfConfig ActiveSyntaxRewriter.swift
[731/844] Emitting module SwiftIfConfig
[732/844] Compiling SwiftIfConfig IfConfigDiagnostic.swift
[733/844] Compiling SwiftIfConfig IfConfigEvaluation.swift
[733/844] Compiling qrf.cpp
[734/844] Compiling sort.cpp
[735/844] Compiling quantized.cpp
[737/862] Compiling SwiftSyntaxMacros PreambleMacro.swift
[738/863] Compiling SwiftSyntaxMacros Macro.swift
[739/863] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[740/863] Compiling SwiftSyntaxMacros AttachedMacro.swift
[741/863] Compiling SwiftSyntaxMacros BodyMacro.swift
[742/863] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[743/863] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[744/863] Compiling SwiftSyntaxMacros MemberMacro.swift
[745/863] Compiling SwiftSyntaxMacros PeerMacro.swift
[746/863] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[747/863] Compiling SwiftSyntaxMacros Macro+Format.swift
[748/863] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[749/863] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[750/863] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[751/863] Compiling SwiftSyntaxMacros AccessorMacro.swift
[752/863] Emitting module SwiftSyntaxMacros
[753/863] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[754/863] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[755/863] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[755/863] Compiling jit_compiler.cpp
[756/863] Compiling primitives.cpp
[757/873] Compiling matmul.cpp
[758/873] Compiling logsumexp.cpp
[759/873] Compiling luf.cpp
[760/873] Compiling masked_mm.cpp
[762/873] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[763/873] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[764/873] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[765/873] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[766/873] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[767/873] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[768/873] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[769/873] Emitting module SwiftSyntaxMacroExpansion
[770/873] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[771/873] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[771/873] Compiling hadamard.cpp
[772/873] Compiling inverse.cpp
[773/885] Compiling unary.cpp
[774/885] Compiling eval.cpp
[775/885] Compiling encoder.cpp
[776/885] Compiling bnns.cpp
[777/885] Compiling cblas.cpp
[779/885] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[780/885] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[781/885] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[782/885] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[783/885] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[784/885] Emitting module SwiftCompilerPluginMessageHandling
[785/885] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[786/885] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[787/885] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[788/885] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[789/885] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[790/885] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[791/886] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[791/886] Compiling device_info.cpp
[792/888] Compiling fft.cpp
[794/888] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[795/888] Emitting module SwiftCompilerPlugin
[795/888] Compiling distributed.cpp
[796/888] Compiling indexing.cpp
[797/890] Compiling eigh.cpp
[799/890] Emitting module MLXHuggingFaceMacros
[800/890] Compiling MLXHuggingFaceMacros HuggingFaceIntegrationMacros.swift
[800/890] Compiling eig.cpp
[801/890] Write Objects.LinkFileList
[802/890] Compiling utils.cpp
[803/890] Compiling arg_reduce.cpp
[804/890] Compiling slicing.cpp
[805/890] Compiling cholesky.cpp
[806/890] Compiling reduce.cpp
[807/890] Linking MLXHuggingFaceMacros-tool
[808/890] Compiling utils.cpp
[809/890] Compiling conv.cpp
[810/890] Compiling unary_ops.cpp
[811/890] Compiling ternary_ops.cpp
[812/890] Compiling unary.cpp
[813/890] Compiling load.cpp
[814/890] Compiling ternary.cpp
[815/890] Compiling steel_gemm_splitk_nax.cpp
[816/890] Compiling steel_gemm_splitk.cpp
[817/890] Compiling steel_gemm_segmented.cpp
[818/890] Compiling steel_gemm_masked.cpp
[819/890] Compiling steel_gemm_gather_nax.cpp
[820/890] Compiling steel_gemm_gather.cpp
[821/890] Compiling steel_gemm_fused_nax.cpp
[822/890] Compiling steel_gemm_fused.cpp
[823/890] Compiling steel_conv_3d.cpp
[824/890] Compiling steel_conv_general.cpp
[825/890] Compiling steel_conv.cpp
[826/890] Compiling steel_attention_nax.cpp
[827/890] Compiling steel_attention.cpp
[828/890] Compiling sort.cpp
[829/890] Compiling softmax.cpp
[830/890] Compiling scatter_axis.cpp
[831/890] Compiling scatter.cpp
[832/890] Compiling scan.cpp
[833/890] Compiling reduce_utils.cpp
[834/890] Compiling reduce.cpp
[835/890] Compiling quantized_nax.cpp
[835/890] Compiling quantized_utils.cpp
[837/890] Compiling broadcasting.cpp
[838/890] Compiling quantized.cpp
[839/890] Compiling logsumexp.cpp
[840/890] Compiling masked_scatter.cpp
[841/890] Compiling hadamard.cpp
[842/890] Compiling gemv_masked.cpp
[843/890] Compiling gemm_nax.cpp
[844/890] Compiling gemm.cpp
[845/890] Compiling gather_front.cpp
[846/890] Compiling gather_axis.cpp
[847/890] Compiling gather.cpp
[848/890] Compiling fp_quantized_nax.cpp
[849/890] Compiling fp_quantized.cpp
[850/890] Compiling fft.cpp
[851/890] Compiling copy.cpp
[853/890] Compiling conv.cpp
[854/890] Compiling compiled_preamble.cpp
[854/890] Compiling binary_two.cpp
[856/890] Compiling binary.cpp
[857/890] Compiling binary_ops.cpp
[858/890] Compiling arange.cpp
[859/890] Compiling compiled.cpp
[860/890] Compiling common.cpp
[861/890] Compiling array.cpp
[862/890] Compiling version.cpp
[863/890] Compiling string.cpp
[864/890] Compiling transforms_impl.cpp
[865/890] Compiling transforms.cpp
[866/890] Compiling stream.cpp
[867/890] Compiling vector.cpp
[868/890] Compiling reduce.cpp
[869/890] Compiling compiled_conditional.cpp
[870/890] Compiling random.cpp
[871/890] Compiling metal.cpp
[872/890] Compiling memory.cpp
[873/890] Compiling io_types.cpp
[874/890] Compiling linalg.cpp
[875/890] Compiling map.cpp
[876/890] Compiling ops.cpp
[877/890] Compiling io.cpp
[878/890] Compiling error.cpp
[879/890] Compiling fft.cpp
[880/890] Compiling fast.cpp
[881/890] Compiling export.cpp
[882/890] Compiling cuda.cpp
[883/890] Compiling compile.cpp
[884/890] Compiling format.cc
[885/890] Compiling device.cpp
[886/890] Compiling Cmlx.m
[887/890] Compiling closure.cpp
[888/890] Compiling array.cpp
[889/890] Compiling binary.cpp
[891/927] Emitting module MLX
[892/930] Compiling MLX MLXFast.swift
[893/930] Compiling MLX MLXFastKernel.swift
[894/930] Compiling MLX Memory.swift
[895/930] Compiling MLX Nested.swift
[896/930] Compiling MLX MLXArray+Normalizer.swift
[897/930] Compiling MLX MLXArray+Ops.swift
[898/930] Compiling MLX MLXArray.swift
[899/930] Compiling MLX MLXCustomFunction.swift
[900/930] Compiling MLX ErrorHandler.swift
[901/930] Compiling MLX Export.swift
[902/930] Compiling MLX FFT.swift
[903/930] Compiling MLX Factory.swift
[904/930] Compiling MLX ArrayAt.swift
[905/930] Compiling MLX Cmlx+Util.swift
[906/930] Compiling MLX DType.swift
[907/930] Compiling MLX Device.swift
[908/930] Compiling MLX Random.swift
[909/930] Compiling MLX State.swift
[910/930] Compiling MLX Stream.swift
[911/930] Compiling MLX Transforms+Compile.swift
[912/930] Compiling MLX Ops+Array.swift
[913/930] Compiling MLX Ops.swift
[914/930] Compiling MLX ParameterTypes.swift
[915/930] Compiling MLX Protocols.swift
[916/930] Compiling MLX Foundation+Util.swift
[917/930] Compiling MLX GPU+Metal.swift
[918/930] Compiling MLX IO.swift
[919/930] Compiling MLX Linalg.swift
[920/930] Compiling MLX Transforms+Vmap.swift
[921/930] Compiling MLX Transforms.swift
[922/930] Compiling MLX WiredMemory.swift
[923/930] Compiling MLX MLXArray+Bytes.swift
[924/930] Compiling MLX MLXArray+Indexing.swift
[925/930] Compiling MLX MLXArray+Init.swift
[926/930] Compiling MLX MLXArray+Metal.swift
[927/930] Compiling MLX Transforms+CompileOverloads.swift
[928/930] Compiling MLX Transforms+Eval.swift
[929/930] Compiling MLX Transforms+Grad.swift
[930/930] Compiling MLX Transforms+Internal.swift
[931/948] Compiling MLXNN PositionalEncoding.swift
[932/948] Compiling MLXNN Quantized.swift
[933/949] Compiling MLXNN ValueAndGrad.swift
[934/949] Compiling MLXNN Recurrent.swift
[935/949] Compiling MLXNN Transformer.swift
[936/949] Compiling MLXNN Normalization.swift
[937/949] Compiling MLXNN Pooling.swift
[938/949] Compiling MLXNN Losses.swift
[939/949] Compiling MLXNN Module.swift
[940/949] Compiling MLXNN ConvolutionTransposed.swift
[941/949] Compiling MLXNN Dropout.swift
[942/949] Compiling MLXNN Containers.swift
[943/949] Compiling MLXNN Convolution.swift
[944/949] Compiling MLXNN Upsample.swift
[945/949] Compiling MLXNN Embedding.swift
[946/949] Compiling MLXNN Linear.swift
[947/949] Compiling MLXNN Activations.swift
[948/949] Compiling MLXNN Cache.swift
[949/949] Emitting module MLXNN
[950/951] Compiling MLXOptimizers Optimizers.swift
[951/951] Emitting module MLXOptimizers
[952/1013] Emitting module MLXLMCommon
[953/1019] Compiling MLXLMCommon SuScaledRoPE.swift
[954/1019] Compiling MLXLMCommon SwitchLayers.swift
[955/1019] Compiling MLXLMCommon Tokenizer.swift
[956/1019] Compiling MLXLMCommon TokenizerLoader.swift
[957/1019] Compiling MLXLMCommon GLM4ToolCallParser.swift
[958/1019] Compiling MLXLMCommon GemmaFunctionParser.swift
[959/1019] Compiling MLXLMCommon JSONToolCallParser.swift
[960/1019] Compiling MLXLMCommon KimiK2ToolCallParser.swift
[961/1019] Compiling MLXLMCommon Llama3ToolCallParser.swift
[962/1019] Compiling MLXLMCommon MiniMaxM2ToolCallParser.swift
[963/1019] Compiling MLXLMCommon MistralToolCallParser.swift
[964/1019] Compiling MLXLMCommon ParserUtilities.swift
[965/1019] Compiling MLXLMCommon PythonicToolCallParser.swift
[966/1019] Compiling MLXLMCommon DoRA+Layers.swift
[967/1019] Compiling MLXLMCommon LoRA+Layers.swift
[968/1019] Compiling MLXLMCommon LoRAContainer.swift
[969/1019] Compiling MLXLMCommon LoRAModel.swift
[970/1019] Compiling MLXLMCommon PEFTAdapter.swift
[971/1019] Compiling MLXLMCommon ModelAdapter.swift
[972/1019] Compiling MLXLMCommon ModelAdapterFactory.swift
[973/1019] Compiling MLXLMCommon XMLFunctionParser.swift
[974/1019] Compiling MLXLMCommon Tool.swift
[975/1019] Compiling MLXLMCommon ToolCall.swift
[976/1019] Compiling MLXLMCommon ToolCallFormat.swift
[977/1019] Compiling MLXLMCommon ToolCallProcessor.swift
[978/1019] Compiling MLXLMCommon ToolParameter.swift
[979/1019] Compiling MLXLMCommon ModelAdapterTypeRegistry.swift
[980/1019] Compiling MLXLMCommon AttentionUtils.swift
[981/1019] Compiling MLXLMCommon BaseConfiguration.swift
[982/1019] Compiling MLXLMCommon BidirectionalMasks.swift
[983/1019] Compiling MLXLMCommon Chat.swift
[984/1019] Compiling MLXLMCommon ChatSession.swift
[985/1019] Compiling MLXLMCommon Downloader.swift
[986/1019] Compiling MLXLMCommon ModelContainer.swift
[987/1019] Compiling MLXLMCommon ModelConversion.swift
[988/1019] Compiling MLXLMCommon ModelFactory.swift
[989/1019] Compiling MLXLMCommon Gemma.swift
[990/1019] Compiling MLXLMCommon Gemma4.swift
[991/1019] Compiling MLXLMCommon Module+Extensions.swift
[992/1019] Compiling MLXLMCommon ParoQuantLoader.swift
[993/1019] Compiling MLXLMCommon RotateQuantizedLinear.swift
[994/1019] Compiling MLXLMCommon AbstractModelRegistry.swift
[995/1019] Compiling MLXLMCommon ModelTypeRegistry.swift
[996/1019] Compiling MLXLMCommon ProcessorTypeRegistry.swift
[997/1019] Compiling MLXLMCommon RoPEApplication.swift
[998/1019] Compiling MLXLMCommon RoPEUtils.swift
[999/1019] Compiling MLXLMCommon SpeculativeDecoding.swift
[1000/1019] Compiling MLXLMCommon Evaluate.swift
[1001/1019] Compiling MLXLMCommon Encodable+toolResult.swift
[1002/1019] Compiling MLXLMCommon JSONDecoder+JSON5.swift
[1003/1019] Compiling MLXLMCommon GatedDelta.swift
[1004/1019] Compiling MLXLMCommon GenerationConfigFile.swift
[1005/1019] Compiling MLXLMCommon InterpolationUtils.swift
[1006/1019] Compiling MLXLMCommon JSONDecodingTypes.swift
[1007/1019] Compiling MLXLMCommon KVCache.swift
[1008/1019] Compiling MLXLMCommon LanguageModel.swift
[1009/1019] Compiling MLXLMCommon Load.swift
[1010/1019] Compiling MLXLMCommon MTPDrafterModel.swift
[1011/1019] Compiling MLXLMCommon MTPDrafterModelFactory.swift
[1012/1019] Compiling MLXLMCommon MTPSpeculativeTokenIterator.swift
[1013/1019] Compiling MLXLMCommon ModelConfiguration.swift
[1014/1019] Compiling MLXLMCommon Value.swift
[1015/1019] Compiling MLXLMCommon UserInput+Audio.swift
[1016/1019] Compiling MLXLMCommon UserInput.swift
[1017/1019] Compiling MLXLMCommon SerialAccessContainer.swift
[1018/1019] Compiling MLXLMCommon WiredMemoryPolicies.swift
[1019/1019] Compiling MLXLMCommon WiredMemoryUtils.swift
[1020/1076] Emitting module MLXHuggingFace
[1021/1076] Compiling MLXHuggingFace Macros.swift
[1022/1076] Emitting module MLXLLM
[1023/1081] Compiling MLXLLM Phi3.swift
[1024/1081] Compiling MLXLLM PhiMoE.swift
[1025/1081] Compiling MLXLLM Qwen2.swift
[1026/1081] Compiling MLXLLM Qwen3.swift
[1027/1081] Compiling MLXLLM Qwen35.swift
[1028/1081] Compiling MLXLLM Qwen35MoE.swift
[1029/1081] Compiling MLXLLM MiniCPM.swift
[1030/1081] Compiling MLXLLM MiniMax.swift
[1031/1081] Compiling MLXLLM Mistral3Text.swift
[1032/1081] Compiling MLXLLM Mixtral.swift
[1033/1081] Compiling MLXLLM NanoChat.swift
[1034/1081] Compiling MLXLLM NemotronH.swift
[1035/1081] Compiling MLXLLM Ernie4_5.swift
[1036/1081] Compiling MLXLLM Exaone4.swift
[1037/1081] Compiling MLXLLM FalconH1.swift
[1038/1081] Compiling MLXLLM GLM4.swift
[1039/1081] Compiling MLXLLM GLM4MOE.swift
[1040/1081] Compiling MLXLLM GLM4MOELite.swift
[1041/1081] Compiling MLXLLM LFM2MoE.swift
[1042/1081] Compiling MLXLLM Lille130m.swift
[1043/1081] Compiling MLXLLM Llama.swift
[1044/1081] Compiling MLXLLM Mamba2.swift
[1045/1081] Compiling MLXLLM MiMo.swift
[1046/1081] Compiling MLXLLM MiMoV2Flash.swift
[1047/1081] Compiling MLXLLM NemotronLabsDiffusion.swift
[1048/1081] Compiling MLXLLM Olmo2.swift
[1049/1081] Compiling MLXLLM Olmo3.swift
[1050/1081] Compiling MLXLLM OlmoE.swift
[1051/1081] Compiling MLXLLM OpenELM.swift
[1052/1081] Compiling MLXLLM Phi.swift
[1053/1081] Compiling MLXLLM Apertus.swift
[1054/1081] Compiling MLXLLM BaichuanM1.swift
[1055/1081] Compiling MLXLLM BailingMoe.swift
[1056/1081] Compiling MLXLLM Bitnet.swift
[1057/1081] Compiling MLXLLM Cohere.swift
[1058/1081] Compiling MLXLLM DeepseekV3.swift
[1059/1081] Compiling MLXLLM LLMModel.swift
[1060/1081] Compiling MLXLLM LLMModelFactory.swift
[1061/1081] Compiling MLXLLM Lora+Data.swift
[1062/1081] Compiling MLXLLM LoraTrain.swift
[1063/1081] Compiling MLXLLM ModelConversion.swift
[1064/1081] Compiling MLXLLM AfMoE.swift
[1065/1081] Compiling MLXLLM GPTOSS.swift
[1066/1081] Compiling MLXLLM Gemma.swift
[1067/1081] Compiling MLXLLM Gemma2.swift
[1068/1081] Compiling MLXLLM Gemma3Text.swift
[1069/1081] Compiling MLXLLM Gemma3nText.swift
[1070/1081] Compiling MLXLLM Gemma4.swift
[1071/1081] Compiling MLXLLM Gemma4Text.swift
[1072/1081] Compiling MLXLLM Granite.swift
[1073/1081] Compiling MLXLLM GraniteMoeHybrid.swift
[1074/1081] Compiling MLXLLM Internlm2.swift
[1075/1081] Compiling MLXLLM Jamba.swift
[1076/1081] Compiling MLXLLM LFM2.swift
[1077/1081] Compiling MLXLLM Qwen3MoE.swift
[1078/1081] Compiling MLXLLM Qwen3Next.swift
[1079/1081] Compiling MLXLLM SSM.swift
[1080/1081] Compiling MLXLLM SmolLM3.swift
[1081/1081] Compiling MLXLLM Starcoder2.swift
[1082/1085] Compiling GlassesLocal ExtentosLocalTier.swift
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocal/ExtentosLocalTier.swift:153:20: warning: stored property 'cloudReason' of 'Sendable'-conforming struct 'AutoChoice' has non-sendable type 'CloudFallbackReason?'; this is an error in the Swift 6 language mode
151 | /// the text worked on one platform and silently never matched on the
152 | /// other. Switch on it; the wording shown to a user is the app's.
153 | public let cloudReason: CloudFallbackReason?
| `- warning: stored property 'cloudReason' of 'Sendable'-conforming struct 'AutoChoice' has non-sendable type 'CloudFallbackReason?'; this is an error in the Swift 6 language mode
154 | public let downloadTarget: String?
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Generated/extentos_core.swift:11120:13: note: enum 'CloudFallbackReason' does not conform to the 'Sendable' protocol
11118 | */
11119 |
11120 | public enum CloudFallbackReason {
| `- note: enum 'CloudFallbackReason' does not conform to the 'Sendable' protocol
11121 |
11122 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocal/ExtentosLocalTier.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GlassesCore'
11 |
12 | import Foundation
13 | import GlassesCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GlassesCore'
14 | import HuggingFace
15 | import os
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocal/ExtentosLocalTier.swift:397:20: warning: conditional cast from '[String : Any]' to '[String : any Sendable]' always succeeds
395 | let obj = try? JSONSerialization.jsonObject(with: data) as? [String: Any]
396 | else { return [:] }
397 | return obj as? [String: any Sendable] ?? [:]
| `- warning: conditional cast from '[String : Any]' to '[String : any Sendable]' always succeeds
398 | }
399 | }
[1083/1085] Emitting module GlassesLocal
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocal/ExtentosLocalTier.swift:153:20: warning: stored property 'cloudReason' of 'Sendable'-conforming struct 'AutoChoice' has non-sendable type 'CloudFallbackReason?'; this is an error in the Swift 6 language mode
151 | /// the text worked on one platform and silently never matched on the
152 | /// other. Switch on it; the wording shown to a user is the app's.
153 | public let cloudReason: CloudFallbackReason?
| `- warning: stored property 'cloudReason' of 'Sendable'-conforming struct 'AutoChoice' has non-sendable type 'CloudFallbackReason?'; this is an error in the Swift 6 language mode
154 | public let downloadTarget: String?
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/GlassesCore/Generated/extentos_core.swift:11120:13: note: enum 'CloudFallbackReason' does not conform to the 'Sendable' protocol
11118 | */
11119 |
11120 | public enum CloudFallbackReason {
| `- note: enum 'CloudFallbackReason' does not conform to the 'Sendable' protocol
11121 |
11122 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocal/ExtentosLocalTier.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GlassesCore'
11 |
12 | import Foundation
13 | import GlassesCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GlassesCore'
14 | import HuggingFace
15 | import os
[1084/1085] Compiling GlassesLocal AutoModelSelection.swift
[1085/1085] Compiling GlassesLocal LocalBrain.swift
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocal/LocalBrain.swift:513:74: warning: type 'any KVCache' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
511 | let modelIdIn = config.modelId
512 | traceCache("prefix warm begin")
513 | let result: ([KVCache]?, [Int], String?)? = try? await container.perform {
| `- warning: type 'any KVCache' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
514 | context -> ([KVCache]?, [Int], String?) in
515 | let lmInput = try await context.processor.prepare(input: input)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/KVCache.swift:46:17: note: protocol 'KVCache' does not conform to the 'Sendable' protocol
44 | ///
45 | /// See ``LanguageModel/newCache(parameters:)``
46 | public protocol KVCache: Evaluatable {
| `- note: protocol 'KVCache' does not conform to the 'Sendable' protocol
47 | /// get the current offset
48 | var offset: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocal/LocalBrain.swift:513:74: warning: non-sendable result type '([any KVCache]?, [Int], String?)' cannot be sent from nonisolated context in call to instance method 'perform'; this is an error in the Swift 6 language mode
511 | let modelIdIn = config.modelId
512 | traceCache("prefix warm begin")
513 | let result: ([KVCache]?, [Int], String?)? = try? await container.perform {
| `- warning: non-sendable result type '([any KVCache]?, [Int], String?)' cannot be sent from nonisolated context in call to instance method 'perform'; this is an error in the Swift 6 language mode
514 | context -> ([KVCache]?, [Int], String?) in
515 | let lmInput = try await context.processor.prepare(input: input)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/KVCache.swift:46:17: note: protocol 'KVCache' does not conform to the 'Sendable' protocol
44 | ///
45 | /// See ``LanguageModel/newCache(parameters:)``
46 | public protocol KVCache: Evaluatable {
| `- note: protocol 'KVCache' does not conform to the 'Sendable' protocol
47 | /// get the current offset
48 | var offset: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocal/LocalBrain.swift:515:70: warning: capture of 'input' with non-sendable type 'UserInput' in a '@Sendable' closure; this is an error in the Swift 6 language mode
513 | let result: ([KVCache]?, [Int], String?)? = try? await container.perform {
514 | context -> ([KVCache]?, [Int], String?) in
515 | let lmInput = try await context.processor.prepare(input: input)
| `- warning: capture of 'input' with non-sendable type 'UserInput' in a '@Sendable' closure; this is an error in the Swift 6 language mode
516 | let fullTokens = lmInput.text.tokens.asArray(Int.self)
517 | var cache = cacheIn
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/UserInput.swift:14:15: note: struct 'UserInput' does not conform to the 'Sendable' protocol
12 | /// A ``UserInputProcessor`` can convert this to ``LMInput``.
13 | /// See also ``ModelContext``.
14 | public struct UserInput {
| `- note: struct 'UserInput' does not conform to the 'Sendable' protocol
15 |
16 | /// Representation of a prompt or series of messages (conversation).
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocal/LocalBrain.swift:517:25: warning: capture of 'cacheIn' with non-sendable type '[any KVCache]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
515 | let lmInput = try await context.processor.prepare(input: input)
516 | let fullTokens = lmInput.text.tokens.asArray(Int.self)
517 | var cache = cacheIn
| `- warning: capture of 'cacheIn' with non-sendable type '[any KVCache]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
518 | var fed = fedIn
519 | var stateNote: String? = nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/KVCache.swift:46:17: note: protocol 'KVCache' does not conform to the 'Sendable' protocol
44 | ///
45 | /// See ``LanguageModel/newCache(parameters:)``
46 | public protocol KVCache: Evaluatable {
| `- note: protocol 'KVCache' does not conform to the 'Sendable' protocol
47 | /// get the current offset
48 | var offset: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocal/LocalBrain.swift:747:105: warning: type 'any KVCache' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
745 | let resetReasonIn = lastResetReason
746 | traceCache("gen begin: history=\(history.count) cached=\(fedIn.count) tok")
747 | let (text, toolCalls, cacheOut, fedOut, alignment, resetNote, spoken) = try await container.perform {
| `- warning: type 'any KVCache' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
748 | context -> (String, [ToolCall], [KVCache]?, [Int], String, String?, String) in
749 | let lmInput = try await context.processor.prepare(input: input)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/KVCache.swift:46:17: note: protocol 'KVCache' does not conform to the 'Sendable' protocol
44 | ///
45 | /// See ``LanguageModel/newCache(parameters:)``
46 | public protocol KVCache: Evaluatable {
| `- note: protocol 'KVCache' does not conform to the 'Sendable' protocol
47 | /// get the current offset
48 | var offset: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocal/LocalBrain.swift:747:105: warning: non-sendable result type '(String, [ToolCall], [any KVCache]?, [Int], String, String?, String)' cannot be sent from nonisolated context in call to instance method 'perform'; this is an error in the Swift 6 language mode
745 | let resetReasonIn = lastResetReason
746 | traceCache("gen begin: history=\(history.count) cached=\(fedIn.count) tok")
747 | let (text, toolCalls, cacheOut, fedOut, alignment, resetNote, spoken) = try await container.perform {
| `- warning: non-sendable result type '(String, [ToolCall], [any KVCache]?, [Int], String, String?, String)' cannot be sent from nonisolated context in call to instance method 'perform'; this is an error in the Swift 6 language mode
748 | context -> (String, [ToolCall], [KVCache]?, [Int], String, String?, String) in
749 | let lmInput = try await context.processor.prepare(input: input)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/KVCache.swift:46:17: note: protocol 'KVCache' does not conform to the 'Sendable' protocol
44 | ///
45 | /// See ``LanguageModel/newCache(parameters:)``
46 | public protocol KVCache: Evaluatable {
| `- note: protocol 'KVCache' does not conform to the 'Sendable' protocol
47 | /// get the current offset
48 | var offset: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocal/LocalBrain.swift:749:74: warning: capture of 'input' with non-sendable type 'UserInput' in a '@Sendable' closure; this is an error in the Swift 6 language mode
747 | let (text, toolCalls, cacheOut, fedOut, alignment, resetNote, spoken) = try await container.perform {
748 | context -> (String, [ToolCall], [KVCache]?, [Int], String, String?, String) in
749 | let lmInput = try await context.processor.prepare(input: input)
| `- warning: capture of 'input' with non-sendable type 'UserInput' in a '@Sendable' closure; this is an error in the Swift 6 language mode
750 | let fullTokens = lmInput.text.tokens.asArray(Int.self)
751 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/UserInput.swift:14:15: note: struct 'UserInput' does not conform to the 'Sendable' protocol
12 | /// A ``UserInputProcessor`` can convert this to ``LMInput``.
13 | /// See also ``ModelContext``.
14 | public struct UserInput {
| `- note: struct 'UserInput' does not conform to the 'Sendable' protocol
15 |
16 | /// Representation of a prompt or series of messages (conversation).
/Users/admin/builder/spi-builder-workspace/Sources/GlassesLocal/LocalBrain.swift:753:29: warning: capture of 'cacheIn' with non-sendable type '[any KVCache]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
751 |
752 | // ── Prompt-cache alignment (invariant: cache == fed) ──
753 | var cache = cacheIn
| `- warning: capture of 'cacheIn' with non-sendable type '[any KVCache]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
754 | var fed = fedIn
755 | var disposition = "warm"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift-lm/Libraries/MLXLMCommon/KVCache.swift:46:17: note: protocol 'KVCache' does not conform to the 'Sendable' protocol
44 | ///
45 | /// See ``LanguageModel/newCache(parameters:)``
46 | public protocol KVCache: Evaluatable {
| `- note: protocol 'KVCache' does not conform to the 'Sendable' protocol
47 | /// get the current offset
48 | var offset: Int { get }
Build complete! (159.96s)
Fetching https://github.com/ml-explore/mlx-swift-lm.git
Fetching https://github.com/facebook/meta-wearables-dat-ios
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/huggingface/swift-huggingface.git
[1/1678] Fetching meta-wearables-dat-ios
[52/8642] Fetching meta-wearables-dat-ios, swift-transformers
[921/11156] Fetching meta-wearables-dat-ios, swift-transformers, swift-huggingface
[3606/31518] Fetching meta-wearables-dat-ios, swift-transformers, swift-huggingface, mlx-swift-lm
Fetched https://github.com/ml-explore/mlx-swift-lm.git from cache (5.80s)
[9999/11156] Fetching meta-wearables-dat-ios, swift-transformers, swift-huggingface
Fetched https://github.com/huggingface/swift-huggingface.git from cache (23.99s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (23.99s)
Fetched https://github.com/facebook/meta-wearables-dat-ios from cache (23.99s)
Computing version for https://github.com/ml-explore/mlx-swift-lm.git
Computed https://github.com/ml-explore/mlx-swift-lm.git at 3.31.4 (24.50s)
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/swiftlang/swift-syntax.git from cache
[1/16157] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift from cache (2.36s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.65s)
Computing version for https://github.com/facebook/meta-wearables-dat-ios
Computed https://github.com/facebook/meta-wearables-dat-ios at 0.8.0 (3.16s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.4 (0.50s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (1.09s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (4.35s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.46s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.10.0 (0.48s)
Fetching https://github.com/huggingface/swift-xet.git
Fetching https://github.com/mattt/EventSource.git
Fetching https://github.com/apple/swift-crypto.git from cache
[1/277] Fetching swift-xet
[13/580] Fetching swift-xet, eventsource
Fetched https://github.com/huggingface/swift-xet.git from cache (1.03s)
Fetched https://github.com/mattt/EventSource.git from cache (1.76s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.80s)
Computing version for https://github.com/huggingface/swift-xet.git
Computed https://github.com/huggingface/swift-xet.git at 0.2.3 (2.28s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-nio-transport-services.git from cache
Fetching https://github.com/swift-server/async-http-client from cache
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.43s)
Fetched https://github.com/swift-server/async-http-client from cache (1.45s)
Fetched https://github.com/apple/swift-nio.git from cache (2.83s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (3.33s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.83s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.32s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.47s)
Computing version for https://github.com/swift-server/async-http-client
Computed https://github.com/swift-server/async-http-client at 1.36.1 (0.47s)
Fetching https://github.com/apple/swift-algorithms.git from cache
Fetching https://github.com/apple/swift-nio-extras.git from cache
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-http2.git from cache
Fetching https://github.com/apple/swift-log.git from cache
[1/6007] Fetching swift-distributed-tracing
Fetched https://github.com/apple/swift-algorithms.git from cache (1.20s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.21s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.58s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.61s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.62s)
Fetched https://github.com/apple/swift-log.git from cache (1.64s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (2.13s)
Fetching https://github.com/apple/swift-service-context.git
[1/1324] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (1.37s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.99s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.102.0 (0.69s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (1.34s)
Fetched https://github.com/apple/swift-collections.git from cache (2.03s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (2.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.0 (0.50s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.4 (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.63s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.3.4 (0.52s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
[1/1281] Fetching swift-jinja
[411/6044] Fetching swift-jinja, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.72s)
Fetched https://github.com/ibireme/yyjson.git from cache (1.72s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.36s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.4.2 (0.49s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.0 (2.75s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git from cache
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git from cache
Fetching https://github.com/apple/swift-http-types.git from cache
[1/2822] Fetching swift-service-lifecycle
[2/10351] Fetching swift-service-lifecycle, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.18s)
[1280/7529] Fetching swift-certificates
[2787/14239] Fetching swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.74s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.74s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.76s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.77s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.77s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.6.0 (2.31s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (0.54s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.81s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.73s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.2 (1.03s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.20.0 (1.05s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.16s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.52s)
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/facebook/meta-wearables-dat-ios
Working copy of https://github.com/facebook/meta-wearables-dat-ios resolved at 0.8.0
Creating working copy for https://github.com/swift-server/async-http-client
Working copy of https://github.com/swift-server/async-http-client resolved at 1.36.1
Creating working copy for https://github.com/ml-explore/mlx-swift-lm.git
Working copy of https://github.com/ml-explore/mlx-swift-lm.git resolved at 3.31.4
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.1
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.5.1
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.4.2
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.10.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.3.4
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.4
Creating working copy for https://github.com/huggingface/swift-xet.git
Working copy of https://github.com/huggingface/swift-xet.git resolved at 0.2.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.102.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.20.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Downloading binary artifact https://github.com/extentos/swift-glasses/releases/download/2.8.0/sherpaOnnxFFI.xcframework.zip
Downloading binary artifact https://github.com/extentos/swift-glasses/releases/download/2.8.0/extentos_coreFFI.xcframework.zip
Downloading binary artifact https://github.com/extentos/swift-glasses/releases/download/2.8.0/onnxruntimeFFI.xcframework.zip
[16375/17124455] Downloading https://github.com/extentos/swift-glasses/releases/download/2.8.0/sherpaOnnxFFI.xcframework.zip
[3563685/58312550] Downloading https://github.com/extentos/swift-glasses/releases/download/2.8.0/sherpaOnnxFFI.xcframework.zip, https://github.com/extentos/swift-glasses/releases/download/2.8.0/extentos_coreFFI.xcframework.zip
[14752866/90778669] Downloading https://github.com/extentos/swift-glasses/releases/download/2.8.0/sherpaOnnxFFI.xcframework.zip, https://github.com/extentos/swift-glasses/releases/download/2.8.0/extentos_coreFFI.xcframework.zip, https://github.com/extentos/swift-glasses/releases/download/2.8.0/onnxruntimeFFI.xcframework.zip
Downloaded https://github.com/extentos/swift-glasses/releases/download/2.8.0/sherpaOnnxFFI.xcframework.zip (1.35s)
Downloaded https://github.com/extentos/swift-glasses/releases/download/2.8.0/onnxruntimeFFI.xcframework.zip (2.20s)
Downloaded https://github.com/extentos/swift-glasses/releases/download/2.8.0/extentos_coreFFI.xcframework.zip (2.34s)
Build complete.
{
"dependencies" : [
{
"identity" : "meta-wearables-dat-ios",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "0.9.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/facebook/meta-wearables-dat-ios"
},
{
"identity" : "mlx-swift-lm",
"requirement" : {
"range" : [
{
"lower_bound" : "3.31.4",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift-lm.git"
},
{
"identity" : "swift-huggingface",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-huggingface.git"
},
{
"identity" : "swift-transformers",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-transformers.git"
}
],
"manifest_display_name" : "Extentos",
"name" : "Extentos",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "GlassesCore",
"targets" : [
"GlassesCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GlassesUI",
"targets" : [
"GlassesUI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GlassesDebug",
"targets" : [
"GlassesDebug"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GlassesLifecycle",
"targets" : [
"GlassesLifecycle"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GlassesTesting",
"targets" : [
"GlassesTesting"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GlassesLocal",
"targets" : [
"GlassesLocal"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GlassesLocalVoice",
"targets" : [
"GlassesLocalVoice"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "sherpaOnnxFFI",
"module_type" : "BinaryTarget",
"name" : "sherpaOnnxFFI",
"path" : "remote/archive/sherpaOnnxFFI.xcframework.zip",
"product_memberships" : [
"GlassesLocalVoice"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "onnxruntimeFFI",
"module_type" : "BinaryTarget",
"name" : "onnxruntimeFFI",
"path" : "remote/archive/onnxruntimeFFI.xcframework.zip",
"product_memberships" : [
"GlassesLocalVoice"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "extentos_coreFFI",
"module_type" : "BinaryTarget",
"name" : "extentos_coreFFI",
"path" : "remote/archive/extentos_coreFFI.xcframework.zip",
"product_memberships" : [
"GlassesCore",
"GlassesUI",
"GlassesDebug",
"GlassesLifecycle",
"GlassesTesting",
"GlassesLocal",
"GlassesLocalVoice"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "SherpaOnnxC",
"module_type" : "ClangTarget",
"name" : "SherpaOnnxC",
"path" : "Sources/SherpaOnnxC",
"product_memberships" : [
"GlassesLocalVoice"
],
"sources" : [
"shim.c"
],
"type" : "library"
},
{
"c99name" : "GlassesUI",
"module_type" : "SwiftTarget",
"name" : "GlassesUI",
"path" : "Sources/GlassesUI",
"product_memberships" : [
"GlassesUI"
],
"sources" : [
"Appearance.swift",
"ConnectionPageJsonConfig.swift",
"EscapeHatch.swift",
"ExtentosConnectionPage.swift",
"ExtentosPairingScreen.swift",
"ExtentosTheme.swift"
],
"target_dependencies" : [
"GlassesCore"
],
"type" : "library"
},
{
"c99name" : "GlassesTesting",
"module_type" : "SwiftTarget",
"name" : "GlassesTesting",
"path" : "Sources/GlassesTesting",
"product_memberships" : [
"GlassesTesting"
],
"sources" : [
"FakeExtentosGlasses.swift"
],
"target_dependencies" : [
"GlassesCore"
],
"type" : "library"
},
{
"c99name" : "GlassesLocalVoice",
"module_type" : "SwiftTarget",
"name" : "GlassesLocalVoice",
"path" : "Sources/GlassesLocalVoice",
"product_memberships" : [
"GlassesLocalVoice"
],
"sources" : [
"KokoroModelDownload.swift",
"KokoroModelManifest.swift",
"KokoroServingProbe.swift",
"KokoroSynthesizer.swift"
],
"target_dependencies" : [
"GlassesCore",
"SherpaOnnxC",
"sherpaOnnxFFI",
"onnxruntimeFFI"
],
"type" : "library"
},
{
"c99name" : "GlassesLocal",
"module_type" : "SwiftTarget",
"name" : "GlassesLocal",
"path" : "Sources/GlassesLocal",
"product_dependencies" : [
"MLXLLM",
"MLXLMCommon",
"MLXHuggingFace",
"HuggingFace",
"Tokenizers"
],
"product_memberships" : [
"GlassesLocal"
],
"sources" : [
"AutoModelSelection.swift",
"ExtentosLocalTier.swift",
"LocalBrain.swift"
],
"target_dependencies" : [
"GlassesCore"
],
"type" : "library"
},
{
"c99name" : "GlassesLifecycle",
"module_type" : "SwiftTarget",
"name" : "GlassesLifecycle",
"path" : "Sources/GlassesLifecycle",
"product_memberships" : [
"GlassesLifecycle"
],
"sources" : [
"ListeningModifier.swift"
],
"target_dependencies" : [
"GlassesCore"
],
"type" : "library"
},
{
"c99name" : "GlassesDebug",
"module_type" : "SwiftTarget",
"name" : "GlassesDebug",
"path" : "Sources/GlassesDebug",
"product_memberships" : [
"GlassesDebug"
],
"sources" : [
"ExtentosDebugPanel.swift"
],
"target_dependencies" : [
"GlassesCore"
],
"type" : "library"
},
{
"c99name" : "GlassesCore",
"module_type" : "SwiftTarget",
"name" : "GlassesCore",
"path" : "Sources/GlassesCore",
"product_dependencies" : [
"MWDATCore",
"MWDATCamera",
"MWDATDisplay"
],
"product_memberships" : [
"GlassesCore",
"GlassesUI",
"GlassesDebug",
"GlassesLifecycle",
"GlassesTesting",
"GlassesLocal",
"GlassesLocalVoice"
],
"sources" : [
"Assistant/AssistantClient.swift",
"Assistant/AssistantConfig.swift",
"Assistant/AssistantEvent.swift",
"Assistant/AssistantProvider.swift",
"Assistant/Tool.swift",
"Assistant/Turn.swift",
"AudioClient.swift",
"CameraClient.swift",
"Conformances.swift",
"ConnectionClient.swift",
"Device.swift",
"DisplayClient.swift",
"Errors.swift",
"Events/EventLogger.swift",
"Extentos.swift",
"ExtentosConfig.swift",
"ExtentosSceneObserver.swift",
"Generated/extentos_core.swift",
"Impl/AssistantConfigClient.swift",
"Impl/AssistantTransportBridge.swift",
"Impl/AttestClient.swift",
"Impl/DefaultAssistantClient.swift",
"Impl/DefaultAudioClient.swift",
"Impl/DefaultCameraClient.swift",
"Impl/DefaultConnectionClient.swift",
"Impl/DefaultDisplayClient.swift",
"Impl/DefaultExtentosGlasses.swift",
"Impl/DefaultObservabilityClient.swift",
"Impl/DefaultRuntimeClient.swift",
"Impl/DefaultTelemetryClient.swift",
"Impl/DefaultToggleClient.swift",
"Impl/DefaultVoiceClient.swift",
"Impl/DeviceInstallStore.swift",
"Impl/EnvironmentClassifier.swift",
"Impl/HostedLocalBrain.swift",
"Impl/LocalRealtimeProvider.swift",
"Impl/LocalTierDiagnostics.swift",
"Impl/LocalVoiceRegistry.swift",
"Impl/MediaDelivery.swift",
"Impl/MockAssistantProvider.swift",
"Impl/MutableState.swift",
"Impl/PersistentMemoryStore.swift",
"Impl/RealtimeCoreProvider.swift",
"Impl/StoreProof.swift",
"Impl/TelemetryBridge.swift",
"Impl/VoiceTransportBridge.swift",
"JSONValue.swift",
"LibraryVersion.swift",
"MigratedCoreTypes.swift",
"ObservabilityClient.swift",
"ObservableState.swift",
"PhotoExtensions.swift",
"PushToTalkSession.swift",
"Runtime/AudioCaptureSession.swift",
"Runtime/EarsMeter.swift",
"Runtime/EarsTape.swift",
"Runtime/EarsTuning.swift",
"Runtime/Mp4Structure.swift",
"Runtime/PlatformSttEngine.swift",
"Runtime/SharedAudioInput.swift",
"Runtime/VideoCaptureSession.swift",
"Runtime/WakeLedger.swift",
"RuntimeClient.swift",
"TelemetryClient.swift",
"ToggleClient.swift",
"Transport/Brilliant/BleAudioInput.swift",
"Transport/Brilliant/BrilliantTransport.swift",
"Transport/Brilliant/CoreBluetoothBleBridge.swift",
"Transport/Brilliant/ExtentosBrilliant.swift",
"Transport/BrowserSimTransport.swift",
"Transport/GlassesTransport.swift",
"Transport/LocalSimTransport.swift",
"Transport/MWDATBridge.swift",
"Transport/MetaDisplayTranslation.swift",
"Transport/MetaHardwareBridge.swift",
"Transport/RealMetaTransport.swift",
"Transport/SpeechDelegateBox.swift",
"Transport/SystemAudioBridge.swift",
"Transport/SystemAudioHardwareBridge.swift",
"Transport/SystemAudioTransport.swift",
"Transport/VendorTransports.swift",
"Transport/YuvPacking.swift",
"UiState.swift",
"VoiceClient.swift"
],
"target_dependencies" : [
"extentos_coreFFI"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.