The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build pingx, reference 1.0.9 (66c254), with Swift 6.1 for Linux on 30 Apr 2025 06:36:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

45 |             type: .echoRequest,
46 |             identifier: identifier,
47 |             sequenceNumber: CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max)),
   |                             `- error: cannot find 'CFSwapInt16HostToBig' in scope
48 |             payload: Payload()
49 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:32:23: error: cannot find 'CFSocketContext' in scope
30 |     func create(command: SocketCommand) throws -> any PingxSocket {
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
   |                       `- error: cannot find 'CFSocketContext' in scope
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:33:23: error: cannot infer contextual base in reference to member 'zero'
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
33 |             version: .zero,
   |                       `- error: cannot infer contextual base in reference to member 'zero'
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:35:21: error: 'nil' requires a contextual type
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
   |                     `- error: 'nil' requires a contextual type
36 |             release: nil,
37 |             copyDescription: nil
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:36:22: error: 'nil' requires a contextual type
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
36 |             release: nil,
   |                      `- error: 'nil' requires a contextual type
37 |             copyDescription: nil
38 |         )
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:37:30: error: 'nil' requires a contextual type
35 |             retain: nil,
36 |             release: nil,
37 |             copyDescription: nil
   |                              `- error: 'nil' requires a contextual type
38 |         )
39 |         let socket = CFSocketCreate(
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:39:22: error: cannot find 'CFSocketCreate' in scope
37 |             copyDescription: nil
38 |         )
39 |         let socket = CFSocketCreate(
   |                      `- error: cannot find 'CFSocketCreate' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:40:13: error: cannot find 'kCFAllocatorDefault' in scope
38 |         )
39 |         let socket = CFSocketCreate(
40 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
41 |             AF_INET,
42 |             SOCK_DGRAM,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:44:13: error: cannot find 'CFSocketCallBackType' in scope
42 |             SOCK_DGRAM,
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
   |             `- error: cannot find 'CFSocketCallBackType' in scope
45 |                 guard
46 |                     let data = data,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:63: error: cannot find 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                                               `- error: cannot find 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:52:40: error: cannot find type 'CFData' in scope
50 |
51 |                 let commandBlock = Unmanaged<SocketCommand>.fromOpaque(info).takeUnretainedValue()
52 |                 let cfdata = Unmanaged<CFData>.fromOpaque(data).takeUnretainedValue()
   |                                        `- error: cannot find type 'CFData' in scope
53 |                 commandBlock.closure(cfdata as Data)
54 |             },
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:38: error: cannot find type 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                      `- error: cannot find type 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:59:22: error: cannot find 'CFSocketGetNative' in scope
57 |
58 |         guard let socket = socket else { throw PacketSenderError.socketCreationError }
59 |         let native = CFSocketGetNative(socket)
   |                      `- error: cannot find 'CFSocketGetNative' in scope
60 |         var value: Int32 = 1
61 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:65:13: error: cannot find 'SO_NOSIGPIPE' in scope
63 |             native,
64 |             SOL_SOCKET,
65 |             SO_NOSIGPIPE,
   |             `- error: cannot find 'SO_NOSIGPIPE' in scope
66 |             &value,
67 |             socklen_t(MemoryLayout.size(ofValue: value))
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:72:34: error: cannot find 'CFSocketCreateRunLoopSource' in scope
70 |         }
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
   |                                  `- error: cannot find 'CFSocketCreateRunLoopSource' in scope
73 |             kCFAllocatorDefault,
74 |             socket,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:73:13: error: cannot find 'kCFAllocatorDefault' in scope
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
73 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
74 |             socket,
75 |             .zero
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:75:14: error: cannot infer contextual base in reference to member 'zero'
73 |             kCFAllocatorDefault,
74 |             socket,
75 |             .zero
   |              `- error: cannot infer contextual base in reference to member 'zero'
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:78:9: error: cannot find 'CFRunLoopAddSource' in scope
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
78 |         CFRunLoopAddSource(
   |         `- error: cannot find 'CFRunLoopAddSource' in scope
79 |             CFRunLoopGetMain(),
80 |             socketSource,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:79:13: error: cannot find 'CFRunLoopGetMain' in scope
77 |
78 |         CFRunLoopAddSource(
79 |             CFRunLoopGetMain(),
   |             `- error: cannot find 'CFRunLoopGetMain' in scope
80 |             socketSource,
81 |             .commonModes
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:81:14: error: cannot infer contextual base in reference to member 'commonModes'
79 |             CFRunLoopGetMain(),
80 |             socketSource,
81 |             .commonModes
   |              `- error: cannot infer contextual base in reference to member 'commonModes'
82 |         )
83 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:84:16: error: generic parameter 'T' could not be inferred
82 |         )
83 |
84 |         return PingxSocketImpl(
   |                |- error: generic parameter 'T' could not be inferred
   |                `- note: explicitly specify the generic arguments to fix this issue
85 |             socket: socket,
86 |             socketSource: socketSource,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:27:29: note: 'T' declared as parameter to type 'PingxSocketImpl'
25 | import Foundation
26 |
27 | final class PingxSocketImpl<T: AnyObject>: PingxSocket {
   |                             `- note: 'T' declared as parameter to type 'PingxSocketImpl'
28 |
29 |     // MARK: Typealias
[39/42] Compiling pingx PacketFactory.swift
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:33:23: error: value of type 'sockaddr_in' has no member 'sin_len'
31 |         var socketAddress = sockaddr_in()
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
   |                       `- error: value of type 'sockaddr_in' has no member 'sin_len'
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:34:36: error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
34 |         socketAddress.sin_family = UInt8(AF_INET)
   |                                    `- error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
/host/spi-builder-workspace/Sources/pingx/Factory/PacketFactory/Impl/PacketFactoryImpl.swift:47:29: error: cannot find 'CFSwapInt16HostToBig' in scope
45 |             type: .echoRequest,
46 |             identifier: identifier,
47 |             sequenceNumber: CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max)),
   |                             `- error: cannot find 'CFSwapInt16HostToBig' in scope
48 |             payload: Payload()
49 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:32:23: error: cannot find 'CFSocketContext' in scope
30 |     func create(command: SocketCommand) throws -> any PingxSocket {
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
   |                       `- error: cannot find 'CFSocketContext' in scope
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:33:23: error: cannot infer contextual base in reference to member 'zero'
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
33 |             version: .zero,
   |                       `- error: cannot infer contextual base in reference to member 'zero'
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:35:21: error: 'nil' requires a contextual type
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
   |                     `- error: 'nil' requires a contextual type
36 |             release: nil,
37 |             copyDescription: nil
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:36:22: error: 'nil' requires a contextual type
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
36 |             release: nil,
   |                      `- error: 'nil' requires a contextual type
37 |             copyDescription: nil
38 |         )
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:37:30: error: 'nil' requires a contextual type
35 |             retain: nil,
36 |             release: nil,
37 |             copyDescription: nil
   |                              `- error: 'nil' requires a contextual type
38 |         )
39 |         let socket = CFSocketCreate(
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:39:22: error: cannot find 'CFSocketCreate' in scope
37 |             copyDescription: nil
38 |         )
39 |         let socket = CFSocketCreate(
   |                      `- error: cannot find 'CFSocketCreate' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:40:13: error: cannot find 'kCFAllocatorDefault' in scope
38 |         )
39 |         let socket = CFSocketCreate(
40 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
41 |             AF_INET,
42 |             SOCK_DGRAM,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:44:13: error: cannot find 'CFSocketCallBackType' in scope
42 |             SOCK_DGRAM,
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
   |             `- error: cannot find 'CFSocketCallBackType' in scope
45 |                 guard
46 |                     let data = data,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:63: error: cannot find 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                                               `- error: cannot find 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:52:40: error: cannot find type 'CFData' in scope
50 |
51 |                 let commandBlock = Unmanaged<SocketCommand>.fromOpaque(info).takeUnretainedValue()
52 |                 let cfdata = Unmanaged<CFData>.fromOpaque(data).takeUnretainedValue()
   |                                        `- error: cannot find type 'CFData' in scope
53 |                 commandBlock.closure(cfdata as Data)
54 |             },
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:38: error: cannot find type 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                      `- error: cannot find type 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:59:22: error: cannot find 'CFSocketGetNative' in scope
57 |
58 |         guard let socket = socket else { throw PacketSenderError.socketCreationError }
59 |         let native = CFSocketGetNative(socket)
   |                      `- error: cannot find 'CFSocketGetNative' in scope
60 |         var value: Int32 = 1
61 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:65:13: error: cannot find 'SO_NOSIGPIPE' in scope
63 |             native,
64 |             SOL_SOCKET,
65 |             SO_NOSIGPIPE,
   |             `- error: cannot find 'SO_NOSIGPIPE' in scope
66 |             &value,
67 |             socklen_t(MemoryLayout.size(ofValue: value))
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:72:34: error: cannot find 'CFSocketCreateRunLoopSource' in scope
70 |         }
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
   |                                  `- error: cannot find 'CFSocketCreateRunLoopSource' in scope
73 |             kCFAllocatorDefault,
74 |             socket,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:73:13: error: cannot find 'kCFAllocatorDefault' in scope
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
73 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
74 |             socket,
75 |             .zero
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:75:14: error: cannot infer contextual base in reference to member 'zero'
73 |             kCFAllocatorDefault,
74 |             socket,
75 |             .zero
   |              `- error: cannot infer contextual base in reference to member 'zero'
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:78:9: error: cannot find 'CFRunLoopAddSource' in scope
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
78 |         CFRunLoopAddSource(
   |         `- error: cannot find 'CFRunLoopAddSource' in scope
79 |             CFRunLoopGetMain(),
80 |             socketSource,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:79:13: error: cannot find 'CFRunLoopGetMain' in scope
77 |
78 |         CFRunLoopAddSource(
79 |             CFRunLoopGetMain(),
   |             `- error: cannot find 'CFRunLoopGetMain' in scope
80 |             socketSource,
81 |             .commonModes
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:81:14: error: cannot infer contextual base in reference to member 'commonModes'
79 |             CFRunLoopGetMain(),
80 |             socketSource,
81 |             .commonModes
   |              `- error: cannot infer contextual base in reference to member 'commonModes'
82 |         )
83 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:84:16: error: generic parameter 'T' could not be inferred
82 |         )
83 |
84 |         return PingxSocketImpl(
   |                |- error: generic parameter 'T' could not be inferred
   |                `- note: explicitly specify the generic arguments to fix this issue
85 |             socket: socket,
86 |             socketSource: socketSource,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:27:29: note: 'T' declared as parameter to type 'PingxSocketImpl'
25 | import Foundation
26 |
27 | final class PingxSocketImpl<T: AnyObject>: PingxSocket {
   |                             `- note: 'T' declared as parameter to type 'PingxSocketImpl'
28 |
29 |     // MARK: Typealias
[40/42] Compiling pingx PacketFactoryImpl.swift
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:33:23: error: value of type 'sockaddr_in' has no member 'sin_len'
31 |         var socketAddress = sockaddr_in()
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
   |                       `- error: value of type 'sockaddr_in' has no member 'sin_len'
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:34:36: error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
34 |         socketAddress.sin_family = UInt8(AF_INET)
   |                                    `- error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
/host/spi-builder-workspace/Sources/pingx/Factory/PacketFactory/Impl/PacketFactoryImpl.swift:47:29: error: cannot find 'CFSwapInt16HostToBig' in scope
45 |             type: .echoRequest,
46 |             identifier: identifier,
47 |             sequenceNumber: CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max)),
   |                             `- error: cannot find 'CFSwapInt16HostToBig' in scope
48 |             payload: Payload()
49 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:32:23: error: cannot find 'CFSocketContext' in scope
30 |     func create(command: SocketCommand) throws -> any PingxSocket {
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
   |                       `- error: cannot find 'CFSocketContext' in scope
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:33:23: error: cannot infer contextual base in reference to member 'zero'
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
33 |             version: .zero,
   |                       `- error: cannot infer contextual base in reference to member 'zero'
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:35:21: error: 'nil' requires a contextual type
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
   |                     `- error: 'nil' requires a contextual type
