The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kronos, reference 4.3.1 (f33182), with Swift 6.2 for Android on 21 Jun 2025 15:40:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MobileNativeFoundation/Kronos.git
Reference: 4.3.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/MobileNativeFoundation/Kronos
 * tag               4.3.1      -> FETCH_HEAD
HEAD is now at f331821 Include PrivacyInfo.xcprivacy manifest on Krono's target from Kronos.xcodeproj (#117)
Cloned https://github.com/MobileNativeFoundation/Kronos.git
Revision (git rev-parse @):
f331821314f9b35867a18c5c8fc2f918536d79ac
SUCCESS checkout https://github.com/MobileNativeFoundation/Kronos.git at 4.3.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MobileNativeFoundation/Kronos.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/14] Compiling Kronos TimeStorage.swift
/host/spi-builder-workspace/Sources/TimeStorage.swift:32:50: error: value of type 'UserDefaults' has no member 'value'
30 |     var stableTime: TimeFreeze? {
31 |         get {
32 |             guard let stored = self.userDefaults.value(forKey: kDefaultsKey) as? [String: TimeInterval],
   |                                                  `- error: value of type 'UserDefaults' has no member 'value'
33 |                 let previousStableTime = TimeFreeze(from: stored) else
34 |             {
[5/14] Compiling Kronos TimeFreeze.swift
/host/spi-builder-workspace/Sources/TimeFreeze.swift:74:20: error: cannot find 'CTL_KERN' in scope
72 |     /// - returns: An Int measurement of system uptime in microseconds.
73 |     static func systemUptime() -> TimeInterval {
74 |         var mib = [CTL_KERN, KERN_BOOTTIME]
   |                    `- error: cannot find 'CTL_KERN' in scope
75 |         var size = MemoryLayout<timeval>.stride
76 |         var bootTime = timeval()
/host/spi-builder-workspace/Sources/TimeFreeze.swift:74:30: error: cannot find 'KERN_BOOTTIME' in scope
72 |     /// - returns: An Int measurement of system uptime in microseconds.
73 |     static func systemUptime() -> TimeInterval {
74 |         var mib = [CTL_KERN, KERN_BOOTTIME]
   |                              `- error: cannot find 'KERN_BOOTTIME' in scope
75 |         var size = MemoryLayout<timeval>.stride
76 |         var bootTime = timeval()
/host/spi-builder-workspace/Sources/TimeFreeze.swift:78:29: error: cannot find 'sysctl' in scope
76 |         var bootTime = timeval()
77 |
78 |         let bootTimeError = sysctl(&mib, u_int(mib.count), &bootTime, &size, nil, 0) != 0
   |                             `- error: cannot find 'sysctl' in scope
79 |         assert(!bootTimeError, "system clock error: kernel boot time unavailable")
80 |
/host/spi-builder-workspace/Sources/TimeFreeze.swift:78:78: error: 'nil' requires a contextual type
76 |         var bootTime = timeval()
77 |
78 |         let bootTimeError = sysctl(&mib, u_int(mib.count), &bootTime, &size, nil, 0) != 0
   |                                                                              `- error: 'nil' requires a contextual type
79 |         assert(!bootTimeError, "system clock error: kernel boot time unavailable")
80 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] Compiling Kronos NTPProtocol.swift
[7/15] Emitting module Kronos
/host/spi-builder-workspace/Sources/DNSResolver.swift:3:53: error: cannot find 'CFAllocatorCopyDescriptionCallBack' in scope
 1 | import Foundation
 2 |
 3 | private let kCopyNoOperation = unsafeBitCast(0, to: CFAllocatorCopyDescriptionCallBack.self)
   |                                                     `- error: cannot find 'CFAllocatorCopyDescriptionCallBack' in scope
 4 | private let kDefaultTimeout = 8.0
 5 |
/host/spi-builder-workspace/Sources/DNSResolver.swift:3:32: error: generic parameter 'U' could not be inferred
 1 | import Foundation
 2 |
 3 | private let kCopyNoOperation = unsafeBitCast(0, to: CFAllocatorCopyDescriptionCallBack.self)
   |                                `- error: generic parameter 'U' could not be inferred
 4 | private let kDefaultTimeout = 8.0
 5 |
Swift.unsafeBitCast:1:24: note: in call to function 'unsafeBitCast(_:to:)'
1 | @inlinable public func unsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U
  |                        `- note: in call to function 'unsafeBitCast(_:to:)'
/host/spi-builder-workspace/Sources/DNSResolver.swift:63:6: error: Objective-C interoperability is disabled
61 |     }
62 |
63 |     @objc
   |      `- error: Objective-C interoperability is disabled
64 |     private func onTimeout() {
65 |         defer {
/host/spi-builder-workspace/Sources/InternetAddress.swift:8:15: error: cannot find type 'sockaddr_in6' in scope
  6 | /// - IPv4: An Internet Address of type IPv4 (e.g.: '127.0.0.1').
  7 | enum InternetAddress: Hashable {
  8 |     case ipv6(sockaddr_in6)
    |               `- error: cannot find type 'sockaddr_in6' in scope
  9 |     case ipv4(sockaddr_in)
 10 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:9:15: error: cannot find type 'sockaddr_in' in scope
  7 | enum InternetAddress: Hashable {
  8 |     case ipv6(sockaddr_in6)
  9 |     case ipv4(sockaddr_in)
    |               `- error: cannot find type 'sockaddr_in' in scope
 10 |
 11 |     /// Human readable host represetnation (e.g. '192.168.1.1' or 'ab:ab:ab:ab:ab:ab:ab:ab').
/host/spi-builder-workspace/Sources/InternetAddress.swift:60:45: error: cannot find type 'CFData' in scope
 58 |     ///
 59 |     /// - returns: An address struct wrapped into a CFData type.
 60 |     func addressData(withPort port: Int) -> CFData {
    |                                             `- error: cannot find type 'CFData' in scope
 61 |         switch self {
 62 |         case .ipv6(var address):
/host/spi-builder-workspace/Sources/InternetAddress.swift:80:11: error: cannot find type 'sockaddr_storage' in scope
 78 | // MARK: - sockaddr_storage helpers
 79 |
 80 | extension sockaddr_storage {
    |           `- error: cannot find type 'sockaddr_storage' in scope
 81 |     /// Creates a new storage value from a data type that contains the memory layout of a sockaddr_t. This
 82 |     /// is used to create sockaddr_storage(s) from some of the CF C functions such as `CFHostGetAddressing`.
/host/spi-builder-workspace/Sources/NSTimer+ClosureKit.swift:34:6: error: Objective-C interoperability is disabled
32 |     // MARK: Private methods
33 |
34 |     @objc
   |      `- error: Objective-C interoperability is disabled
35 |     class private func invokeFrom(timer: Timer) {
36 |         if let closureWrapper = timer.userInfo as? TimerClosureWrapper {
/host/spi-builder-workspace/Sources/NTPClient.swift:29:25: error: cannot find type 'CFTimeInterval' in scope
 27 |     func query(pool: String = "time.apple.com", version: Int8 = 3, port: Int = 123,
 28 |                numberOfSamples: Int = kDefaultSamples, maximumServers: Int = kMaximumNTPServers,
 29 |                timeout: CFTimeInterval = kDefaultTimeout,
    |                         `- error: cannot find type 'CFTimeInterval' in scope
 30 |                progress: @escaping (TimeInterval?, Int, Int) -> Void)
 31 |     {
/host/spi-builder-workspace/Sources/NTPClient.swift:79:25: error: cannot find type 'CFTimeInterval' in scope
 77 |     /// - parameter completion:      A closure that will be response PDU on success or nil on error.
 78 |     func query(ip: InternetAddress, port: Int = 123, version: Int8 = 3,
 79 |                timeout: CFTimeInterval = kDefaultTimeout, numberOfSamples: Int = kDefaultSamples,
    |                         `- error: cannot find type 'CFTimeInterval' in scope
 80 |                completion: @escaping (NTPPacket?) -> Void)
 81 |     {
/host/spi-builder-workspace/Sources/NTPClient.swift:148:77: error: cannot find type 'CFRunLoopSource' in scope
146 |
147 |     private func sendAsyncUDPQuery(to ip: InternetAddress, port: Int, timeout: TimeInterval,
148 |                                    completion: UnsafeMutableRawPointer) -> (CFRunLoopSource, CFSocket)?
    |                                                                             `- error: cannot find type 'CFRunLoopSource' in scope
149 |     {
150 |         signal(SIGPIPE, SIG_IGN)
/host/spi-builder-workspace/Sources/NTPClient.swift:148:94: error: cannot find type 'CFSocket' in scope
146 |
147 |     private func sendAsyncUDPQuery(to ip: InternetAddress, port: Int, timeout: TimeInterval,
148 |                                    completion: UnsafeMutableRawPointer) -> (CFRunLoopSource, CFSocket)?
    |                                                                                              `- error: cannot find type 'CFSocket' in scope
149 |     {
150 |         signal(SIGPIPE, SIG_IGN)
[8/15] Compiling Kronos Clock.swift
/host/spi-builder-workspace/Sources/NTPClient.swift:29:25: error: cannot find type 'CFTimeInterval' in scope
 27 |     func query(pool: String = "time.apple.com", version: Int8 = 3, port: Int = 123,
 28 |                numberOfSamples: Int = kDefaultSamples, maximumServers: Int = kMaximumNTPServers,
 29 |                timeout: CFTimeInterval = kDefaultTimeout,
    |                         `- error: cannot find type 'CFTimeInterval' in scope
 30 |                progress: @escaping (TimeInterval?, Int, Int) -> Void)
 31 |     {
/host/spi-builder-workspace/Sources/NTPClient.swift:79:25: error: cannot find type 'CFTimeInterval' in scope
 77 |     /// - parameter completion:      A closure that will be response PDU on success or nil on error.
 78 |     func query(ip: InternetAddress, port: Int = 123, version: Int8 = 3,
 79 |                timeout: CFTimeInterval = kDefaultTimeout, numberOfSamples: Int = kDefaultSamples,
    |                         `- error: cannot find type 'CFTimeInterval' in scope
 80 |                completion: @escaping (NTPPacket?) -> Void)
 81 |     {
/host/spi-builder-workspace/Sources/DNSResolver.swift:3:53: error: cannot find 'CFAllocatorCopyDescriptionCallBack' in scope
 1 | import Foundation
 2 |
 3 | private let kCopyNoOperation = unsafeBitCast(0, to: CFAllocatorCopyDescriptionCallBack.self)
   |                                                     `- error: cannot find 'CFAllocatorCopyDescriptionCallBack' in scope
 4 | private let kDefaultTimeout = 8.0
 5 |
/host/spi-builder-workspace/Sources/DNSResolver.swift:3:32: error: generic parameter 'U' could not be inferred
 1 | import Foundation
 2 |
 3 | private let kCopyNoOperation = unsafeBitCast(0, to: CFAllocatorCopyDescriptionCallBack.self)
   |                                `- error: generic parameter 'U' could not be inferred
 4 | private let kDefaultTimeout = 8.0
 5 |
Swift.unsafeBitCast:1:24: note: in call to function 'unsafeBitCast(_:to:)'
1 | @inlinable public func unsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U
  |                        `- note: in call to function 'unsafeBitCast(_:to:)'
/host/spi-builder-workspace/Sources/DNSResolver.swift:63:6: error: Objective-C interoperability is disabled
61 |     }
62 |
63 |     @objc
   |      `- error: Objective-C interoperability is disabled
64 |     private func onTimeout() {
65 |         defer {
/host/spi-builder-workspace/Sources/DNSResolver.swift:22:23: error: cannot find type 'CFHostClientCallBack' in scope
20 |                         completion: @escaping ([InternetAddress]) -> Void)
21 |     {
22 |         let callback: CFHostClientCallBack = { host, _, _, info in
   |                       `- error: cannot find type 'CFHostClientCallBack' in scope
23 |             guard let info = info else {
24 |                 return
/host/spi-builder-workspace/Sources/DNSResolver.swift:50:29: error: cannot find 'CFHostClientContext' in scope
48 |
49 |         let retainedClosure = Unmanaged.passRetained(resolver).toOpaque()
50 |         var clientContext = CFHostClientContext(version: 0, info: UnsafeMutableRawPointer(retainedClosure),
   |                             `- error: cannot find 'CFHostClientContext' in scope
51 |                                                 retain: nil, release: nil, copyDescription: kCopyNoOperation)
52 |
/host/spi-builder-workspace/Sources/DNSResolver.swift:51:57: error: 'nil' requires a contextual type
49 |         let retainedClosure = Unmanaged.passRetained(resolver).toOpaque()
50 |         var clientContext = CFHostClientContext(version: 0, info: UnsafeMutableRawPointer(retainedClosure),
51 |                                                 retain: nil, release: nil, copyDescription: kCopyNoOperation)
   |                                                         `- error: 'nil' requires a contextual type
52 |
53 |         let hostReference = CFHostCreateWithName(kCFAllocatorDefault, host as CFString).takeUnretainedValue()
/host/spi-builder-workspace/Sources/DNSResolver.swift:51:71: error: 'nil' requires a contextual type
49 |         let retainedClosure = Unmanaged.passRetained(resolver).toOpaque()
50 |         var clientContext = CFHostClientContext(version: 0, info: UnsafeMutableRawPointer(retainedClosure),
51 |                                                 retain: nil, release: nil, copyDescription: kCopyNoOperation)
   |                                                                       `- error: 'nil' requires a contextual type
52 |
53 |         let hostReference = CFHostCreateWithName(kCFAllocatorDefault, host as CFString).takeUnretainedValue()
/host/spi-builder-workspace/Sources/DNSResolver.swift:53:29: error: cannot find 'CFHostCreateWithName' in scope
51 |                                                 retain: nil, release: nil, copyDescription: kCopyNoOperation)
52 |
53 |         let hostReference = CFHostCreateWithName(kCFAllocatorDefault, host as CFString).takeUnretainedValue()
   |                             `- error: cannot find 'CFHostCreateWithName' in scope
54 |         resolver.timer = Timer.scheduledTimer(timeInterval: timeout, target: resolver,
55 |                                               selector: #selector(DNSResolver.onTimeout),
/host/spi-builder-workspace/Sources/DNSResolver.swift:53:50: error: cannot find 'kCFAllocatorDefault' in scope
51 |                                                 retain: nil, release: nil, copyDescription: kCopyNoOperation)
52 |
53 |         let hostReference = CFHostCreateWithName(kCFAllocatorDefault, host as CFString).takeUnretainedValue()
   |                                                  `- error: cannot find 'kCFAllocatorDefault' in scope
54 |         resolver.timer = Timer.scheduledTimer(timeInterval: timeout, target: resolver,
55 |                                               selector: #selector(DNSResolver.onTimeout),
/host/spi-builder-workspace/Sources/DNSResolver.swift:53:79: error: cannot find type 'CFString' in scope
51 |                                                 retain: nil, release: nil, copyDescription: kCopyNoOperation)
52 |
53 |         let hostReference = CFHostCreateWithName(kCFAllocatorDefault, host as CFString).takeUnretainedValue()
   |                                                                               `- error: cannot find type 'CFString' in scope
54 |         resolver.timer = Timer.scheduledTimer(timeInterval: timeout, target: resolver,
55 |                                               selector: #selector(DNSResolver.onTimeout),
/host/spi-builder-workspace/Sources/DNSResolver.swift:55:57: error: '#selector' can only be used with the Objective-C runtime
53 |         let hostReference = CFHostCreateWithName(kCFAllocatorDefault, host as CFString).takeUnretainedValue()
54 |         resolver.timer = Timer.scheduledTimer(timeInterval: timeout, target: resolver,
55 |                                               selector: #selector(DNSResolver.onTimeout),
   |                                                         `- error: '#selector' can only be used with the Objective-C runtime
56 |                                               userInfo: hostReference, repeats: false)
57 |
/host/spi-builder-workspace/Sources/DNSResolver.swift:58:9: error: cannot find 'CFHostSetClient' in scope
56 |                                               userInfo: hostReference, repeats: false)
57 |
58 |         CFHostSetClient(hostReference, callback, &clientContext)
   |         `- error: cannot find 'CFHostSetClient' in scope
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
/host/spi-builder-workspace/Sources/DNSResolver.swift:59:9: error: cannot find 'CFHostScheduleWithRunLoop' in scope
57 |
58 |         CFHostSetClient(hostReference, callback, &clientContext)
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
   |         `- error: cannot find 'CFHostScheduleWithRunLoop' in scope
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
61 |     }
/host/spi-builder-workspace/Sources/DNSResolver.swift:59:50: error: cannot find 'CFRunLoopGetMain' in scope
57 |
58 |         CFHostSetClient(hostReference, callback, &clientContext)
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
   |                                                  `- error: cannot find 'CFRunLoopGetMain' in scope
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
61 |     }
/host/spi-builder-workspace/Sources/DNSResolver.swift:59:70: error: cannot find 'CFRunLoopMode' in scope
57 |
58 |         CFHostSetClient(hostReference, callback, &clientContext)
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
   |                                                                      `- error: cannot find 'CFRunLoopMode' in scope
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
61 |     }
/host/spi-builder-workspace/Sources/DNSResolver.swift:60:9: error: cannot find 'CFHostStartInfoResolution' in scope
58 |         CFHostSetClient(hostReference, callback, &clientContext)
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
   |         `- error: cannot find 'CFHostStartInfoResolution' in scope
61 |     }
62 |
/host/spi-builder-workspace/Sources/DNSResolver.swift:60:51: error: cannot infer contextual base in reference to member 'addresses'
58 |         CFHostSetClient(hostReference, callback, &clientContext)
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
   |                                                   `- error: cannot infer contextual base in reference to member 'addresses'
61 |     }
62 |
/host/spi-builder-workspace/Sources/DNSResolver.swift:60:62: error: 'nil' requires a contextual type
58 |         CFHostSetClient(hostReference, callback, &clientContext)
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
   |                                                              `- error: 'nil' requires a contextual type
61 |     }
62 |
/host/spi-builder-workspace/Sources/DNSResolver.swift:76:70: error: cannot find 'CFHost' in scope
74 |         }
75 |
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
   |                                                                      `- error: cannot find 'CFHost' in scope
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
/host/spi-builder-workspace/Sources/DNSResolver.swift:76:29: error: generic parameter 'U' could not be inferred
74 |         }
75 |
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
   |                             `- error: generic parameter 'U' could not be inferred
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
Swift.unsafeBitCast:1:24: note: in call to function 'unsafeBitCast(_:to:)'
1 | @inlinable public func unsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U
  |                        `- note: in call to function 'unsafeBitCast(_:to:)'
/host/spi-builder-workspace/Sources/DNSResolver.swift:77:9: error: cannot find 'CFHostCancelInfoResolution' in scope
75 |
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
   |         `- error: cannot find 'CFHostCancelInfoResolution' in scope
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
79 |         CFHostSetClient(hostReference, nil, nil)
/host/spi-builder-workspace/Sources/DNSResolver.swift:77:52: error: cannot infer contextual base in reference to member 'addresses'
75 |
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
   |                                                    `- error: cannot infer contextual base in reference to member 'addresses'
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
79 |         CFHostSetClient(hostReference, nil, nil)
/host/spi-builder-workspace/Sources/DNSResolver.swift:78:9: error: cannot find 'CFHostUnscheduleFromRunLoop' in scope
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
   |         `- error: cannot find 'CFHostUnscheduleFromRunLoop' in scope
79 |         CFHostSetClient(hostReference, nil, nil)
80 |     }
/host/spi-builder-workspace/Sources/DNSResolver.swift:78:52: error: cannot find 'CFRunLoopGetMain' in scope
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
   |                                                    `- error: cannot find 'CFRunLoopGetMain' in scope
79 |         CFHostSetClient(hostReference, nil, nil)
80 |     }
/host/spi-builder-workspace/Sources/DNSResolver.swift:78:72: error: cannot find 'CFRunLoopMode' in scope
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
   |                                                                        `- error: cannot find 'CFRunLoopMode' in scope
79 |         CFHostSetClient(hostReference, nil, nil)
80 |     }
/host/spi-builder-workspace/Sources/DNSResolver.swift:79:9: error: cannot find 'CFHostSetClient' in scope
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
79 |         CFHostSetClient(hostReference, nil, nil)
   |         `- error: cannot find 'CFHostSetClient' in scope
80 |     }
81 | }
/host/spi-builder-workspace/Sources/DNSResolver.swift:79:40: error: 'nil' requires a contextual type
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
79 |         CFHostSetClient(hostReference, nil, nil)
   |                                        `- error: 'nil' requires a contextual type
80 |     }
81 | }
/host/spi-builder-workspace/Sources/DNSResolver.swift:79:45: error: 'nil' requires a contextual type
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
79 |         CFHostSetClient(hostReference, nil, nil)
   |                                             `- error: 'nil' requires a contextual type
80 |     }
81 | }
[9/15] Compiling Kronos DNSResolver.swift
/host/spi-builder-workspace/Sources/NTPClient.swift:29:25: error: cannot find type 'CFTimeInterval' in scope
 27 |     func query(pool: String = "time.apple.com", version: Int8 = 3, port: Int = 123,
 28 |                numberOfSamples: Int = kDefaultSamples, maximumServers: Int = kMaximumNTPServers,
 29 |                timeout: CFTimeInterval = kDefaultTimeout,
    |                         `- error: cannot find type 'CFTimeInterval' in scope
 30 |                progress: @escaping (TimeInterval?, Int, Int) -> Void)
 31 |     {
/host/spi-builder-workspace/Sources/NTPClient.swift:79:25: error: cannot find type 'CFTimeInterval' in scope
 77 |     /// - parameter completion:      A closure that will be response PDU on success or nil on error.
 78 |     func query(ip: InternetAddress, port: Int = 123, version: Int8 = 3,
 79 |                timeout: CFTimeInterval = kDefaultTimeout, numberOfSamples: Int = kDefaultSamples,
    |                         `- error: cannot find type 'CFTimeInterval' in scope
 80 |                completion: @escaping (NTPPacket?) -> Void)
 81 |     {
/host/spi-builder-workspace/Sources/DNSResolver.swift:3:53: error: cannot find 'CFAllocatorCopyDescriptionCallBack' in scope
 1 | import Foundation
 2 |
 3 | private let kCopyNoOperation = unsafeBitCast(0, to: CFAllocatorCopyDescriptionCallBack.self)
   |                                                     `- error: cannot find 'CFAllocatorCopyDescriptionCallBack' in scope
 4 | private let kDefaultTimeout = 8.0
 5 |
/host/spi-builder-workspace/Sources/DNSResolver.swift:3:32: error: generic parameter 'U' could not be inferred
 1 | import Foundation
 2 |
 3 | private let kCopyNoOperation = unsafeBitCast(0, to: CFAllocatorCopyDescriptionCallBack.self)
   |                                `- error: generic parameter 'U' could not be inferred
 4 | private let kDefaultTimeout = 8.0
 5 |
Swift.unsafeBitCast:1:24: note: in call to function 'unsafeBitCast(_:to:)'
1 | @inlinable public func unsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U
  |                        `- note: in call to function 'unsafeBitCast(_:to:)'
/host/spi-builder-workspace/Sources/DNSResolver.swift:63:6: error: Objective-C interoperability is disabled
61 |     }
62 |
63 |     @objc
   |      `- error: Objective-C interoperability is disabled
64 |     private func onTimeout() {
65 |         defer {
/host/spi-builder-workspace/Sources/DNSResolver.swift:22:23: error: cannot find type 'CFHostClientCallBack' in scope
20 |                         completion: @escaping ([InternetAddress]) -> Void)
21 |     {
22 |         let callback: CFHostClientCallBack = { host, _, _, info in
   |                       `- error: cannot find type 'CFHostClientCallBack' in scope
23 |             guard let info = info else {
24 |                 return
/host/spi-builder-workspace/Sources/DNSResolver.swift:50:29: error: cannot find 'CFHostClientContext' in scope
48 |
49 |         let retainedClosure = Unmanaged.passRetained(resolver).toOpaque()
50 |         var clientContext = CFHostClientContext(version: 0, info: UnsafeMutableRawPointer(retainedClosure),
   |                             `- error: cannot find 'CFHostClientContext' in scope
51 |                                                 retain: nil, release: nil, copyDescription: kCopyNoOperation)
52 |
/host/spi-builder-workspace/Sources/DNSResolver.swift:51:57: error: 'nil' requires a contextual type
49 |         let retainedClosure = Unmanaged.passRetained(resolver).toOpaque()
50 |         var clientContext = CFHostClientContext(version: 0, info: UnsafeMutableRawPointer(retainedClosure),
51 |                                                 retain: nil, release: nil, copyDescription: kCopyNoOperation)
   |                                                         `- error: 'nil' requires a contextual type
52 |
53 |         let hostReference = CFHostCreateWithName(kCFAllocatorDefault, host as CFString).takeUnretainedValue()
/host/spi-builder-workspace/Sources/DNSResolver.swift:51:71: error: 'nil' requires a contextual type
49 |         let retainedClosure = Unmanaged.passRetained(resolver).toOpaque()
50 |         var clientContext = CFHostClientContext(version: 0, info: UnsafeMutableRawPointer(retainedClosure),
51 |                                                 retain: nil, release: nil, copyDescription: kCopyNoOperation)
   |                                                                       `- error: 'nil' requires a contextual type
52 |
53 |         let hostReference = CFHostCreateWithName(kCFAllocatorDefault, host as CFString).takeUnretainedValue()
/host/spi-builder-workspace/Sources/DNSResolver.swift:53:29: error: cannot find 'CFHostCreateWithName' in scope
51 |                                                 retain: nil, release: nil, copyDescription: kCopyNoOperation)
52 |
53 |         let hostReference = CFHostCreateWithName(kCFAllocatorDefault, host as CFString).takeUnretainedValue()
   |                             `- error: cannot find 'CFHostCreateWithName' in scope
54 |         resolver.timer = Timer.scheduledTimer(timeInterval: timeout, target: resolver,
55 |                                               selector: #selector(DNSResolver.onTimeout),
/host/spi-builder-workspace/Sources/DNSResolver.swift:53:50: error: cannot find 'kCFAllocatorDefault' in scope
51 |                                                 retain: nil, release: nil, copyDescription: kCopyNoOperation)
52 |
53 |         let hostReference = CFHostCreateWithName(kCFAllocatorDefault, host as CFString).takeUnretainedValue()
   |                                                  `- error: cannot find 'kCFAllocatorDefault' in scope
54 |         resolver.timer = Timer.scheduledTimer(timeInterval: timeout, target: resolver,
55 |                                               selector: #selector(DNSResolver.onTimeout),
/host/spi-builder-workspace/Sources/DNSResolver.swift:53:79: error: cannot find type 'CFString' in scope
51 |                                                 retain: nil, release: nil, copyDescription: kCopyNoOperation)
52 |
53 |         let hostReference = CFHostCreateWithName(kCFAllocatorDefault, host as CFString).takeUnretainedValue()
   |                                                                               `- error: cannot find type 'CFString' in scope
54 |         resolver.timer = Timer.scheduledTimer(timeInterval: timeout, target: resolver,
55 |                                               selector: #selector(DNSResolver.onTimeout),
/host/spi-builder-workspace/Sources/DNSResolver.swift:55:57: error: '#selector' can only be used with the Objective-C runtime
53 |         let hostReference = CFHostCreateWithName(kCFAllocatorDefault, host as CFString).takeUnretainedValue()
54 |         resolver.timer = Timer.scheduledTimer(timeInterval: timeout, target: resolver,
55 |                                               selector: #selector(DNSResolver.onTimeout),
   |                                                         `- error: '#selector' can only be used with the Objective-C runtime
56 |                                               userInfo: hostReference, repeats: false)
57 |
/host/spi-builder-workspace/Sources/DNSResolver.swift:58:9: error: cannot find 'CFHostSetClient' in scope
56 |                                               userInfo: hostReference, repeats: false)
57 |
58 |         CFHostSetClient(hostReference, callback, &clientContext)
   |         `- error: cannot find 'CFHostSetClient' in scope
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
/host/spi-builder-workspace/Sources/DNSResolver.swift:59:9: error: cannot find 'CFHostScheduleWithRunLoop' in scope
57 |
58 |         CFHostSetClient(hostReference, callback, &clientContext)
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
   |         `- error: cannot find 'CFHostScheduleWithRunLoop' in scope
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
61 |     }
/host/spi-builder-workspace/Sources/DNSResolver.swift:59:50: error: cannot find 'CFRunLoopGetMain' in scope
57 |
58 |         CFHostSetClient(hostReference, callback, &clientContext)
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
   |                                                  `- error: cannot find 'CFRunLoopGetMain' in scope
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
61 |     }
/host/spi-builder-workspace/Sources/DNSResolver.swift:59:70: error: cannot find 'CFRunLoopMode' in scope
57 |
58 |         CFHostSetClient(hostReference, callback, &clientContext)
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
   |                                                                      `- error: cannot find 'CFRunLoopMode' in scope
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
61 |     }
/host/spi-builder-workspace/Sources/DNSResolver.swift:60:9: error: cannot find 'CFHostStartInfoResolution' in scope
58 |         CFHostSetClient(hostReference, callback, &clientContext)
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
   |         `- error: cannot find 'CFHostStartInfoResolution' in scope
61 |     }
62 |
/host/spi-builder-workspace/Sources/DNSResolver.swift:60:51: error: cannot infer contextual base in reference to member 'addresses'
58 |         CFHostSetClient(hostReference, callback, &clientContext)
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
   |                                                   `- error: cannot infer contextual base in reference to member 'addresses'
