Build Information
Failed to build ZenUniffi, reference master (898dc1), with Swift 6.1 for macOS (SPM) on 4 Oct 2026 11:28:18 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gorules/zen-ios
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/gorules/zen-ios.git
https://github.com/gorules/zen-ios.git
{
"dependencies" : [
],
"manifest_display_name" : "ZenUniffi",
"name" : "ZenUniffi",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "ZenUniffi",
"targets" : [
"ZenUniffi"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "zen_uniffiFFI",
"module_type" : "SystemLibraryTarget",
"name" : "zen_uniffiFFI",
"path" : "Sources/zen_uniffiFFI",
"product_memberships" : [
"ZenUniffi"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "ZenUniffiBinary",
"module_type" : "BinaryTarget",
"name" : "ZenUniffiBinary",
"path" : "ZenUniffi.xcframework",
"product_memberships" : [
"ZenUniffi"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "ZenUniffi",
"module_type" : "SwiftTarget",
"name" : "ZenUniffi",
"path" : "Sources/ZenUniffi",
"product_memberships" : [
"ZenUniffi"
],
"sources" : [
"zen_uniffi.swift"
],
"target_dependencies" : [
"zen_uniffiFFI",
"ZenUniffiBinary"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.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(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(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(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(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`.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] 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) {
[3/3] 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(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(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(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(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.1 macosSpm