36 |             release: nil,
37 |             copyDescription: nil
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:36:22: error: 'nil' requires a contextual type
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
36 |             release: nil,
   |                      `- error: 'nil' requires a contextual type
37 |             copyDescription: nil
38 |         )
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:37:30: error: 'nil' requires a contextual type
35 |             retain: nil,
36 |             release: nil,
37 |             copyDescription: nil
   |                              `- error: 'nil' requires a contextual type
38 |         )
39 |         let socket = CFSocketCreate(
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:39:22: error: cannot find 'CFSocketCreate' in scope
37 |             copyDescription: nil
38 |         )
39 |         let socket = CFSocketCreate(
   |                      `- error: cannot find 'CFSocketCreate' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:40:13: error: cannot find 'kCFAllocatorDefault' in scope
38 |         )
39 |         let socket = CFSocketCreate(
40 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
41 |             AF_INET,
42 |             SOCK_DGRAM,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:44:13: error: cannot find 'CFSocketCallBackType' in scope
42 |             SOCK_DGRAM,
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
   |             `- error: cannot find 'CFSocketCallBackType' in scope
45 |                 guard
46 |                     let data = data,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:63: error: cannot find 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                                               `- error: cannot find 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:52:40: error: cannot find type 'CFData' in scope
50 |
51 |                 let commandBlock = Unmanaged<SocketCommand>.fromOpaque(info).takeUnretainedValue()
52 |                 let cfdata = Unmanaged<CFData>.fromOpaque(data).takeUnretainedValue()
   |                                        `- error: cannot find type 'CFData' in scope
53 |                 commandBlock.closure(cfdata as Data)
54 |             },
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:38: error: cannot find type 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                      `- error: cannot find type 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:59:22: error: cannot find 'CFSocketGetNative' in scope
57 |
58 |         guard let socket = socket else { throw PacketSenderError.socketCreationError }
59 |         let native = CFSocketGetNative(socket)
   |                      `- error: cannot find 'CFSocketGetNative' in scope
60 |         var value: Int32 = 1
61 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:65:13: error: cannot find 'SO_NOSIGPIPE' in scope
63 |             native,
64 |             SOL_SOCKET,
65 |             SO_NOSIGPIPE,
   |             `- error: cannot find 'SO_NOSIGPIPE' in scope
66 |             &value,
67 |             socklen_t(MemoryLayout.size(ofValue: value))
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:72:34: error: cannot find 'CFSocketCreateRunLoopSource' in scope
70 |         }
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
   |                                  `- error: cannot find 'CFSocketCreateRunLoopSource' in scope
73 |             kCFAllocatorDefault,
74 |             socket,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:73:13: error: cannot find 'kCFAllocatorDefault' in scope
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
73 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
74 |             socket,
75 |             .zero
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:75:14: error: cannot infer contextual base in reference to member 'zero'
73 |             kCFAllocatorDefault,
74 |             socket,
75 |             .zero
   |              `- error: cannot infer contextual base in reference to member 'zero'
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:78:9: error: cannot find 'CFRunLoopAddSource' in scope
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
78 |         CFRunLoopAddSource(
   |         `- error: cannot find 'CFRunLoopAddSource' in scope
79 |             CFRunLoopGetMain(),
80 |             socketSource,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:79:13: error: cannot find 'CFRunLoopGetMain' in scope
77 |
78 |         CFRunLoopAddSource(
79 |             CFRunLoopGetMain(),
   |             `- error: cannot find 'CFRunLoopGetMain' in scope
80 |             socketSource,
81 |             .commonModes
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:81:14: error: cannot infer contextual base in reference to member 'commonModes'
79 |             CFRunLoopGetMain(),
80 |             socketSource,
81 |             .commonModes
   |              `- error: cannot infer contextual base in reference to member 'commonModes'
82 |         )
83 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:84:16: error: generic parameter 'T' could not be inferred
82 |         )
83 |
84 |         return PingxSocketImpl(
   |                |- error: generic parameter 'T' could not be inferred
   |                `- note: explicitly specify the generic arguments to fix this issue
85 |             socket: socket,
86 |             socketSource: socketSource,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:27:29: note: 'T' declared as parameter to type 'PingxSocketImpl'
25 | import Foundation
26 |
27 | final class PingxSocketImpl<T: AnyObject>: PingxSocket {
   |                             `- note: 'T' declared as parameter to type 'PingxSocketImpl'
28 |
29 |     // MARK: Typealias
[41/42] Compiling pingx SocketFactory.swift
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:33:23: error: value of type 'sockaddr_in' has no member 'sin_len'
31 |         var socketAddress = sockaddr_in()
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
   |                       `- error: value of type 'sockaddr_in' has no member 'sin_len'
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:34:36: error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
34 |         socketAddress.sin_family = UInt8(AF_INET)
   |                                    `- error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
/host/spi-builder-workspace/Sources/pingx/Factory/PacketFactory/Impl/PacketFactoryImpl.swift:47:29: error: cannot find 'CFSwapInt16HostToBig' in scope
45 |             type: .echoRequest,
46 |             identifier: identifier,
47 |             sequenceNumber: CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max)),
   |                             `- error: cannot find 'CFSwapInt16HostToBig' in scope
48 |             payload: Payload()
49 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:32:23: error: cannot find 'CFSocketContext' in scope
30 |     func create(command: SocketCommand) throws -> any PingxSocket {
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
   |                       `- error: cannot find 'CFSocketContext' in scope
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:33:23: error: cannot infer contextual base in reference to member 'zero'
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
33 |             version: .zero,
   |                       `- error: cannot infer contextual base in reference to member 'zero'
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:35:21: error: 'nil' requires a contextual type
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
   |                     `- error: 'nil' requires a contextual type
36 |             release: nil,
37 |             copyDescription: nil
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:36:22: error: 'nil' requires a contextual type
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
36 |             release: nil,
   |                      `- error: 'nil' requires a contextual type
37 |             copyDescription: nil
38 |         )
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:37:30: error: 'nil' requires a contextual type
35 |             retain: nil,
36 |             release: nil,
37 |             copyDescription: nil
   |                              `- error: 'nil' requires a contextual type
38 |         )
39 |         let socket = CFSocketCreate(
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:39:22: error: cannot find 'CFSocketCreate' in scope
37 |             copyDescription: nil
38 |         )
39 |         let socket = CFSocketCreate(
   |                      `- error: cannot find 'CFSocketCreate' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:40:13: error: cannot find 'kCFAllocatorDefault' in scope
38 |         )
39 |         let socket = CFSocketCreate(
40 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
41 |             AF_INET,
42 |             SOCK_DGRAM,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:44:13: error: cannot find 'CFSocketCallBackType' in scope
42 |             SOCK_DGRAM,
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
   |             `- error: cannot find 'CFSocketCallBackType' in scope
45 |                 guard
46 |                     let data = data,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:63: error: cannot find 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                                               `- error: cannot find 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:52:40: error: cannot find type 'CFData' in scope
50 |
51 |                 let commandBlock = Unmanaged<SocketCommand>.fromOpaque(info).takeUnretainedValue()
52 |                 let cfdata = Unmanaged<CFData>.fromOpaque(data).takeUnretainedValue()
   |                                        `- error: cannot find type 'CFData' in scope
53 |                 commandBlock.closure(cfdata as Data)
54 |             },
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:38: error: cannot find type 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                      `- error: cannot find type 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:59:22: error: cannot find 'CFSocketGetNative' in scope
57 |
58 |         guard let socket = socket else { throw PacketSenderError.socketCreationError }
59 |         let native = CFSocketGetNative(socket)
   |                      `- error: cannot find 'CFSocketGetNative' in scope
60 |         var value: Int32 = 1
61 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:65:13: error: cannot find 'SO_NOSIGPIPE' in scope
63 |             native,
64 |             SOL_SOCKET,
65 |             SO_NOSIGPIPE,
   |             `- error: cannot find 'SO_NOSIGPIPE' in scope
66 |             &value,
67 |             socklen_t(MemoryLayout.size(ofValue: value))
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:72:34: error: cannot find 'CFSocketCreateRunLoopSource' in scope
70 |         }
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
   |                                  `- error: cannot find 'CFSocketCreateRunLoopSource' in scope
73 |             kCFAllocatorDefault,
74 |             socket,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:73:13: error: cannot find 'kCFAllocatorDefault' in scope
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
73 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
74 |             socket,
75 |             .zero
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:75:14: error: cannot infer contextual base in reference to member 'zero'
73 |             kCFAllocatorDefault,
74 |             socket,
75 |             .zero
   |              `- error: cannot infer contextual base in reference to member 'zero'
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:78:9: error: cannot find 'CFRunLoopAddSource' in scope
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
78 |         CFRunLoopAddSource(
   |         `- error: cannot find 'CFRunLoopAddSource' in scope