61 |     }
62 |
/host/spi-builder-workspace/Sources/DNSResolver.swift:60:62: error: 'nil' requires a contextual type
58 |         CFHostSetClient(hostReference, callback, &clientContext)
59 |         CFHostScheduleWithRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
60 |         CFHostStartInfoResolution(hostReference, .addresses, nil)
   |                                                              `- error: 'nil' requires a contextual type
61 |     }
62 |
/host/spi-builder-workspace/Sources/DNSResolver.swift:76:70: error: cannot find 'CFHost' in scope
74 |         }
75 |
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
   |                                                                      `- error: cannot find 'CFHost' in scope
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
/host/spi-builder-workspace/Sources/DNSResolver.swift:76:29: error: generic parameter 'U' could not be inferred
74 |         }
75 |
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
   |                             `- error: generic parameter 'U' could not be inferred
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
Swift.unsafeBitCast:1:24: note: in call to function 'unsafeBitCast(_:to:)'
1 | @inlinable public func unsafeBitCast<T, U>(_ x: T, to type: U.Type) -> U
  |                        `- note: in call to function 'unsafeBitCast(_:to:)'
/host/spi-builder-workspace/Sources/DNSResolver.swift:77:9: error: cannot find 'CFHostCancelInfoResolution' in scope
75 |
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
   |         `- error: cannot find 'CFHostCancelInfoResolution' in scope
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
79 |         CFHostSetClient(hostReference, nil, nil)
/host/spi-builder-workspace/Sources/DNSResolver.swift:77:52: error: cannot infer contextual base in reference to member 'addresses'
75 |
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
   |                                                    `- error: cannot infer contextual base in reference to member 'addresses'
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
79 |         CFHostSetClient(hostReference, nil, nil)
/host/spi-builder-workspace/Sources/DNSResolver.swift:78:9: error: cannot find 'CFHostUnscheduleFromRunLoop' in scope
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
   |         `- error: cannot find 'CFHostUnscheduleFromRunLoop' in scope
79 |         CFHostSetClient(hostReference, nil, nil)
80 |     }
/host/spi-builder-workspace/Sources/DNSResolver.swift:78:52: error: cannot find 'CFRunLoopGetMain' in scope
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
   |                                                    `- error: cannot find 'CFRunLoopGetMain' in scope
