Build Information
Successful build of ldk-node, reference v0.7.0 (68ab7f), with Swift 6.1 for macOS (SPM) on 3 Dec 2025 09:27:39 UTC.
Swift 6 data race errors: 4
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: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lightningdevkit/ldk-node.git
Reference: v0.7.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lightningdevkit/ldk-node
* tag v0.7.0 -> FETCH_HEAD
HEAD is now at 68ab7f4 Merge pull request #724 from tnull/2025-12-cut-v0.7.0
Cloned https://github.com/lightningdevkit/ldk-node.git
Revision (git rev-parse @):
68ab7f417e595f3997dd598ebe070dd5d1b5facf
SUCCESS checkout https://github.com/lightningdevkit/ldk-node.git at v0.7.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/lightningdevkit/ldk-node.git
https://github.com/lightningdevkit/ldk-node.git
{
"dependencies" : [
],
"manifest_display_name" : "ldk-node",
"name" : "ldk-node",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "LDKNode",
"targets" : [
"LDKNodeFFI",
"LDKNode"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LDKNodeFFI",
"module_type" : "BinaryTarget",
"name" : "LDKNodeFFI",
"path" : "remote/archive/LDKNodeFFI.xcframework.zip",
"product_memberships" : [
"LDKNode"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "LDKNode",
"module_type" : "SwiftTarget",
"name" : "LDKNode",
"path" : "bindings/swift/Sources",
"product_memberships" : [
"LDKNode"
],
"sources" : [
"LDKNode/LDKNode.swift"
],
"target_dependencies" : [
"LDKNodeFFI"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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] Write sources
[1/3] Copying LDKNodeFFI.framework
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/5] Emitting module LDKNode
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/LDKNode/LDKNode.swift:2380:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2378 | // Create the VTable using a series of closures.
2379 | // Swift automatically converts these into C callback functions.
2380 | static var vtable: UniffiVTableCallbackInterfaceLogWriter = UniffiVTableCallbackInterfaceLogWriter(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2381 | log: { (
2382 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/LDKNode/LDKNode.swift:2422:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2420 | #endif
2421 | public struct FfiConverterTypeLogWriter: FfiConverter {
2422 | fileprivate static var handleMap = UniffiHandleMap<LogWriter>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2423 |
2424 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/LDKNode/LDKNode.swift:11680:17: warning: let 'uniffiContinuationHandleMap' is not concurrency-safe because non-'Sendable' type 'UniffiHandleMap<UnsafeContinuation<Int8, Never>>' may have shared mutable state; this is an error in the Swift 6 language mode
354 | }
355 | }
356 | fileprivate class UniffiHandleMap<T> {
| `- note: generic class 'UniffiHandleMap' does not conform to the 'Sendable' protocol
357 | private var map: [UInt64: T] = [:]
358 | private let lock = NSLock()
:
11678 | private let UNIFFI_RUST_FUTURE_POLL_MAYBE_READY: Int8 = 1
11679 |
11680 | fileprivate let uniffiContinuationHandleMap = UniffiHandleMap<UnsafeContinuation<Int8, Never>>()
| |- warning: let 'uniffiContinuationHandleMap' is not concurrency-safe because non-'Sendable' type 'UniffiHandleMap<UnsafeContinuation<Int8, Never>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'uniffiContinuationHandleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11681 |
11682 | fileprivate func uniffiRustCallAsync<F, T>(
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/LDKNode/LDKNode.swift:11744:13: warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11742 | // Use a global variable to perform the versioning checks. Swift ensures that
11743 | // the code inside is only computed once.
11744 | private var initializationResult: InitializationResult = {
| |- warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initializationResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'initializationResult' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11745 | // Get the bindings contract version from our ComponentInterface
11746 | let bindings_contract_version = 26
[5/5] Compiling LDKNode LDKNode.swift
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/LDKNode/LDKNode.swift:2380:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2378 | // Create the VTable using a series of closures.
2379 | // Swift automatically converts these into C callback functions.
2380 | static var vtable: UniffiVTableCallbackInterfaceLogWriter = UniffiVTableCallbackInterfaceLogWriter(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2381 | log: { (
2382 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/LDKNode/LDKNode.swift:2422:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2420 | #endif
2421 | public struct FfiConverterTypeLogWriter: FfiConverter {
2422 | fileprivate static var handleMap = UniffiHandleMap<LogWriter>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2423 |
2424 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/LDKNode/LDKNode.swift:11680:17: warning: let 'uniffiContinuationHandleMap' is not concurrency-safe because non-'Sendable' type 'UniffiHandleMap<UnsafeContinuation<Int8, Never>>' may have shared mutable state; this is an error in the Swift 6 language mode
354 | }
355 | }
356 | fileprivate class UniffiHandleMap<T> {
| `- note: generic class 'UniffiHandleMap' does not conform to the 'Sendable' protocol
357 | private var map: [UInt64: T] = [:]
358 | private let lock = NSLock()
:
11678 | private let UNIFFI_RUST_FUTURE_POLL_MAYBE_READY: Int8 = 1
11679 |
11680 | fileprivate let uniffiContinuationHandleMap = UniffiHandleMap<UnsafeContinuation<Int8, Never>>()
| |- warning: let 'uniffiContinuationHandleMap' is not concurrency-safe because non-'Sendable' type 'UniffiHandleMap<UnsafeContinuation<Int8, Never>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'uniffiContinuationHandleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11681 |
11682 | fileprivate func uniffiRustCallAsync<F, T>(
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/LDKNode/LDKNode.swift:11744:13: warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11742 | // Use a global variable to perform the versioning checks. Swift ensures that
11743 | // the code inside is only computed once.
11744 | private var initializationResult: InitializationResult = {
| |- warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initializationResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'initializationResult' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11745 | // Get the bindings contract version from our ComponentInterface
11746 | let bindings_contract_version = 26
Build complete! (16.19s)
Downloading binary artifact https://github.com/lightningdevkit/ldk-node/releases/download/v0.7.0/LDKNodeFFI.xcframework.zip
[16375/219018990] Downloading https://github.com/lightningdevkit/ldk-node/releases/download/v0.7.0/LDKNodeFFI.xcframework.zip
Downloaded https://github.com/lightningdevkit/ldk-node/releases/download/v0.7.0/LDKNodeFFI.xcframework.zip (9.41s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ldk-node",
"name" : "ldk-node",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "LDKNode",
"targets" : [
"LDKNodeFFI",
"LDKNode"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LDKNodeFFI",
"module_type" : "BinaryTarget",
"name" : "LDKNodeFFI",
"path" : "remote/archive/LDKNodeFFI.xcframework.zip",
"product_memberships" : [
"LDKNode"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "LDKNode",
"module_type" : "SwiftTarget",
"name" : "LDKNode",
"path" : "bindings/swift/Sources",
"product_memberships" : [
"LDKNode"
],
"sources" : [
"LDKNode/LDKNode.swift"
],
"target_dependencies" : [
"LDKNodeFFI"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.