79 |             CFRunLoopGetMain(),
80 |             socketSource,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:79:13: error: cannot find 'CFRunLoopGetMain' in scope
77 |
78 |         CFRunLoopAddSource(
79 |             CFRunLoopGetMain(),
   |             `- error: cannot find 'CFRunLoopGetMain' in scope
80 |             socketSource,
81 |             .commonModes
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:81:14: error: cannot infer contextual base in reference to member 'commonModes'
79 |             CFRunLoopGetMain(),
80 |             socketSource,
81 |             .commonModes
   |              `- error: cannot infer contextual base in reference to member 'commonModes'
82 |         )
83 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:84:16: error: generic parameter 'T' could not be inferred
82 |         )
83 |
84 |         return PingxSocketImpl(
   |                |- error: generic parameter 'T' could not be inferred
   |                `- note: explicitly specify the generic arguments to fix this issue
85 |             socket: socket,
86 |             socketSource: socketSource,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:27:29: note: 'T' declared as parameter to type 'PingxSocketImpl'
25 | import Foundation
26 |
27 | final class PingxSocketImpl<T: AnyObject>: PingxSocket {
   |                             `- note: 'T' declared as parameter to type 'PingxSocketImpl'
28 |
29 |     // MARK: Typealias
[42/42] Compiling pingx SocketFactoryImpl.swift
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:33:23: error: value of type 'sockaddr_in' has no member 'sin_len'
31 |         var socketAddress = sockaddr_in()
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
   |                       `- error: value of type 'sockaddr_in' has no member 'sin_len'
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:34:36: error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
34 |         socketAddress.sin_family = UInt8(AF_INET)
   |                                    `- error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
/host/spi-builder-workspace/Sources/pingx/Factory/PacketFactory/Impl/PacketFactoryImpl.swift:47:29: error: cannot find 'CFSwapInt16HostToBig' in scope
45 |             type: .echoRequest,
46 |             identifier: identifier,
47 |             sequenceNumber: CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max)),
   |                             `- error: cannot find 'CFSwapInt16HostToBig' in scope
48 |             payload: Payload()
49 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:32:23: error: cannot find 'CFSocketContext' in scope
30 |     func create(command: SocketCommand) throws -> any PingxSocket {
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
   |                       `- error: cannot find 'CFSocketContext' in scope
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:33:23: error: cannot infer contextual base in reference to member 'zero'
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
33 |             version: .zero,
   |                       `- error: cannot infer contextual base in reference to member 'zero'
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:35:21: error: 'nil' requires a contextual type
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
   |                     `- error: 'nil' requires a contextual type
36 |             release: nil,
37 |             copyDescription: nil
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:36:22: error: 'nil' requires a contextual type
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
36 |             release: nil,
   |                      `- error: 'nil' requires a contextual type
37 |             copyDescription: nil
38 |         )
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:37:30: error: 'nil' requires a contextual type
35 |             retain: nil,
36 |             release: nil,
37 |             copyDescription: nil
   |                              `- error: 'nil' requires a contextual type
38 |         )
39 |         let socket = CFSocketCreate(
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:39:22: error: cannot find 'CFSocketCreate' in scope
37 |             copyDescription: nil
38 |         )
39 |         let socket = CFSocketCreate(
   |                      `- error: cannot find 'CFSocketCreate' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:40:13: error: cannot find 'kCFAllocatorDefault' in scope
38 |         )
39 |         let socket = CFSocketCreate(
40 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
41 |             AF_INET,
42 |             SOCK_DGRAM,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:44:13: error: cannot find 'CFSocketCallBackType' in scope
42 |             SOCK_DGRAM,
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
   |             `- error: cannot find 'CFSocketCallBackType' in scope
45 |                 guard
46 |                     let data = data,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:63: error: cannot find 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                                               `- error: cannot find 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:52:40: error: cannot find type 'CFData' in scope
50 |
51 |                 let commandBlock = Unmanaged<SocketCommand>.fromOpaque(info).takeUnretainedValue()
52 |                 let cfdata = Unmanaged<CFData>.fromOpaque(data).takeUnretainedValue()
   |                                        `- error: cannot find type 'CFData' in scope
53 |                 commandBlock.closure(cfdata as Data)
54 |             },
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:38: error: cannot find type 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                      `- error: cannot find type 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:59:22: error: cannot find 'CFSocketGetNative' in scope
57 |
58 |         guard let socket = socket else { throw PacketSenderError.socketCreationError }
59 |         let native = CFSocketGetNative(socket)
   |                      `- error: cannot find 'CFSocketGetNative' in scope
60 |         var value: Int32 = 1
61 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:65:13: error: cannot find 'SO_NOSIGPIPE' in scope
63 |             native,
64 |             SOL_SOCKET,
65 |             SO_NOSIGPIPE,
   |             `- error: cannot find 'SO_NOSIGPIPE' in scope
66 |             &value,
67 |             socklen_t(MemoryLayout.size(ofValue: value))
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:72:34: error: cannot find 'CFSocketCreateRunLoopSource' in scope
70 |         }
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
   |                                  `- error: cannot find 'CFSocketCreateRunLoopSource' in scope
73 |             kCFAllocatorDefault,
74 |             socket,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:73:13: error: cannot find 'kCFAllocatorDefault' in scope
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
73 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
74 |             socket,
75 |             .zero
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:75:14: error: cannot infer contextual base in reference to member 'zero'
73 |             kCFAllocatorDefault,
74 |             socket,
75 |             .zero
   |              `- error: cannot infer contextual base in reference to member 'zero'
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:78:9: error: cannot find 'CFRunLoopAddSource' in scope
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
78 |         CFRunLoopAddSource(
   |         `- error: cannot find 'CFRunLoopAddSource' in scope
79 |             CFRunLoopGetMain(),
80 |             socketSource,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:79:13: error: cannot find 'CFRunLoopGetMain' in scope
77 |
78 |         CFRunLoopAddSource(
79 |             CFRunLoopGetMain(),
   |             `- error: cannot find 'CFRunLoopGetMain' in scope
80 |             socketSource,
81 |             .commonModes
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:81:14: error: cannot infer contextual base in reference to member 'commonModes'
79 |             CFRunLoopGetMain(),
80 |             socketSource,
81 |             .commonModes
   |              `- error: cannot infer contextual base in reference to member 'commonModes'
82 |         )
83 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:84:16: error: generic parameter 'T' could not be inferred
82 |         )
83 |
84 |         return PingxSocketImpl(
   |                |- error: generic parameter 'T' could not be inferred
   |                `- note: explicitly specify the generic arguments to fix this issue
85 |             socket: socket,
86 |             socketSource: socketSource,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:27:29: note: 'T' declared as parameter to type 'PingxSocketImpl'
25 | import Foundation
26 |
27 | final class PingxSocketImpl<T: AnyObject>: PingxSocket {
   |                             `- note: 'T' declared as parameter to type 'PingxSocketImpl'
28 |
29 |     // MARK: Typealias
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/37] Emitting module pingx
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:74: error: cannot find type 'CFSocketError' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:24: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                        `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:38: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                      `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:55: error: cannot find type 'CFTimeInterval' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:35:17: error: cannot find type 'CFSocket' in scope
33 |     // MARK: Properties
34 |
35 |     let socket: CFSocket
   |                 `- error: cannot find type 'CFSocket' in scope
36 |     let socketSource: CFRunLoopSource
37 |     let unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:36:23: error: cannot find type 'CFRunLoopSource' in scope
34 |
35 |     let socket: CFSocket
36 |     let socketSource: CFRunLoopSource
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
37 |     let unmanaged: Unmanaged<Instance>
38 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:74: error: cannot find type 'CFSocketError' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:24: error: cannot find type 'CFData' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                        `- error: cannot find type 'CFData' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:38: error: cannot find type 'CFData' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                      `- error: cannot find type 'CFData' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:55: error: cannot find type 'CFTimeInterval' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:103:37: error: cannot find type 'CFSocketError' in scope
101 |     }
102 |
103 |     func handleSocketError(_ error: CFSocketError, request: Request) {
    |                                     `- error: cannot find type 'CFSocketError' in scope
104 |         switch error {
105 |         case .error:
[3/41] Compiling pingx String+Extensions.swift
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:33:23: error: value of type 'sockaddr_in' has no member 'sin_len'
31 |         var socketAddress = sockaddr_in()
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
   |                       `- error: value of type 'sockaddr_in' has no member 'sin_len'
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:34:36: error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
34 |         socketAddress.sin_family = UInt8(AF_INET)
   |                                    `- error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
/host/spi-builder-workspace/Sources/pingx/Factory/PacketFactory/Impl/PacketFactoryImpl.swift:47:29: error: cannot find 'CFSwapInt16HostToBig' in scope
45 |             type: .echoRequest,
46 |             identifier: identifier,
47 |             sequenceNumber: CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max)),
   |                             `- error: cannot find 'CFSwapInt16HostToBig' in scope
48 |             payload: Payload()
49 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:32:23: error: cannot find 'CFSocketContext' in scope
30 |     func create(command: SocketCommand) throws -> any PingxSocket {
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
   |                       `- error: cannot find 'CFSocketContext' in scope
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:33:23: error: cannot infer contextual base in reference to member 'zero'
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
33 |             version: .zero,
   |                       `- error: cannot infer contextual base in reference to member 'zero'
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:35:21: error: 'nil' requires a contextual type
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
   |                     `- error: 'nil' requires a contextual type
36 |             release: nil,
37 |             copyDescription: nil
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:36:22: error: 'nil' requires a contextual type
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
36 |             release: nil,
   |                      `- error: 'nil' requires a contextual type
37 |             copyDescription: nil
38 |         )
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:37:30: error: 'nil' requires a contextual type
35 |             retain: nil,
36 |             release: nil,
37 |             copyDescription: nil
   |                              `- error: 'nil' requires a contextual type
38 |         )
39 |         let socket = CFSocketCreate(
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:39:22: error: cannot find 'CFSocketCreate' in scope
37 |             copyDescription: nil
38 |         )
39 |         let socket = CFSocketCreate(
   |                      `- error: cannot find 'CFSocketCreate' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:40:13: error: cannot find 'kCFAllocatorDefault' in scope
38 |         )
39 |         let socket = CFSocketCreate(
40 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
41 |             AF_INET,
42 |             SOCK_DGRAM,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:44:13: error: cannot find 'CFSocketCallBackType' in scope
42 |             SOCK_DGRAM,
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
   |             `- error: cannot find 'CFSocketCallBackType' in scope
45 |                 guard
46 |                     let data = data,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:63: error: cannot find 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                                               `- error: cannot find 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:52:40: error: cannot find type 'CFData' in scope
50 |
51 |                 let commandBlock = Unmanaged<SocketCommand>.fromOpaque(info).takeUnretainedValue()
52 |                 let cfdata = Unmanaged<CFData>.fromOpaque(data).takeUnretainedValue()
   |                                        `- error: cannot find type 'CFData' in scope
53 |                 commandBlock.closure(cfdata as Data)
54 |             },
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:38: error: cannot find type 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                      `- error: cannot find type 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:59:22: error: cannot find 'CFSocketGetNative' in scope
57 |
58 |         guard let socket = socket else { throw PacketSenderError.socketCreationError }
59 |         let native = CFSocketGetNative(socket)
   |                      `- error: cannot find 'CFSocketGetNative' in scope
60 |         var value: Int32 = 1
61 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:65:13: error: cannot find 'SO_NOSIGPIPE' in scope
63 |             native,
64 |             SOL_SOCKET,
65 |             SO_NOSIGPIPE,
   |             `- error: cannot find 'SO_NOSIGPIPE' in scope
66 |             &value,
67 |             socklen_t(MemoryLayout.size(ofValue: value))
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:72:34: error: cannot find 'CFSocketCreateRunLoopSource' in scope
70 |         }
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
   |                                  `- error: cannot find 'CFSocketCreateRunLoopSource' in scope