79 |         CFHostSetClient(hostReference, nil, nil)
80 |     }
/host/spi-builder-workspace/Sources/DNSResolver.swift:78:72: error: cannot find 'CFRunLoopMode' in scope
76 |         let hostReference = unsafeBitCast(userInfo as AnyObject, to: CFHost.self)
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
   |                                                                        `- error: cannot find 'CFRunLoopMode' in scope
79 |         CFHostSetClient(hostReference, nil, nil)
80 |     }
/host/spi-builder-workspace/Sources/DNSResolver.swift:79:9: error: cannot find 'CFHostSetClient' in scope
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
79 |         CFHostSetClient(hostReference, nil, nil)
   |         `- error: cannot find 'CFHostSetClient' in scope
80 |     }
81 | }
/host/spi-builder-workspace/Sources/DNSResolver.swift:79:40: error: 'nil' requires a contextual type
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
79 |         CFHostSetClient(hostReference, nil, nil)
   |                                        `- error: 'nil' requires a contextual type
80 |     }
81 | }
/host/spi-builder-workspace/Sources/DNSResolver.swift:79:45: error: 'nil' requires a contextual type
77 |         CFHostCancelInfoResolution(hostReference, .addresses)
78 |         CFHostUnscheduleFromRunLoop(hostReference, CFRunLoopGetMain(), CFRunLoopMode.commonModes.rawValue)
79 |         CFHostSetClient(hostReference, nil, nil)
   |                                             `- error: 'nil' requires a contextual type
