Build Information
Successful build of IrohLib, reference v1.2.0 (66a8d6), with Swift 6.1 for macOS (SPM) on 24 Oct 2026 01:24:24 UTC.
Swift 6 data race errors: 0
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 .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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/n0-computer/iroh-ffi.git
Reference: v1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/n0-computer/iroh-ffi
* tag v1.2.0 -> FETCH_HEAD
HEAD is now at 66a8d61 chore(release): v1.2.0 (#299)
Cloned https://github.com/n0-computer/iroh-ffi.git
Revision (git rev-parse @):
66a8d619a4d791d458d582f312df6e0ab42bc541
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/n0-computer/iroh-ffi.git at v1.2.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/n0-computer/iroh-ffi.git
https://github.com/n0-computer/iroh-ffi.git
{
"dependencies" : [
],
"manifest_display_name" : "IrohLib",
"name" : "IrohLib",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.5"
},
{
"name" : "macos",
"version" : "14.5"
},
{
"name" : "maccatalyst",
"version" : "17.5"
}
],
"products" : [
{
"name" : "IrohLib",
"targets" : [
"IrohLib",
"Iroh"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "IrohLibTests",
"module_type" : "SwiftTarget",
"name" : "IrohLibTests",
"path" : "IrohLib/Tests/IrohLibTests",
"sources" : [
"IrohLibTests.swift"
],
"target_dependencies" : [
"IrohLib"
],
"type" : "test"
},
{
"c99name" : "IrohLib",
"module_type" : "SwiftTarget",
"name" : "IrohLib",
"path" : "IrohLib/Sources/IrohLib",
"product_memberships" : [
"IrohLib"
],
"sources" : [
"IrohLib.swift"
],
"target_dependencies" : [
"Iroh"
],
"type" : "library"
},
{
"c99name" : "Iroh",
"module_type" : "BinaryTarget",
"name" : "Iroh",
"path" : "remote/archive/IrohLib.xcframework.zip",
"product_memberships" : [
"IrohLib"
],
"sources" : [
],
"type" : "binary"
}
],
"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/3] Copying libiroh_ffi.a
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/5] Emitting module IrohLib
[5/5] Compiling IrohLib IrohLib.swift
/Users/admin/builder/spi-builder-workspace/IrohLib/Sources/IrohLib/IrohLib.swift:9567:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
9565 | droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
9566 | ) {
9567 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
9568 | // See the note in uniffiTraitInterfaceCallAsync for details on `handleSuccess` and
9569 | // `handleError`.
9570 | var callResult: T
9571 | do {
9572 | callResult = try await makeCall()
| `- note: closure captures non-Sendable 'makeCall'
9573 | } catch let error as E {
9574 | handleError(CALL_ERROR, lowerError(error))
| | `- note: closure captures non-Sendable 'lowerError'
| `- note: closure captures non-Sendable 'handleError'
9575 | return
9576 | } catch {
:
9578 | return
9579 | }
9580 | handleSuccess(callResult)
| `- note: closure captures non-Sendable 'handleSuccess'
9581 | }
9582 | let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
/Users/admin/builder/spi-builder-workspace/IrohLib/Sources/IrohLib/IrohLib.swift:9535:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
9533 | droppedCallback: UnsafeMutablePointer<UniffiForeignFutureDroppedCallbackStruct>
9534 | ) {
9535 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
9536 | // Note: it's important we call either `handleSuccess` or `handleError` exactly once. Each
9537 | // call consumes an Arc reference, which means there should be no possibility of a double
:
9544 | var callResult: T
9545 | do {
9546 | callResult = try await makeCall()
| `- note: closure captures non-Sendable 'makeCall'
9547 | } catch {
9548 | handleError(CALL_UNEXPECTED_ERROR, FfiConverterString.lower(String(describing: error)))
| `- note: closure captures non-Sendable 'handleError'
9549 | return
9550 | }
9551 | handleSuccess(callResult)
| `- note: closure captures non-Sendable 'handleSuccess'
9552 | }
9553 | let handle = UNIFFI_FOREIGN_FUTURE_HANDLE_MAP.insert(obj: task)
Build complete! (8.11s)
Downloading binary artifact https://github.com/n0-computer/iroh-ffi/releases/download/v1.2.0/IrohLib.xcframework.zip
[16375/40626759] Downloading https://github.com/n0-computer/iroh-ffi/releases/download/v1.2.0/IrohLib.xcframework.zip
Downloaded https://github.com/n0-computer/iroh-ffi/releases/download/v1.2.0/IrohLib.xcframework.zip (2.33s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "IrohLib",
"name" : "IrohLib",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.5"
},
{
"name" : "macos",
"version" : "14.5"
},
{
"name" : "maccatalyst",
"version" : "17.5"
}
],
"products" : [
{
"name" : "IrohLib",
"targets" : [
"IrohLib",
"Iroh"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "IrohLibTests",
"module_type" : "SwiftTarget",
"name" : "IrohLibTests",
"path" : "IrohLib/Tests/IrohLibTests",
"sources" : [
"IrohLibTests.swift"
],
"target_dependencies" : [
"IrohLib"
],
"type" : "test"
},
{
"c99name" : "IrohLib",
"module_type" : "SwiftTarget",
"name" : "IrohLib",
"path" : "IrohLib/Sources/IrohLib",
"product_memberships" : [
"IrohLib"
],
"sources" : [
"IrohLib.swift"
],
"target_dependencies" : [
"Iroh"
],
"type" : "library"
},
{
"c99name" : "Iroh",
"module_type" : "BinaryTarget",
"name" : "Iroh",
"path" : "remote/archive/IrohLib.xcframework.zip",
"product_memberships" : [
"IrohLib"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.9"
}
Done.