73 |             kCFAllocatorDefault,
74 |             socket,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:73:13: error: cannot find 'kCFAllocatorDefault' in scope
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
73 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
74 |             socket,
75 |             .zero
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:75:14: error: cannot infer contextual base in reference to member 'zero'
73 |             kCFAllocatorDefault,
74 |             socket,
75 |             .zero
   |              `- error: cannot infer contextual base in reference to member 'zero'
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:78:9: error: cannot find 'CFRunLoopAddSource' in scope
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
78 |         CFRunLoopAddSource(
   |         `- error: cannot find 'CFRunLoopAddSource' in scope
79 |             CFRunLoopGetMain(),
80 |             socketSource,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:79:13: error: cannot find 'CFRunLoopGetMain' in scope
77 |
78 |         CFRunLoopAddSource(
79 |             CFRunLoopGetMain(),
   |             `- error: cannot find 'CFRunLoopGetMain' in scope
80 |             socketSource,
81 |             .commonModes
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:81:14: error: cannot infer contextual base in reference to member 'commonModes'
79 |             CFRunLoopGetMain(),
80 |             socketSource,
81 |             .commonModes
   |              `- error: cannot infer contextual base in reference to member 'commonModes'
82 |         )
83 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:84:16: error: generic parameter 'T' could not be inferred
82 |         )
83 |
84 |         return PingxSocketImpl(
   |                |- error: generic parameter 'T' could not be inferred
   |                `- note: explicitly specify the generic arguments to fix this issue
85 |             socket: socket,
86 |             socketSource: socketSource,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:27:29: note: 'T' declared as parameter to type 'PingxSocketImpl'
25 | import Foundation
26 |
27 | final class PingxSocketImpl<T: AnyObject>: PingxSocket {
   |                             `- note: 'T' declared as parameter to type 'PingxSocketImpl'
28 |
29 |     // MARK: Typealias
[4/41] Compiling pingx PacketFactory.swift
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:33:23: error: value of type 'sockaddr_in' has no member 'sin_len'
31 |         var socketAddress = sockaddr_in()
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
   |                       `- error: value of type 'sockaddr_in' has no member 'sin_len'
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:34:36: error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
34 |         socketAddress.sin_family = UInt8(AF_INET)
   |                                    `- error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
/host/spi-builder-workspace/Sources/pingx/Factory/PacketFactory/Impl/PacketFactoryImpl.swift:47:29: error: cannot find 'CFSwapInt16HostToBig' in scope
45 |             type: .echoRequest,
46 |             identifier: identifier,
47 |             sequenceNumber: CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max)),
   |                             `- error: cannot find 'CFSwapInt16HostToBig' in scope
48 |             payload: Payload()
49 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:32:23: error: cannot find 'CFSocketContext' in scope
30 |     func create(command: SocketCommand) throws -> any PingxSocket {
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
   |                       `- error: cannot find 'CFSocketContext' in scope
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:33:23: error: cannot infer contextual base in reference to member 'zero'
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
33 |             version: .zero,
   |                       `- error: cannot infer contextual base in reference to member 'zero'
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:35:21: error: 'nil' requires a contextual type
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
   |                     `- error: 'nil' requires a contextual type
36 |             release: nil,
37 |             copyDescription: nil
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:36:22: error: 'nil' requires a contextual type
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
36 |             release: nil,
   |                      `- error: 'nil' requires a contextual type
37 |             copyDescription: nil
38 |         )
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:37:30: error: 'nil' requires a contextual type
35 |             retain: nil,
36 |             release: nil,
37 |             copyDescription: nil
   |                              `- error: 'nil' requires a contextual type
38 |         )
39 |         let socket = CFSocketCreate(
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:39:22: error: cannot find 'CFSocketCreate' in scope
37 |             copyDescription: nil
38 |         )
39 |         let socket = CFSocketCreate(
   |                      `- error: cannot find 'CFSocketCreate' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:40:13: error: cannot find 'kCFAllocatorDefault' in scope
38 |         )
39 |         let socket = CFSocketCreate(
40 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
41 |             AF_INET,
42 |             SOCK_DGRAM,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:44:13: error: cannot find 'CFSocketCallBackType' in scope
42 |             SOCK_DGRAM,
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
   |             `- error: cannot find 'CFSocketCallBackType' in scope
45 |                 guard
46 |                     let data = data,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:63: error: cannot find 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                                               `- error: cannot find 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:52:40: error: cannot find type 'CFData' in scope
50 |
51 |                 let commandBlock = Unmanaged<SocketCommand>.fromOpaque(info).takeUnretainedValue()
52 |                 let cfdata = Unmanaged<CFData>.fromOpaque(data).takeUnretainedValue()
   |                                        `- error: cannot find type 'CFData' in scope
53 |                 commandBlock.closure(cfdata as Data)
54 |             },
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:38: error: cannot find type 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                      `- error: cannot find type 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:59:22: error: cannot find 'CFSocketGetNative' in scope
57 |
58 |         guard let socket = socket else { throw PacketSenderError.socketCreationError }
59 |         let native = CFSocketGetNative(socket)
   |                      `- error: cannot find 'CFSocketGetNative' in scope
60 |         var value: Int32 = 1
61 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:65:13: error: cannot find 'SO_NOSIGPIPE' in scope
63 |             native,
64 |             SOL_SOCKET,
65 |             SO_NOSIGPIPE,
   |             `- error: cannot find 'SO_NOSIGPIPE' in scope
66 |             &value,
67 |             socklen_t(MemoryLayout.size(ofValue: value))
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:72:34: error: cannot find 'CFSocketCreateRunLoopSource' in scope
70 |         }
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
   |                                  `- error: cannot find 'CFSocketCreateRunLoopSource' in scope
73 |             kCFAllocatorDefault,
74 |             socket,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:73:13: error: cannot find 'kCFAllocatorDefault' in scope
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
73 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
74 |             socket,
75 |             .zero
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:75:14: error: cannot infer contextual base in reference to member 'zero'
73 |             kCFAllocatorDefault,
74 |             socket,
75 |             .zero
   |              `- error: cannot infer contextual base in reference to member 'zero'
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:78:9: error: cannot find 'CFRunLoopAddSource' in scope
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
78 |         CFRunLoopAddSource(
   |         `- error: cannot find 'CFRunLoopAddSource' in scope
79 |             CFRunLoopGetMain(),
80 |             socketSource,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:79:13: error: cannot find 'CFRunLoopGetMain' in scope
77 |
78 |         CFRunLoopAddSource(
79 |             CFRunLoopGetMain(),
   |             `- error: cannot find 'CFRunLoopGetMain' in scope
80 |             socketSource,
81 |             .commonModes
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:81:14: error: cannot infer contextual base in reference to member 'commonModes'
79 |             CFRunLoopGetMain(),
80 |             socketSource,
81 |             .commonModes
   |              `- error: cannot infer contextual base in reference to member 'commonModes'
82 |         )
83 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:84:16: error: generic parameter 'T' could not be inferred
82 |         )
83 |
84 |         return PingxSocketImpl(
   |                |- error: generic parameter 'T' could not be inferred
   |                `- note: explicitly specify the generic arguments to fix this issue
85 |             socket: socket,
86 |             socketSource: socketSource,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:27:29: note: 'T' declared as parameter to type 'PingxSocketImpl'
25 | import Foundation
26 |
27 | final class PingxSocketImpl<T: AnyObject>: PingxSocket {
   |                             `- note: 'T' declared as parameter to type 'PingxSocketImpl'
28 |
29 |     // MARK: Typealias
[5/41] Compiling pingx PacketFactoryImpl.swift
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:33:23: error: value of type 'sockaddr_in' has no member 'sin_len'
31 |         var socketAddress = sockaddr_in()
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
   |                       `- error: value of type 'sockaddr_in' has no member 'sin_len'
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:34:36: error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
34 |         socketAddress.sin_family = UInt8(AF_INET)
   |                                    `- error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
/host/spi-builder-workspace/Sources/pingx/Factory/PacketFactory/Impl/PacketFactoryImpl.swift:47:29: error: cannot find 'CFSwapInt16HostToBig' in scope
45 |             type: .echoRequest,
46 |             identifier: identifier,
47 |             sequenceNumber: CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max)),
   |                             `- error: cannot find 'CFSwapInt16HostToBig' in scope
48 |             payload: Payload()
49 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:32:23: error: cannot find 'CFSocketContext' in scope
30 |     func create(command: SocketCommand) throws -> any PingxSocket {
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
   |                       `- error: cannot find 'CFSocketContext' in scope
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:33:23: error: cannot infer contextual base in reference to member 'zero'
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
33 |             version: .zero,
   |                       `- error: cannot infer contextual base in reference to member 'zero'
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:35:21: error: 'nil' requires a contextual type
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
   |                     `- error: 'nil' requires a contextual type
36 |             release: nil,
37 |             copyDescription: nil
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:36:22: error: 'nil' requires a contextual type
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
36 |             release: nil,
   |                      `- error: 'nil' requires a contextual type
37 |             copyDescription: nil
38 |         )
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:37:30: error: 'nil' requires a contextual type
35 |             retain: nil,
36 |             release: nil,
37 |             copyDescription: nil
   |                              `- error: 'nil' requires a contextual type
38 |         )
39 |         let socket = CFSocketCreate(
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:39:22: error: cannot find 'CFSocketCreate' in scope
37 |             copyDescription: nil
38 |         )
39 |         let socket = CFSocketCreate(
   |                      `- error: cannot find 'CFSocketCreate' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:40:13: error: cannot find 'kCFAllocatorDefault' in scope
38 |         )
39 |         let socket = CFSocketCreate(
40 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
41 |             AF_INET,
42 |             SOCK_DGRAM,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:44:13: error: cannot find 'CFSocketCallBackType' in scope
42 |             SOCK_DGRAM,
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
   |             `- error: cannot find 'CFSocketCallBackType' in scope
45 |                 guard
46 |                     let data = data,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:63: error: cannot find 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                                               `- error: cannot find 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:52:40: error: cannot find type 'CFData' in scope
50 |
51 |                 let commandBlock = Unmanaged<SocketCommand>.fromOpaque(info).takeUnretainedValue()
52 |                 let cfdata = Unmanaged<CFData>.fromOpaque(data).takeUnretainedValue()
   |                                        `- error: cannot find type 'CFData' in scope
53 |                 commandBlock.closure(cfdata as Data)
54 |             },
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:38: error: cannot find type 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                      `- error: cannot find type 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:59:22: error: cannot find 'CFSocketGetNative' in scope
57 |
58 |         guard let socket = socket else { throw PacketSenderError.socketCreationError }
59 |         let native = CFSocketGetNative(socket)
   |                      `- error: cannot find 'CFSocketGetNative' in scope