80 |     }
81 | }
[10/15] Compiling Kronos Data+Bytes.swift
/host/spi-builder-workspace/Sources/InternetAddress.swift:8:15: error: cannot find type 'sockaddr_in6' in scope
  6 | /// - IPv4: An Internet Address of type IPv4 (e.g.: '127.0.0.1').
  7 | enum InternetAddress: Hashable {
  8 |     case ipv6(sockaddr_in6)
    |               `- error: cannot find type 'sockaddr_in6' in scope
  9 |     case ipv4(sockaddr_in)
 10 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:9:15: error: cannot find type 'sockaddr_in' in scope
  7 | enum InternetAddress: Hashable {
  8 |     case ipv6(sockaddr_in6)
  9 |     case ipv4(sockaddr_in)
    |               `- error: cannot find type 'sockaddr_in' in scope
 10 |
 11 |     /// Human readable host represetnation (e.g. '192.168.1.1' or 'ab:ab:ab:ab:ab:ab:ab:ab').
/host/spi-builder-workspace/Sources/InternetAddress.swift:60:45: error: cannot find type 'CFData' in scope
 58 |     ///
 59 |     /// - returns: An address struct wrapped into a CFData type.
 60 |     func addressData(withPort port: Int) -> CFData {
    |                                             `- error: cannot find type 'CFData' in scope
 61 |         switch self {
 62 |         case .ipv6(var address):
/host/spi-builder-workspace/Sources/InternetAddress.swift:80:11: error: cannot find type 'sockaddr_storage' in scope
 78 | // MARK: - sockaddr_storage helpers
 79 |
 80 | extension sockaddr_storage {
    |           `- error: cannot find type 'sockaddr_storage' in scope
 81 |     /// Creates a new storage value from a data type that contains the memory layout of a sockaddr_t. This
 82 |     /// is used to create sockaddr_storage(s) from some of the CF C functions such as `CFHostGetAddressing`.
/host/spi-builder-workspace/Sources/InternetAddress.swift:15:59: error: cannot find 'INET6_ADDRSTRLEN' in scope
 13 |         switch self {
 14 |         case .ipv6(var address):
 15 |             var buffer = [CChar](repeating: 0, count: Int(INET6_ADDRSTRLEN))
    |                                                           `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 16 |             inet_ntop(AF_INET6, &address.sin6_addr, &buffer, socklen_t(INET6_ADDRSTRLEN))
 17 |             return String(cString: buffer)
/host/spi-builder-workspace/Sources/InternetAddress.swift:16:13: error: cannot find 'inet_ntop' in scope
 14 |         case .ipv6(var address):
 15 |             var buffer = [CChar](repeating: 0, count: Int(INET6_ADDRSTRLEN))
 16 |             inet_ntop(AF_INET6, &address.sin6_addr, &buffer, socklen_t(INET6_ADDRSTRLEN))
    |             `- error: cannot find 'inet_ntop' in scope
 17 |             return String(cString: buffer)
 18 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:16:23: error: cannot find 'AF_INET6' in scope
 14 |         case .ipv6(var address):
 15 |             var buffer = [CChar](repeating: 0, count: Int(INET6_ADDRSTRLEN))
 16 |             inet_ntop(AF_INET6, &address.sin6_addr, &buffer, socklen_t(INET6_ADDRSTRLEN))
    |                       `- error: cannot find 'AF_INET6' in scope
 17 |             return String(cString: buffer)
 18 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:16:72: error: cannot find 'INET6_ADDRSTRLEN' in scope
 14 |         case .ipv6(var address):
 15 |             var buffer = [CChar](repeating: 0, count: Int(INET6_ADDRSTRLEN))
 16 |             inet_ntop(AF_INET6, &address.sin6_addr, &buffer, socklen_t(INET6_ADDRSTRLEN))
    |                                                                        `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 17 |             return String(cString: buffer)
 18 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:20:59: error: cannot find 'INET_ADDRSTRLEN' in scope
 18 |
 19 |         case .ipv4(var address):
 20 |             var buffer = [CChar](repeating: 0, count: Int(INET_ADDRSTRLEN))
    |                                                           `- error: cannot find 'INET_ADDRSTRLEN' in scope
 21 |             inet_ntop(AF_INET, &address.sin_addr, &buffer, socklen_t(INET_ADDRSTRLEN))
 22 |             return String(cString: buffer)
/host/spi-builder-workspace/Sources/InternetAddress.swift:21:13: error: cannot find 'inet_ntop' in scope
 19 |         case .ipv4(var address):
 20 |             var buffer = [CChar](repeating: 0, count: Int(INET_ADDRSTRLEN))
 21 |             inet_ntop(AF_INET, &address.sin_addr, &buffer, socklen_t(INET_ADDRSTRLEN))
    |             `- error: cannot find 'inet_ntop' in scope
 22 |             return String(cString: buffer)
 23 |         }
/host/spi-builder-workspace/Sources/InternetAddress.swift:21:23: error: cannot find 'AF_INET' in scope
 19 |         case .ipv4(var address):
 20 |             var buffer = [CChar](repeating: 0, count: Int(INET_ADDRSTRLEN))
 21 |             inet_ntop(AF_INET, &address.sin_addr, &buffer, socklen_t(INET_ADDRSTRLEN))
    |                       `- error: cannot find 'AF_INET' in scope
 22 |             return String(cString: buffer)
 23 |         }
/host/spi-builder-workspace/Sources/InternetAddress.swift:21:70: error: cannot find 'INET_ADDRSTRLEN' in scope
 19 |         case .ipv4(var address):
 20 |             var buffer = [CChar](repeating: 0, count: Int(INET_ADDRSTRLEN))
 21 |             inet_ntop(AF_INET, &address.sin_addr, &buffer, socklen_t(INET_ADDRSTRLEN))
    |                                                                      `- error: cannot find 'INET_ADDRSTRLEN' in scope
 22 |             return String(cString: buffer)
 23 |         }
/host/spi-builder-workspace/Sources/InternetAddress.swift:30:20: error: cannot find 'PF_INET' in scope
 28 |         switch self {
 29 |         case .ipv4:
 30 |             return PF_INET
    |                    `- error: cannot find 'PF_INET' in scope
 31 |
 32 |         case .ipv6:
/host/spi-builder-workspace/Sources/InternetAddress.swift:33:20: error: cannot find 'PF_INET6' in scope
 31 |
 32 |         case .ipv6:
 33 |             return PF_INET6
    |                    `- error: cannot find 'PF_INET6' in scope
 34 |         }
 35 |     }
