The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Monstra, reference v0.1.0 (44efbc), with Swift 6.2 (beta) for Linux on 7 Sep 2025 23:22:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yangchenlarkin/Monstra.git
Reference: v0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/yangchenlarkin/Monstra
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at 44efbcc Release v0.1.0: Update version numbers and changelog
Cloned https://github.com/yangchenlarkin/Monstra.git
Revision (git rev-parse @):
44efbccb666635430d416dfcc2b810231e31a807
SUCCESS checkout https://github.com/yangchenlarkin/Monstra.git at v0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/yangchenlarkin/Monstra.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c6c8e08ea30bca759adf847aac87887750120fe9b6eaea09f5af37036a41e81a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Monstore/MemoryCache/README.md
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling Monstra DoublyLink.swift
[4/15] Compiling Monstra HashQueue.swift
[5/16] Compiling Monstra RetryCount.swift
[6/16] Compiling Monstra Heap.swift
[7/16] Compiling Monstra MonoTask.swift
/host/spi-builder-workspace/Sources/MonstraBase/TracingIDFactory.swift:223:24: error: cannot find 'os_unfair_lock' in scope
221 |     /// Uses `os_unfair_lock` for minimal overhead while providing mutual exclusion.
222 |     /// This lock protects the `sequentialCounter` during increment and ID calculation.
223 |     private var lock = os_unfair_lock()
    |                        `- error: cannot find 'os_unfair_lock' in scope
224 |
225 |     /// Core ID generation logic without thread safety (maximum performance).
[8/16] Compiling Monstra MemoryCache.swift
/host/spi-builder-workspace/Sources/MonstraBase/TracingIDFactory.swift:223:24: error: cannot find 'os_unfair_lock' in scope
221 |     /// Uses `os_unfair_lock` for minimal overhead while providing mutual exclusion.
222 |     /// This lock protects the `sequentialCounter` during increment and ID calculation.
223 |     private var lock = os_unfair_lock()
    |                        `- error: cannot find 'os_unfair_lock' in scope