60 |         var value: Int32 = 1
61 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:65:13: error: cannot find 'SO_NOSIGPIPE' in scope
63 |             native,
64 |             SOL_SOCKET,
65 |             SO_NOSIGPIPE,
   |             `- error: cannot find 'SO_NOSIGPIPE' in scope
66 |             &value,
67 |             socklen_t(MemoryLayout.size(ofValue: value))
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:72:34: error: cannot find 'CFSocketCreateRunLoopSource' in scope
70 |         }
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
   |                                  `- error: cannot find 'CFSocketCreateRunLoopSource' in scope
73 |             kCFAllocatorDefault,
74 |             socket,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:73:13: error: cannot find 'kCFAllocatorDefault' in scope
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
73 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
74 |             socket,
75 |             .zero
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:75:14: error: cannot infer contextual base in reference to member 'zero'
73 |             kCFAllocatorDefault,
74 |             socket,
75 |             .zero
   |              `- error: cannot infer contextual base in reference to member 'zero'
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:78:9: error: cannot find 'CFRunLoopAddSource' in scope
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
78 |         CFRunLoopAddSource(
   |         `- error: cannot find 'CFRunLoopAddSource' in scope
79 |             CFRunLoopGetMain(),
80 |             socketSource,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:79:13: error: cannot find 'CFRunLoopGetMain' in scope
77 |
78 |         CFRunLoopAddSource(
79 |             CFRunLoopGetMain(),
   |             `- error: cannot find 'CFRunLoopGetMain' in scope
80 |             socketSource,
81 |             .commonModes
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:81:14: error: cannot infer contextual base in reference to member 'commonModes'
79 |             CFRunLoopGetMain(),
80 |             socketSource,
81 |             .commonModes
   |              `- error: cannot infer contextual base in reference to member 'commonModes'
82 |         )
83 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:84:16: error: generic parameter 'T' could not be inferred
82 |         )
83 |
84 |         return PingxSocketImpl(
   |                |- error: generic parameter 'T' could not be inferred
   |                `- note: explicitly specify the generic arguments to fix this issue
85 |             socket: socket,
86 |             socketSource: socketSource,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:27:29: note: 'T' declared as parameter to type 'PingxSocketImpl'
25 | import Foundation
26 |
27 | final class PingxSocketImpl<T: AnyObject>: PingxSocket {
   |                             `- note: 'T' declared as parameter to type 'PingxSocketImpl'
28 |
29 |     // MARK: Typealias
[6/41] Compiling pingx SocketFactory.swift
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:33:23: error: value of type 'sockaddr_in' has no member 'sin_len'
31 |         var socketAddress = sockaddr_in()
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
   |                       `- error: value of type 'sockaddr_in' has no member 'sin_len'
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:34:36: error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
34 |         socketAddress.sin_family = UInt8(AF_INET)
   |                                    `- error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
/host/spi-builder-workspace/Sources/pingx/Factory/PacketFactory/Impl/PacketFactoryImpl.swift:47:29: error: cannot find 'CFSwapInt16HostToBig' in scope
45 |             type: .echoRequest,
46 |             identifier: identifier,
47 |             sequenceNumber: CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max)),
   |                             `- error: cannot find 'CFSwapInt16HostToBig' in scope
48 |             payload: Payload()
49 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:32:23: error: cannot find 'CFSocketContext' in scope
30 |     func create(command: SocketCommand) throws -> any PingxSocket {
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
   |                       `- error: cannot find 'CFSocketContext' in scope
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:33:23: error: cannot infer contextual base in reference to member 'zero'
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
33 |             version: .zero,
   |                       `- error: cannot infer contextual base in reference to member 'zero'
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:35:21: error: 'nil' requires a contextual type
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
   |                     `- error: 'nil' requires a contextual type
36 |             release: nil,
37 |             copyDescription: nil
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:36:22: error: 'nil' requires a contextual type
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
36 |             release: nil,
   |                      `- error: 'nil' requires a contextual type
37 |             copyDescription: nil
38 |         )
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:37:30: error: 'nil' requires a contextual type
35 |             retain: nil,
36 |             release: nil,
37 |             copyDescription: nil
   |                              `- error: 'nil' requires a contextual type
38 |         )
39 |         let socket = CFSocketCreate(
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:39:22: error: cannot find 'CFSocketCreate' in scope
37 |             copyDescription: nil
38 |         )
39 |         let socket = CFSocketCreate(
   |                      `- error: cannot find 'CFSocketCreate' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:40:13: error: cannot find 'kCFAllocatorDefault' in scope
38 |         )
39 |         let socket = CFSocketCreate(
40 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
41 |             AF_INET,
42 |             SOCK_DGRAM,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:44:13: error: cannot find 'CFSocketCallBackType' in scope
42 |             SOCK_DGRAM,
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
   |             `- error: cannot find 'CFSocketCallBackType' in scope
45 |                 guard
46 |                     let data = data,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:63: error: cannot find 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                                               `- error: cannot find 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:52:40: error: cannot find type 'CFData' in scope
50 |
51 |                 let commandBlock = Unmanaged<SocketCommand>.fromOpaque(info).takeUnretainedValue()
52 |                 let cfdata = Unmanaged<CFData>.fromOpaque(data).takeUnretainedValue()
   |                                        `- error: cannot find type 'CFData' in scope
53 |                 commandBlock.closure(cfdata as Data)
54 |             },
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:38: error: cannot find type 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                      `- error: cannot find type 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:59:22: error: cannot find 'CFSocketGetNative' in scope
57 |
58 |         guard let socket = socket else { throw PacketSenderError.socketCreationError }
59 |         let native = CFSocketGetNative(socket)
   |                      `- error: cannot find 'CFSocketGetNative' in scope
60 |         var value: Int32 = 1
61 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:65:13: error: cannot find 'SO_NOSIGPIPE' in scope
63 |             native,
64 |             SOL_SOCKET,
65 |             SO_NOSIGPIPE,
   |             `- error: cannot find 'SO_NOSIGPIPE' in scope
66 |             &value,
67 |             socklen_t(MemoryLayout.size(ofValue: value))
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:72:34: error: cannot find 'CFSocketCreateRunLoopSource' in scope
70 |         }
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
   |                                  `- error: cannot find 'CFSocketCreateRunLoopSource' in scope
73 |             kCFAllocatorDefault,
74 |             socket,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:73:13: error: cannot find 'kCFAllocatorDefault' in scope
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
73 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
74 |             socket,
75 |             .zero
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:75:14: error: cannot infer contextual base in reference to member 'zero'
73 |             kCFAllocatorDefault,
74 |             socket,
75 |             .zero
   |              `- error: cannot infer contextual base in reference to member 'zero'
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:78:9: error: cannot find 'CFRunLoopAddSource' in scope
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
78 |         CFRunLoopAddSource(
   |         `- error: cannot find 'CFRunLoopAddSource' in scope
79 |             CFRunLoopGetMain(),
80 |             socketSource,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:79:13: error: cannot find 'CFRunLoopGetMain' in scope
77 |
78 |         CFRunLoopAddSource(
79 |             CFRunLoopGetMain(),
   |             `- error: cannot find 'CFRunLoopGetMain' in scope
80 |             socketSource,
81 |             .commonModes
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:81:14: error: cannot infer contextual base in reference to member 'commonModes'
79 |             CFRunLoopGetMain(),
80 |             socketSource,
81 |             .commonModes
   |              `- error: cannot infer contextual base in reference to member 'commonModes'
82 |         )
83 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:84:16: error: generic parameter 'T' could not be inferred
82 |         )
83 |
84 |         return PingxSocketImpl(
   |                |- error: generic parameter 'T' could not be inferred
   |                `- note: explicitly specify the generic arguments to fix this issue
85 |             socket: socket,
86 |             socketSource: socketSource,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:27:29: note: 'T' declared as parameter to type 'PingxSocketImpl'
25 | import Foundation
26 |
27 | final class PingxSocketImpl<T: AnyObject>: PingxSocket {
   |                             `- note: 'T' declared as parameter to type 'PingxSocketImpl'
28 |
29 |     // MARK: Typealias
[7/41] Compiling pingx SocketFactoryImpl.swift
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:33:23: error: value of type 'sockaddr_in' has no member 'sin_len'
31 |         var socketAddress = sockaddr_in()
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
   |                       `- error: value of type 'sockaddr_in' has no member 'sin_len'
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
/host/spi-builder-workspace/Sources/pingx/Extensions/String+Extensions.swift:34:36: error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
32 |
33 |         socketAddress.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
34 |         socketAddress.sin_family = UInt8(AF_INET)
   |                                    `- error: cannot assign value of type 'UInt8' to type 'sa_family_t' (aka 'UInt16')
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
/host/spi-builder-workspace/Sources/pingx/Factory/PacketFactory/Impl/PacketFactoryImpl.swift:47:29: error: cannot find 'CFSwapInt16HostToBig' in scope
45 |             type: .echoRequest,
46 |             identifier: identifier,
47 |             sequenceNumber: CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max)),
   |                             `- error: cannot find 'CFSwapInt16HostToBig' in scope
48 |             payload: Payload()
49 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:32:23: error: cannot find 'CFSocketContext' in scope
30 |     func create(command: SocketCommand) throws -> any PingxSocket {
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
   |                       `- error: cannot find 'CFSocketContext' in scope
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:33:23: error: cannot infer contextual base in reference to member 'zero'
31 |         let unmanaged = Unmanaged.passRetained(command)
32 |         var context = CFSocketContext(
33 |             version: .zero,
   |                       `- error: cannot infer contextual base in reference to member 'zero'
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:35:21: error: 'nil' requires a contextual type
33 |             version: .zero,
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
   |                     `- error: 'nil' requires a contextual type
36 |             release: nil,
37 |             copyDescription: nil
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:36:22: error: 'nil' requires a contextual type
34 |             info: unmanaged.toOpaque(),
35 |             retain: nil,
36 |             release: nil,
   |                      `- error: 'nil' requires a contextual type
37 |             copyDescription: nil
38 |         )
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:37:30: error: 'nil' requires a contextual type
35 |             retain: nil,
36 |             release: nil,
37 |             copyDescription: nil
   |                              `- error: 'nil' requires a contextual type
38 |         )
39 |         let socket = CFSocketCreate(
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:39:22: error: cannot find 'CFSocketCreate' in scope
37 |             copyDescription: nil
38 |         )
39 |         let socket = CFSocketCreate(
   |                      `- error: cannot find 'CFSocketCreate' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:40:13: error: cannot find 'kCFAllocatorDefault' in scope
38 |         )
39 |         let socket = CFSocketCreate(
40 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
41 |             AF_INET,
42 |             SOCK_DGRAM,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:44:13: error: cannot find 'CFSocketCallBackType' in scope
42 |             SOCK_DGRAM,
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
   |             `- error: cannot find 'CFSocketCallBackType' in scope
45 |                 guard
46 |                     let data = data,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:63: error: cannot find 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                                               `- error: cannot find 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:52:40: error: cannot find type 'CFData' in scope
50 |
51 |                 let commandBlock = Unmanaged<SocketCommand>.fromOpaque(info).takeUnretainedValue()
52 |                 let cfdata = Unmanaged<CFData>.fromOpaque(data).takeUnretainedValue()
   |                                        `- error: cannot find type 'CFData' in scope
53 |                 commandBlock.closure(cfdata as Data)
54 |             },
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:48:38: error: cannot find type 'CFSocketCallBackType' in scope
46 |                     let data = data,
47 |                     let info = info,
48 |                     (callbackType as CFSocketCallBackType) == CFSocketCallBackType.dataCallBack
   |                                      `- error: cannot find type 'CFSocketCallBackType' in scope
49 |                 else { return }
50 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:59:22: error: cannot find 'CFSocketGetNative' in scope
57 |
58 |         guard let socket = socket else { throw PacketSenderError.socketCreationError }
59 |         let native = CFSocketGetNative(socket)
   |                      `- error: cannot find 'CFSocketGetNative' in scope