/host/spi-builder-workspace/Sources/InternetAddress.swift:42:23: error: cannot find 'sockaddr_storage' in scope
 40 |
 41 |     init?(dataWithSockAddress data: NSData) {
 42 |         let storage = sockaddr_storage.from(unsafeDataWithSockAddress: data)
    |                       `- error: cannot find 'sockaddr_storage' in scope
 43 |         switch Int32(storage.ss_family) {
 44 |         case AF_INET:
/host/spi-builder-workspace/Sources/InternetAddress.swift:44:14: error: cannot find 'AF_INET' in scope
 42 |         let storage = sockaddr_storage.from(unsafeDataWithSockAddress: data)
 43 |         switch Int32(storage.ss_family) {
 44 |         case AF_INET:
    |              `- error: cannot find 'AF_INET' in scope
 45 |             self = storage.withUnsafeAddress { InternetAddress.ipv4($0.pointee) }
 46 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:47:14: error: cannot find 'AF_INET6' in scope
 45 |             self = storage.withUnsafeAddress { InternetAddress.ipv4($0.pointee) }
 46 |
 47 |         case AF_INET6:
    |              `- error: cannot find 'AF_INET6' in scope
 48 |             self = storage.withUnsafeAddress { InternetAddress.ipv6($0.pointee) }
 49 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:63:33: error: cannot find 'in_port_t' in scope
 61 |         switch self {
 62 |         case .ipv6(var address):
 63 |             address.sin6_port = in_port_t(port).bigEndian
    |                                 `- error: cannot find 'in_port_t' in scope
 64 |             return Data(bytes: &address, count: MemoryLayout<sockaddr_in6>.size) as CFData
 65 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:67:32: error: cannot find 'in_port_t' in scope
 65 |
 66 |         case .ipv4(var address):
 67 |             address.sin_port = in_port_t(port).bigEndian
    |                                `- error: cannot find 'in_port_t' in scope
 68 |             return Data(bytes: &address, count: MemoryLayout<sockaddr_in>.size) as CFData
 69 |         }
/host/spi-builder-workspace/Sources/InternetAddress.swift:88:77: error: cannot find type 'sockaddr_storage' in scope
 86 |     /// - parameter data: The data to be interpreted as sockaddr
 87 |     /// - returns: The newly created sockaddr_storage value
 88 |     fileprivate static func from(unsafeDataWithSockAddress data: NSData) -> sockaddr_storage {
    |                                                                             `- error: cannot find type 'sockaddr_storage' in scope
 89 |         var storage = sockaddr_storage()
 90 |         data.getBytes(&storage, length: data.length)
[11/15] Compiling Kronos InternetAddress.swift
/host/spi-builder-workspace/Sources/InternetAddress.swift:8:15: error: cannot find type 'sockaddr_in6' in scope
  6 | /// - IPv4: An Internet Address of type IPv4 (e.g.: '127.0.0.1').
  7 | enum InternetAddress: Hashable {
  8 |     case ipv6(sockaddr_in6)
    |               `- error: cannot find type 'sockaddr_in6' in scope
  9 |     case ipv4(sockaddr_in)
 10 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:9:15: error: cannot find type 'sockaddr_in' in scope
  7 | enum InternetAddress: Hashable {
  8 |     case ipv6(sockaddr_in6)
  9 |     case ipv4(sockaddr_in)
    |               `- error: cannot find type 'sockaddr_in' in scope
 10 |
 11 |     /// Human readable host represetnation (e.g. '192.168.1.1' or 'ab:ab:ab:ab:ab:ab:ab:ab').
/host/spi-builder-workspace/Sources/InternetAddress.swift:60:45: error: cannot find type 'CFData' in scope
 58 |     ///
 59 |     /// - returns: An address struct wrapped into a CFData type.
 60 |     func addressData(withPort port: Int) -> CFData {
    |                                             `- error: cannot find type 'CFData' in scope
 61 |         switch self {
 62 |         case .ipv6(var address):
/host/spi-builder-workspace/Sources/InternetAddress.swift:80:11: error: cannot find type 'sockaddr_storage' in scope
 78 | // MARK: - sockaddr_storage helpers
 79 |
 80 | extension sockaddr_storage {
    |           `- error: cannot find type 'sockaddr_storage' in scope
 81 |     /// Creates a new storage value from a data type that contains the memory layout of a sockaddr_t. This
 82 |     /// is used to create sockaddr_storage(s) from some of the CF C functions such as `CFHostGetAddressing`.
/host/spi-builder-workspace/Sources/InternetAddress.swift:15:59: error: cannot find 'INET6_ADDRSTRLEN' in scope
 13 |         switch self {
 14 |         case .ipv6(var address):
 15 |             var buffer = [CChar](repeating: 0, count: Int(INET6_ADDRSTRLEN))
    |                                                           `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 16 |             inet_ntop(AF_INET6, &address.sin6_addr, &buffer, socklen_t(INET6_ADDRSTRLEN))
 17 |             return String(cString: buffer)
/host/spi-builder-workspace/Sources/InternetAddress.swift:16:13: error: cannot find 'inet_ntop' in scope
 14 |         case .ipv6(var address):
 15 |             var buffer = [CChar](repeating: 0, count: Int(INET6_ADDRSTRLEN))
 16 |             inet_ntop(AF_INET6, &address.sin6_addr, &buffer, socklen_t(INET6_ADDRSTRLEN))
    |             `- error: cannot find 'inet_ntop' in scope
 17 |             return String(cString: buffer)
 18 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:16:23: error: cannot find 'AF_INET6' in scope
 14 |         case .ipv6(var address):
 15 |             var buffer = [CChar](repeating: 0, count: Int(INET6_ADDRSTRLEN))
 16 |             inet_ntop(AF_INET6, &address.sin6_addr, &buffer, socklen_t(INET6_ADDRSTRLEN))
    |                       `- error: cannot find 'AF_INET6' in scope
 17 |             return String(cString: buffer)
 18 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:16:72: error: cannot find 'INET6_ADDRSTRLEN' in scope
 14 |         case .ipv6(var address):
 15 |             var buffer = [CChar](repeating: 0, count: Int(INET6_ADDRSTRLEN))
 16 |             inet_ntop(AF_INET6, &address.sin6_addr, &buffer, socklen_t(INET6_ADDRSTRLEN))
    |                                                                        `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 17 |             return String(cString: buffer)
 18 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:20:59: error: cannot find 'INET_ADDRSTRLEN' in scope
 18 |
 19 |         case .ipv4(var address):
 20 |             var buffer = [CChar](repeating: 0, count: Int(INET_ADDRSTRLEN))
    |                                                           `- error: cannot find 'INET_ADDRSTRLEN' in scope
 21 |             inet_ntop(AF_INET, &address.sin_addr, &buffer, socklen_t(INET_ADDRSTRLEN))
 22 |             return String(cString: buffer)
/host/spi-builder-workspace/Sources/InternetAddress.swift:21:13: error: cannot find 'inet_ntop' in scope
 19 |         case .ipv4(var address):
 20 |             var buffer = [CChar](repeating: 0, count: Int(INET_ADDRSTRLEN))
 21 |             inet_ntop(AF_INET, &address.sin_addr, &buffer, socklen_t(INET_ADDRSTRLEN))
    |             `- error: cannot find 'inet_ntop' in scope
 22 |             return String(cString: buffer)
 23 |         }
/host/spi-builder-workspace/Sources/InternetAddress.swift:21:23: error: cannot find 'AF_INET' in scope
 19 |         case .ipv4(var address):
 20 |             var buffer = [CChar](repeating: 0, count: Int(INET_ADDRSTRLEN))
 21 |             inet_ntop(AF_INET, &address.sin_addr, &buffer, socklen_t(INET_ADDRSTRLEN))
    |                       `- error: cannot find 'AF_INET' in scope
 22 |             return String(cString: buffer)
 23 |         }
/host/spi-builder-workspace/Sources/InternetAddress.swift:21:70: error: cannot find 'INET_ADDRSTRLEN' in scope
 19 |         case .ipv4(var address):
 20 |             var buffer = [CChar](repeating: 0, count: Int(INET_ADDRSTRLEN))
 21 |             inet_ntop(AF_INET, &address.sin_addr, &buffer, socklen_t(INET_ADDRSTRLEN))
    |                                                                      `- error: cannot find 'INET_ADDRSTRLEN' in scope
 22 |             return String(cString: buffer)
 23 |         }
/host/spi-builder-workspace/Sources/InternetAddress.swift:30:20: error: cannot find 'PF_INET' in scope
 28 |         switch self {
 29 |         case .ipv4:
 30 |             return PF_INET
    |                    `- error: cannot find 'PF_INET' in scope
 31 |
 32 |         case .ipv6:
/host/spi-builder-workspace/Sources/InternetAddress.swift:33:20: error: cannot find 'PF_INET6' in scope
 31 |
 32 |         case .ipv6:
 33 |             return PF_INET6
    |                    `- error: cannot find 'PF_INET6' in scope
 34 |         }
 35 |     }
/host/spi-builder-workspace/Sources/InternetAddress.swift:42:23: error: cannot find 'sockaddr_storage' in scope
 40 |
 41 |     init?(dataWithSockAddress data: NSData) {
 42 |         let storage = sockaddr_storage.from(unsafeDataWithSockAddress: data)
    |                       `- error: cannot find 'sockaddr_storage' in scope
 43 |         switch Int32(storage.ss_family) {
 44 |         case AF_INET:
/host/spi-builder-workspace/Sources/InternetAddress.swift:44:14: error: cannot find 'AF_INET' in scope
 42 |         let storage = sockaddr_storage.from(unsafeDataWithSockAddress: data)
 43 |         switch Int32(storage.ss_family) {
 44 |         case AF_INET:
    |              `- error: cannot find 'AF_INET' in scope
 45 |             self = storage.withUnsafeAddress { InternetAddress.ipv4($0.pointee) }
 46 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:47:14: error: cannot find 'AF_INET6' in scope
 45 |             self = storage.withUnsafeAddress { InternetAddress.ipv4($0.pointee) }
 46 |
 47 |         case AF_INET6:
    |              `- error: cannot find 'AF_INET6' in scope
 48 |             self = storage.withUnsafeAddress { InternetAddress.ipv6($0.pointee) }
 49 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:63:33: error: cannot find 'in_port_t' in scope
 61 |         switch self {
 62 |         case .ipv6(var address):
 63 |             address.sin6_port = in_port_t(port).bigEndian
    |                                 `- error: cannot find 'in_port_t' in scope
 64 |             return Data(bytes: &address, count: MemoryLayout<sockaddr_in6>.size) as CFData
 65 |
/host/spi-builder-workspace/Sources/InternetAddress.swift:67:32: error: cannot find 'in_port_t' in scope
 65 |
 66 |         case .ipv4(var address):
 67 |             address.sin_port = in_port_t(port).bigEndian
    |                                `- error: cannot find 'in_port_t' in scope
 68 |             return Data(bytes: &address, count: MemoryLayout<sockaddr_in>.size) as CFData
 69 |         }
/host/spi-builder-workspace/Sources/InternetAddress.swift:88:77: error: cannot find type 'sockaddr_storage' in scope
 86 |     /// - parameter data: The data to be interpreted as sockaddr
 87 |     /// - returns: The newly created sockaddr_storage value
 88 |     fileprivate static func from(unsafeDataWithSockAddress data: NSData) -> sockaddr_storage {
    |                                                                             `- error: cannot find type 'sockaddr_storage' in scope
 89 |         var storage = sockaddr_storage()
 90 |         data.getBytes(&storage, length: data.length)
[12/15] Compiling Kronos NSTimer+ClosureKit.swift
/host/spi-builder-workspace/Sources/NSTimer+ClosureKit.swift:34:6: error: Objective-C interoperability is disabled
32 |     // MARK: Private methods
33 |
34 |     @objc
   |      `- error: Objective-C interoperability is disabled
35 |     class private func invokeFrom(timer: Timer) {
36 |         if let closureWrapper = timer.userInfo as? TimerClosureWrapper {
/host/spi-builder-workspace/Sources/NSTimer+ClosureKit.swift:28:23: error: '#selector' can only be used with the Objective-C runtime
26 |     {
27 |         return Timer.scheduledTimer(timeInterval: interval, target: self,
28 |             selector: #selector(BlockTimer.invokeFrom(timer:)),
   |                       `- error: '#selector' can only be used with the Objective-C runtime
29 |             userInfo: TimerClosureWrapper(handler: handler, repeats: repeated), repeats: repeated)
30 |     }
/host/spi-builder-workspace/Sources/NTPClient.swift:29:25: error: cannot find type 'CFTimeInterval' in scope
 27 |     func query(pool: String = "time.apple.com", version: Int8 = 3, port: Int = 123,
 28 |                numberOfSamples: Int = kDefaultSamples, maximumServers: Int = kMaximumNTPServers,
 29 |                timeout: CFTimeInterval = kDefaultTimeout,
    |                         `- error: cannot find type 'CFTimeInterval' in scope
 30 |                progress: @escaping (TimeInterval?, Int, Int) -> Void)
 31 |     {
/host/spi-builder-workspace/Sources/NTPClient.swift:79:25: error: cannot find type 'CFTimeInterval' in scope
 77 |     /// - parameter completion:      A closure that will be response PDU on success or nil on error.
 78 |     func query(ip: InternetAddress, port: Int = 123, version: Int8 = 3,
 79 |                timeout: CFTimeInterval = kDefaultTimeout, numberOfSamples: Int = kDefaultSamples,
    |                         `- error: cannot find type 'CFTimeInterval' in scope
 80 |                completion: @escaping (NTPPacket?) -> Void)
 81 |     {
/host/spi-builder-workspace/Sources/NTPClient.swift:148:77: error: cannot find type 'CFRunLoopSource' in scope
146 |
147 |     private func sendAsyncUDPQuery(to ip: InternetAddress, port: Int, timeout: TimeInterval,
148 |                                    completion: UnsafeMutableRawPointer) -> (CFRunLoopSource, CFSocket)?
    |                                                                             `- error: cannot find type 'CFRunLoopSource' in scope
149 |     {
150 |         signal(SIGPIPE, SIG_IGN)
/host/spi-builder-workspace/Sources/NTPClient.swift:148:94: error: cannot find type 'CFSocket' in scope
146 |
147 |     private func sendAsyncUDPQuery(to ip: InternetAddress, port: Int, timeout: TimeInterval,
148 |                                    completion: UnsafeMutableRawPointer) -> (CFRunLoopSource, CFSocket)?
    |                                                                                              `- error: cannot find type 'CFSocket' in scope
149 |     {
150 |         signal(SIGPIPE, SIG_IGN)
/host/spi-builder-workspace/Sources/NTPClient.swift:116:17: error: cannot find 'CFSocketInvalidate' in scope
114 |
115 |             if let (source, socket) = sourceAndSocket {
116 |                 CFSocketInvalidate(socket)
    |                 `- error: cannot find 'CFSocketInvalidate' in scope
117 |                 CFRunLoopRemoveSource(CFRunLoopGetMain(), source, CFRunLoopMode.commonModes)
118 |             }
/host/spi-builder-workspace/Sources/NTPClient.swift:117:17: error: cannot find 'CFRunLoopRemoveSource' in scope
115 |             if let (source, socket) = sourceAndSocket {
116 |                 CFSocketInvalidate(socket)
117 |                 CFRunLoopRemoveSource(CFRunLoopGetMain(), source, CFRunLoopMode.commonModes)
    |                 `- error: cannot find 'CFRunLoopRemoveSource' in scope
118 |             }
119 |         }
/host/spi-builder-workspace/Sources/NTPClient.swift:117:39: error: cannot find 'CFRunLoopGetMain' in scope
115 |             if let (source, socket) = sourceAndSocket {
116 |                 CFSocketInvalidate(socket)
117 |                 CFRunLoopRemoveSource(CFRunLoopGetMain(), source, CFRunLoopMode.commonModes)
    |                                       `- error: cannot find 'CFRunLoopGetMain' in scope
118 |             }
119 |         }
/host/spi-builder-workspace/Sources/NTPClient.swift:117:67: error: cannot find 'CFRunLoopMode' in scope
115 |             if let (source, socket) = sourceAndSocket {
116 |                 CFSocketInvalidate(socket)
117 |                 CFRunLoopRemoveSource(CFRunLoopGetMain(), source, CFRunLoopMode.commonModes)
    |                                                                   `- error: cannot find 'CFRunLoopMode' in scope
118 |             }
119 |         }
/host/spi-builder-workspace/Sources/NTPClient.swift:150:25: error: cannot find 'SIG_IGN' in scope
148 |                                    completion: UnsafeMutableRawPointer) -> (CFRunLoopSource, CFSocket)?
149 |     {
150 |         signal(SIGPIPE, SIG_IGN)
    |                         `- error: cannot find 'SIG_IGN' in scope
151 |
152 |         let callback: CFSocketCallBack = { socket, callbackType, _, data, info in
/host/spi-builder-workspace/Sources/NTPClient.swift:152:23: error: cannot find type 'CFSocketCallBack' in scope
150 |         signal(SIGPIPE, SIG_IGN)
151 |
152 |         let callback: CFSocketCallBack = { socket, callbackType, _, data, info in
    |                       `- error: cannot find type 'CFSocketCallBack' in scope
153 |             if callbackType == .writeCallBack {
154 |                 var packet = NTPPacket()
/host/spi-builder-workspace/Sources/NTPClient.swift:175:21: error: cannot find 'CFSocketCallBackType' in scope
173 |         }
174 |
175 |         let types = CFSocketCallBackType.dataCallBack.rawValue | CFSocketCallBackType.writeCallBack.rawValue
    |                     `- error: cannot find 'CFSocketCallBackType' in scope
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
/host/spi-builder-workspace/Sources/NTPClient.swift:175:66: error: cannot find 'CFSocketCallBackType' in scope
173 |         }
174 |
175 |         let types = CFSocketCallBackType.dataCallBack.rawValue | CFSocketCallBackType.writeCallBack.rawValue
    |                                                                  `- error: cannot find 'CFSocketCallBackType' in scope
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
/host/spi-builder-workspace/Sources/NTPClient.swift:176:23: error: cannot find 'CFSocketContext' in scope
174 |
175 |         let types = CFSocketCallBackType.dataCallBack.rawValue | CFSocketCallBackType.writeCallBack.rawValue
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
    |                       `- error: cannot find 'CFSocketContext' in scope
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
/host/spi-builder-workspace/Sources/NTPClient.swift:176:77: error: 'nil' requires a contextual type
174 |
175 |         let types = CFSocketCallBackType.dataCallBack.rawValue | CFSocketCallBackType.writeCallBack.rawValue
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
    |                                                                             `- error: 'nil' requires a contextual type
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
/host/spi-builder-workspace/Sources/NTPClient.swift:176:91: error: 'nil' requires a contextual type
174 |
175 |         let types = CFSocketCallBackType.dataCallBack.rawValue | CFSocketCallBackType.writeCallBack.rawValue
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
    |                                                                                           `- error: 'nil' requires a contextual type
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
/host/spi-builder-workspace/Sources/NTPClient.swift:177:56: error: 'nil' requires a contextual type
175 |         let types = CFSocketCallBackType.dataCallBack.rawValue | CFSocketCallBackType.writeCallBack.rawValue
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
    |                                                        `- error: 'nil' requires a contextual type
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
179 |             CFSocketIsValid(socket) else
/host/spi-builder-workspace/Sources/NTPClient.swift:178:28: error: cannot find 'CFSocketCreate' in scope
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
    |                            `- error: cannot find 'CFSocketCreate' in scope
179 |             CFSocketIsValid(socket) else
180 |         {
/host/spi-builder-workspace/Sources/NTPClient.swift:178:59: error: cannot find 'SOCK_DGRAM' in scope
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
    |                                                           `- error: cannot find 'SOCK_DGRAM' in scope
179 |             CFSocketIsValid(socket) else
180 |         {
/host/spi-builder-workspace/Sources/NTPClient.swift:178:71: error: cannot find 'IPPROTO_UDP' in scope
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
    |                                                                       `- error: cannot find 'IPPROTO_UDP' in scope
179 |             CFSocketIsValid(socket) else
180 |         {
/host/spi-builder-workspace/Sources/NTPClient.swift:178:43: error: 'nil' requires a contextual type
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
    |                                           `- error: 'nil' requires a contextual type
179 |             CFSocketIsValid(socket) else
180 |         {
/host/spi-builder-workspace/Sources/NTPClient.swift:179:13: error: cannot find 'CFSocketIsValid' in scope
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
179 |             CFSocketIsValid(socket) else
    |             `- error: cannot find 'CFSocketIsValid' in scope
180 |         {
181 |             return nil
/host/spi-builder-workspace/Sources/NTPClient.swift:184:29: error: cannot find 'CFSocketCreateRunLoopSource' in scope
182 |         }
183 |
184 |         let runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket, 0)
    |                             `- error: cannot find 'CFSocketCreateRunLoopSource' in scope
185 |         CFRunLoopAddSource(CFRunLoopGetMain(), runLoopSource, CFRunLoopMode.commonModes)
186 |         CFSocketConnectToAddress(socket, ip.addressData(withPort: port), timeout)
/host/spi-builder-workspace/Sources/NTPClient.swift:184:57: error: cannot find 'kCFAllocatorDefault' in scope
182 |         }
183 |
184 |         let runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket, 0)
    |                                                         `- error: cannot find 'kCFAllocatorDefault' in scope
185 |         CFRunLoopAddSource(CFRunLoopGetMain(), runLoopSource, CFRunLoopMode.commonModes)
186 |         CFSocketConnectToAddress(socket, ip.addressData(withPort: port), timeout)
/host/spi-builder-workspace/Sources/NTPClient.swift:185:9: error: cannot find 'CFRunLoopAddSource' in scope
183 |
184 |         let runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket, 0)
185 |         CFRunLoopAddSource(CFRunLoopGetMain(), runLoopSource, CFRunLoopMode.commonModes)
    |         `- error: cannot find 'CFRunLoopAddSource' in scope
186 |         CFSocketConnectToAddress(socket, ip.addressData(withPort: port), timeout)
187 |         return (runLoopSource!, socket)
/host/spi-builder-workspace/Sources/NTPClient.swift:185:28: error: cannot find 'CFRunLoopGetMain' in scope
183 |
184 |         let runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket, 0)
185 |         CFRunLoopAddSource(CFRunLoopGetMain(), runLoopSource, CFRunLoopMode.commonModes)
    |                            `- error: cannot find 'CFRunLoopGetMain' in scope
186 |         CFSocketConnectToAddress(socket, ip.addressData(withPort: port), timeout)
187 |         return (runLoopSource!, socket)
/host/spi-builder-workspace/Sources/NTPClient.swift:185:63: error: cannot find 'CFRunLoopMode' in scope
183 |
184 |         let runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket, 0)
185 |         CFRunLoopAddSource(CFRunLoopGetMain(), runLoopSource, CFRunLoopMode.commonModes)
    |                                                               `- error: cannot find 'CFRunLoopMode' in scope
