Build Information
Failed to build BlockchainSwift, reference 0.2.0 (a7216e), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 14:04:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nevstad/blockchain-swift.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nevstad/blockchain-swift
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at a7216ed Merge pull request #1 from nevstad/feature/network
Cloned https://github.com/nevstad/blockchain-swift.git
Revision (git rev-parse @):
a7216eda4b2f598f190b49bbb325bfefa34b244c
SUCCESS checkout https://github.com/nevstad/blockchain-swift.git at 0.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "blockchain-swift",
"name": "BlockchainSwift",
"url": "https://github.com/nevstad/blockchain-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/blockchain-swift",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/nevstad/blockchain-swift.git
[1/642] Fetching blockchain-swift
Fetched https://github.com/nevstad/blockchain-swift.git from cache (0.75s)
Creating working copy for https://github.com/nevstad/blockchain-swift.git
Working copy of https://github.com/nevstad/blockchain-swift.git resolved at 0.2.0 (a7216ed)
warning: '.resolve-product-dependencies': dependency 'blockchain-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/nevstad/blockchain-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/18] Compiling BlockchainSwift ProofOfWork.swift
[4/19] Compiling BlockchainSwift NodeMessages.swift
[5/19] Compiling BlockchainSwift NodeServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:20:26: error: 'NWListener' is only available in macOS 10.14 or newer
17 |
18 | /// The NodeServer handles all incoming connections to a Node
19 | public class NodeServer {
| `- note: add '@available' attribute to enclosing class
20 | public let listener: NWListener
| `- error: 'NWListener' is only available in macOS 10.14 or newer
21 | public let queue: DispatchQueue
22 | public var connections = [NWConnection]()
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:22:31: error: 'NWConnection' is only available in macOS 10.14 or newer
17 |
18 | /// The NodeServer handles all incoming connections to a Node
19 | public class NodeServer {
| `- note: add '@available' attribute to enclosing class
20 | public let listener: NWListener
21 | public let queue: DispatchQueue
22 | public var connections = [NWConnection]()
| `- error: 'NWConnection' is only available in macOS 10.14 or newer
23 |
24 | var delegate: NodeServerDelegate?
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:40: error: 'NWListener' is only available in macOS 10.14 or newer
17 |
18 | /// The NodeServer handles all incoming connections to a Node
19 | public class NodeServer {
| `- note: add '@available' attribute to enclosing class
20 | public let listener: NWListener
21 | public let queue: DispatchQueue
:
24 | var delegate: NodeServerDelegate?
25 |
26 | init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
| | `- error: 'NWListener' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
27 | self.queue = DispatchQueue(label: "Node Server Queue")
28 | self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:30: error: 'NWListener' is only available in macOS 10.14 or newer
17 |
18 | /// The NodeServer handles all incoming connections to a Node
19 | public class NodeServer {
| `- note: add '@available' attribute to enclosing class
20 | public let listener: NWListener
21 | public let queue: DispatchQueue
:
24 | var delegate: NodeServerDelegate?
25 |
26 | init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
| `- note: add '@available' attribute to enclosing initializer
27 | self.queue = DispatchQueue(label: "Node Server Queue")
28 | self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
| |- error: 'NWListener' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
29 | listener.stateUpdateHandler = stateHandler
30 | listener.newConnectionHandler = { [weak self] newConnection in
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:58: error: 'NWEndpoint' is only available in macOS 10.14 or newer
17 |
18 | /// The NodeServer handles all incoming connections to a Node
19 | public class NodeServer {
| `- note: add '@available' attribute to enclosing class
20 | public let listener: NWListener
21 | public let queue: DispatchQueue
:
24 | var delegate: NodeServerDelegate?
25 |
26 | init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
| `- note: add '@available' attribute to enclosing initializer
27 | self.queue = DispatchQueue(label: "Node Server Queue")
28 | self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
| |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
29 | listener.stateUpdateHandler = stateHandler
30 | listener.newConnectionHandler = { [weak self] newConnection in
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/19] Compiling BlockchainSwift Block.swift
[7/19] Compiling BlockchainSwift Blockchain.swift
[8/19] Compiling BlockchainSwift TransationOutput.swift
[9/19] Compiling BlockchainSwift ECDSA.swift
[10/19] Compiling BlockchainSwift TransactionInput.swift
[11/19] Compiling BlockchainSwift TransactionOutPoint.swift
[12/19] Compiling BlockchainSwift Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:33: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer [#TemporaryPointers]
23 | static func +(lhs: Data, rhs: Self) -> Data {
24 | var value = rhs
25 | let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
| | |- note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer [#TemporaryPointers]
26 | return lhs + data
27 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[13/19] Compiling BlockchainSwift Transaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:33: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer [#TemporaryPointers]
23 | static func +(lhs: Data, rhs: Self) -> Data {
24 | var value = rhs
25 | let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
| | |- note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer [#TemporaryPointers]
26 | return lhs + data
27 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[14/19] Emitting module BlockchainSwift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:15:33: error: 'NWConnection' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
15 | public init(stateHandler: ((NWConnection.State) -> Void)? = nil) {
| | `- error: 'NWConnection' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
16 | self.queue = DispatchQueue(label: "Node Client Queue")
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:53: error: 'NWConnection' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
:
17 | }
18 |
19 | private func openConnection(to: NodeAddress) -> NWConnection {
| | `- error: 'NWConnection' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing instance method
20 | let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
21 | let connection = NWConnection(to: endpoint, using: .udp)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:20:26: error: 'NWListener' is only available in macOS 10.14 or newer
17 |
18 | /// The NodeServer handles all incoming connections to a Node
19 | public class NodeServer {
| `- note: add '@available' attribute to enclosing class
20 | public let listener: NWListener
| `- error: 'NWListener' is only available in macOS 10.14 or newer
21 | public let queue: DispatchQueue
22 | public var connections = [NWConnection]()
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:22:31: error: 'NWConnection' is only available in macOS 10.14 or newer
17 |
18 | /// The NodeServer handles all incoming connections to a Node
19 | public class NodeServer {
| `- note: add '@available' attribute to enclosing class
20 | public let listener: NWListener
21 | public let queue: DispatchQueue
22 | public var connections = [NWConnection]()
| `- error: 'NWConnection' is only available in macOS 10.14 or newer
23 |
24 | var delegate: NodeServerDelegate?
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:40: error: 'NWListener' is only available in macOS 10.14 or newer
17 |
18 | /// The NodeServer handles all incoming connections to a Node
19 | public class NodeServer {
| `- note: add '@available' attribute to enclosing class
20 | public let listener: NWListener
21 | public let queue: DispatchQueue
:
24 | var delegate: NodeServerDelegate?
25 |
26 | init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
| | `- error: 'NWListener' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
27 | self.queue = DispatchQueue(label: "Node Server Queue")
28 | self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
[15/19] Compiling BlockchainSwift NodeAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:15:33: error: 'NWConnection' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
15 | public init(stateHandler: ((NWConnection.State) -> Void)? = nil) {
| | `- error: 'NWConnection' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
16 | self.queue = DispatchQueue(label: "Node Client Queue")
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:53: error: 'NWConnection' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
:
17 | }
18 |
19 | private func openConnection(to: NodeAddress) -> NWConnection {
| | `- error: 'NWConnection' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing instance method
20 | let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
21 | let connection = NWConnection(to: endpoint, using: .udp)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:24: error: 'NWEndpoint' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
:
17 | }
18 |
19 | private func openConnection(to: NodeAddress) -> NWConnection {
| `- note: add '@available' attribute to enclosing instance method
20 | let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
| |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
21 | let connection = NWConnection(to: endpoint, using: .udp)
22 | connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:50: error: 'NWEndpoint' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
:
17 | }
18 |
19 | private func openConnection(to: NodeAddress) -> NWConnection {
| `- note: add '@available' attribute to enclosing instance method
20 | let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
| |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
21 | let connection = NWConnection(to: endpoint, using: .udp)
22 | connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:82: error: 'NWEndpoint' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
:
17 | }
18 |
19 | private func openConnection(to: NodeAddress) -> NWConnection {
| `- note: add '@available' attribute to enclosing instance method
20 | let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
| |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
21 | let connection = NWConnection(to: endpoint, using: .udp)
22 | connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:21:26: error: 'NWConnection' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
:
17 | }
18 |
19 | private func openConnection(to: NodeAddress) -> NWConnection {
| `- note: add '@available' attribute to enclosing instance method
20 | let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
21 | let connection = NWConnection(to: endpoint, using: .udp)
| |- error: 'NWConnection' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
22 | connection.start(queue: queue)
23 | return connection
[16/19] Compiling BlockchainSwift NodeClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:15:33: error: 'NWConnection' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
15 | public init(stateHandler: ((NWConnection.State) -> Void)? = nil) {
| | `- error: 'NWConnection' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing initializer
16 | self.queue = DispatchQueue(label: "Node Client Queue")
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:53: error: 'NWConnection' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
:
17 | }
18 |
19 | private func openConnection(to: NodeAddress) -> NWConnection {
| | `- error: 'NWConnection' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing instance method
20 | let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
21 | let connection = NWConnection(to: endpoint, using: .udp)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:24: error: 'NWEndpoint' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
:
17 | }
18 |
19 | private func openConnection(to: NodeAddress) -> NWConnection {
| `- note: add '@available' attribute to enclosing instance method
20 | let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
| |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
21 | let connection = NWConnection(to: endpoint, using: .udp)
22 | connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:50: error: 'NWEndpoint' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
:
17 | }
18 |
19 | private func openConnection(to: NodeAddress) -> NWConnection {
| `- note: add '@available' attribute to enclosing instance method
20 | let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
| |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
21 | let connection = NWConnection(to: endpoint, using: .udp)
22 | connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:82: error: 'NWEndpoint' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
:
17 | }
18 |
19 | private func openConnection(to: NodeAddress) -> NWConnection {
| `- note: add '@available' attribute to enclosing instance method
20 | let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
| |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
21 | let connection = NWConnection(to: endpoint, using: .udp)
22 | connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:21:26: error: 'NWConnection' is only available in macOS 10.14 or newer
10 |
11 | /// The NodeClient handles a an outgoing connection to another Node
12 | public class NodeClient {
| `- note: add '@available' attribute to enclosing class
13 | public var queue: DispatchQueue
14 |
:
17 | }
18 |
19 | private func openConnection(to: NodeAddress) -> NWConnection {
| `- note: add '@available' attribute to enclosing instance method
20 | let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
21 | let connection = NWConnection(to: endpoint, using: .udp)
| |- error: 'NWConnection' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
22 | connection.start(queue: queue)
23 | return connection
[17/19] Compiling BlockchainSwift SHA.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:22:31: error: 'NWConnection' is only available in macOS 10.14 or newer
17 |
18 | /// The NodeServer handles all incoming connections to a Node
19 | public class NodeServer {
| `- note: add '@available' attribute to enclosing class
20 | public let listener: NWListener
21 | public let queue: DispatchQueue
22 | public var connections = [NWConnection]()
| `- error: 'NWConnection' is only available in macOS 10.14 or newer
23 |
24 | var delegate: NodeServerDelegate?
[18/19] Compiling BlockchainSwift Node.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:22:31: error: 'NWConnection' is only available in macOS 10.14 or newer
17 |
18 | /// The NodeServer handles all incoming connections to a Node
19 | public class NodeServer {
| `- note: add '@available' attribute to enclosing class
20 | public let listener: NWListener
21 | public let queue: DispatchQueue
22 | public var connections = [NWConnection]()
| `- error: 'NWConnection' is only available in macOS 10.14 or newer
23 |
24 | var delegate: NodeServerDelegate?
[19/19] Compiling BlockchainSwift Wallet.swift
BUILD FAILURE 6.3 macosSpm