The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build pingx, reference main (66c254), with Swift 6.1 for Wasm on 30 May 2025 04:09:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

35 |     // "pingx"
36 |     let identifier: PayloadID
37 |     let timestamp: CFAbsoluteTime
   |                    `- error: cannot find type 'CFAbsoluteTime' in scope
38 |
39 |     // MARK: Initializer
[4/37] 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
[5/37] 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
[6/37] 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
[7/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 |     }
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:28:32: error: cannot find type 'DispatchSourceTimer' in scope
26 |
27 | final class PingxDispatchSourceTimer: PingxTimer {
28 |     private var dispatchTimer: DispatchSourceTimer?
   |                                `- error: cannot find type 'DispatchSourceTimer' in scope
29 |     private let timeinterval: TimeInterval
30 |     private let eventQueue: DispatchQueue
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:30:29: error: cannot find type 'DispatchQueue' in scope
28 |     private var dispatchTimer: DispatchSourceTimer?
29 |     private let timeinterval: TimeInterval
30 |     private let eventQueue: DispatchQueue
   |                             `- error: cannot find type 'DispatchQueue' in scope
31 |     private let eventHandler: () -> Void
32 |
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:35:21: error: cannot find type 'DispatchQueue' in scope
33 |     init(
34 |         timeInterval: TimeInterval,
35 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
36 |         eventHandler: @escaping () -> Void
37 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:46:25: error: cannot find 'DispatchSource' in scope
44 |         guard dispatchTimer == nil else { return }
45 |
46 |         dispatchTimer = DispatchSource.makeTimerSource(queue: eventQueue)
   |                         `- error: cannot find 'DispatchSource' in scope
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
48 |         dispatchTimer?.setEventHandler(
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:47:44: error: cannot infer contextual base in reference to member 'now'
45 |
46 |         dispatchTimer = DispatchSource.makeTimerSource(queue: eventQueue)
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
   |                                            `- error: cannot infer contextual base in reference to member 'now'
48 |         dispatchTimer?.setEventHandler(
49 |             handler: DispatchWorkItem(block: eventHandler)
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:49:22: error: cannot find 'DispatchWorkItem' in scope
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
48 |         dispatchTimer?.setEventHandler(
49 |             handler: DispatchWorkItem(block: eventHandler)
   |                      `- error: cannot find 'DispatchWorkItem' in scope
50 |         )
51 |         dispatchTimer?.resume()
[8/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 |     }
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:28:32: error: cannot find type 'DispatchSourceTimer' in scope
26 |
27 | final class PingxDispatchSourceTimer: PingxTimer {
28 |     private var dispatchTimer: DispatchSourceTimer?
   |                                `- error: cannot find type 'DispatchSourceTimer' in scope
29 |     private let timeinterval: TimeInterval
30 |     private let eventQueue: DispatchQueue
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:30:29: error: cannot find type 'DispatchQueue' in scope
28 |     private var dispatchTimer: DispatchSourceTimer?
29 |     private let timeinterval: TimeInterval
30 |     private let eventQueue: DispatchQueue
   |                             `- error: cannot find type 'DispatchQueue' in scope
31 |     private let eventHandler: () -> Void
32 |
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:35:21: error: cannot find type 'DispatchQueue' in scope
33 |     init(
34 |         timeInterval: TimeInterval,
35 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
36 |         eventHandler: @escaping () -> Void
37 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:46:25: error: cannot find 'DispatchSource' in scope
44 |         guard dispatchTimer == nil else { return }
45 |
46 |         dispatchTimer = DispatchSource.makeTimerSource(queue: eventQueue)
   |                         `- error: cannot find 'DispatchSource' in scope
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
48 |         dispatchTimer?.setEventHandler(
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:47:44: error: cannot infer contextual base in reference to member 'now'
45 |
46 |         dispatchTimer = DispatchSource.makeTimerSource(queue: eventQueue)
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
   |                                            `- error: cannot infer contextual base in reference to member 'now'
48 |         dispatchTimer?.setEventHandler(
49 |             handler: DispatchWorkItem(block: eventHandler)
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:49:22: error: cannot find 'DispatchWorkItem' in scope
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
48 |         dispatchTimer?.setEventHandler(
49 |             handler: DispatchWorkItem(block: eventHandler)
   |                      `- error: cannot find 'DispatchWorkItem' in scope
50 |         )
51 |         dispatchTimer?.resume()
[9/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 |     }
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:28:32: error: cannot find type 'DispatchSourceTimer' in scope
26 |
27 | final class PingxDispatchSourceTimer: PingxTimer {
28 |     private var dispatchTimer: DispatchSourceTimer?
   |                                `- error: cannot find type 'DispatchSourceTimer' in scope
29 |     private let timeinterval: TimeInterval
30 |     private let eventQueue: DispatchQueue
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:30:29: error: cannot find type 'DispatchQueue' in scope
28 |     private var dispatchTimer: DispatchSourceTimer?
29 |     private let timeinterval: TimeInterval
30 |     private let eventQueue: DispatchQueue
   |                             `- error: cannot find type 'DispatchQueue' in scope
31 |     private let eventHandler: () -> Void
32 |
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:35:21: error: cannot find type 'DispatchQueue' in scope
33 |     init(
34 |         timeInterval: TimeInterval,
35 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
36 |         eventHandler: @escaping () -> Void
37 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:46:25: error: cannot find 'DispatchSource' in scope
44 |         guard dispatchTimer == nil else { return }
45 |
46 |         dispatchTimer = DispatchSource.makeTimerSource(queue: eventQueue)
   |                         `- error: cannot find 'DispatchSource' in scope
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
48 |         dispatchTimer?.setEventHandler(
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:47:44: error: cannot infer contextual base in reference to member 'now'
45 |
46 |         dispatchTimer = DispatchSource.makeTimerSource(queue: eventQueue)
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
   |                                            `- error: cannot infer contextual base in reference to member 'now'
48 |         dispatchTimer?.setEventHandler(
49 |             handler: DispatchWorkItem(block: eventHandler)
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:49:22: error: cannot find 'DispatchWorkItem' in scope
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
48 |         dispatchTimer?.setEventHandler(
49 |             handler: DispatchWorkItem(block: eventHandler)
   |                      `- error: cannot find 'DispatchWorkItem' in scope
50 |         )
51 |         dispatchTimer?.resume()
[10/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 |     }
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:28:32: error: cannot find type 'DispatchSourceTimer' in scope
26 |
27 | final class PingxDispatchSourceTimer: PingxTimer {
28 |     private var dispatchTimer: DispatchSourceTimer?
   |                                `- error: cannot find type 'DispatchSourceTimer' in scope
29 |     private let timeinterval: TimeInterval
30 |     private let eventQueue: DispatchQueue
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:30:29: error: cannot find type 'DispatchQueue' in scope
28 |     private var dispatchTimer: DispatchSourceTimer?
29 |     private let timeinterval: TimeInterval
30 |     private let eventQueue: DispatchQueue
   |                             `- error: cannot find type 'DispatchQueue' in scope
31 |     private let eventHandler: () -> Void
32 |
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:35:21: error: cannot find type 'DispatchQueue' in scope
33 |     init(
34 |         timeInterval: TimeInterval,
35 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
36 |         eventHandler: @escaping () -> Void
37 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:46:25: error: cannot find 'DispatchSource' in scope
44 |         guard dispatchTimer == nil else { return }
45 |
46 |         dispatchTimer = DispatchSource.makeTimerSource(queue: eventQueue)
   |                         `- error: cannot find 'DispatchSource' in scope
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
48 |         dispatchTimer?.setEventHandler(
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:47:44: error: cannot infer contextual base in reference to member 'now'
45 |
46 |         dispatchTimer = DispatchSource.makeTimerSource(queue: eventQueue)
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
   |                                            `- error: cannot infer contextual base in reference to member 'now'
48 |         dispatchTimer?.setEventHandler(
49 |             handler: DispatchWorkItem(block: eventHandler)
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:49:22: error: cannot find 'DispatchWorkItem' in scope
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
48 |         dispatchTimer?.setEventHandler(
49 |             handler: DispatchWorkItem(block: eventHandler)
   |                      `- error: cannot find 'DispatchWorkItem' in scope
50 |         )
51 |         dispatchTimer?.resume()
[11/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 |     }
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:28:32: error: cannot find type 'DispatchSourceTimer' in scope
26 |
27 | final class PingxDispatchSourceTimer: PingxTimer {
28 |     private var dispatchTimer: DispatchSourceTimer?
   |                                `- error: cannot find type 'DispatchSourceTimer' in scope
29 |     private let timeinterval: TimeInterval
30 |     private let eventQueue: DispatchQueue
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:30:29: error: cannot find type 'DispatchQueue' in scope
28 |     private var dispatchTimer: DispatchSourceTimer?
29 |     private let timeinterval: TimeInterval
30 |     private let eventQueue: DispatchQueue
   |                             `- error: cannot find type 'DispatchQueue' in scope
31 |     private let eventHandler: () -> Void
32 |
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:35:21: error: cannot find type 'DispatchQueue' in scope
33 |     init(
34 |         timeInterval: TimeInterval,
35 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
36 |         eventHandler: @escaping () -> Void
37 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:46:25: error: cannot find 'DispatchSource' in scope
44 |         guard dispatchTimer == nil else { return }
45 |
46 |         dispatchTimer = DispatchSource.makeTimerSource(queue: eventQueue)
   |                         `- error: cannot find 'DispatchSource' in scope
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
48 |         dispatchTimer?.setEventHandler(
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:47:44: error: cannot infer contextual base in reference to member 'now'
45 |
46 |         dispatchTimer = DispatchSource.makeTimerSource(queue: eventQueue)
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
   |                                            `- error: cannot infer contextual base in reference to member 'now'
48 |         dispatchTimer?.setEventHandler(
49 |             handler: DispatchWorkItem(block: eventHandler)
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:49:22: error: cannot find 'DispatchWorkItem' in scope
47 |         dispatchTimer?.schedule(deadline: .now(), repeating: timeinterval)
48 |         dispatchTimer?.setEventHandler(
49 |             handler: DispatchWorkItem(block: eventHandler)
   |                      `- error: cannot find 'DispatchWorkItem' in scope
50 |         )
51 |         dispatchTimer?.resume()
[12/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
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 |
31 |     /// The interval between requests.
32 |     public let interval: DispatchTimeInterval
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:36:27: error: cannot find type 'DispatchTimeInterval' in scope
34 |     // MARK: Initializer
35 |
36 |     public init(interval: DispatchTimeInterval = .seconds(1)) {
   |                           `- error: cannot find type 'DispatchTimeInterval' in scope
37 |         self.interval = interval
38 |     }
[13/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
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 |
31 |     /// The interval between requests.
32 |     public let interval: DispatchTimeInterval
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:36:27: error: cannot find type 'DispatchTimeInterval' in scope
34 |     // MARK: Initializer
35 |
36 |     public init(interval: DispatchTimeInterval = .seconds(1)) {
   |                           `- error: cannot find type 'DispatchTimeInterval' in scope
37 |         self.interval = interval
38 |     }
[14/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
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 |
31 |     /// The interval between requests.
32 |     public let interval: DispatchTimeInterval
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:36:27: error: cannot find type 'DispatchTimeInterval' in scope
34 |     // MARK: Initializer
35 |
36 |     public init(interval: DispatchTimeInterval = .seconds(1)) {
   |                           `- error: cannot find type 'DispatchTimeInterval' in scope
37 |         self.interval = interval
38 |     }
[15/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
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 |
31 |     /// The interval between requests.
32 |     public let interval: DispatchTimeInterval
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:36:27: error: cannot find type 'DispatchTimeInterval' in scope
34 |     // MARK: Initializer
35 |
36 |     public init(interval: DispatchTimeInterval = .seconds(1)) {
   |                           `- error: cannot find type 'DispatchTimeInterval' in scope
37 |         self.interval = interval
38 |     }
[16/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
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 |
31 |     /// The interval between requests.
32 |     public let interval: DispatchTimeInterval
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:36:27: error: cannot find type 'DispatchTimeInterval' in scope
34 |     // MARK: Initializer
35 |
36 |     public init(interval: DispatchTimeInterval = .seconds(1)) {
   |                           `- error: cannot find type 'DispatchTimeInterval' in scope
37 |         self.interval = interval
38 |     }
[17/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.
[18/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.
[19/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.
[20/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.
[21/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.
[22/41] Compiling pingx TimerFactory.swift
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Api/TimerFactory.swift:31:21: error: cannot find type 'DispatchQueue' in scope
29 |     func createDispatchSourceTimer(
30 |         timeInterval: TimeInterval,
31 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
32 |         eventHandler: @escaping () -> Void
33 |     ) -> PingxTimer
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Impl/TimerFactoryImpl.swift:30:21: error: cannot find type 'DispatchQueue' in scope
28 |     func createDispatchSourceTimer(
29 |         timeInterval: TimeInterval,
30 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
31 |         eventHandler: @escaping () -> Void
32 |     ) -> PingxTimer {
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:35:21: error: cannot find type 'DispatchQueue' in scope
33 |     init(
34 |         timeInterval: TimeInterval,
35 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
36 |         eventHandler: @escaping () -> Void
37 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Atomic/Atomic.swift:32:25: error: cannot find 'DispatchQueue' in scope
30 |     // MARK: Properties
31 |
32 |     private let queue = DispatchQueue(label: UUID().uuidString)
   |                         `- error: cannot find 'DispatchQueue' in scope
33 |     private var value: T
34 |
[23/41] Compiling pingx TimerFactoryImpl.swift
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Api/TimerFactory.swift:31:21: error: cannot find type 'DispatchQueue' in scope
29 |     func createDispatchSourceTimer(
30 |         timeInterval: TimeInterval,
31 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
32 |         eventHandler: @escaping () -> Void
33 |     ) -> PingxTimer
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Impl/TimerFactoryImpl.swift:30:21: error: cannot find type 'DispatchQueue' in scope
28 |     func createDispatchSourceTimer(
29 |         timeInterval: TimeInterval,
30 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
31 |         eventHandler: @escaping () -> Void
32 |     ) -> PingxTimer {
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:35:21: error: cannot find type 'DispatchQueue' in scope
33 |     init(
34 |         timeInterval: TimeInterval,
35 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
36 |         eventHandler: @escaping () -> Void
37 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Atomic/Atomic.swift:32:25: error: cannot find 'DispatchQueue' in scope
30 |     // MARK: Properties
31 |
32 |     private let queue = DispatchQueue(label: UUID().uuidString)
   |                         `- error: cannot find 'DispatchQueue' in scope
33 |     private var value: T
34 |
[24/41] Compiling pingx Atomic.swift
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Api/TimerFactory.swift:31:21: error: cannot find type 'DispatchQueue' in scope
29 |     func createDispatchSourceTimer(
30 |         timeInterval: TimeInterval,
31 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
32 |         eventHandler: @escaping () -> Void
33 |     ) -> PingxTimer
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Impl/TimerFactoryImpl.swift:30:21: error: cannot find type 'DispatchQueue' in scope
28 |     func createDispatchSourceTimer(
29 |         timeInterval: TimeInterval,
30 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
31 |         eventHandler: @escaping () -> Void
32 |     ) -> PingxTimer {
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:35:21: error: cannot find type 'DispatchQueue' in scope
33 |     init(
34 |         timeInterval: TimeInterval,
35 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
36 |         eventHandler: @escaping () -> Void
37 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Atomic/Atomic.swift:32:25: error: cannot find 'DispatchQueue' in scope
30 |     // MARK: Properties
31 |
32 |     private let queue = DispatchQueue(label: UUID().uuidString)
   |                         `- error: cannot find 'DispatchQueue' in scope
33 |     private var value: T
34 |
[25/41] Compiling pingx CommandBlock.swift
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Api/TimerFactory.swift:31:21: error: cannot find type 'DispatchQueue' in scope
29 |     func createDispatchSourceTimer(
30 |         timeInterval: TimeInterval,
31 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
32 |         eventHandler: @escaping () -> Void
33 |     ) -> PingxTimer
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Impl/TimerFactoryImpl.swift:30:21: error: cannot find type 'DispatchQueue' in scope
28 |     func createDispatchSourceTimer(
29 |         timeInterval: TimeInterval,
30 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
31 |         eventHandler: @escaping () -> Void
32 |     ) -> PingxTimer {
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:35:21: error: cannot find type 'DispatchQueue' in scope
33 |     init(
34 |         timeInterval: TimeInterval,
35 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
36 |         eventHandler: @escaping () -> Void
37 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Atomic/Atomic.swift:32:25: error: cannot find 'DispatchQueue' in scope
30 |     // MARK: Properties
31 |
32 |     private let queue = DispatchQueue(label: UUID().uuidString)
   |                         `- error: cannot find 'DispatchQueue' in scope
33 |     private var value: T
34 |
[26/41] Compiling pingx FatalError.swift
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Api/TimerFactory.swift:31:21: error: cannot find type 'DispatchQueue' in scope
29 |     func createDispatchSourceTimer(
30 |         timeInterval: TimeInterval,
31 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
32 |         eventHandler: @escaping () -> Void
33 |     ) -> PingxTimer
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Impl/TimerFactoryImpl.swift:30:21: error: cannot find type 'DispatchQueue' in scope
28 |     func createDispatchSourceTimer(
29 |         timeInterval: TimeInterval,
30 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
31 |         eventHandler: @escaping () -> Void
32 |     ) -> PingxTimer {
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:35:21: error: cannot find type 'DispatchQueue' in scope
33 |     init(
34 |         timeInterval: TimeInterval,
35 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
36 |         eventHandler: @escaping () -> Void
37 |     ) {
/host/spi-builder-workspace/Sources/pingx/Model/Atomic/Atomic.swift:32:25: error: cannot find 'DispatchQueue' in scope
30 |     // MARK: Properties
31 |
32 |     private let queue = DispatchQueue(label: UUID().uuidString)
   |                         `- error: cannot find 'DispatchQueue' in scope
33 |     private var value: T
34 |
[27/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:28:15: error: cannot find type 'DispatchTime' in scope
26 |
27 | func performAfter<T>(
28 |     deadline: DispatchTime,
   |               `- error: cannot find type 'DispatchTime' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:31:15: error: cannot find type 'DispatchQueue' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
31 |     on queue: DispatchQueue
   |               `- error: cannot find type 'DispatchQueue' in scope
32 | ) {
33 |     queue.asyncAfter(deadline: deadline) {
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:38:72: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | func perform<T>(_ function: @escaping (T) -> Void, value: T, on queue: DispatchQueue) {
   |                                                                        `- error: cannot find type 'DispatchQueue' in scope
39 |     queue.async {
40 |         function(value)
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:44:58: error: cannot find type 'DispatchQueue' in scope
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                                                          `- error: cannot find type 'DispatchQueue' in scope
45 |     queue.async(execute: function)
46 | }
[28/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:28:15: error: cannot find type 'DispatchTime' in scope
26 |
27 | func performAfter<T>(
28 |     deadline: DispatchTime,
   |               `- error: cannot find type 'DispatchTime' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:31:15: error: cannot find type 'DispatchQueue' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
31 |     on queue: DispatchQueue
   |               `- error: cannot find type 'DispatchQueue' in scope
32 | ) {
33 |     queue.asyncAfter(deadline: deadline) {
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:38:72: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | func perform<T>(_ function: @escaping (T) -> Void, value: T, on queue: DispatchQueue) {
   |                                                                        `- error: cannot find type 'DispatchQueue' in scope
39 |     queue.async {
40 |         function(value)
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:44:58: error: cannot find type 'DispatchQueue' in scope
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                                                          `- error: cannot find type 'DispatchQueue' in scope
45 |     queue.async(execute: function)
46 | }
[29/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:28:15: error: cannot find type 'DispatchTime' in scope
26 |
27 | func performAfter<T>(
28 |     deadline: DispatchTime,
   |               `- error: cannot find type 'DispatchTime' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:31:15: error: cannot find type 'DispatchQueue' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
31 |     on queue: DispatchQueue
   |               `- error: cannot find type 'DispatchQueue' in scope
32 | ) {
33 |     queue.asyncAfter(deadline: deadline) {
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:38:72: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | func perform<T>(_ function: @escaping (T) -> Void, value: T, on queue: DispatchQueue) {
   |                                                                        `- error: cannot find type 'DispatchQueue' in scope
39 |     queue.async {
40 |         function(value)
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:44:58: error: cannot find type 'DispatchQueue' in scope
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                                                          `- error: cannot find type 'DispatchQueue' in scope
45 |     queue.async(execute: function)
46 | }
[30/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:28:15: error: cannot find type 'DispatchTime' in scope
26 |
27 | func performAfter<T>(
28 |     deadline: DispatchTime,
   |               `- error: cannot find type 'DispatchTime' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:31:15: error: cannot find type 'DispatchQueue' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
31 |     on queue: DispatchQueue
   |               `- error: cannot find type 'DispatchQueue' in scope
32 | ) {
33 |     queue.asyncAfter(deadline: deadline) {
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:38:72: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | func perform<T>(_ function: @escaping (T) -> Void, value: T, on queue: DispatchQueue) {
   |                                                                        `- error: cannot find type 'DispatchQueue' in scope
39 |     queue.async {
40 |         function(value)
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:44:58: error: cannot find type 'DispatchQueue' in scope
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                                                          `- error: cannot find type 'DispatchQueue' in scope
45 |     queue.async(execute: function)
46 | }
[31/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:28:15: error: cannot find type 'DispatchTime' in scope
26 |
27 | func performAfter<T>(
28 |     deadline: DispatchTime,
   |               `- error: cannot find type 'DispatchTime' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:31:15: error: cannot find type 'DispatchQueue' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
31 |     on queue: DispatchQueue
   |               `- error: cannot find type 'DispatchQueue' in scope
32 | ) {
33 |     queue.asyncAfter(deadline: deadline) {
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:38:72: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | func perform<T>(_ function: @escaping (T) -> Void, value: T, on queue: DispatchQueue) {
   |                                                                        `- error: cannot find type 'DispatchQueue' in scope
39 |     queue.async {
40 |         function(value)
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:44:58: error: cannot find type 'DispatchQueue' in scope
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                                                          `- error: cannot find type 'DispatchQueue' in scope
45 |     queue.async(execute: function)
46 | }
[32/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/Extensions/String+Extensions.swift:36:41: error: cannot find 'inet_addr' in scope
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
   |                                         `- error: cannot find 'inet_addr' in scope
37 |
38 |         return Data(bytes: &socketAddress, count: MemoryLayout<sockaddr_in>.size)
/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:42:13: error: cannot find 'SOCK_DGRAM' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
42 |             SOCK_DGRAM,
   |             `- error: cannot find 'SOCK_DGRAM' in scope
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
/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:62:15: error: cannot find 'setsockopt' in scope
60 |         var value: Int32 = 1
61 |
62 |         guard setsockopt(
   |               `- error: cannot find 'setsockopt' in scope
63 |             native,
64 |             SOL_SOCKET,
/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
[33/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/Extensions/String+Extensions.swift:36:41: error: cannot find 'inet_addr' in scope
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
   |                                         `- error: cannot find 'inet_addr' in scope
37 |
38 |         return Data(bytes: &socketAddress, count: MemoryLayout<sockaddr_in>.size)
/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:42:13: error: cannot find 'SOCK_DGRAM' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
42 |             SOCK_DGRAM,
   |             `- error: cannot find 'SOCK_DGRAM' in scope
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
/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:62:15: error: cannot find 'setsockopt' in scope
60 |         var value: Int32 = 1
61 |
62 |         guard setsockopt(
   |               `- error: cannot find 'setsockopt' in scope
63 |             native,
64 |             SOL_SOCKET,
/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
[34/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/Extensions/String+Extensions.swift:36:41: error: cannot find 'inet_addr' in scope
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
   |                                         `- error: cannot find 'inet_addr' in scope
37 |
38 |         return Data(bytes: &socketAddress, count: MemoryLayout<sockaddr_in>.size)
/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:42:13: error: cannot find 'SOCK_DGRAM' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
42 |             SOCK_DGRAM,
   |             `- error: cannot find 'SOCK_DGRAM' in scope
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
/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:62:15: error: cannot find 'setsockopt' in scope
60 |         var value: Int32 = 1
61 |
62 |         guard setsockopt(
   |               `- error: cannot find 'setsockopt' in scope
63 |             native,
64 |             SOL_SOCKET,
/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
[35/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/Extensions/String+Extensions.swift:36:41: error: cannot find 'inet_addr' in scope
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
   |                                         `- error: cannot find 'inet_addr' in scope
37 |
38 |         return Data(bytes: &socketAddress, count: MemoryLayout<sockaddr_in>.size)
/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:42:13: error: cannot find 'SOCK_DGRAM' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
42 |             SOCK_DGRAM,
   |             `- error: cannot find 'SOCK_DGRAM' in scope
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
/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:62:15: error: cannot find 'setsockopt' in scope
60 |         var value: Int32 = 1
61 |
62 |         guard setsockopt(
   |               `- error: cannot find 'setsockopt' in scope
63 |             native,
64 |             SOL_SOCKET,
/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
[36/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/Extensions/String+Extensions.swift:36:41: error: cannot find 'inet_addr' in scope
34 |         socketAddress.sin_family = UInt8(AF_INET)
35 |         socketAddress.sin_port = .zero
36 |         socketAddress.sin_addr.s_addr = inet_addr(cString(using: .utf8))
   |                                         `- error: cannot find 'inet_addr' in scope
37 |
38 |         return Data(bytes: &socketAddress, count: MemoryLayout<sockaddr_in>.size)
/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:42:13: error: cannot find 'SOCK_DGRAM' in scope
40 |             kCFAllocatorDefault,
41 |             AF_INET,
42 |             SOCK_DGRAM,
   |             `- error: cannot find 'SOCK_DGRAM' in scope
43 |             IPPROTO_ICMP,
44 |             CFSocketCallBackType.dataCallBack.rawValue, { _, callbackType, _, data, info in
/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:62:15: error: cannot find 'setsockopt' in scope
60 |         var value: Int32 = 1
61 |
62 |         guard setsockopt(
   |               `- error: cannot find 'setsockopt' in scope
63 |             native,
64 |             SOL_SOCKET,
/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/41] Emitting module pingx
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:28:15: error: cannot find type 'DispatchTime' in scope
26 |
27 | func performAfter<T>(
28 |     deadline: DispatchTime,
   |               `- error: cannot find type 'DispatchTime' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:31:15: error: cannot find type 'DispatchQueue' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
31 |     on queue: DispatchQueue
   |               `- error: cannot find type 'DispatchQueue' in scope
32 | ) {
33 |     queue.asyncAfter(deadline: deadline) {
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:38:72: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | func perform<T>(_ function: @escaping (T) -> Void, value: T, on queue: DispatchQueue) {
   |                                                                        `- error: cannot find type 'DispatchQueue' in scope
39 |     queue.async {
40 |         function(value)
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:44:58: error: cannot find type 'DispatchQueue' in scope
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                                                          `- error: cannot find type 'DispatchQueue' in scope
45 |     queue.async(execute: function)
46 | }
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Api/TimerFactory.swift:31:21: error: cannot find type 'DispatchQueue' in scope
29 |     func createDispatchSourceTimer(
30 |         timeInterval: TimeInterval,
31 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
32 |         eventHandler: @escaping () -> Void
33 |     ) -> PingxTimer
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Impl/TimerFactoryImpl.swift:30:21: error: cannot find type 'DispatchQueue' in scope
28 |     func createDispatchSourceTimer(
29 |         timeInterval: TimeInterval,
30 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
31 |         eventHandler: @escaping () -> Void
32 |     ) -> PingxTimer {
/host/spi-builder-workspace/Sources/pingx/Model/Atomic/Atomic.swift:32:25: error: cannot find 'DispatchQueue' in scope
30 |     // MARK: Properties
31 |
32 |     private let queue = DispatchQueue(label: UUID().uuidString)
   |                         `- error: cannot find 'DispatchQueue' in scope
33 |     private var value: T
34 |
/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/Model/Timer/Impl/PingxDispatchSourceTimer.swift:28:32: error: cannot find type 'DispatchSourceTimer' in scope
26 |
27 | final class PingxDispatchSourceTimer: PingxTimer {
28 |     private var dispatchTimer: DispatchSourceTimer?
   |                                `- error: cannot find type 'DispatchSourceTimer' in scope
29 |     private let timeinterval: TimeInterval
30 |     private let eventQueue: DispatchQueue
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:30:29: error: cannot find type 'DispatchQueue' in scope
28 |     private var dispatchTimer: DispatchSourceTimer?
29 |     private let timeinterval: TimeInterval
30 |     private let eventQueue: DispatchQueue
   |                             `- error: cannot find type 'DispatchQueue' in scope
31 |     private let eventHandler: () -> Void
32 |
/host/spi-builder-workspace/Sources/pingx/Model/Timer/Impl/PingxDispatchSourceTimer.swift:35:21: error: cannot find type 'DispatchQueue' in scope
33 |     init(
34 |         timeInterval: TimeInterval,
35 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
36 |         eventHandler: @escaping () -> Void
37 |     ) {
/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/Pinger/Configuration/PingerConfiguration.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 |
31 |     /// The interval between requests.
32 |     public let interval: DispatchTimeInterval
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     // MARK: Initializer
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:36:27: error: cannot find type 'DispatchTimeInterval' in scope
34 |     // MARK: Initializer
35 |
36 |     public init(interval: DispatchTimeInterval = .seconds(1)) {
   |                           `- error: cannot find type 'DispatchTimeInterval' in scope
37 |         self.interval = interval
38 |     }
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:35:31: error: cannot find 'DispatchQueue' in scope
 33 |     // MARK: Properties
 34 |
 35 |     private let pingerQueue = DispatchQueue(
    |                               `- error: cannot find 'DispatchQueue' in scope
 36 |         label: "com.pingx.ContinuousPinger.pingerQueue",
 37 |         qos: .userInitiated
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:37:15: error: cannot infer contextual base in reference to member 'userInitiated'
 35 |     private let pingerQueue = DispatchQueue(
 36 |         label: "com.pingx.ContinuousPinger.pingerQueue",
 37 |         qos: .userInitiated
    |               `- error: cannot infer contextual base in reference to member 'userInitiated'
 38 |     )
 39 |     private let configuration: PingerConfiguration
[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:35:31: error: cannot find 'DispatchQueue' in scope
 33 |     // MARK: Properties
 34 |
 35 |     private let pingerQueue = DispatchQueue(
    |                               `- error: cannot find 'DispatchQueue' in scope
 36 |         label: "com.pingx.ContinuousPinger.pingerQueue",
 37 |         qos: .userInitiated
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:37:15: error: cannot infer contextual base in reference to member 'userInitiated'
 35 |     private let pingerQueue = DispatchQueue(
 36 |         label: "com.pingx.ContinuousPinger.pingerQueue",
 37 |         qos: .userInitiated
    |               `- error: cannot infer contextual base in reference to member 'userInitiated'
 38 |     )
 39 |     private let configuration: PingerConfiguration
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Api/TimerFactory.swift:31:21: error: cannot find type 'DispatchQueue' in scope
29 |     func createDispatchSourceTimer(
30 |         timeInterval: TimeInterval,
31 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
32 |         eventHandler: @escaping () -> Void
33 |     ) -> PingxTimer
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:36:27: error: cannot find type 'DispatchTimeInterval' in scope
34 |     // MARK: Initializer
35 |
36 |     public init(interval: DispatchTimeInterval = .seconds(1)) {
   |                           `- error: cannot find type 'DispatchTimeInterval' in scope
37 |         self.interval = interval
38 |     }
/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/Extensions/DispatchQueue+Extensions.swift:38:72: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | func perform<T>(_ function: @escaping (T) -> Void, value: T, on queue: DispatchQueue) {
   |                                                                        `- error: cannot find type 'DispatchQueue' in scope
39 |     queue.async {
40 |         function(value)
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:44:58: error: cannot find type 'DispatchQueue' in scope
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                                                          `- error: cannot find type 'DispatchQueue' in scope
45 |     queue.async(execute: function)
46 | }
/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/Extensions/DispatchQueue+Extensions.swift:28:15: error: cannot find type 'DispatchTime' in scope
26 |
27 | func performAfter<T>(
28 |     deadline: DispatchTime,
   |               `- error: cannot find type 'DispatchTime' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:31:15: error: cannot find type 'DispatchQueue' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
31 |     on queue: DispatchQueue
   |               `- error: cannot find type 'DispatchQueue' in scope
32 | ) {
33 |     queue.asyncAfter(deadline: deadline) {
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 |
31 |     /// The interval between requests.
32 |     public let interval: DispatchTimeInterval
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     // MARK: Initializer
/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:35:31: error: cannot find 'DispatchQueue' in scope
 33 |     // MARK: Properties
 34 |
 35 |     private let pingerQueue = DispatchQueue(
    |                               `- error: cannot find 'DispatchQueue' in scope
 36 |         label: "com.pingx.ContinuousPinger.pingerQueue",
 37 |         qos: .userInitiated
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:37:15: error: cannot infer contextual base in reference to member 'userInitiated'
 35 |     private let pingerQueue = DispatchQueue(
 36 |         label: "com.pingx.ContinuousPinger.pingerQueue",
 37 |         qos: .userInitiated
    |               `- error: cannot infer contextual base in reference to member 'userInitiated'
 38 |     )
 39 |     private let configuration: PingerConfiguration
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Api/TimerFactory.swift:31:21: error: cannot find type 'DispatchQueue' in scope
29 |     func createDispatchSourceTimer(
30 |         timeInterval: TimeInterval,
31 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
32 |         eventHandler: @escaping () -> Void
33 |     ) -> PingxTimer
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:36:27: error: cannot find type 'DispatchTimeInterval' in scope
34 |     // MARK: Initializer
35 |
36 |     public init(interval: DispatchTimeInterval = .seconds(1)) {
   |                           `- error: cannot find type 'DispatchTimeInterval' in scope
37 |         self.interval = interval
38 |     }
/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/Extensions/DispatchQueue+Extensions.swift:38:72: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | func perform<T>(_ function: @escaping (T) -> Void, value: T, on queue: DispatchQueue) {
   |                                                                        `- error: cannot find type 'DispatchQueue' in scope
39 |     queue.async {
40 |         function(value)
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:44:58: error: cannot find type 'DispatchQueue' in scope
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                                                          `- error: cannot find type 'DispatchQueue' in scope
45 |     queue.async(execute: function)
46 | }
/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/Extensions/DispatchQueue+Extensions.swift:28:15: error: cannot find type 'DispatchTime' in scope
26 |
27 | func performAfter<T>(
28 |     deadline: DispatchTime,
   |               `- error: cannot find type 'DispatchTime' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:31:15: error: cannot find type 'DispatchQueue' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
31 |     on queue: DispatchQueue
   |               `- error: cannot find type 'DispatchQueue' in scope
32 | ) {
33 |     queue.asyncAfter(deadline: deadline) {
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 |
31 |     /// The interval between requests.
32 |     public let interval: DispatchTimeInterval
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     // MARK: Initializer
/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:35:31: error: cannot find 'DispatchQueue' in scope
 33 |     // MARK: Properties
 34 |
 35 |     private let pingerQueue = DispatchQueue(
    |                               `- error: cannot find 'DispatchQueue' in scope
 36 |         label: "com.pingx.ContinuousPinger.pingerQueue",
 37 |         qos: .userInitiated
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:37:15: error: cannot infer contextual base in reference to member 'userInitiated'
 35 |     private let pingerQueue = DispatchQueue(
 36 |         label: "com.pingx.ContinuousPinger.pingerQueue",
 37 |         qos: .userInitiated
    |               `- error: cannot infer contextual base in reference to member 'userInitiated'
 38 |     )
 39 |     private let configuration: PingerConfiguration
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Api/TimerFactory.swift:31:21: error: cannot find type 'DispatchQueue' in scope
29 |     func createDispatchSourceTimer(
30 |         timeInterval: TimeInterval,
31 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
32 |         eventHandler: @escaping () -> Void
33 |     ) -> PingxTimer
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:36:27: error: cannot find type 'DispatchTimeInterval' in scope
34 |     // MARK: Initializer
35 |
36 |     public init(interval: DispatchTimeInterval = .seconds(1)) {
   |                           `- error: cannot find type 'DispatchTimeInterval' in scope
37 |         self.interval = interval
38 |     }
/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/Extensions/DispatchQueue+Extensions.swift:38:72: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | func perform<T>(_ function: @escaping (T) -> Void, value: T, on queue: DispatchQueue) {
   |                                                                        `- error: cannot find type 'DispatchQueue' in scope
39 |     queue.async {
40 |         function(value)
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:44:58: error: cannot find type 'DispatchQueue' in scope
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                                                          `- error: cannot find type 'DispatchQueue' in scope
45 |     queue.async(execute: function)
46 | }
/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/Extensions/DispatchQueue+Extensions.swift:28:15: error: cannot find type 'DispatchTime' in scope
26 |
27 | func performAfter<T>(
28 |     deadline: DispatchTime,
   |               `- error: cannot find type 'DispatchTime' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:31:15: error: cannot find type 'DispatchQueue' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
31 |     on queue: DispatchQueue
   |               `- error: cannot find type 'DispatchQueue' in scope
32 | ) {
33 |     queue.asyncAfter(deadline: deadline) {
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 |
31 |     /// The interval between requests.
32 |     public let interval: DispatchTimeInterval
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     // MARK: Initializer
/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:35:31: error: cannot find 'DispatchQueue' in scope
 33 |     // MARK: Properties
 34 |
 35 |     private let pingerQueue = DispatchQueue(
    |                               `- error: cannot find 'DispatchQueue' in scope
 36 |         label: "com.pingx.ContinuousPinger.pingerQueue",
 37 |         qos: .userInitiated
/host/spi-builder-workspace/Sources/pingx/Pinger/Impl/ContinuousPinger.swift:37:15: error: cannot infer contextual base in reference to member 'userInitiated'
 35 |     private let pingerQueue = DispatchQueue(
 36 |         label: "com.pingx.ContinuousPinger.pingerQueue",
 37 |         qos: .userInitiated
    |               `- error: cannot infer contextual base in reference to member 'userInitiated'
 38 |     )
 39 |     private let configuration: PingerConfiguration
/host/spi-builder-workspace/Sources/pingx/Factory/TimerFactory/Api/TimerFactory.swift:31:21: error: cannot find type 'DispatchQueue' in scope
29 |     func createDispatchSourceTimer(
30 |         timeInterval: TimeInterval,
31 |         eventQueue: DispatchQueue,
   |                     `- error: cannot find type 'DispatchQueue' in scope
32 |         eventHandler: @escaping () -> Void
33 |     ) -> PingxTimer
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:36:27: error: cannot find type 'DispatchTimeInterval' in scope
34 |     // MARK: Initializer
35 |
36 |     public init(interval: DispatchTimeInterval = .seconds(1)) {
   |                           `- error: cannot find type 'DispatchTimeInterval' in scope
37 |         self.interval = interval
38 |     }
/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/Extensions/DispatchQueue+Extensions.swift:38:72: error: cannot find type 'DispatchQueue' in scope
36 | }
37 |
38 | func perform<T>(_ function: @escaping (T) -> Void, value: T, on queue: DispatchQueue) {
   |                                                                        `- error: cannot find type 'DispatchQueue' in scope
39 |     queue.async {
40 |         function(value)
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:44:58: error: cannot find type 'DispatchQueue' in scope
42 | }
43 |
44 | func perform(_ function: @escaping () -> Void, on queue: DispatchQueue) {
   |                                                          `- error: cannot find type 'DispatchQueue' in scope
45 |     queue.async(execute: function)
46 | }
/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/Extensions/DispatchQueue+Extensions.swift:28:15: error: cannot find type 'DispatchTime' in scope
26 |
27 | func performAfter<T>(
28 |     deadline: DispatchTime,
   |               `- error: cannot find type 'DispatchTime' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
/host/spi-builder-workspace/Sources/pingx/Extensions/DispatchQueue+Extensions.swift:31:15: error: cannot find type 'DispatchQueue' in scope
29 |     _ function: @escaping (T) -> Void,
30 |     value: T,
31 |     on queue: DispatchQueue
   |               `- error: cannot find type 'DispatchQueue' in scope
32 | ) {
33 |     queue.asyncAfter(deadline: deadline) {
/host/spi-builder-workspace/Sources/pingx/Pinger/Configuration/PingerConfiguration.swift:32:26: error: cannot find type 'DispatchTimeInterval' in scope
30 |
31 |     /// The interval between requests.
32 |     public let interval: DispatchTimeInterval
   |                          `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 |     // MARK: Initializer
/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 wasm