186 |         CFSocketConnectToAddress(socket, ip.addressData(withPort: port), timeout)
187 |         return (runLoopSource!, socket)
/host/spi-builder-workspace/Sources/NTPClient.swift:186:9: error: cannot find 'CFSocketConnectToAddress' in scope
184 |         let runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket, 0)
185 |         CFRunLoopAddSource(CFRunLoopGetMain(), runLoopSource, CFRunLoopMode.commonModes)
186 |         CFSocketConnectToAddress(socket, ip.addressData(withPort: port), timeout)
    |         `- error: cannot find 'CFSocketConnectToAddress' in scope
187 |         return (runLoopSource!, socket)
188 |     }
/host/spi-builder-workspace/Sources/InternetAddress.swift:60:45: error: cannot find type 'CFData' in scope
 58 |     ///
 59 |     /// - returns: An address struct wrapped into a CFData type.
 60 |     func addressData(withPort port: Int) -> CFData {
    |                                             `- error: cannot find type 'CFData' in scope
 61 |         switch self {
 62 |         case .ipv6(var address):
[13/15] Compiling Kronos NTPClient.swift
/host/spi-builder-workspace/Sources/NSTimer+ClosureKit.swift:34:6: error: Objective-C interoperability is disabled
32 |     // MARK: Private methods
33 |
34 |     @objc
   |      `- error: Objective-C interoperability is disabled
35 |     class private func invokeFrom(timer: Timer) {
36 |         if let closureWrapper = timer.userInfo as? TimerClosureWrapper {
/host/spi-builder-workspace/Sources/NSTimer+ClosureKit.swift:28:23: error: '#selector' can only be used with the Objective-C runtime
26 |     {
27 |         return Timer.scheduledTimer(timeInterval: interval, target: self,
28 |             selector: #selector(BlockTimer.invokeFrom(timer:)),
   |                       `- error: '#selector' can only be used with the Objective-C runtime
29 |             userInfo: TimerClosureWrapper(handler: handler, repeats: repeated), repeats: repeated)
30 |     }
/host/spi-builder-workspace/Sources/NTPClient.swift:29:25: error: cannot find type 'CFTimeInterval' in scope
 27 |     func query(pool: String = "time.apple.com", version: Int8 = 3, port: Int = 123,
 28 |                numberOfSamples: Int = kDefaultSamples, maximumServers: Int = kMaximumNTPServers,
 29 |                timeout: CFTimeInterval = kDefaultTimeout,
    |                         `- error: cannot find type 'CFTimeInterval' in scope
 30 |                progress: @escaping (TimeInterval?, Int, Int) -> Void)
 31 |     {
/host/spi-builder-workspace/Sources/NTPClient.swift:79:25: error: cannot find type 'CFTimeInterval' in scope
 77 |     /// - parameter completion:      A closure that will be response PDU on success or nil on error.
 78 |     func query(ip: InternetAddress, port: Int = 123, version: Int8 = 3,
 79 |                timeout: CFTimeInterval = kDefaultTimeout, numberOfSamples: Int = kDefaultSamples,
    |                         `- error: cannot find type 'CFTimeInterval' in scope
 80 |                completion: @escaping (NTPPacket?) -> Void)
 81 |     {
/host/spi-builder-workspace/Sources/NTPClient.swift:148:77: error: cannot find type 'CFRunLoopSource' in scope
146 |
147 |     private func sendAsyncUDPQuery(to ip: InternetAddress, port: Int, timeout: TimeInterval,
148 |                                    completion: UnsafeMutableRawPointer) -> (CFRunLoopSource, CFSocket)?
    |                                                                             `- error: cannot find type 'CFRunLoopSource' in scope
149 |     {
150 |         signal(SIGPIPE, SIG_IGN)
/host/spi-builder-workspace/Sources/NTPClient.swift:148:94: error: cannot find type 'CFSocket' in scope
146 |
147 |     private func sendAsyncUDPQuery(to ip: InternetAddress, port: Int, timeout: TimeInterval,
148 |                                    completion: UnsafeMutableRawPointer) -> (CFRunLoopSource, CFSocket)?
    |                                                                                              `- error: cannot find type 'CFSocket' in scope
149 |     {
150 |         signal(SIGPIPE, SIG_IGN)
/host/spi-builder-workspace/Sources/NTPClient.swift:116:17: error: cannot find 'CFSocketInvalidate' in scope
114 |
115 |             if let (source, socket) = sourceAndSocket {
116 |                 CFSocketInvalidate(socket)
    |                 `- error: cannot find 'CFSocketInvalidate' in scope
117 |                 CFRunLoopRemoveSource(CFRunLoopGetMain(), source, CFRunLoopMode.commonModes)
118 |             }
/host/spi-builder-workspace/Sources/NTPClient.swift:117:17: error: cannot find 'CFRunLoopRemoveSource' in scope
115 |             if let (source, socket) = sourceAndSocket {
116 |                 CFSocketInvalidate(socket)
117 |                 CFRunLoopRemoveSource(CFRunLoopGetMain(), source, CFRunLoopMode.commonModes)
    |                 `- error: cannot find 'CFRunLoopRemoveSource' in scope
118 |             }
119 |         }
/host/spi-builder-workspace/Sources/NTPClient.swift:117:39: error: cannot find 'CFRunLoopGetMain' in scope
115 |             if let (source, socket) = sourceAndSocket {
116 |                 CFSocketInvalidate(socket)
117 |                 CFRunLoopRemoveSource(CFRunLoopGetMain(), source, CFRunLoopMode.commonModes)
    |                                       `- error: cannot find 'CFRunLoopGetMain' in scope
118 |             }
119 |         }
/host/spi-builder-workspace/Sources/NTPClient.swift:117:67: error: cannot find 'CFRunLoopMode' in scope
115 |             if let (source, socket) = sourceAndSocket {
116 |                 CFSocketInvalidate(socket)
117 |                 CFRunLoopRemoveSource(CFRunLoopGetMain(), source, CFRunLoopMode.commonModes)
    |                                                                   `- error: cannot find 'CFRunLoopMode' in scope
118 |             }
119 |         }
/host/spi-builder-workspace/Sources/NTPClient.swift:150:25: error: cannot find 'SIG_IGN' in scope
148 |                                    completion: UnsafeMutableRawPointer) -> (CFRunLoopSource, CFSocket)?
149 |     {
150 |         signal(SIGPIPE, SIG_IGN)
    |                         `- error: cannot find 'SIG_IGN' in scope
151 |
152 |         let callback: CFSocketCallBack = { socket, callbackType, _, data, info in
/host/spi-builder-workspace/Sources/NTPClient.swift:152:23: error: cannot find type 'CFSocketCallBack' in scope
150 |         signal(SIGPIPE, SIG_IGN)
151 |
152 |         let callback: CFSocketCallBack = { socket, callbackType, _, data, info in
    |                       `- error: cannot find type 'CFSocketCallBack' in scope
153 |             if callbackType == .writeCallBack {
154 |                 var packet = NTPPacket()
/host/spi-builder-workspace/Sources/NTPClient.swift:175:21: error: cannot find 'CFSocketCallBackType' in scope
173 |         }
174 |
175 |         let types = CFSocketCallBackType.dataCallBack.rawValue | CFSocketCallBackType.writeCallBack.rawValue
    |                     `- error: cannot find 'CFSocketCallBackType' in scope
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
/host/spi-builder-workspace/Sources/NTPClient.swift:175:66: error: cannot find 'CFSocketCallBackType' in scope
173 |         }
174 |
175 |         let types = CFSocketCallBackType.dataCallBack.rawValue | CFSocketCallBackType.writeCallBack.rawValue
    |                                                                  `- error: cannot find 'CFSocketCallBackType' in scope
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
/host/spi-builder-workspace/Sources/NTPClient.swift:176:23: error: cannot find 'CFSocketContext' in scope
174 |
175 |         let types = CFSocketCallBackType.dataCallBack.rawValue | CFSocketCallBackType.writeCallBack.rawValue
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
    |                       `- error: cannot find 'CFSocketContext' in scope
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
/host/spi-builder-workspace/Sources/NTPClient.swift:176:77: error: 'nil' requires a contextual type
174 |
175 |         let types = CFSocketCallBackType.dataCallBack.rawValue | CFSocketCallBackType.writeCallBack.rawValue
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
    |                                                                             `- error: 'nil' requires a contextual type
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
/host/spi-builder-workspace/Sources/NTPClient.swift:176:91: error: 'nil' requires a contextual type
174 |
175 |         let types = CFSocketCallBackType.dataCallBack.rawValue | CFSocketCallBackType.writeCallBack.rawValue
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
    |                                                                                           `- error: 'nil' requires a contextual type
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
/host/spi-builder-workspace/Sources/NTPClient.swift:177:56: error: 'nil' requires a contextual type
175 |         let types = CFSocketCallBackType.dataCallBack.rawValue | CFSocketCallBackType.writeCallBack.rawValue
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
    |                                                        `- error: 'nil' requires a contextual type
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
179 |             CFSocketIsValid(socket) else
/host/spi-builder-workspace/Sources/NTPClient.swift:178:28: error: cannot find 'CFSocketCreate' in scope
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
    |                            `- error: cannot find 'CFSocketCreate' in scope
179 |             CFSocketIsValid(socket) else
180 |         {
/host/spi-builder-workspace/Sources/NTPClient.swift:178:59: error: cannot find 'SOCK_DGRAM' in scope
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
    |                                                           `- error: cannot find 'SOCK_DGRAM' in scope
179 |             CFSocketIsValid(socket) else
180 |         {
/host/spi-builder-workspace/Sources/NTPClient.swift:178:71: error: cannot find 'IPPROTO_UDP' in scope
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
    |                                                                       `- error: cannot find 'IPPROTO_UDP' in scope
179 |             CFSocketIsValid(socket) else
180 |         {
/host/spi-builder-workspace/Sources/NTPClient.swift:178:43: error: 'nil' requires a contextual type
176 |         var context = CFSocketContext(version: 0, info: completion, retain: nil, release: nil,
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
    |                                           `- error: 'nil' requires a contextual type
179 |             CFSocketIsValid(socket) else
180 |         {
/host/spi-builder-workspace/Sources/NTPClient.swift:179:13: error: cannot find 'CFSocketIsValid' in scope
177 |                                       copyDescription: nil)
178 |         guard let socket = CFSocketCreate(nil, ip.family, SOCK_DGRAM, IPPROTO_UDP, types, callback, &context),
179 |             CFSocketIsValid(socket) else
    |             `- error: cannot find 'CFSocketIsValid' in scope
180 |         {
181 |             return nil
/host/spi-builder-workspace/Sources/NTPClient.swift:184:29: error: cannot find 'CFSocketCreateRunLoopSource' in scope
182 |         }
183 |
184 |         let runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket, 0)
    |                             `- error: cannot find 'CFSocketCreateRunLoopSource' in scope
185 |         CFRunLoopAddSource(CFRunLoopGetMain(), runLoopSource, CFRunLoopMode.commonModes)
186 |         CFSocketConnectToAddress(socket, ip.addressData(withPort: port), timeout)
/host/spi-builder-workspace/Sources/NTPClient.swift:184:57: error: cannot find 'kCFAllocatorDefault' in scope
182 |         }
183 |
184 |         let runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket, 0)
    |                                                         `- error: cannot find 'kCFAllocatorDefault' in scope
185 |         CFRunLoopAddSource(CFRunLoopGetMain(), runLoopSource, CFRunLoopMode.commonModes)
186 |         CFSocketConnectToAddress(socket, ip.addressData(withPort: port), timeout)
/host/spi-builder-workspace/Sources/NTPClient.swift:185:9: error: cannot find 'CFRunLoopAddSource' in scope
183 |
184 |         let runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket, 0)
185 |         CFRunLoopAddSource(CFRunLoopGetMain(), runLoopSource, CFRunLoopMode.commonModes)
    |         `- error: cannot find 'CFRunLoopAddSource' in scope