60 |         var value: Int32 = 1
61 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:65:13: error: cannot find 'SO_NOSIGPIPE' in scope
63 |             native,
64 |             SOL_SOCKET,
65 |             SO_NOSIGPIPE,
   |             `- error: cannot find 'SO_NOSIGPIPE' in scope
66 |             &value,
67 |             socklen_t(MemoryLayout.size(ofValue: value))
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:72:34: error: cannot find 'CFSocketCreateRunLoopSource' in scope
70 |         }
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
   |                                  `- error: cannot find 'CFSocketCreateRunLoopSource' in scope
73 |             kCFAllocatorDefault,
74 |             socket,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:73:13: error: cannot find 'kCFAllocatorDefault' in scope
71 |
72 |         guard let socketSource = CFSocketCreateRunLoopSource(
73 |             kCFAllocatorDefault,
   |             `- error: cannot find 'kCFAllocatorDefault' in scope
74 |             socket,
75 |             .zero
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:75:14: error: cannot infer contextual base in reference to member 'zero'
73 |             kCFAllocatorDefault,
74 |             socket,
75 |             .zero
   |              `- error: cannot infer contextual base in reference to member 'zero'
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:78:9: error: cannot find 'CFRunLoopAddSource' in scope
76 |         ) else { throw PacketSenderError.socketCreationError }
77 |
78 |         CFRunLoopAddSource(
   |         `- error: cannot find 'CFRunLoopAddSource' in scope
79 |             CFRunLoopGetMain(),
80 |             socketSource,
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:79:13: error: cannot find 'CFRunLoopGetMain' in scope
77 |
78 |         CFRunLoopAddSource(
79 |             CFRunLoopGetMain(),
   |             `- error: cannot find 'CFRunLoopGetMain' in scope
80 |             socketSource,
81 |             .commonModes
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:81:14: error: cannot infer contextual base in reference to member 'commonModes'
79 |             CFRunLoopGetMain(),
80 |             socketSource,
81 |             .commonModes
   |              `- error: cannot infer contextual base in reference to member 'commonModes'
82 |         )
83 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Factory/SocketFactory/Impl/SocketFactoryImpl.swift:84:16: error: generic parameter 'T' could not be inferred
82 |         )
83 |
84 |         return PingxSocketImpl(
   |                |- error: generic parameter 'T' could not be inferred
   |                `- note: explicitly specify the generic arguments to fix this issue
85 |             socket: socket,
86 |             socketSource: socketSource,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:27:29: note: 'T' declared as parameter to type 'PingxSocketImpl'
25 | import Foundation
26 |
27 | final class PingxSocketImpl<T: AnyObject>: PingxSocket {
   |                             `- note: 'T' declared as parameter to type 'PingxSocketImpl'
28 |
29 |     // MARK: Typealias
[8/41] Compiling pingx ICMPChecksum.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:62:33: error: cannot find type 'CFAbsoluteTime' in scope
60 |         return identifier + Data(
61 |             bytes: &timestamp,
62 |             count: MemoryLayout<CFAbsoluteTime>.size
   |                                 `- error: cannot find type 'CFAbsoluteTime' in scope
63 |         ).withUnsafeBytes { Array($0) }
64 |     }
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:45:26: warning: passing non-sendable parameter 'function' to function expecting a @Sendable closure
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                `- note: parameter 'function' is implicitly non-sendable
45 |     queue.async(execute: function)
   |                          `- warning: passing non-sendable parameter 'function' to function expecting a @Sendable closure
46 | }
47 |
[9/41] Compiling pingx IPv4AddressConverterApi.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:62:33: error: cannot find type 'CFAbsoluteTime' in scope
60 |         return identifier + Data(
61 |             bytes: &timestamp,
62 |             count: MemoryLayout<CFAbsoluteTime>.size
   |                                 `- error: cannot find type 'CFAbsoluteTime' in scope
63 |         ).withUnsafeBytes { Array($0) }
64 |     }
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:45:26: warning: passing non-sendable parameter 'function' to function expecting a @Sendable closure
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                `- note: parameter 'function' is implicitly non-sendable
45 |     queue.async(execute: function)
   |                          `- warning: passing non-sendable parameter 'function' to function expecting a @Sendable closure
46 | }
47 |
[10/41] Compiling pingx IPv4AddressConverterError.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:62:33: error: cannot find type 'CFAbsoluteTime' in scope
60 |         return identifier + Data(
61 |             bytes: &timestamp,
62 |             count: MemoryLayout<CFAbsoluteTime>.size
   |                                 `- error: cannot find type 'CFAbsoluteTime' in scope
63 |         ).withUnsafeBytes { Array($0) }
64 |     }
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:45:26: warning: passing non-sendable parameter 'function' to function expecting a @Sendable closure
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                `- note: parameter 'function' is implicitly non-sendable
45 |     queue.async(execute: function)
   |                          `- warning: passing non-sendable parameter 'function' to function expecting a @Sendable closure
46 | }
47 |
[11/41] Compiling pingx IPv4AddressConverter.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:62:33: error: cannot find type 'CFAbsoluteTime' in scope
60 |         return identifier + Data(
61 |             bytes: &timestamp,
62 |             count: MemoryLayout<CFAbsoluteTime>.size
   |                                 `- error: cannot find type 'CFAbsoluteTime' in scope
63 |         ).withUnsafeBytes { Array($0) }
64 |     }
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:45:26: warning: passing non-sendable parameter 'function' to function expecting a @Sendable closure
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                `- note: parameter 'function' is implicitly non-sendable
45 |     queue.async(execute: function)
   |                          `- warning: passing non-sendable parameter 'function' to function expecting a @Sendable closure
46 | }
47 |
[12/41] Compiling pingx DispatchQueue+Extensions.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:62:33: error: cannot find type 'CFAbsoluteTime' in scope
60 |         return identifier + Data(
61 |             bytes: &timestamp,
62 |             count: MemoryLayout<CFAbsoluteTime>.size
   |                                 `- error: cannot find type 'CFAbsoluteTime' in scope
63 |         ).withUnsafeBytes { Array($0) }
64 |     }
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:45:26: warning: passing non-sendable parameter 'function' to function expecting a @Sendable closure
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                `- note: parameter 'function' is implicitly non-sendable
45 |     queue.async(execute: function)
   |                          `- warning: passing non-sendable parameter 'function' to function expecting a @Sendable closure
