Build Information
Failed to build BlockchainSwift with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/nevstad/blockchain-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/17] Compiling BlockchainSwift SHA.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:22:31: error: 'NWConnection' is only available in macOS 10.14 or newer
public var connections = [NWConnection]()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
[4/17] Compiling BlockchainSwift Node.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:22:31: error: 'NWConnection' is only available in macOS 10.14 or newer
public var connections = [NWConnection]()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/19] Compiling BlockchainSwift TransactionInput.swift
[6/19] Compiling BlockchainSwift TransactionOutPoint.swift
[7/19] Emitting module BlockchainSwift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:15:33: error: 'NWConnection' is only available in macOS 10.14 or newer
public init(stateHandler: ((NWConnection.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:15:12: note: add @available attribute to enclosing initializer
public init(stateHandler: ((NWConnection.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:53: error: 'NWConnection' is only available in macOS 10.14 or newer
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:20:26: error: 'NWListener' is only available in macOS 10.14 or newer
public let listener: NWListener
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:22:31: error: 'NWConnection' is only available in macOS 10.14 or newer
public var connections = [NWConnection]()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:40: error: 'NWListener' is only available in macOS 10.14 or newer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:5: note: add @available attribute to enclosing initializer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
[8/19] Compiling BlockchainSwift Serialization.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:33: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:60: note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:60: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^
[9/19] Compiling BlockchainSwift Transaction.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:33: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:60: note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:60: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^
[10/19] Compiling BlockchainSwift Block.swift
[11/19] Compiling BlockchainSwift Blockchain.swift
[12/19] Compiling BlockchainSwift TransationOutput.swift
[13/19] Compiling BlockchainSwift ECDSA.swift
[14/19] Compiling BlockchainSwift NodeMessages.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:20:26: error: 'NWListener' is only available in macOS 10.14 or newer
public let listener: NWListener
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:22:31: error: 'NWConnection' is only available in macOS 10.14 or newer
public var connections = [NWConnection]()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:40: error: 'NWListener' is only available in macOS 10.14 or newer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:5: note: add @available attribute to enclosing initializer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:30: error: 'NWListener' is only available in macOS 10.14 or newer
self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:30: note: add 'if #available' version check
self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:5: note: add @available attribute to enclosing initializer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:58: error: 'NWEndpoint' is only available in macOS 10.14 or newer
self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:58: note: add 'if #available' version check
self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:5: note: add @available attribute to enclosing initializer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
[15/19] Compiling BlockchainSwift NodeServer.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:20:26: error: 'NWListener' is only available in macOS 10.14 or newer
public let listener: NWListener
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:22:31: error: 'NWConnection' is only available in macOS 10.14 or newer
public var connections = [NWConnection]()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:40: error: 'NWListener' is only available in macOS 10.14 or newer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:5: note: add @available attribute to enclosing initializer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:30: error: 'NWListener' is only available in macOS 10.14 or newer
self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:30: note: add 'if #available' version check
self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:5: note: add @available attribute to enclosing initializer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:58: error: 'NWEndpoint' is only available in macOS 10.14 or newer
self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:58: note: add 'if #available' version check
self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:5: note: add @available attribute to enclosing initializer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
[16/19] Compiling BlockchainSwift NodeAddress.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:15:33: error: 'NWConnection' is only available in macOS 10.14 or newer
public init(stateHandler: ((NWConnection.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:15:12: note: add @available attribute to enclosing initializer
public init(stateHandler: ((NWConnection.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:53: error: 'NWConnection' is only available in macOS 10.14 or newer
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:24: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:24: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:50: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:50: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:82: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:82: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:21:26: error: 'NWConnection' is only available in macOS 10.14 or newer
let connection = NWConnection(to: endpoint, using: .udp)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:21:26: note: add 'if #available' version check
let connection = NWConnection(to: endpoint, using: .udp)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
[17/19] Compiling BlockchainSwift NodeClient.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:15:33: error: 'NWConnection' is only available in macOS 10.14 or newer
public init(stateHandler: ((NWConnection.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:15:12: note: add @available attribute to enclosing initializer
public init(stateHandler: ((NWConnection.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:53: error: 'NWConnection' is only available in macOS 10.14 or newer
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:24: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:24: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:50: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:50: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:82: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:82: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:21:26: error: 'NWConnection' is only available in macOS 10.14 or newer
let connection = NWConnection(to: endpoint, using: .udp)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:21:26: note: add 'if #available' version check
let connection = NWConnection(to: endpoint, using: .udp)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
[18/19] Compiling BlockchainSwift ProofOfWork.swift
[19/19] Compiling BlockchainSwift Wallet.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/8] Compiling BlockchainSwift NodeMessages.swift
[3/8] Compiling BlockchainSwift NodeAddress.swift
[4/8] Compiling BlockchainSwift SHA.swift
[5/8] Emitting module BlockchainSwift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:15:33: error: 'NWConnection' is only available in macOS 10.14 or newer
public init(stateHandler: ((NWConnection.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:15:12: note: add @available attribute to enclosing initializer
public init(stateHandler: ((NWConnection.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:53: error: 'NWConnection' is only available in macOS 10.14 or newer
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:20:26: error: 'NWListener' is only available in macOS 10.14 or newer
public let listener: NWListener
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:22:31: error: 'NWConnection' is only available in macOS 10.14 or newer
public var connections = [NWConnection]()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:40: error: 'NWListener' is only available in macOS 10.14 or newer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:5: note: add @available attribute to enclosing initializer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
[6/8] Compiling BlockchainSwift NodeServer.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:20:26: error: 'NWListener' is only available in macOS 10.14 or newer
public let listener: NWListener
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:22:31: error: 'NWConnection' is only available in macOS 10.14 or newer
public var connections = [NWConnection]()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:40: error: 'NWListener' is only available in macOS 10.14 or newer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:5: note: add @available attribute to enclosing initializer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:30: error: 'NWListener' is only available in macOS 10.14 or newer
self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:30: note: add 'if #available' version check
self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:5: note: add @available attribute to enclosing initializer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:58: error: 'NWEndpoint' is only available in macOS 10.14 or newer
self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:28:58: note: add 'if #available' version check
self.listener = try! NWListener(using: .udp, on: NWEndpoint.Port(rawValue: port)!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:26:5: note: add @available attribute to enclosing initializer
init(port: UInt16, stateHandler: ((NWListener.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
[7/8] Compiling BlockchainSwift NodeClient.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:15:33: error: 'NWConnection' is only available in macOS 10.14 or newer
public init(stateHandler: ((NWConnection.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:15:12: note: add @available attribute to enclosing initializer
public init(stateHandler: ((NWConnection.State) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:53: error: 'NWConnection' is only available in macOS 10.14 or newer
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:24: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:24: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:50: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:50: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:82: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:20:82: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:21:26: error: 'NWConnection' is only available in macOS 10.14 or newer
let connection = NWConnection(to: endpoint, using: .udp)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:21:26: note: add 'if #available' version check
let connection = NWConnection(to: endpoint, using: .udp)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:19:18: note: add @available attribute to enclosing instance method
private func openConnection(to: NodeAddress) -> NWConnection {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeClient.swift:12:14: note: add @available attribute to enclosing class
public class NodeClient {
^
[8/8] Compiling BlockchainSwift Node.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:22:31: error: 'NWConnection' is only available in macOS 10.14 or newer
public var connections = [NWConnection]()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeServer.swift:19:14: note: add @available attribute to enclosing class
public class NodeServer {
^
[9/16] Compiling BlockchainSwift ECDSA.swift
[10/16] Compiling BlockchainSwift TransactionInput.swift
[11/16] Compiling BlockchainSwift Wallet.swift
[12/16] Compiling BlockchainSwift TransactionOutPoint.swift
[13/16] Compiling BlockchainSwift Blockchain.swift
[14/16] Compiling BlockchainSwift Block.swift
[15/16] Compiling BlockchainSwift TransationOutput.swift
[16/16] Compiling BlockchainSwift Transaction.swift
[17/18] Compiling BlockchainSwift ProofOfWork.swift
[18/18] Compiling BlockchainSwift Serialization.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:33: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:60: note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:60: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^
error: fatalError
BUILD FAILURE 5.10 macosSpm