186 |         CFSocketConnectToAddress(socket, ip.addressData(withPort: port), timeout)
187 |         return (runLoopSource!, socket)
/host/spi-builder-workspace/Sources/NTPClient.swift:185:28: error: cannot find 'CFRunLoopGetMain' in scope
183 |
184 |         let runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket, 0)
185 |         CFRunLoopAddSource(CFRunLoopGetMain(), runLoopSource, CFRunLoopMode.commonModes)
    |                            `- error: cannot find 'CFRunLoopGetMain' in scope
186 |         CFSocketConnectToAddress(socket, ip.addressData(withPort: port), timeout)
187 |         return (runLoopSource!, socket)
/host/spi-builder-workspace/Sources/NTPClient.swift:185:63: error: cannot find 'CFRunLoopMode' in scope
183 |
184 |         let runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket, 0)
185 |         CFRunLoopAddSource(CFRunLoopGetMain(), runLoopSource, CFRunLoopMode.commonModes)
    |                                                               `- error: cannot find 'CFRunLoopMode' in scope
186 |         CFSocketConnectToAddress(socket, ip.addressData(withPort: port), timeout)
187 |         return (runLoopSource!, socket)
/host/spi-builder-workspace/Sources/NTPClient.swift:186:9: error: cannot find 'CFSocketConnectToAddress' in scope
184 |         let runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket, 0)
185 |         CFRunLoopAddSource(CFRunLoopGetMain(), runLoopSource, CFRunLoopMode.commonModes)
186 |         CFSocketConnectToAddress(socket, ip.addressData(withPort: port), timeout)
    |         `- error: cannot find 'CFSocketConnectToAddress' in scope
187 |         return (runLoopSource!, socket)
188 |     }
/host/spi-builder-workspace/Sources/InternetAddress.swift:60:45: error: cannot find type 'CFData' in scope
 58 |     ///
 59 |     /// - returns: An address struct wrapped into a CFData type.
 60 |     func addressData(withPort port: Int) -> CFData {
    |                                             `- error: cannot find type 'CFData' in scope
 61 |         switch self {
 62 |         case .ipv6(var address):
[14/15] Compiling Kronos NTPPacket.swift
[15/15] Compiling Kronos resource_bundle_accessor.swift
BUILD FAILURE 6.2 android