Build Information
Failed to build ZenUniffi, reference 2.1.2 (898dc1), with Swift 6.2 for macOS (SPM) on 4 Oct 2026 11:29:34 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gorules/zen-ios.git
Reference: 2.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gorules/zen-ios
* tag 2.1.2 -> FETCH_HEAD
HEAD is now at 898dc18 chore: update XCFramework (#21)
Cloned https://github.com/gorules/zen-ios.git
Revision (git rev-parse @):
898dc18218884a2659391c0e3681b8c69b9d2061
SUCCESS checkout https://github.com/gorules/zen-ios.git at 2.1.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/gorules/zen-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ZenUniffi
/Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift:2669:63: error: 'UnsafeContinuation' is only available in macOS 10.15 or newer
2667 | private let UNIFFI_RUST_FUTURE_POLL_WAKE: Int8 = 1
2668 |
2669 | fileprivate let uniffiContinuationHandleMap = UniffiHandleMap<UnsafeContinuation<Int8, Never>>()
| | `- error: 'UnsafeContinuation' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing let
2670 |
2671 | fileprivate func uniffiRustCallAsync<F, T>(
/Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift:2786:1: error: protocol 'UniffiForeignFutureTask' requires 'cancel()' to be available in macOS 10.13 and newer
2781 | // with the task object itself, since has generic parameters.
2782 | fileprivate protocol UniffiForeignFutureTask {
2783 | func cancel()
| `- note: protocol requirement here
2784 | }
2785 |
2786 | extension Task: UniffiForeignFutureTask {}
| `- error: protocol 'UniffiForeignFutureTask' requires 'cancel()' to be available in macOS 10.13 and newer
2787 |
2788 | private func uniffiForeignFutureDroppedCallback(handle: UInt64) {
_Concurrency.Task.cancel:2:13: note: 'cancel()' declared here
1 | generic struct Task {
2 | public func cancel()}
| `- note: 'cancel()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift:2786:11: error: 'Task' is only available in macOS 10.15 or newer
2784 | }
2785 |
2786 | extension Task: UniffiForeignFutureTask {}
| | `- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
2787 |
2788 | private func uniffiForeignFutureDroppedCallback(handle: UInt64) {
[4/4] Compiling ZenUniffi zen_uniffi.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift:2669:63: error: 'UnsafeContinuation' is only available in macOS 10.15 or newer
2667 | private let UNIFFI_RUST_FUTURE_POLL_WAKE: Int8 = 1
2668 |
2669 | fileprivate let uniffiContinuationHandleMap = UniffiHandleMap<UnsafeContinuation<Int8, Never>>()
| | `- error: 'UnsafeContinuation' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing let
2670 |
2671 | fileprivate func uniffiRustCallAsync<F, T>(
/Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift:2786:1: error: protocol 'UniffiForeignFutureTask' requires 'cancel()' to be available in macOS 10.13 and newer
2781 | // with the task object itself, since has generic parameters.
2782 | fileprivate protocol UniffiForeignFutureTask {
2783 | func cancel()
| `- note: protocol requirement here
2784 | }
2785 |
2786 | extension Task: UniffiForeignFutureTask {}
| `- error: protocol 'UniffiForeignFutureTask' requires 'cancel()' to be available in macOS 10.13 and newer
2787 |
2788 | private func uniffiForeignFutureDroppedCallback(handle: UInt64) {
_Concurrency.Task.cancel:2:13: note: 'cancel()' declared here
1 | generic struct Task {
2 | public func cancel()}
| `- note: 'cancel()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift:2786:11: error: 'Task' is only available in macOS 10.15 or newer
2784 | }
2785 |
2786 | extension Task: UniffiForeignFutureTask {}
| | `- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
2787 |
2788 | private func uniffiForeignFutureDroppedCallback(handle: UInt64) {
/Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift:2688:28: error: 'withUnsafeContinuation(isolation:_:)' is only available in macOS 10.15 or newer
2669 | fileprivate let uniffiContinuationHandleMap = UniffiHandleMap<UnsafeContinuation<Int8, Never>>()
2670 |
2671 | fileprivate func uniffiRustCallAsync<F, T>(
| `- note: add '@available' attribute to enclosing global function
2672 | rustFutureFunc: () -> UInt64,
2673 | pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
:
2686 | var pollResult: Int8;
2687 | repeat {
2688 | pollResult = await withUnsafeContinuation {
| |- error: 'withUnsafeContinuation(isolation:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
2689 | pollFunc(
2690 | rustFuture,
/Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift:2688:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift:2688:51: note: expanded code originates here
2669 | fileprivate let uniffiContinuationHandleMap = UniffiHandleMap<UnsafeContinuation<Int8, Never>>()
2670 |
2671 | fileprivate func uniffiRustCallAsync<F, T>(
| `- note: add '@available' attribute to enclosing global function
2672 | rustFutureFunc: () -> UInt64,
2673 | pollFunc: (UInt64, @escaping UniffiRustFutureContinuationCallback, UInt64) -> (),
:
2686 | var pollResult: Int8;
2687 | repeat {
2688 | pollResult = await withUnsafeContinuation {
+--- /Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift
|2686 |
|2687 |
|2688 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+----------------------------------------------------------------------------------
2689 | pollFunc(
2690 | rustFuture,
/Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift:2720:16: error: 'Task' is only available in macOS 10.15 or newer
2712 | }
2713 | }
2714 | private func uniffiTraitInterfaceCallAsync<T>(
| `- note: add '@available' attribute to enclosing global function
2715 | makeCall: @escaping () async throws -> T,
2716 | handleSuccess: @escaping (T) -> (),
:
2718 | droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
2719 | ) {
2720 | let task = Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
2721 | // Note: it's important we call either `handleSuccess` or `handleError` exactly once. Each
2722 | // call consumes an Arc reference, which means there should be no possibility of a double
/Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift:2720:16: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
2712 | }
2713 | }
2714 | private func uniffiTraitInterfaceCallAsync<T>(
| `- note: add '@available' attribute to enclosing global function
2715 | makeCall: @escaping () async throws -> T,
2716 | handleSuccess: @escaping (T) -> (),
:
2718 | droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
2719 | ) {
2720 | let task = Task {
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
2721 | // Note: it's important we call either `handleSuccess` or `handleError` exactly once. Each
2722 | // call consumes an Arc reference, which means there should be no possibility of a double
/Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift:2752:16: error: 'Task' is only available in macOS 10.15 or newer
2743 | }
2744 |
2745 | private func uniffiTraitInterfaceCallAsyncWithError<T, E>(
| `- note: add '@available' attribute to enclosing global function
2746 | makeCall: @escaping () async throws -> T,
2747 | handleSuccess: @escaping (T) -> (),
:
2750 | droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
2751 | ) {
2752 | let task = Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
2753 | // See the note in uniffiTraitInterfaceCallAsync for details on `handleSuccess` and
2754 | // `handleError`.
/Users/admin/builder/spi-builder-workspace/Sources/ZenUniffi/zen_uniffi.swift:2752:16: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
2743 | }
2744 |
2745 | private func uniffiTraitInterfaceCallAsyncWithError<T, E>(
| `- note: add '@available' attribute to enclosing global function
2746 | makeCall: @escaping () async throws -> T,
2747 | handleSuccess: @escaping (T) -> (),
:
2750 | droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
2751 | ) {
2752 | let task = Task {
| |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
2753 | // See the note in uniffiTraitInterfaceCallAsync for details on `handleSuccess` and
2754 | // `handleError`.
BUILD FAILURE 6.2 macosSpm