46 | }
47 |
[13/41] Compiling pingx PacketSenderDelegate.swift
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:103:37: error: cannot find type 'CFSocketError' in scope
101 |     }
102 |
103 |     func handleSocketError(_ error: CFSocketError, request: Request) {
    |                                     `- error: cannot find type 'CFSocketError' in scope
104 |         switch error {
105 |         case .error:
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:69:74: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 67 |         }
 68 |
 69 |         guard let packet = try? packetFactory.create(identifier: request.id, type: request.type) else {
    |                                                                          `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 70 |             delegate?.packetSender(packetSender: self, request: request, didCompleteWithError: .unableToCreatePacket)
 71 |             return
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:75:59: error: cannot find type 'CFData' in scope
 73 |
 74 |         let error = pingxSocket.send(
 75 |             address: request.destination.socketAddress as CFData,
    |                                                           `- error: cannot find type 'CFData' in scope
 76 |             data: packet.data as CFData,
 77 |             timeout: request.sendTimeout
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:76:34: error: cannot find type 'CFData' in scope
 74 |         let error = pingxSocket.send(
 75 |             address: request.destination.socketAddress as CFData,
 76 |             data: packet.data as CFData,
    |                                  `- error: cannot find type 'CFData' in scope
 77 |             timeout: request.sendTimeout
 78 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:74: error: cannot find type 'CFSocketError' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:24: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                        `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:38: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                      `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:55: error: cannot find type 'CFTimeInterval' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
[14/41] Compiling pingx PacketSenderError.swift
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:103:37: error: cannot find type 'CFSocketError' in scope
101 |     }
102 |
103 |     func handleSocketError(_ error: CFSocketError, request: Request) {
    |                                     `- error: cannot find type 'CFSocketError' in scope
104 |         switch error {
105 |         case .error:
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:69:74: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 67 |         }
 68 |
 69 |         guard let packet = try? packetFactory.create(identifier: request.id, type: request.type) else {
    |                                                                          `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 70 |             delegate?.packetSender(packetSender: self, request: request, didCompleteWithError: .unableToCreatePacket)
 71 |             return
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:75:59: error: cannot find type 'CFData' in scope
 73 |
 74 |         let error = pingxSocket.send(
 75 |             address: request.destination.socketAddress as CFData,
    |                                                           `- error: cannot find type 'CFData' in scope
 76 |             data: packet.data as CFData,
 77 |             timeout: request.sendTimeout
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:76:34: error: cannot find type 'CFData' in scope
 74 |         let error = pingxSocket.send(
 75 |             address: request.destination.socketAddress as CFData,
 76 |             data: packet.data as CFData,
    |                                  `- error: cannot find type 'CFData' in scope
 77 |             timeout: request.sendTimeout
 78 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:74: error: cannot find type 'CFSocketError' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:24: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                        `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:38: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                      `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:55: error: cannot find type 'CFTimeInterval' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
[15/41] Compiling pingx PacketSenderImpl.swift
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:103:37: error: cannot find type 'CFSocketError' in scope
101 |     }
102 |
103 |     func handleSocketError(_ error: CFSocketError, request: Request) {
    |                                     `- error: cannot find type 'CFSocketError' in scope
104 |         switch error {
105 |         case .error:
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:69:74: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 67 |         }
 68 |
 69 |         guard let packet = try? packetFactory.create(identifier: request.id, type: request.type) else {
    |                                                                          `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 70 |             delegate?.packetSender(packetSender: self, request: request, didCompleteWithError: .unableToCreatePacket)
 71 |             return
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:75:59: error: cannot find type 'CFData' in scope
 73 |
 74 |         let error = pingxSocket.send(
 75 |             address: request.destination.socketAddress as CFData,
    |                                                           `- error: cannot find type 'CFData' in scope
 76 |             data: packet.data as CFData,
 77 |             timeout: request.sendTimeout
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:76:34: error: cannot find type 'CFData' in scope
 74 |         let error = pingxSocket.send(
 75 |             address: request.destination.socketAddress as CFData,
 76 |             data: packet.data as CFData,
    |                                  `- error: cannot find type 'CFData' in scope
 77 |             timeout: request.sendTimeout
 78 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:74: error: cannot find type 'CFSocketError' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:24: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                        `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:38: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                      `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:55: error: cannot find type 'CFTimeInterval' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
[16/41] Compiling pingx Pinger.swift
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:103:37: error: cannot find type 'CFSocketError' in scope
101 |     }
102 |
103 |     func handleSocketError(_ error: CFSocketError, request: Request) {
    |                                     `- error: cannot find type 'CFSocketError' in scope
104 |         switch error {
105 |         case .error:
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:69:74: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 67 |         }
 68 |
 69 |         guard let packet = try? packetFactory.create(identifier: request.id, type: request.type) else {
    |                                                                          `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 70 |             delegate?.packetSender(packetSender: self, request: request, didCompleteWithError: .unableToCreatePacket)
 71 |             return
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:75:59: error: cannot find type 'CFData' in scope
 73 |
 74 |         let error = pingxSocket.send(
 75 |             address: request.destination.socketAddress as CFData,
    |                                                           `- error: cannot find type 'CFData' in scope
 76 |             data: packet.data as CFData,
 77 |             timeout: request.sendTimeout
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:76:34: error: cannot find type 'CFData' in scope
 74 |         let error = pingxSocket.send(
 75 |             address: request.destination.socketAddress as CFData,
 76 |             data: packet.data as CFData,
    |                                  `- error: cannot find type 'CFData' in scope
 77 |             timeout: request.sendTimeout
 78 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:74: error: cannot find type 'CFSocketError' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:24: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                        `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:38: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                      `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:55: error: cannot find type 'CFTimeInterval' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
[17/41] Compiling pingx PingerConfiguration.swift
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:103:37: error: cannot find type 'CFSocketError' in scope
101 |     }
102 |
103 |     func handleSocketError(_ error: CFSocketError, request: Request) {
    |                                     `- error: cannot find type 'CFSocketError' in scope
104 |         switch error {
105 |         case .error:
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:69:74: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 67 |         }
 68 |
 69 |         guard let packet = try? packetFactory.create(identifier: request.id, type: request.type) else {
    |                                                                          `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 70 |             delegate?.packetSender(packetSender: self, request: request, didCompleteWithError: .unableToCreatePacket)
 71 |             return
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:75:59: error: cannot find type 'CFData' in scope
 73 |
 74 |         let error = pingxSocket.send(
 75 |             address: request.destination.socketAddress as CFData,
    |                                                           `- error: cannot find type 'CFData' in scope
 76 |             data: packet.data as CFData,
 77 |             timeout: request.sendTimeout
/host/spi-builder-workspace/Sources/pingx/PacketSender/Impl/PacketSenderImpl.swift:76:34: error: cannot find type 'CFData' in scope
 74 |         let error = pingxSocket.send(
 75 |             address: request.destination.socketAddress as CFData,
 76 |             data: packet.data as CFData,
    |                                  `- error: cannot find type 'CFData' in scope
 77 |             timeout: request.sendTimeout
 78 |         )
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:74: error: cannot find type 'CFSocketError' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:24: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                        `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:38: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                      `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:55: error: cannot find type 'CFTimeInterval' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
[18/41] Compiling pingx TimerFactory.swift
[19/41] Compiling pingx TimerFactoryImpl.swift
[20/41] Compiling pingx Atomic.swift
[21/41] Compiling pingx CommandBlock.swift
[22/41] Compiling pingx FatalError.swift
[23/41] Compiling pingx IPv4Address.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
[24/41] Compiling pingx IPHeader.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
[25/41] Compiling pingx PacketType.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
[26/41] Compiling pingx ICMPHeader.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
[27/41] Compiling pingx ICMPPacket.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
[28/41] Compiling pingx PingxSocket.swift
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:74: error: cannot find type 'CFSocketError' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:24: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                        `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:38: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                      `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:55: error: cannot find type 'CFTimeInterval' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:35:17: error: cannot find type 'CFSocket' in scope
33 |     // MARK: Properties
34 |
35 |     let socket: CFSocket
   |                 `- error: cannot find type 'CFSocket' in scope
36 |     let socketSource: CFRunLoopSource
37 |     let unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:36:23: error: cannot find type 'CFRunLoopSource' in scope
34 |
35 |     let socket: CFSocket
36 |     let socketSource: CFRunLoopSource
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
37 |     let unmanaged: Unmanaged<Instance>
38 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:74: error: cannot find type 'CFSocketError' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:24: error: cannot find type 'CFData' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                        `- error: cannot find type 'CFData' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:38: error: cannot find type 'CFData' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                      `- error: cannot find type 'CFData' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:55: error: cannot find type 'CFTimeInterval' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:63:9: error: cannot find 'CFRunLoopSourceInvalidate' in scope
61 |
62 |     func invalidate() {
63 |         CFRunLoopSourceInvalidate(socketSource)
   |         `- error: cannot find 'CFRunLoopSourceInvalidate' in scope
64 |         CFSocketInvalidate(socket)
65 |         unmanaged.release()
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:64:9: error: cannot find 'CFSocketInvalidate' in scope
62 |     func invalidate() {
63 |         CFRunLoopSourceInvalidate(socketSource)
64 |         CFSocketInvalidate(socket)
   |         `- error: cannot find 'CFSocketInvalidate' in scope
65 |         unmanaged.release()
66 |     }
[29/41] Compiling pingx PingxSocketImpl.swift
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:74: error: cannot find type 'CFSocketError' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:24: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                        `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:38: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                      `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:55: error: cannot find type 'CFTimeInterval' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:35:17: error: cannot find type 'CFSocket' in scope
33 |     // MARK: Properties
34 |
35 |     let socket: CFSocket
   |                 `- error: cannot find type 'CFSocket' in scope
36 |     let socketSource: CFRunLoopSource
37 |     let unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:36:23: error: cannot find type 'CFRunLoopSource' in scope
34 |
35 |     let socket: CFSocket
36 |     let socketSource: CFRunLoopSource
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
37 |     let unmanaged: Unmanaged<Instance>
38 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:74: error: cannot find type 'CFSocketError' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:24: error: cannot find type 'CFData' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                        `- error: cannot find type 'CFData' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:38: error: cannot find type 'CFData' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                      `- error: cannot find type 'CFData' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:55: error: cannot find type 'CFTimeInterval' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:63:9: error: cannot find 'CFRunLoopSourceInvalidate' in scope
61 |
62 |     func invalidate() {
63 |         CFRunLoopSourceInvalidate(socketSource)
   |         `- error: cannot find 'CFRunLoopSourceInvalidate' in scope
64 |         CFSocketInvalidate(socket)
65 |         unmanaged.release()
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:64:9: error: cannot find 'CFSocketInvalidate' in scope
62 |     func invalidate() {
63 |         CFRunLoopSourceInvalidate(socketSource)
64 |         CFSocketInvalidate(socket)
   |         `- error: cannot find 'CFSocketInvalidate' in scope
65 |         unmanaged.release()
66 |     }
[30/41] Compiling pingx PingxTimer.swift
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:74: error: cannot find type 'CFSocketError' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:24: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                        `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:38: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                      `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:55: error: cannot find type 'CFTimeInterval' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:35:17: error: cannot find type 'CFSocket' in scope
33 |     // MARK: Properties
34 |
35 |     let socket: CFSocket
   |                 `- error: cannot find type 'CFSocket' in scope
36 |     let socketSource: CFRunLoopSource
37 |     let unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:36:23: error: cannot find type 'CFRunLoopSource' in scope
34 |
35 |     let socket: CFSocket
36 |     let socketSource: CFRunLoopSource
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
37 |     let unmanaged: Unmanaged<Instance>
38 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:74: error: cannot find type 'CFSocketError' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:24: error: cannot find type 'CFData' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                        `- error: cannot find type 'CFData' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:38: error: cannot find type 'CFData' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                      `- error: cannot find type 'CFData' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:55: error: cannot find type 'CFTimeInterval' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:63:9: error: cannot find 'CFRunLoopSourceInvalidate' in scope
61 |
62 |     func invalidate() {
63 |         CFRunLoopSourceInvalidate(socketSource)
   |         `- error: cannot find 'CFRunLoopSourceInvalidate' in scope
64 |         CFSocketInvalidate(socket)
65 |         unmanaged.release()
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:64:9: error: cannot find 'CFSocketInvalidate' in scope
62 |     func invalidate() {
63 |         CFRunLoopSourceInvalidate(socketSource)
64 |         CFSocketInvalidate(socket)
   |         `- error: cannot find 'CFSocketInvalidate' in scope
65 |         unmanaged.release()
66 |     }
[31/41] Compiling pingx PingxDispatchSourceTimer.swift
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:74: error: cannot find type 'CFSocketError' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:24: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                        `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:38: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                      `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:55: error: cannot find type 'CFTimeInterval' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:35:17: error: cannot find type 'CFSocket' in scope
33 |     // MARK: Properties
34 |
35 |     let socket: CFSocket
   |                 `- error: cannot find type 'CFSocket' in scope
36 |     let socketSource: CFRunLoopSource
37 |     let unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:36:23: error: cannot find type 'CFRunLoopSource' in scope
34 |
35 |     let socket: CFSocket
36 |     let socketSource: CFRunLoopSource
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
37 |     let unmanaged: Unmanaged<Instance>
38 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:74: error: cannot find type 'CFSocketError' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:24: error: cannot find type 'CFData' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                        `- error: cannot find type 'CFData' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:38: error: cannot find type 'CFData' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                      `- error: cannot find type 'CFData' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:55: error: cannot find type 'CFTimeInterval' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:63:9: error: cannot find 'CFRunLoopSourceInvalidate' in scope
61 |
62 |     func invalidate() {
63 |         CFRunLoopSourceInvalidate(socketSource)
   |         `- error: cannot find 'CFRunLoopSourceInvalidate' in scope
64 |         CFSocketInvalidate(socket)
65 |         unmanaged.release()
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:64:9: error: cannot find 'CFSocketInvalidate' in scope
62 |     func invalidate() {
63 |         CFRunLoopSourceInvalidate(socketSource)
64 |         CFSocketInvalidate(socket)
   |         `- error: cannot find 'CFSocketInvalidate' in scope
65 |         unmanaged.release()
66 |     }
[32/41] Compiling pingx PacketSender.swift
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:74: error: cannot find type 'CFSocketError' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:24: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                        `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:38: error: cannot find type 'CFData' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                      `- error: cannot find type 'CFData' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Api/PingxSocket.swift:36:55: error: cannot find type 'CFTimeInterval' in scope
34 |     // MARK: Methods
35 |
36 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
37 |     func invalidate()
38 | }
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:35:17: error: cannot find type 'CFSocket' in scope
33 |     // MARK: Properties
34 |
35 |     let socket: CFSocket
   |                 `- error: cannot find type 'CFSocket' in scope
36 |     let socketSource: CFRunLoopSource
37 |     let unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:36:23: error: cannot find type 'CFRunLoopSource' in scope
34 |
35 |     let socket: CFSocket
36 |     let socketSource: CFRunLoopSource
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
37 |     let unmanaged: Unmanaged<Instance>
38 |
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:42:17: error: cannot find type 'CFSocket' in scope
40 |
41 |     init(
42 |         socket: CFSocket,
   |                 `- error: cannot find type 'CFSocket' in scope
43 |         socketSource: CFRunLoopSource,
44 |         unmanaged: Unmanaged<Instance>
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:43:23: error: cannot find type 'CFRunLoopSource' in scope
41 |     init(
42 |         socket: CFSocket,
43 |         socketSource: CFRunLoopSource,
   |                       `- error: cannot find type 'CFRunLoopSource' in scope
44 |         unmanaged: Unmanaged<Instance>
45 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:74: error: cannot find type 'CFSocketError' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                                                          `- error: cannot find type 'CFSocketError' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:24: error: cannot find type 'CFData' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                        `- error: cannot find type 'CFData' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:38: error: cannot find type 'CFData' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                      `- error: cannot find type 'CFData' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:53:55: error: cannot find type 'CFTimeInterval' in scope
51 |     // MARK: Methods
52 |
53 |     func send(address: CFData, data: CFData, timeout: CFTimeInterval) -> CFSocketError {
   |                                                       `- error: cannot find type 'CFTimeInterval' in scope
54 |         CFSocketSendData(
55 |             socket,
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:63:9: error: cannot find 'CFRunLoopSourceInvalidate' in scope
61 |
62 |     func invalidate() {
63 |         CFRunLoopSourceInvalidate(socketSource)
   |         `- error: cannot find 'CFRunLoopSourceInvalidate' in scope
64 |         CFSocketInvalidate(socket)
65 |         unmanaged.release()
/host/spi-builder-workspace/Sources/pingx/Model/Socket/Impl/PingxSocketImpl.swift:64:9: error: cannot find 'CFSocketInvalidate' in scope
62 |     func invalidate() {
63 |         CFRunLoopSourceInvalidate(socketSource)
64 |         CFSocketInvalidate(socket)
   |         `- error: cannot find 'CFSocketInvalidate' in scope
65 |         unmanaged.release()
66 |     }
[33/41] Compiling pingx ICMPType.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
[34/41] Compiling pingx Packet.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
[35/41] Compiling pingx Payload.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
[36/41] Compiling pingx Request.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
[37/41] Compiling pingx Response.swift
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:43:20: error: cannot find type 'CFAbsoluteTime' in scope
41 |     init(
42 |         identifier: PayloadID = (112, 105, 110, 103, 120, 0, 0, 0),
43 |         timestamp: CFAbsoluteTime = CFAbsoluteTimeGetCurrent()
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
44 |     ) {
45 |         self.identifier = identifier
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
[38/41] Compiling pingx PingerDelegate.swift
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:86:44: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 84 |     public func ping(request: Request) {
 85 |         func validateAndSendRequest() {
 86 |             guard outgoingRequests[request.id] == nil else {
    |                                            `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 87 |                 delegate?.pinger(self, request: request, didCompleteWithError: .pingInProgress)
 88 |                 return
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:96:38: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 94 |             }
 95 |
 96 |             outgoingRequests[request.id] = request
    |                                      `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 97 |             packetSender.send(request)
 98 |         }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:105:64: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
103 |     public func stop(request: Request) {
104 |         pingerQueue.async { [weak self] in
105 |             self?.outgoingRequests.removeValue(forKey: request.id)
    |                                                                `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
106 |         }
107 |     }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:111:56: error: cannot convert value of type 'Request.ID' (aka 'ObjectIdentifier') to expected argument type 'UInt16'
109 |     public func stop(requestId: Request.ID) {
110 |         pingerQueue.async { [weak self] in
111 |             self?.outgoingRequests.removeValue(forKey: requestId)
    |                                                        `- error: cannot convert value of type 'Request.ID' (aka 'ObjectIdentifier') to expected argument type 'UInt16'
112 |         }
113 |     }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:147:58: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
145 |     func scheduleNextRequestIfPositiveDemand(_ request: Request) {
146 |         guard request.demand != .none else {
147 |             outgoingRequests.removeValue(forKey: request.id)
    |                                                          `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
148 |             return
149 |         }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:172:28: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
170 |             let response = Response(
171 |                 destination: package.ipHeader.sourceAddress,
172 |                 duration: (CFAbsoluteTimeGetCurrent() - package.icmpHeader.payload.timestamp) * 1000
    |                            `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
173 |             )
174 |
[39/41] Compiling pingx ICMPResponseValidationError.swift
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:86:44: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 84 |     public func ping(request: Request) {
 85 |         func validateAndSendRequest() {
 86 |             guard outgoingRequests[request.id] == nil else {
    |                                            `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 87 |                 delegate?.pinger(self, request: request, didCompleteWithError: .pingInProgress)
 88 |                 return
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:96:38: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 94 |             }
 95 |
 96 |             outgoingRequests[request.id] = request
    |                                      `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 97 |             packetSender.send(request)
 98 |         }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:105:64: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
103 |     public func stop(request: Request) {
104 |         pingerQueue.async { [weak self] in
105 |             self?.outgoingRequests.removeValue(forKey: request.id)
    |                                                                `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
106 |         }
107 |     }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:111:56: error: cannot convert value of type 'Request.ID' (aka 'ObjectIdentifier') to expected argument type 'UInt16'
109 |     public func stop(requestId: Request.ID) {
110 |         pingerQueue.async { [weak self] in
111 |             self?.outgoingRequests.removeValue(forKey: requestId)
    |                                                        `- error: cannot convert value of type 'Request.ID' (aka 'ObjectIdentifier') to expected argument type 'UInt16'
112 |         }
113 |     }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:147:58: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
145 |     func scheduleNextRequestIfPositiveDemand(_ request: Request) {
146 |         guard request.demand != .none else {
147 |             outgoingRequests.removeValue(forKey: request.id)
    |                                                          `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
148 |             return
149 |         }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:172:28: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
170 |             let response = Response(
171 |                 destination: package.ipHeader.sourceAddress,
172 |                 duration: (CFAbsoluteTimeGetCurrent() - package.icmpHeader.payload.timestamp) * 1000
    |                            `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
173 |             )
174 |
[40/41] Compiling pingx PingerError.swift
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:86:44: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 84 |     public func ping(request: Request) {
 85 |         func validateAndSendRequest() {
 86 |             guard outgoingRequests[request.id] == nil else {
    |                                            `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 87 |                 delegate?.pinger(self, request: request, didCompleteWithError: .pingInProgress)
 88 |                 return
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:96:38: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 94 |             }
 95 |
 96 |             outgoingRequests[request.id] = request
    |                                      `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 97 |             packetSender.send(request)
 98 |         }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:105:64: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
103 |     public func stop(request: Request) {
104 |         pingerQueue.async { [weak self] in
105 |             self?.outgoingRequests.removeValue(forKey: request.id)
    |                                                                `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
106 |         }
107 |     }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:111:56: error: cannot convert value of type 'Request.ID' (aka 'ObjectIdentifier') to expected argument type 'UInt16'
109 |     public func stop(requestId: Request.ID) {
110 |         pingerQueue.async { [weak self] in
111 |             self?.outgoingRequests.removeValue(forKey: requestId)
    |                                                        `- error: cannot convert value of type 'Request.ID' (aka 'ObjectIdentifier') to expected argument type 'UInt16'
112 |         }
113 |     }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:147:58: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
145 |     func scheduleNextRequestIfPositiveDemand(_ request: Request) {
146 |         guard request.demand != .none else {
147 |             outgoingRequests.removeValue(forKey: request.id)
    |                                                          `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
148 |             return
149 |         }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:172:28: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
170 |             let response = Response(
171 |                 destination: package.ipHeader.sourceAddress,
172 |                 duration: (CFAbsoluteTimeGetCurrent() - package.icmpHeader.payload.timestamp) * 1000
    |                            `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
173 |             )
174 |
[41/41] Compiling pingx ContinuousPinger.swift
/host/spi-builder-workspace/Sources/pingx/Model/Request/Request.swift:32:21: error: cannot find 'CFSwapInt16HostToBig' in scope
 30 |
 31 |     /// The unique identifier for the request.
 32 |     public let id = CFSwapInt16HostToBig(UInt16.random(in: 0..<UInt16.max))
    |                     `- error: cannot find 'CFSwapInt16HostToBig' in scope
 33 |
 34 |     /// The type of protocol used to determine the ping.
/host/spi-builder-workspace/Sources/pingx/Model/Payload/Payload.swift:37:20: error: cannot find type 'CFAbsoluteTime' in scope
35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:86:44: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 84 |     public func ping(request: Request) {
 85 |         func validateAndSendRequest() {
 86 |             guard outgoingRequests[request.id] == nil else {
    |                                            `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 87 |                 delegate?.pinger(self, request: request, didCompleteWithError: .pingInProgress)
 88 |                 return
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:96:38: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 94 |             }
 95 |
 96 |             outgoingRequests[request.id] = request
    |                                      `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
 97 |             packetSender.send(request)
 98 |         }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:105:64: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
103 |     public func stop(request: Request) {
104 |         pingerQueue.async { [weak self] in
105 |             self?.outgoingRequests.removeValue(forKey: request.id)
    |                                                                `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
106 |         }
107 |     }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:111:56: error: cannot convert value of type 'Request.ID' (aka 'ObjectIdentifier') to expected argument type 'UInt16'
109 |     public func stop(requestId: Request.ID) {
110 |         pingerQueue.async { [weak self] in
111 |             self?.outgoingRequests.removeValue(forKey: requestId)
    |                                                        `- error: cannot convert value of type 'Request.ID' (aka 'ObjectIdentifier') to expected argument type 'UInt16'
112 |         }
113 |     }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:147:58: error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
145 |     func scheduleNextRequestIfPositiveDemand(_ request: Request) {
146 |         guard request.demand != .none else {
147 |             outgoingRequests.removeValue(forKey: request.id)
    |                                                          `- error: cannot convert value of type 'ObjectIdentifier' to expected argument type 'UInt16'
148 |             return
149 |         }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:172:28: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
170 |             let response = Response(
171 |                 destination: package.ipHeader.sourceAddress,
172 |                 duration: (CFAbsoluteTimeGetCurrent() - package.icmpHeader.payload.timestamp) * 1000
    |                            `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
173 |             )
174 |
BUILD FAILURE 6.1 linux