224 |
225 |     /// Core ID generation logic without thread safety (maximum performance).
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/16] Compiling Monstra KVHeavyTasksManager.swift
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1011:54: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1009 |             dataProviders[key] = DataProvider(key: key, customEventPublisher: { [weak self] customEvent in
1010 |                 // Handle custom events (progress updates, status changes, etc.)
1011 |                 DispatchQueue.global().async { [weak self] in
     |                                                      `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1012 |                     guard let taskManager = self else { return }
1013 |                     taskManager.semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1009:87: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1007 |         // Create new DataProvider instance if not already present (supports reuse from .reuse strategy)
1008 |         if dataProviders[key] == nil {
1009 |             dataProviders[key] = DataProvider(key: key, customEventPublisher: { [weak self] customEvent in
     |                                                                                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1010 |                 // Handle custom events (progress updates, status changes, etc.)
1011 |                 DispatchQueue.global().async { [weak self] in
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1012:45: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1010 |                 // Handle custom events (progress updates, status changes, etc.)
1011 |                 DispatchQueue.global().async { [weak self] in
1012 |                     guard let taskManager = self else { return }
     |                                             `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1013 |                     taskManager.semaphore.wait()
1014 |                     defer { taskManager.semaphore.signal() }
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1011:54: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1009 |             dataProviders[key] = DataProvider(key: key, customEventPublisher: { [weak self] customEvent in
1010 |                 // Handle custom events (progress updates, status changes, etc.)
1011 |                 DispatchQueue.global().async { [weak self] in
     |                                                      `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1012 |                     guard let taskManager = self else { return }
1013 |                     taskManager.semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1025:54: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1023 |             }, resultPublisher: { [weak self] result in
1024 |                 // Handle final task result (success or failure)
1025 |                 DispatchQueue.global().async { [weak self] in
     |                                                      `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1026 |                     guard let taskManager = self else { return }
1027 |                     taskManager.semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1023:41: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1021 |                     }
1022 |                 }
1023 |             }, resultPublisher: { [weak self] result in
     |                                         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1024 |                 // Handle final task result (success or failure)
1025 |                 DispatchQueue.global().async { [weak self] in
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1026:45: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1024 |                 // Handle final task result (success or failure)
1025 |                 DispatchQueue.global().async { [weak self] in
1026 |                     guard let taskManager = self else { return }
     |                                             `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1027 |                     taskManager.semaphore.wait()
1028 |                     defer { taskManager.semaphore.signal() }
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1025:54: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1023 |             }, resultPublisher: { [weak self] result in
1024 |                 // Handle final task result (success or failure)
1025 |                 DispatchQueue.global().async { [weak self] in
     |                                                      `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1026 |                     guard let taskManager = self else { return }
1027 |                     taskManager.semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:125:49: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |                     Task {
124 |                         do {
125 |                             let res = try await asyncMonoprovide(key)
    |                                                 `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
126 |                             callback(.success(res))
127 |                         } catch {
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:121:40: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
119 |             case let .multiprovide(maximumBatchCount, multiprovide):
120 |                 privateDataProvider = .multiprovide(maximumBatchCount: maximumBatchCount, multiprovide)
121 |             case let .asyncMonoprovide(asyncMonoprovide):
    |                                        `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |                 privateDataProvider = .monoprovide { key, callback in
123 |                     Task {
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:136:43: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |                     Task {
135 |                         do {
136 |                             let res = try await asyncMultiprovide(keys)
    |                                           `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 |                             callback(.success(res))
138 |                         } catch {
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:132:60: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 |                     }
131 |                 }
132 |             case let .asyncMultiprovide(maximumBatchCount, asyncMultiprovide):
    |                                                            `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
133 |                 privateDataProvider = .multiprovide(maximumBatchCount: maximumBatchCount) { keys, callback in
134 |                     Task {
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:290:21: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
288 |                 let capturedResults = results
289 |                 DispatchQueue.global().async {
290 |                     multiCallback(
    |                     `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
291 |                         keys.map { ($0, capturedResults[$0] ?? .success(nil)) }
292 |                     )
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:273:27: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
271 |     ///   - keys: Array of keys to fetch (duplicates are allowed)
272 |     ///   - multiCallback: Batch callback that receives all results at once
273 |     func fetch(keys: [K], multiCallback: @escaping BatchResultCallback) {
    |                           `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
274 |         guard keys.count > 0 else {
275 |             multiCallback([])
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:428:39: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
426 |             switch cache.getElement(for: key) {
427 |             case .invalidKey:
428 |                 dispatchQueue.async { completion(key, .success(nil)) }
    |                                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
429 |             case .hitNullElement:
430 |                 dispatchQueue.async { completion(key, .success(nil)) }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:419:9: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
417 |         keys: [K],
418 |         dispatchQueue: DispatchQueue? = nil,
419 |         completion: @escaping ResultCallback
    |         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
420 |     ) {
421 |         semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:430:39: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
428 |                 dispatchQueue.async { completion(key, .success(nil)) }
429 |             case .hitNullElement:
430 |                 dispatchQueue.async { completion(key, .success(nil)) }
    |                                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
431 |             case let .hitNonNullElement(element: element):
432 |                 dispatchQueue.async { completion(key, .success(element)) }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:419:9: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
417 |         keys: [K],
418 |         dispatchQueue: DispatchQueue? = nil,
419 |         completion: @escaping ResultCallback
    |         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
420 |     ) {
421 |         semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:432:39: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
430 |                 dispatchQueue.async { completion(key, .success(nil)) }
431 |             case let .hitNonNullElement(element: element):
432 |                 dispatchQueue.async { completion(key, .success(element)) }
    |                                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
433 |             case .miss:
434 |                 remoteKeys.append(key)
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:419:9: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
417 |         keys: [K],
418 |         dispatchQueue: DispatchQueue? = nil,
419 |         completion: @escaping ResultCallback
    |         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
420 |     ) {
421 |         semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:445:27: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
443 |         startTaskExecution(keys: _remoteKeys) { [weak self] key, res in
444 |             DispatchQueue.global().async {
445 |                 guard let self else { return }
    |                           `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
446 |                 self.semaphore.wait()
447 |                 defer { self.semaphore.signal() }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:443:55: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
441 |         cacheResultCallback(keys: remoteKeys, callback: completion)
442 |
443 |         startTaskExecution(keys: _remoteKeys) { [weak self] key, res in
    |                                                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
444 |             DispatchQueue.global().async {
445 |                 guard let self else { return }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:445:27: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
443 |         startTaskExecution(keys: _remoteKeys) { [weak self] key, res in
444 |             DispatchQueue.global().async {
445 |                 guard let self else { return }
    |                           `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
446 |                 self.semaphore.wait()
447 |                 defer { self.semaphore.signal() }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:468:35: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
466 |     private func consumeCallbacks(key: K, dispatchQueue: DispatchQueue, result: Result<Element?, Error>) {
467 |         resultCallbacks[key]?.forEach { callback in
468 |             dispatchQueue.async { callback(key, result) }
    |                                   `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
469 |         }
470 |         resultCallbacks.removeValue(forKey: key)
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:467:41: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
465 |
466 |     private func consumeCallbacks(key: K, dispatchQueue: DispatchQueue, result: Result<Element?, Error>) {
467 |         resultCallbacks[key]?.forEach { callback in
    |                                         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
468 |             dispatchQueue.async { callback(key, result) }
469 |         }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:550:23: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
548 |
549 |         DispatchQueue.global().async { [weak self] in
550 |             guard let self else { return }
    |                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
551 |
552 |             _executeMonoprovide(key: key, provide: provide) { [weak self] key, res in
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:549:46: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
547 |         }
548 |
549 |         DispatchQueue.global().async { [weak self] in
    |                                              `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
550 |             guard let self else { return }
551 |
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:554:31: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
552 |             _executeMonoprovide(key: key, provide: provide) { [weak self] key, res in
553 |                 DispatchQueue.global().async { [weak self] in
554 |                     guard let self else { return }
    |                               `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
555 |                     semaphore.wait()
556 |                     defer { semaphore.signal() }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:553:54: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
551 |
552 |             _executeMonoprovide(key: key, provide: provide) { [weak self] key, res in
553 |                 DispatchQueue.global().async { [weak self] in
    |                                                      `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
554 |                     guard let self else { return }
555 |                     semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:592:23: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
590 |
591 |         DispatchQueue.global().async { [weak self] in
592 |             guard let self else { return }
    |                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
593 |             _executeMultiprovide(keys: keys, provide: provide) { [weak self] res in
594 |                 DispatchQueue.global().async { [weak self] in
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:591:46: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
589 |         }
590 |
591 |         DispatchQueue.global().async { [weak self] in
    |                                              `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
592 |             guard let self else { return }
593 |             _executeMultiprovide(keys: keys, provide: provide) { [weak self] res in
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:595:31: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
593 |             _executeMultiprovide(keys: keys, provide: provide) { [weak self] res in
594 |                 DispatchQueue.global().async { [weak self] in
595 |                     guard let self else { return }
    |                               `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
596 |                     semaphore.wait()
597 |                     defer { semaphore.signal() }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:594:54: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
592 |             guard let self else { return }
593 |             _executeMultiprovide(keys: keys, provide: provide) { [weak self] res in
594 |                 DispatchQueue.global().async { [weak self] in
    |                                                      `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
595 |                     guard let self else { return }
596 |                     semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:599:73: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
597 |                     defer { semaphore.signal() }
598 |                     _startOneMultiprovideThread(batchCount: batchCount, provide: provide, callback: callback)
599 |                     res.forEach { res in DispatchQueue.global().async { callback(res.0, res.1) } }
    |                                                                         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
600 |                 }
601 |             }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:573:9: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
571 |         batchCount: UInt,
572 |         provide: @escaping DataProvider.Multiprovide,
573 |         callback: @escaping ResultCallback
    |         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
574 |     ) {
575 |         guard let keys else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[10/16] Compiling Monstra KVLightTasksManager.swift
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1011:54: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1009 |             dataProviders[key] = DataProvider(key: key, customEventPublisher: { [weak self] customEvent in
1010 |                 // Handle custom events (progress updates, status changes, etc.)
1011 |                 DispatchQueue.global().async { [weak self] in
     |                                                      `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1012 |                     guard let taskManager = self else { return }
1013 |                     taskManager.semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1009:87: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1007 |         // Create new DataProvider instance if not already present (supports reuse from .reuse strategy)
1008 |         if dataProviders[key] == nil {
1009 |             dataProviders[key] = DataProvider(key: key, customEventPublisher: { [weak self] customEvent in
     |                                                                                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1010 |                 // Handle custom events (progress updates, status changes, etc.)
1011 |                 DispatchQueue.global().async { [weak self] in
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1012:45: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1010 |                 // Handle custom events (progress updates, status changes, etc.)
1011 |                 DispatchQueue.global().async { [weak self] in
1012 |                     guard let taskManager = self else { return }
     |                                             `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1013 |                     taskManager.semaphore.wait()
1014 |                     defer { taskManager.semaphore.signal() }
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1011:54: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1009 |             dataProviders[key] = DataProvider(key: key, customEventPublisher: { [weak self] customEvent in
1010 |                 // Handle custom events (progress updates, status changes, etc.)
1011 |                 DispatchQueue.global().async { [weak self] in
     |                                                      `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1012 |                     guard let taskManager = self else { return }
1013 |                     taskManager.semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1025:54: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1023 |             }, resultPublisher: { [weak self] result in
1024 |                 // Handle final task result (success or failure)
1025 |                 DispatchQueue.global().async { [weak self] in
     |                                                      `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1026 |                     guard let taskManager = self else { return }
1027 |                     taskManager.semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1023:41: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1021 |                     }
1022 |                 }
1023 |             }, resultPublisher: { [weak self] result in
     |                                         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1024 |                 // Handle final task result (success or failure)
1025 |                 DispatchQueue.global().async { [weak self] in
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1026:45: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1024 |                 // Handle final task result (success or failure)
1025 |                 DispatchQueue.global().async { [weak self] in
1026 |                     guard let taskManager = self else { return }
     |                                             `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1027 |                     taskManager.semaphore.wait()
1028 |                     defer { taskManager.semaphore.signal() }
/host/spi-builder-workspace/Sources/Monstask/KVHeavyTasksManager.swift:1025:54: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1023 |             }, resultPublisher: { [weak self] result in
1024 |                 // Handle final task result (success or failure)
1025 |                 DispatchQueue.global().async { [weak self] in
     |                                                      `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
1026 |                     guard let taskManager = self else { return }
1027 |                     taskManager.semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:125:49: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |                     Task {
124 |                         do {
125 |                             let res = try await asyncMonoprovide(key)
    |                                                 `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
126 |                             callback(.success(res))
127 |                         } catch {
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:121:40: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
119 |             case let .multiprovide(maximumBatchCount, multiprovide):
120 |                 privateDataProvider = .multiprovide(maximumBatchCount: maximumBatchCount, multiprovide)
121 |             case let .asyncMonoprovide(asyncMonoprovide):
    |                                        `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |                 privateDataProvider = .monoprovide { key, callback in
123 |                     Task {
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:136:43: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |                     Task {
135 |                         do {
136 |                             let res = try await asyncMultiprovide(keys)
    |                                           `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 |                             callback(.success(res))
138 |                         } catch {
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:132:60: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 |                     }
131 |                 }
132 |             case let .asyncMultiprovide(maximumBatchCount, asyncMultiprovide):
    |                                                            `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
133 |                 privateDataProvider = .multiprovide(maximumBatchCount: maximumBatchCount) { keys, callback in
134 |                     Task {
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:290:21: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
288 |                 let capturedResults = results
289 |                 DispatchQueue.global().async {
290 |                     multiCallback(
    |                     `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
291 |                         keys.map { ($0, capturedResults[$0] ?? .success(nil)) }
292 |                     )
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:273:27: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
271 |     ///   - keys: Array of keys to fetch (duplicates are allowed)
272 |     ///   - multiCallback: Batch callback that receives all results at once
273 |     func fetch(keys: [K], multiCallback: @escaping BatchResultCallback) {
    |                           `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
274 |         guard keys.count > 0 else {
275 |             multiCallback([])
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:428:39: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
426 |             switch cache.getElement(for: key) {
427 |             case .invalidKey:
428 |                 dispatchQueue.async { completion(key, .success(nil)) }
    |                                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
429 |             case .hitNullElement:
430 |                 dispatchQueue.async { completion(key, .success(nil)) }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:419:9: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
417 |         keys: [K],
418 |         dispatchQueue: DispatchQueue? = nil,
419 |         completion: @escaping ResultCallback
    |         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
420 |     ) {
421 |         semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:430:39: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
428 |                 dispatchQueue.async { completion(key, .success(nil)) }
429 |             case .hitNullElement:
430 |                 dispatchQueue.async { completion(key, .success(nil)) }
    |                                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
431 |             case let .hitNonNullElement(element: element):
432 |                 dispatchQueue.async { completion(key, .success(element)) }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:419:9: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
417 |         keys: [K],
418 |         dispatchQueue: DispatchQueue? = nil,
419 |         completion: @escaping ResultCallback
    |         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
420 |     ) {
421 |         semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:432:39: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
430 |                 dispatchQueue.async { completion(key, .success(nil)) }
431 |             case let .hitNonNullElement(element: element):
432 |                 dispatchQueue.async { completion(key, .success(element)) }
    |                                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
433 |             case .miss:
434 |                 remoteKeys.append(key)
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:419:9: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
417 |         keys: [K],
418 |         dispatchQueue: DispatchQueue? = nil,
419 |         completion: @escaping ResultCallback
    |         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
420 |     ) {
421 |         semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:445:27: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
443 |         startTaskExecution(keys: _remoteKeys) { [weak self] key, res in
444 |             DispatchQueue.global().async {
445 |                 guard let self else { return }
    |                           `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
446 |                 self.semaphore.wait()
447 |                 defer { self.semaphore.signal() }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:443:55: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
441 |         cacheResultCallback(keys: remoteKeys, callback: completion)
442 |
443 |         startTaskExecution(keys: _remoteKeys) { [weak self] key, res in
    |                                                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
444 |             DispatchQueue.global().async {
445 |                 guard let self else { return }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:445:27: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
443 |         startTaskExecution(keys: _remoteKeys) { [weak self] key, res in
444 |             DispatchQueue.global().async {
445 |                 guard let self else { return }
    |                           `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
446 |                 self.semaphore.wait()
447 |                 defer { self.semaphore.signal() }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:468:35: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
466 |     private func consumeCallbacks(key: K, dispatchQueue: DispatchQueue, result: Result<Element?, Error>) {
467 |         resultCallbacks[key]?.forEach { callback in
468 |             dispatchQueue.async { callback(key, result) }
    |                                   `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
469 |         }
470 |         resultCallbacks.removeValue(forKey: key)
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:467:41: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
465 |
466 |     private func consumeCallbacks(key: K, dispatchQueue: DispatchQueue, result: Result<Element?, Error>) {
467 |         resultCallbacks[key]?.forEach { callback in
    |                                         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
468 |             dispatchQueue.async { callback(key, result) }
469 |         }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:550:23: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
548 |
549 |         DispatchQueue.global().async { [weak self] in
550 |             guard let self else { return }
    |                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
551 |
552 |             _executeMonoprovide(key: key, provide: provide) { [weak self] key, res in
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:549:46: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
547 |         }
548 |
549 |         DispatchQueue.global().async { [weak self] in
    |                                              `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
550 |             guard let self else { return }
551 |
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:554:31: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
552 |             _executeMonoprovide(key: key, provide: provide) { [weak self] key, res in
553 |                 DispatchQueue.global().async { [weak self] in
554 |                     guard let self else { return }
    |                               `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
555 |                     semaphore.wait()
556 |                     defer { semaphore.signal() }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:553:54: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
551 |
552 |             _executeMonoprovide(key: key, provide: provide) { [weak self] key, res in
553 |                 DispatchQueue.global().async { [weak self] in
    |                                                      `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
554 |                     guard let self else { return }
555 |                     semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:592:23: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
590 |
591 |         DispatchQueue.global().async { [weak self] in
592 |             guard let self else { return }
    |                       `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
593 |             _executeMultiprovide(keys: keys, provide: provide) { [weak self] res in
594 |                 DispatchQueue.global().async { [weak self] in
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:591:46: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
589 |         }
590 |
591 |         DispatchQueue.global().async { [weak self] in
    |                                              `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
592 |             guard let self else { return }
593 |             _executeMultiprovide(keys: keys, provide: provide) { [weak self] res in
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:595:31: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
593 |             _executeMultiprovide(keys: keys, provide: provide) { [weak self] res in
594 |                 DispatchQueue.global().async { [weak self] in
595 |                     guard let self else { return }
    |                               `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
596 |                     semaphore.wait()
597 |                     defer { semaphore.signal() }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:594:54: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
592 |             guard let self else { return }
593 |             _executeMultiprovide(keys: keys, provide: provide) { [weak self] res in
594 |                 DispatchQueue.global().async { [weak self] in
    |                                                      `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
595 |                     guard let self else { return }
596 |                     semaphore.wait()
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:599:73: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
597 |                     defer { semaphore.signal() }
598 |                     _startOneMultiprovideThread(batchCount: batchCount, provide: provide, callback: callback)
599 |                     res.forEach { res in DispatchQueue.global().async { callback(res.0, res.1) } }
    |                                                                         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
600 |                 }
601 |             }
/host/spi-builder-workspace/Sources/Monstask/KVLightTasksManager.swift:573:9: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
571 |         batchCount: UInt,
572 |         provide: @escaping DataProvider.Multiprovide,
573 |         callback: @escaping ResultCallback
    |         `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode
574 |     ) {
575 |         guard let keys else {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[11/16] Compiling Monstra PriorityLRUQueue.swift
[12/16] Compiling Monstra TTLPriorityLRUQueue.swift
[13/16] Emitting module Monstra
/host/spi-builder-workspace/Sources/MonstraBase/CPUTimeStamp.swift:18:38: error: cannot find type 'mach_timebase_info_data_t' in scope
 16 |
 17 |     /// Mach timebase info for converting between different time units. Cached for performance.
 18 |     private static let timebaseInfo: mach_timebase_info_data_t = {
    |                                      `- error: cannot find type 'mach_timebase_info_data_t' in scope
 19 |         var info = mach_timebase_info_data_t()
 20 |         mach_timebase_info(&info)
/host/spi-builder-workspace/Sources/MonstraBase/TracingIDFactory.swift:223:24: error: cannot find 'os_unfair_lock' in scope
221 |     /// Uses `os_unfair_lock` for minimal overhead while providing mutual exclusion.
222 |     /// This lock protects the `sequentialCounter` during increment and ID calculation.
223 |     private var lock = os_unfair_lock()
    |                        `- error: cannot find 'os_unfair_lock' in scope
224 |
225 |     /// Core ID generation logic without thread safety (maximum performance).
[14/16] Compiling Monstra CacheStatistics.swift
/host/spi-builder-workspace/Sources/MonstraBase/CPUTimeStamp.swift:18:38: error: cannot find type 'mach_timebase_info_data_t' in scope
 16 |
 17 |     /// Mach timebase info for converting between different time units. Cached for performance.
 18 |     private static let timebaseInfo: mach_timebase_info_data_t = {
    |                                      `- error: cannot find type 'mach_timebase_info_data_t' in scope
 19 |         var info = mach_timebase_info_data_t()
 20 |         mach_timebase_info(&info)
/host/spi-builder-workspace/Sources/MonstraBase/CPUTimeStamp.swift:45:29: error: cannot find 'mach_absolute_time' in scope
 43 |     /// Initialize with current CPU time.
 44 |     public init() {
 45 |         self.init(rawTicks: mach_absolute_time())
    |                             `- error: cannot find 'mach_absolute_time' in scope
 46 |     }
 47 |
/host/spi-builder-workspace/Sources/MonstraBase/CPUTimeStamp.swift:100:51: error: cannot find 'NSEC_PER_SEC' in scope
 98 |     static func convertTicksToSeconds(_ ticks: UInt64) -> TimeInterval {
 99 |         let nanos = (ticks / UInt64(Self.timebaseInfo.denom)) * UInt64(Self.timebaseInfo.numer)
100 |         return TimeInterval(nanos) / TimeInterval(NSEC_PER_SEC)
    |                                                   `- error: cannot find 'NSEC_PER_SEC' in scope
101 |     }
102 | }
[15/16] Compiling Monstra CPUTimeStamp.swift
/host/spi-builder-workspace/Sources/MonstraBase/CPUTimeStamp.swift:18:38: error: cannot find type 'mach_timebase_info_data_t' in scope
 16 |
 17 |     /// Mach timebase info for converting between different time units. Cached for performance.
 18 |     private static let timebaseInfo: mach_timebase_info_data_t = {
    |                                      `- error: cannot find type 'mach_timebase_info_data_t' in scope
 19 |         var info = mach_timebase_info_data_t()
 20 |         mach_timebase_info(&info)
/host/spi-builder-workspace/Sources/MonstraBase/CPUTimeStamp.swift:45:29: error: cannot find 'mach_absolute_time' in scope
 43 |     /// Initialize with current CPU time.
 44 |     public init() {
 45 |         self.init(rawTicks: mach_absolute_time())
    |                             `- error: cannot find 'mach_absolute_time' in scope
 46 |     }
 47 |
/host/spi-builder-workspace/Sources/MonstraBase/CPUTimeStamp.swift:100:51: error: cannot find 'NSEC_PER_SEC' in scope
 98 |     static func convertTicksToSeconds(_ ticks: UInt64) -> TimeInterval {
 99 |         let nanos = (ticks / UInt64(Self.timebaseInfo.denom)) * UInt64(Self.timebaseInfo.numer)
100 |         return TimeInterval(nanos) / TimeInterval(NSEC_PER_SEC)
    |                                                   `- error: cannot find 'NSEC_PER_SEC' in scope
101 |     }
102 | }
[16/16] Compiling Monstra TracingIDFactory.swift
/host/spi-builder-workspace/Sources/MonstraBase/TracingIDFactory.swift:223:24: error: cannot find 'os_unfair_lock' in scope
221 |     /// Uses `os_unfair_lock` for minimal overhead while providing mutual exclusion.
222 |     /// This lock protects the `sequentialCounter` during increment and ID calculation.
223 |     private var lock = os_unfair_lock()
    |                        `- error: cannot find 'os_unfair_lock' in scope
224 |
225 |     /// Core ID generation logic without thread safety (maximum performance).
/host/spi-builder-workspace/Sources/MonstraBase/TracingIDFactory.swift:280:9: error: cannot find 'os_unfair_lock_lock' in scope
278 |     private mutating func _safe_next() -> Int64 {
279 |         // Acquire exclusive access to mutable state
280 |         os_unfair_lock_lock(&lock)
    |         `- error: cannot find 'os_unfair_lock_lock' in scope
281 |         defer {
282 |             // Ensure lock is always released, even if _unsafe_next() throws or returns early
/host/spi-builder-workspace/Sources/MonstraBase/TracingIDFactory.swift:283:13: error: cannot find 'os_unfair_lock_unlock' in scope
281 |         defer {
282 |             // Ensure lock is always released, even if _unsafe_next() throws or returns early
283 |             os_unfair_lock_unlock(&self.lock)
    |             `- error: cannot find 'os_unfair_lock_unlock' in scope
284 |         }
285 |
BUILD FAILURE 6.2 linux