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 Kitura-CredentialsJWT, reference master (232caa), with Swift 6.1 for Android on 27 May 2025 20:53:26 UTC.

Build Command

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

Build Log

/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2168:63: error: cannot find 'IPV6_V6ONLY' in scope
2166 |         // Configure ipv6 socket so that it can share ports with ipv4 on the same port.
2167 |         if sig.protocolFamily == .inet6 && sig.proto == .tcp {
2168 |             if setsockopt(self.socketfd, Int32(IPPROTO_IPV6), IPV6_V6ONLY, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                                               `- error: cannot find 'IPV6_V6ONLY' in scope
2169 |
2170 |                 throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2205:16: error: cannot find 'addrinfo' in scope
2203 | 				ai_next: nil)
2204 | 		#else
2205 | 			var hints = addrinfo(
     |                `- error: cannot find 'addrinfo' in scope
2206 | 				ai_flags: AI_PASSIVE,
2207 | 				ai_family: sig.protocolFamily.value,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2206:15: error: cannot find 'AI_PASSIVE' in scope
2204 | 		#else
2205 | 			var hints = addrinfo(
2206 | 				ai_flags: AI_PASSIVE,
     |               `- error: cannot find 'AI_PASSIVE' in scope
2207 | 				ai_family: sig.protocolFamily.value,
2208 | 				ai_socktype: sig.socketType.value,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2211:19: error: 'nil' requires a contextual type
2209 | 				ai_protocol: 0,
2210 | 				ai_addrlen: 0,
2211 | 				ai_canonname: nil,
     |                   `- error: 'nil' requires a contextual type
2212 | 				ai_addr: nil,
2213 | 				ai_next: nil)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2212:14: error: 'nil' requires a contextual type
2210 | 				ai_addrlen: 0,
2211 | 				ai_canonname: nil,
2212 | 				ai_addr: nil,
     |              `- error: 'nil' requires a contextual type
2213 | 				ai_next: nil)
2214 | 		#endif
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2213:14: error: 'nil' requires a contextual type
2211 | 				ai_canonname: nil,
2212 | 				ai_addr: nil,
2213 | 				ai_next: nil)
     |              `- error: 'nil' requires a contextual type
2214 | 		#endif
2215 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2216:40: error: cannot find type 'addrinfo' in scope
2214 | 		#endif
2215 |
2216 | 		var targetInfo: UnsafeMutablePointer<addrinfo>?
     |                                        `- error: cannot find type 'addrinfo' in scope
2217 |
2218 | 		// Retrieve the info on our target...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2219:23: error: cannot find 'getaddrinfo' in scope
2217 |
2218 | 		// Retrieve the info on our target...
2219 | 		let status: Int32 = getaddrinfo(node ?? nil, String(port), &hints, &targetInfo)
     |                       `- error: cannot find 'getaddrinfo' in scope
2220 | 		if status != 0 {
2221 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2223:17: error: cannot find 'EAI_SYSTEM' in scope
2221 |
2222 | 			var errorString: String
2223 | 			if status == EAI_SYSTEM {
     |                 `- error: cannot find 'EAI_SYSTEM' in scope
2224 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
2225 | 			} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2224:51: error: cannot find 'errno' in scope
2222 | 			var errorString: String
2223 | 			if status == EAI_SYSTEM {
2224 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
     |                                                   `- error: cannot find 'errno' in scope
2225 | 			} else {
2226 | 				errorString = String(validatingUTF8: gai_strerror(errno)) ?? "Unknown error code."
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2226:42: error: cannot find 'gai_strerror' in scope
2224 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
2225 | 			} else {
2226 | 				errorString = String(validatingUTF8: gai_strerror(errno)) ?? "Unknown error code."
     |                                          `- error: cannot find 'gai_strerror' in scope
2227 | 			}
2228 | 			throw Error(code: Socket.SOCKET_ERR_GETADDRINFO_FAILED, reason: errorString)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2226:55: error: cannot find 'errno' in scope
2224 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
2225 | 			} else {
2226 | 				errorString = String(validatingUTF8: gai_strerror(errno)) ?? "Unknown error code."
     |                                                       `- error: cannot find 'errno' in scope
2227 | 			}
2228 | 			throw Error(code: Socket.SOCKET_ERR_GETADDRINFO_FAILED, reason: errorString)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2235:5: error: cannot find 'freeaddrinfo' in scope
2233 |
2234 | 			if targetInfo != nil {
2235 | 				freeaddrinfo(targetInfo)
     |     `- error: cannot find 'freeaddrinfo' in scope
2236 | 			}
2237 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2253:8: error: cannot find 'Darwin' in scope
2251 | 				}
2252 | 			#else
2253 | 				if Darwin.bind(self.socketfd, info!.pointee.ai_addr, info!.pointee.ai_addrlen) == 0 {
     |        `- error: cannot find 'Darwin' in scope
2254 |
2255 | 					// Success... We've found our address...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2277:8: error: cannot find 'getsockname' in scope
2275 | 		if port == 0 {
2276 | 			guard let addressFromSockName = try Address(addressProvider: { (sockaddr, length) in
2277 | 				if getsockname(self.socketfd, sockaddr, length) != 0 {
     |        `- error: cannot find 'getsockname' in scope
2278 | 					throw Error(code: Socket.SOCKET_ERR_BIND_FAILED, reason: "Unable to determine listening socket address after bind.")
2279 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2286:40: error: cannot find 'AF_INET6' in scope
2284 | 		} else {
2285 |
2286 | 			if info!.pointee.ai_family == Int32(AF_INET6) {
     |                                        `- error: cannot find 'AF_INET6' in scope
2287 |
2288 | 				var addr = sockaddr_in6()
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2288:16: error: cannot find 'sockaddr_in6' in scope
2286 | 			if info!.pointee.ai_family == Int32(AF_INET6) {
2287 |
2288 | 				var addr = sockaddr_in6()
     |                `- error: cannot find 'sockaddr_in6' in scope
2289 | 				memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in6>.size))
2290 | 				address = .ipv6(addr)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2289:59: error: cannot find type 'sockaddr_in6' in scope
2287 |
2288 | 				var addr = sockaddr_in6()
2289 | 				memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in6>.size))
     |                                                           `- error: cannot find type 'sockaddr_in6' in scope
2290 | 				address = .ipv6(addr)
2291 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2292:47: error: cannot find 'AF_INET' in scope
2290 | 				address = .ipv6(addr)
2291 |
2292 | 			} else if info!.pointee.ai_family == Int32(AF_INET) {
     |                                               `- error: cannot find 'AF_INET' in scope
2293 |
2294 | 				var addr = sockaddr_in()
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2294:16: error: cannot find 'sockaddr_in' in scope
2292 | 			} else if info!.pointee.ai_family == Int32(AF_INET) {
2293 |
2294 | 				var addr = sockaddr_in()
     |                `- error: cannot find 'sockaddr_in' in scope
2295 | 				memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in>.size))
2296 | 				address = .ipv4(addr)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2295:59: error: cannot find type 'sockaddr_in' in scope
2293 |
2294 | 				var addr = sockaddr_in()
2295 | 				memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in>.size))
     |                                                           `- error: cannot find type 'sockaddr_in' in scope
2296 | 				address = .ipv4(addr)
2297 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2326:7: error: cannot find 'Darwin' in scope
2324 | 			}
2325 | 		#else
2326 | 			if Darwin.listen(self.socketfd, Int32(maxBacklogSize)) < 0 {
     |       `- error: cannot find 'Darwin' in scope
2327 |
2328 | 				throw Error(code: Socket.SOCKET_ERR_LISTEN_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2362:6: error: cannot find 'setsockopt' in scope
2360 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2361 | 		var on: Int32 = 1
2362 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |      `- error: cannot find 'setsockopt' in scope
2363 |
2364 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2362:32: error: cannot find 'SOL_SOCKET' in scope
2360 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2361 | 		var on: Int32 = 1
2362 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                `- error: cannot find 'SOL_SOCKET' in scope
2363 |
2364 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2362:44: error: cannot find 'SO_REUSEADDR' in scope
2360 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2361 | 		var on: Int32 = 1
2362 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                            `- error: cannot find 'SO_REUSEADDR' in scope
2363 |
2364 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2378:8: error: cannot find 'Darwin' in scope
2376 | 			_ = Glibc.unlink(path)
2377 | 		#else
2378 | 			_ = Darwin.unlink(path)
     |        `- error: cannot find 'Darwin' in scope
2379 | 		#endif
2380 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2392:42: error: cannot find 'sockaddr' in scope
2390 | 		}
2391 |
2392 | 		let rc = addrPtr.withMemoryRebound(to: sockaddr.self, capacity: 1) {
     |                                          `- error: cannot find 'sockaddr' in scope
2393 |
2394 | 			(p: UnsafeMutablePointer<sockaddr>) -> Int32 in
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2399:12: error: cannot find 'Darwin' in scope
2397 | 				return Glibc.bind(self.socketfd, p, socklen_t(addrLen))
2398 | 			#else
2399 | 				return Darwin.bind(self.socketfd, p, socklen_t(addrLen))
     |            `- error: cannot find 'Darwin' in scope
2400 | 			#endif
2401 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2394:29: error: cannot find type 'sockaddr' in scope
2392 | 		let rc = addrPtr.withMemoryRebound(to: sockaddr.self, capacity: 1) {
2393 |
2394 | 			(p: UnsafeMutablePointer<sockaddr>) -> Int32 in
     |                             `- error: cannot find type 'sockaddr' in scope
2395 |
2396 | 			#if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2392:20: error: generic parameter 'T' could not be inferred
2390 | 		}
2391 |
2392 | 		let rc = addrPtr.withMemoryRebound(to: sockaddr.self, capacity: 1) {
     |                    `- error: generic parameter 'T' could not be inferred
2393 |
2394 | 			(p: UnsafeMutablePointer<sockaddr>) -> Int32 in
Swift.UnsafeMutablePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafeMutablePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafeMutablePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2415:7: error: cannot find 'Darwin' in scope
2413 | 			}
2414 | 		#else
2415 | 			if Darwin.listen(self.socketfd, Int32(maxBacklogSize)) < 0 {
     |       `- error: cannot find 'Darwin' in scope
2416 |
2417 | 				throw Error(code: Socket.SOCKET_ERR_LISTEN_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3020:10: error: cannot find 'Darwin' in scope
3018 | 					s = Glibc.send(self.socketfd, buffer.advanced(by: sent), Int(bufSize - sent), sendFlags)
3019 | 				#else
3020 | 					s = Darwin.send(self.socketfd, buffer.advanced(by: sent), Int(bufSize - sent), sendFlags)
     |          `- error: cannot find 'Darwin' in scope
3021 | 				#endif
3022 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3025:8: error: cannot find 'errno' in scope
3023 | 			if s <= 0 {
3024 |
3025 | 				if errno == EAGAIN && !isBlocking {
     |        `- error: cannot find 'errno' in scope
3026 |
3027 | 					// We have written out as much as we can...
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3032:8: error: cannot find 'errno' in scope
3030 |
3031 | 				// - Handle a connection reset by peer (ECONNRESET) and throw a different exception...
3032 | 				if errno == ECONNRESET {
     |        `- error: cannot find 'errno' in scope
3033 | 					self.remoteConnectionClosed = true
3034 | 					throw Error(code: Socket.SOCKET_ERR_CONNECTION_RESET, reason: self.lastError())
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3157:10: error: cannot find 'Darwin' in scope
3155 | 					s = Glibc.sendto(self.socketfd, buffer.advanced(by: sent), Int(bufSize - sent), sendFlags, addressPointer, addressLength)
3156 | 				#else
3157 | 					s = Darwin.sendto(self.socketfd, buffer.advanced(by: sent), Int(bufSize - sent), sendFlags, addressPointer, addressLength)
     |          `- error: cannot find 'Darwin' in scope
3158 | 				#endif
3159 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3162:9: error: cannot find 'errno' in scope
3160 | 				if s <= 0 {
3161 |
3162 | 					if errno == EAGAIN && !isBlocking {
     |         `- error: cannot find 'errno' in scope
3163 |
3164 | 						// We have written out as much as we can...
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3169:9: error: cannot find 'errno' in scope
3167 |
3168 | 					// - Handle a connection reset by peer (ECONNRESET) and throw a different exception...
3169 | 					if errno == ECONNRESET {
     |         `- error: cannot find 'errno' in scope
3170 | 						self.remoteConnectionClosed = true
3171 | 						throw Error(code: Socket.SOCKET_ERR_CONNECTION_RESET, reason: self.lastError())
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3302:22: error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
3300 | 					timer.tv_usec = Int(uSecs)
3301 | 				#else
3302 | 					timer.tv_usec = Int32(uSecs)
     |                      `- error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
3303 | 				#endif
3304 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3327:15: error: cannot find 'fcntl' in scope
3325 | 	public func setBlocking(mode shouldBlock: Bool) throws {
3326 |
3327 | 		let flags = fcntl(self.socketfd, F_GETFL)
     |               `- error: cannot find 'fcntl' in scope
3328 | 		if flags < 0 {
3329 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3327:36: error: cannot find 'F_GETFL' in scope
3325 | 	public func setBlocking(mode shouldBlock: Bool) throws {
3326 |
3327 | 		let flags = fcntl(self.socketfd, F_GETFL)
     |                                    `- error: cannot find 'F_GETFL' in scope
3328 | 		if flags < 0 {
3329 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3336:13: error: cannot find 'fcntl' in scope
3334 | 		if shouldBlock {
3335 |
3336 | 			result = fcntl(self.socketfd, F_SETFL, flags & ~O_NONBLOCK)
     |             `- error: cannot find 'fcntl' in scope
3337 |
3338 | 		} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3336:34: error: cannot find 'F_SETFL' in scope
3334 | 		if shouldBlock {
3335 |
3336 | 			result = fcntl(self.socketfd, F_SETFL, flags & ~O_NONBLOCK)
     |                                  `- error: cannot find 'F_SETFL' in scope
3337 |
3338 | 		} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3336:52: error: cannot find 'O_NONBLOCK' in scope
3334 | 		if shouldBlock {
3335 |
3336 | 			result = fcntl(self.socketfd, F_SETFL, flags & ~O_NONBLOCK)
     |                                                    `- error: cannot find 'O_NONBLOCK' in scope
3337 |
3338 | 		} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3340:13: error: cannot find 'fcntl' in scope
3338 | 		} else {
3339 |
3340 | 			result = fcntl(self.socketfd, F_SETFL, flags | O_NONBLOCK)
     |             `- error: cannot find 'fcntl' in scope
3341 | 		}
3342 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3340:34: error: cannot find 'F_SETFL' in scope
3338 | 		} else {
3339 |
3340 | 			result = fcntl(self.socketfd, F_SETFL, flags | O_NONBLOCK)
     |                                  `- error: cannot find 'F_SETFL' in scope
3341 | 		}
3342 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3340:51: error: cannot find 'O_NONBLOCK' in scope
3338 | 		} else {
3339 |
3340 | 			result = fcntl(self.socketfd, F_SETFL, flags | O_NONBLOCK)
     |                                                   `- error: cannot find 'O_NONBLOCK' in scope
3341 | 		}
3342 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3379:21: error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
3377 | 				timer.tv_usec = Int(uSecs)
3378 | 			#else
3379 | 				timer.tv_usec = Int32(uSecs)
     |                     `- error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
3380 | 			#endif
3381 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3383:16: error: cannot find 'setsockopt' in scope
3381 | 		}
3382 |
3383 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_RCVTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                `- error: cannot find 'setsockopt' in scope
3384 |
3385 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3383:42: error: cannot find 'SOL_SOCKET' in scope
3381 | 		}
3382 |
3383 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_RCVTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                                          `- error: cannot find 'SOL_SOCKET' in scope
3384 |
3385 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3383:54: error: cannot find 'SO_RCVTIMEO' in scope
3381 | 		}
3382 |
3383 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_RCVTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                                                      `- error: cannot find 'SO_RCVTIMEO' in scope
3384 |
3385 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3419:21: error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
3417 | 				timer.tv_usec = Int(uSecs)
3418 | 			#else
3419 | 				timer.tv_usec = Int32(uSecs)
     |                     `- error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
3420 | 			#endif
3421 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3423:16: error: cannot find 'setsockopt' in scope
3421 | 		}
3422 |
3423 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_SNDTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                `- error: cannot find 'setsockopt' in scope
3424 |
3425 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3423:42: error: cannot find 'SOL_SOCKET' in scope
3421 | 		}
3422 |
3423 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_SNDTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                                          `- error: cannot find 'SOL_SOCKET' in scope
3424 |
3425 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3423:54: error: cannot find 'SO_SNDTIMEO' in scope
3421 | 		}
3422 |
3423 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_SNDTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                                                      `- error: cannot find 'SO_SNDTIMEO' in scope
3424 |
3425 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3454:6: error: cannot find 'setsockopt' in scope
3452 | 		// Turn on or off UDP broadcasting...
3453 | 		var on: Int32 = enable ? 1 : 0
3454 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_BROADCAST, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |      `- error: cannot find 'setsockopt' in scope
3455 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3456 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3454:32: error: cannot find 'SOL_SOCKET' in scope
3452 | 		// Turn on or off UDP broadcasting...
3453 | 		var on: Int32 = enable ? 1 : 0
3454 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_BROADCAST, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                `- error: cannot find 'SOL_SOCKET' in scope
3455 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3456 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3454:44: error: cannot find 'SO_BROADCAST' in scope
3452 | 		// Turn on or off UDP broadcasting...
3453 | 		var on: Int32 = enable ? 1 : 0
3454 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_BROADCAST, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                            `- error: cannot find 'SO_BROADCAST' in scope
3455 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3456 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3487:10: error: cannot find 'Darwin' in scope
3485 | 			#else
3486 | 				if self.isListening {
3487 | 					_ = Darwin.shutdown(self.socketfd, Int32(SHUT_RDWR))
     |          `- error: cannot find 'Darwin' in scope
3488 | 					self.isListening = false
3489 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3487:47: error: cannot find 'SHUT_RDWR' in scope
3485 | 			#else
3486 | 				if self.isListening {
3487 | 					_ = Darwin.shutdown(self.socketfd, Int32(SHUT_RDWR))
     |                                               `- error: cannot find 'SHUT_RDWR' in scope
3488 | 					self.isListening = false
3489 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3491:9: error: cannot find 'Darwin' in scope
3489 | 				}
3490 | 				self.isConnected = false
3491 | 				_ = Darwin.close(self.socketfd)
     |         `- error: cannot find 'Darwin' in scope
3492 | 			#endif
3493 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3508:10: error: cannot find 'Darwin' in scope
3506 | 					_ = Glibc.unlink(self.signature!.path!)
3507 | 				#else
3508 | 					_ = Darwin.unlink(self.signature!.path!)
     |          `- error: cannot find 'Darwin' in scope
3509 | 				#endif
3510 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3532:23: error: cannot find 'MSG_DONTWAIT' in scope
3530 | 		var recvFlags: Int32 = 0
3531 | 		if self.readStorage.length > 0 {
3532 | 			recvFlags |= Int32(MSG_DONTWAIT)
     |                       `- error: cannot find 'MSG_DONTWAIT' in scope
3533 | 		}
3534 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3544:14: error: cannot find 'Darwin' in scope
3542 | 					count = Glibc.recv(self.socketfd, self.readBuffer, self.readBufferSize, recvFlags)
3543 | 				#else
3544 | 					count = Darwin.recv(self.socketfd, self.readBuffer, self.readBufferSize, recvFlags)
     |              `- error: cannot find 'Darwin' in scope
3545 | 				#endif
3546 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3592:12: error: cannot find 'errno' in scope
3590 | 			if count < 0 {
3591 |
3592 | 				switch errno {
     |            `- error: cannot find 'errno' in scope
3593 |
3594 | 				// - Could be an error, but if errno is EAGAIN or EWOULDBLOCK (if a non-blocking socket),
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3646:23: error: cannot find 'MSG_DONTWAIT' in scope
3644 | 		var recvFlags: Int32 = 0
3645 | 		if self.readStorage.length > 0 {
3646 | 			recvFlags |= Int32(MSG_DONTWAIT)
     |                       `- error: cannot find 'MSG_DONTWAIT' in scope
3647 | 		}
3648 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3656:18: error: cannot find 'Darwin' in scope
3654 | 					let count = Glibc.recvfrom(self.socketfd, self.readBuffer, self.readBufferSize, recvFlags, addresssPointer, addressLengthPointer)
3655 | 				#else
3656 | 					let count = Darwin.recvfrom(self.socketfd, self.readBuffer, self.readBufferSize, recvFlags, addresssPointer, addressLengthPointer)
     |                  `- error: cannot find 'Darwin' in scope
3657 | 				#endif
3658 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3664:9: error: cannot find 'errno' in scope
3662 | 					// - Could be an error, but if errno is EAGAIN or EWOULDBLOCK (if a non-blocking socket),
3663 | 					//		it means there was NO data to read...
3664 | 					if errno == EAGAIN || errno == EWOULDBLOCK {
     |         `- error: cannot find 'errno' in scope
3665 |
3666 | 						throw OperationInterrupted.readDatagram(length: self.readStorage.length)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3664:28: error: cannot find 'errno' in scope
3662 | 					// - Could be an error, but if errno is EAGAIN or EWOULDBLOCK (if a non-blocking socket),
3663 | 					//		it means there was NO data to read...
3664 | 					if errno == EAGAIN || errno == EWOULDBLOCK {
     |                            `- error: cannot find 'errno' in scope
3665 |
3666 | 						throw OperationInterrupted.readDatagram(length: self.readStorage.length)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3670:9: error: cannot find 'errno' in scope
3668 |
3669 | 					// - Handle a connection reset by peer (ECONNRESET) and throw a different exception...
3670 | 					if errno == ECONNRESET {
     |         `- error: cannot find 'errno' in scope
3671 | 						self.remoteConnectionClosed = true
3672 | 						throw Error(code: Socket.SOCKET_ERR_CONNECTION_RESET, reason: self.lastError())
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3737:42: error: cannot find 'errno' in scope
3735 | 	private func lastError() -> String {
3736 |
3737 | 		return String(validatingUTF8: strerror(errno)) ?? "Error: \(errno)"
     |                                          `- error: cannot find 'errno' in scope
3738 | 	}
3739 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3737:63: error: cannot find 'errno' in scope
3735 | 	private func lastError() -> String {
3736 |
3737 | 		return String(validatingUTF8: strerror(errno)) ?? "Error: \(errno)"
     |                                                               `- error: cannot find 'errno' in scope
3738 | 	}
3739 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3753:7: error: cannot find 'setsockopt' in scope
3751 | 			// MSG_NOSIGNAL flags passed to send.  See the write() functions below.
3752 | 			var on: Int32 = 1
3753 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_NOSIGPIPE, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |       `- error: cannot find 'setsockopt' in scope
3754 | 				throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3755 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3753:33: error: cannot find 'SOL_SOCKET' in scope
3751 | 			// MSG_NOSIGNAL flags passed to send.  See the write() functions below.
3752 | 			var on: Int32 = 1
3753 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_NOSIGPIPE, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                 `- error: cannot find 'SOL_SOCKET' in scope
3754 | 				throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3755 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3753:45: error: cannot find 'SO_NOSIGPIPE' in scope
3751 | 			// MSG_NOSIGNAL flags passed to send.  See the write() functions below.
3752 | 			var on: Int32 = 1
3753 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_NOSIGPIPE, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                             `- error: cannot find 'SO_NOSIGPIPE' in scope
3754 | 				throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3755 | 			}
[74/75] Compiling LoggerAPI Logger.swift
[75/75] Emitting module LoggerAPI
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/47] Compiling CryptorRSA Data+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[3/48] Emitting module KituraTemplateEngine
[4/48] Compiling KituraTemplateEngine TemplateEngine.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/49] Emitting module CryptorECC
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:60:31: error: cannot find type 'SecKey' in scope
 58 |         deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |         typealias NativeKey = SecKey
    |                               `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:60:27: error: cannot find type 'SecKey' in scope
 58 |     deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |     typealias NativeKey = SecKey
    |                           `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:61:27: error: cannot find type 'SecKeyAlgorithm' in scope
 59 |     let hashLength = CC_LONG(SHA256_DIGEST_LENGTH)
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
    |                           `- error: cannot find type 'SecKeyAlgorithm' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:63:56: error: cannot find type 'CC_LONG' in scope
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
    |                                                        `- error: cannot find type 'CC_LONG' in scope
 64 |     let hashLength: CC_LONG
 65 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:64:21: error: cannot find type 'CC_LONG' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
    |                     `- error: cannot find type 'CC_LONG' in scope
 65 |     #endif
 66 |     let keySize: Int
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:90:49: error: cannot find 'CC_SHA256' in scope
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
    |                                                 `- error: cannot find 'CC_SHA256' in scope
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
 92 |                                     keySize: 65)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:49: error: cannot find 'CC_LONG' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:57: error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:88:62: error: cannot infer contextual base in reference to member 'prime256v1'
 86 |     #else
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
    |                                                              `- error: cannot infer contextual base in reference to member 'prime256v1'
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:89:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:97:49: error: cannot find 'CC_SHA384' in scope
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
    |                                                 `- error: cannot find 'CC_SHA384' in scope
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
 99 |                                     keySize: 97)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:49: error: cannot find 'CC_LONG' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:57: error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:95:62: error: cannot infer contextual base in reference to member 'secp384r1'
 93 |
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp384r1'
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:96:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:104:49: error: cannot find 'CC_SHA512' in scope
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
    |                                                 `- error: cannot find 'CC_SHA512' in scope
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
106 |                                     keySize: 133)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:49: error: cannot find 'CC_LONG' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:57: error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:102:62: error: cannot infer contextual base in reference to member 'secp521r1'
100 |
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp521r1'
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:103:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:62:31: error: cannot find 'SecKeyAlgorithm' in scope
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
    |                               `- error: cannot find 'SecKeyAlgorithm' in scope
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
[7/50] Compiling CryptorRSA SSLPointerTricks.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[8/50] Compiling Cryptor Digest.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:46:25: error: cannot find 'Status' in scope
 44 |     /// It is here to provide for engines which can fail.
 45 |     ///
 46 |     public var status = Status.success
    |                         `- error: cannot find 'Status' in scope
 47 |
 48 |     ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:189:54: error: cannot find type 'CC_LONG' in scope
187 | 	///		- byteCount:	The length of the buffer.
188 | 	///
189 |     func update(buffer: UnsafeRawPointer, byteCount: CC_LONG)
    |                                                      `- error: cannot find type 'CC_LONG' in scope
190 |
191 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:211:43: error: cannot find type 'CC_LONG' in scope
209 |     typealias Digest = UnsafeMutablePointer<UInt8>
210 |     typealias Initializer = (Context) -> (Int32)
211 |     typealias Updater = (Context, Buffer, CC_LONG) -> (Int32)
    |                                           `- error: cannot find type 'CC_LONG' in scope
212 |     typealias Finalizer = (Digest, Context) -> (Int32)
213 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:229:52: error: @escaping attribute only applies to function types
227 | 	/// 	- length:		The digest length.
228 | 	///
229 | 	init(initializer: @escaping Initializer, updater: @escaping Updater, finalizer: @escaping Finalizer, length: Int32) {
    |                                                    `- error: @escaping attribute only applies to function types
230 |
231 |         self.initializer = initializer
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:257:41: error: cannot find type 'CC_LONG' in scope
255 | 	///		- byteCount:	The length of the buffer.
256 | 	///
257 | 	func update(buffer: Buffer, byteCount: CC_LONG) {
    |                                         `- error: cannot find type 'CC_LONG' in scope
258 |
259 |         _ = updater(context, buffer, byteCount)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:159:50: error: cannot find 'CC_LONG' in scope
157 |     public func update(from buffer: UnsafeRawPointer, byteCount: size_t) -> Self? {
158 |
159 |         engine.update(buffer: buffer, byteCount: CC_LONG(byteCount))
    |                                                  `- error: cannot find 'CC_LONG' in scope
160 |         return self
161 |     }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:170:38: error: cannot find type 'Status' in scope
168 |
169 |     /// Status of the calculation
170 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
171 |
172 | 	#if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:175:25: error: cannot find 'Context' in scope
173 | 		private let context = HMAC_CTX_new_wrapper()
174 | 	#else
175 | 		private let context = Context.allocate(capacity: 1)
    |                         `- error: cannot find 'Context' in scope
176 | 	#endif
177 |     private var algorithm: Algorithm
[9/50] Compiling Cryptor HMAC.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:46:25: error: cannot find 'Status' in scope
 44 |     /// It is here to provide for engines which can fail.
 45 |     ///
 46 |     public var status = Status.success
    |                         `- error: cannot find 'Status' in scope
 47 |
 48 |     ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:189:54: error: cannot find type 'CC_LONG' in scope
187 | 	///		- byteCount:	The length of the buffer.
188 | 	///
189 |     func update(buffer: UnsafeRawPointer, byteCount: CC_LONG)
    |                                                      `- error: cannot find type 'CC_LONG' in scope
190 |
191 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:211:43: error: cannot find type 'CC_LONG' in scope
209 |     typealias Digest = UnsafeMutablePointer<UInt8>
210 |     typealias Initializer = (Context) -> (Int32)
211 |     typealias Updater = (Context, Buffer, CC_LONG) -> (Int32)
    |                                           `- error: cannot find type 'CC_LONG' in scope
212 |     typealias Finalizer = (Digest, Context) -> (Int32)
213 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:229:52: error: @escaping attribute only applies to function types
227 | 	/// 	- length:		The digest length.
228 | 	///
229 | 	init(initializer: @escaping Initializer, updater: @escaping Updater, finalizer: @escaping Finalizer, length: Int32) {
    |                                                    `- error: @escaping attribute only applies to function types
230 |
231 |         self.initializer = initializer
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:257:41: error: cannot find type 'CC_LONG' in scope
255 | 	///		- byteCount:	The length of the buffer.
256 | 	///
257 | 	func update(buffer: Buffer, byteCount: CC_LONG) {
    |                                         `- error: cannot find type 'CC_LONG' in scope
258 |
259 |         _ = updater(context, buffer, byteCount)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:159:50: error: cannot find 'CC_LONG' in scope
157 |     public func update(from buffer: UnsafeRawPointer, byteCount: size_t) -> Self? {
158 |
159 |         engine.update(buffer: buffer, byteCount: CC_LONG(byteCount))
    |                                                  `- error: cannot find 'CC_LONG' in scope
160 |         return self
161 |     }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:170:38: error: cannot find type 'Status' in scope
168 |
169 |     /// Status of the calculation
170 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
171 |
172 | 	#if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:175:25: error: cannot find 'Context' in scope
173 | 		private let context = HMAC_CTX_new_wrapper()
174 | 	#else
175 | 		private let context = Context.allocate(capacity: 1)
    |                         `- error: cannot find 'Context' in scope
176 | 	#endif
177 |     private var algorithm: Algorithm
[10/51] Compiling Cryptor Crypto.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECDecryptable.swift:132:30: error: cannot find type 'CFError' in scope
130 |         return Data(bytes: decrypted, count: Int(decMsgLen))
131 |     #else
132 |         var error: Unmanaged<CFError>? = nil
    |                              `- error: cannot find type 'CFError' in scope
133 |         guard let eData = SecKeyCreateDecryptedData(key.nativeKey,
134 |                                                     key.curve.encryptionAlgorithm,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECDecryptable.swift:133:27: error: cannot find 'SecKeyCreateDecryptedData' in scope
131 |     #else
132 |         var error: Unmanaged<CFError>? = nil
133 |         guard let eData = SecKeyCreateDecryptedData(key.nativeKey,
    |                           `- error: cannot find 'SecKeyCreateDecryptedData' in scope
134 |                                                     key.curve.encryptionAlgorithm,
135 |                                                     self as CFData,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:60:31: error: cannot find type 'SecKey' in scope
 58 |         deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |         typealias NativeKey = SecKey
    |                               `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:62:31: error: cannot find 'SecKeyAlgorithm' in scope
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
    |                               `- error: cannot find 'SecKeyAlgorithm' in scope
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECDecryptable.swift:135:61: error: cannot find type 'CFData' in scope
133 |         guard let eData = SecKeyCreateDecryptedData(key.nativeKey,
134 |                                                     key.curve.encryptionAlgorithm,
135 |                                                     self as CFData,
    |                                                             `- error: cannot find type 'CFData' in scope
136 |                                                     &error)
137 |         else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECEncryptable.swift:162:30: error: cannot find type 'CFError' in scope
160 |         return ekFinal + cipher + tagFinal
161 |     #else
162 |         var error: Unmanaged<CFError>? = nil
    |                              `- error: cannot find type 'CFError' in scope
163 |         guard let eData = SecKeyCreateEncryptedData(key.nativeKey,
164 |                                                     key.curve.encryptionAlgorithm,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECEncryptable.swift:163:27: error: cannot find 'SecKeyCreateEncryptedData' in scope
161 |     #else
162 |         var error: Unmanaged<CFError>? = nil
163 |         guard let eData = SecKeyCreateEncryptedData(key.nativeKey,
    |                           `- error: cannot find 'SecKeyCreateEncryptedData' in scope
164 |                                                     key.curve.encryptionAlgorithm,
165 |                                                     self as CFData,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:60:27: error: cannot find type 'SecKey' in scope
 58 |     deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |     typealias NativeKey = SecKey
    |                           `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECEncryptable.swift:165:61: error: cannot find type 'CFData' in scope
163 |         guard let eData = SecKeyCreateEncryptedData(key.nativeKey,
164 |                                                     key.curve.encryptionAlgorithm,
165 |                                                     self as CFData,
    |                                                             `- error: cannot find type 'CFData' in scope
166 |                                                     &error)
167 |         else {
[11/51] Compiling Cryptor Cryptor.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECDecryptable.swift:132:30: error: cannot find type 'CFError' in scope
130 |         return Data(bytes: decrypted, count: Int(decMsgLen))
131 |     #else
132 |         var error: Unmanaged<CFError>? = nil
    |                              `- error: cannot find type 'CFError' in scope
133 |         guard let eData = SecKeyCreateDecryptedData(key.nativeKey,
134 |                                                     key.curve.encryptionAlgorithm,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECDecryptable.swift:133:27: error: cannot find 'SecKeyCreateDecryptedData' in scope
131 |     #else
132 |         var error: Unmanaged<CFError>? = nil
133 |         guard let eData = SecKeyCreateDecryptedData(key.nativeKey,
    |                           `- error: cannot find 'SecKeyCreateDecryptedData' in scope
134 |                                                     key.curve.encryptionAlgorithm,
135 |                                                     self as CFData,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:60:31: error: cannot find type 'SecKey' in scope
 58 |         deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |         typealias NativeKey = SecKey
    |                               `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:62:31: error: cannot find 'SecKeyAlgorithm' in scope
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
    |                               `- error: cannot find 'SecKeyAlgorithm' in scope
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECDecryptable.swift:135:61: error: cannot find type 'CFData' in scope
133 |         guard let eData = SecKeyCreateDecryptedData(key.nativeKey,
134 |                                                     key.curve.encryptionAlgorithm,
135 |                                                     self as CFData,
    |                                                             `- error: cannot find type 'CFData' in scope
136 |                                                     &error)
137 |         else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECEncryptable.swift:162:30: error: cannot find type 'CFError' in scope
160 |         return ekFinal + cipher + tagFinal
161 |     #else
162 |         var error: Unmanaged<CFError>? = nil
    |                              `- error: cannot find type 'CFError' in scope
163 |         guard let eData = SecKeyCreateEncryptedData(key.nativeKey,
164 |                                                     key.curve.encryptionAlgorithm,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECEncryptable.swift:163:27: error: cannot find 'SecKeyCreateEncryptedData' in scope
161 |     #else
162 |         var error: Unmanaged<CFError>? = nil
163 |         guard let eData = SecKeyCreateEncryptedData(key.nativeKey,
    |                           `- error: cannot find 'SecKeyCreateEncryptedData' in scope
164 |                                                     key.curve.encryptionAlgorithm,
165 |                                                     self as CFData,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:60:27: error: cannot find type 'SecKey' in scope
 58 |     deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |     typealias NativeKey = SecKey
    |                           `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECEncryptable.swift:165:61: error: cannot find type 'CFData' in scope
163 |         guard let eData = SecKeyCreateEncryptedData(key.nativeKey,
164 |                                                     key.curve.encryptionAlgorithm,
165 |                                                     self as CFData,
    |                                                             `- error: cannot find type 'CFData' in scope
166 |                                                     &error)
167 |         else {
[12/51] Compiling Cryptor KeyDerivation.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:60:31: error: cannot find type 'SecKey' in scope
 58 |         deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |         typealias NativeKey = SecKey
    |                               `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:90:49: error: cannot find 'CC_SHA256' in scope
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
    |                                                 `- error: cannot find 'CC_SHA256' in scope
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
 92 |                                     keySize: 65)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:49: error: cannot find 'CC_LONG' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:57: error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:61:27: error: cannot find type 'SecKeyAlgorithm' in scope
 59 |     let hashLength = CC_LONG(SHA256_DIGEST_LENGTH)
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
    |                           `- error: cannot find type 'SecKeyAlgorithm' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:63:56: error: cannot find type 'CC_LONG' in scope
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
    |                                                        `- error: cannot find type 'CC_LONG' in scope
 64 |     let hashLength: CC_LONG
 65 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:64:21: error: cannot find type 'CC_LONG' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
    |                     `- error: cannot find type 'CC_LONG' in scope
 65 |     #endif
 66 |     let keySize: Int
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:88:62: error: cannot infer contextual base in reference to member 'prime256v1'
 86 |     #else
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
    |                                                              `- error: cannot infer contextual base in reference to member 'prime256v1'
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:89:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:97:49: error: cannot find 'CC_SHA384' in scope
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
    |                                                 `- error: cannot find 'CC_SHA384' in scope
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
 99 |                                     keySize: 97)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:49: error: cannot find 'CC_LONG' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:57: error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:95:62: error: cannot infer contextual base in reference to member 'secp384r1'
 93 |
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp384r1'
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:96:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:104:49: error: cannot find 'CC_SHA512' in scope
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
    |                                                 `- error: cannot find 'CC_SHA512' in scope
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
106 |                                     keySize: 133)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:49: error: cannot find 'CC_LONG' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:57: error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:102:62: error: cannot infer contextual base in reference to member 'secp521r1'
100 |
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp521r1'
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:103:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:282:47: error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
280 |         }
281 |         #else
282 |         let kAsymmetricCryptoManagerKeyType = kSecAttrKeyTypeECSECPrimeRandom
    |                                               `- error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
283 |         let kAsymmetricCryptoManagerKeySize: Int
284 |         if curve == .prime256v1 {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:293:13: error: cannot find 'kSecAttrKeyType' in scope
291 |         // parameters
292 |         let parameters: [String: AnyObject] = [
293 |             kSecAttrKeyType as String:          kAsymmetricCryptoManagerKeyType,
    |             `- error: cannot find 'kSecAttrKeyType' in scope
294 |             kSecAttrKeySizeInBits as String:    kAsymmetricCryptoManagerKeySize as AnyObject,
295 |             ]
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:294:13: error: cannot find 'kSecAttrKeySizeInBits' in scope
292 |         let parameters: [String: AnyObject] = [
293 |             kSecAttrKeyType as String:          kAsymmetricCryptoManagerKeyType,
294 |             kSecAttrKeySizeInBits as String:    kAsymmetricCryptoManagerKeySize as AnyObject,
    |             `- error: cannot find 'kSecAttrKeySizeInBits' in scope
295 |             ]
296 |         var pubKey, privKey: SecKey?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:296:30: error: cannot find type 'SecKey' in scope
294 |             kSecAttrKeySizeInBits as String:    kAsymmetricCryptoManagerKeySize as AnyObject,
295 |             ]
296 |         var pubKey, privKey: SecKey?
    |                              `- error: cannot find type 'SecKey' in scope
297 |         let status = SecKeyGeneratePair(parameters as CFDictionary, &pubKey, &privKey)
298 |         guard status == 0, let newPubKey = pubKey, let newPrivKey = privKey else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:297:22: error: cannot find 'SecKeyGeneratePair' in scope
295 |             ]
296 |         var pubKey, privKey: SecKey?
297 |         let status = SecKeyGeneratePair(parameters as CFDictionary, &pubKey, &privKey)
    |                      `- error: cannot find 'SecKeyGeneratePair' in scope
298 |         guard status == 0, let newPubKey = pubKey, let newPrivKey = privKey else {
299 |             throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:297:55: error: cannot find type 'CFDictionary' in scope
295 |             ]
296 |         var pubKey, privKey: SecKey?
297 |         let status = SecKeyGeneratePair(parameters as CFDictionary, &pubKey, &privKey)
    |                                                       `- error: cannot find type 'CFDictionary' in scope
298 |         guard status == 0, let newPubKey = pubKey, let newPrivKey = privKey else {
299 |             throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:301:30: error: cannot find type 'CFError' in scope
299 |             throw ECError.failedNativeKeyCreation
300 |         }
301 |         var error: Unmanaged<CFError>? = nil
    |                              `- error: cannot find type 'CFError' in scope
302 |         guard let pubBytes = SecKeyCopyExternalRepresentation(newPubKey, &error) else {
303 |             guard let error = error?.takeRetainedValue() else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:302:30: error: cannot find 'SecKeyCopyExternalRepresentation' in scope
300 |         }
301 |         var error: Unmanaged<CFError>? = nil
302 |         guard let pubBytes = SecKeyCopyExternalRepresentation(newPubKey, &error) else {
    |                              `- error: cannot find 'SecKeyCopyExternalRepresentation' in scope
303 |             guard let error = error?.takeRetainedValue() else {
304 |                 throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:362:34: error: cannot find type 'CFError' in scope
360 |             }
361 |         #else
362 |             var error: Unmanaged<CFError>? = nil
    |                                  `- error: cannot find type 'CFError' in scope
363 |             /*
364 |              From Apple docs:
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:367:34: error: cannot find 'SecKeyCopyExternalRepresentation' in scope
365 |              For an elliptic curve private key, `SecKeyCopyExternalRepresentation` output is formatted as the public key concatenated with the big endian encoding of the secret scalar, or 04 || X || Y || K.
366 |              */
367 |             guard let keyBytes = SecKeyCopyExternalRepresentation(nativeKey, &error) else {
    |                                  `- error: cannot find 'SecKeyCopyExternalRepresentation' in scope
368 |                 guard let error = error?.takeRetainedValue() else {
369 |                     throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:449:34: error: cannot find type 'CFError' in scope
447 |         #else
448 |             let keyData = publicKeyData + privateKeyData
449 |             var error: Unmanaged<CFError>? = nil
    |                                  `- error: cannot find type 'CFError' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:450:32: error: cannot find 'SecKeyCreateWithData' in scope
448 |             let keyData = publicKeyData + privateKeyData
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
    |                                `- error: cannot find 'SecKeyCreateWithData' in scope
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:451:54: error: cannot find 'kSecAttrKeyType' in scope
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
    |                                                      `- error: cannot find 'kSecAttrKeyType' in scope
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
453 |                                                     &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:451:71: error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
    |                                                                       `- error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
453 |                                                     &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:452:54: error: cannot find 'kSecAttrKeyClass' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
    |                                                      `- error: cannot find 'kSecAttrKeyClass' in scope
453 |                                                     &error)
454 |             else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:452:72: error: cannot find 'kSecAttrKeyClassPrivate' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
    |                                                                        `- error: cannot find 'kSecAttrKeyClassPrivate' in scope
453 |                                                     &error)
454 |             else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:450:64: error: cannot find type 'CFData' in scope
448 |             let keyData = publicKeyData + privateKeyData
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
    |                                                                `- error: cannot find type 'CFData' in scope
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:452:100: error: cannot find type 'CFDictionary' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
    |                                                                                                    `- error: cannot find type 'CFDictionary' in scope
453 |                                                     &error)
454 |             else {
[13/51] Compiling Cryptor Random.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:60:31: error: cannot find type 'SecKey' in scope
 58 |         deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |         typealias NativeKey = SecKey
    |                               `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:90:49: error: cannot find 'CC_SHA256' in scope
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
    |                                                 `- error: cannot find 'CC_SHA256' in scope
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
 92 |                                     keySize: 65)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:49: error: cannot find 'CC_LONG' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:57: error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:61:27: error: cannot find type 'SecKeyAlgorithm' in scope
 59 |     let hashLength = CC_LONG(SHA256_DIGEST_LENGTH)
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
    |                           `- error: cannot find type 'SecKeyAlgorithm' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:63:56: error: cannot find type 'CC_LONG' in scope
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
    |                                                        `- error: cannot find type 'CC_LONG' in scope
 64 |     let hashLength: CC_LONG
 65 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:64:21: error: cannot find type 'CC_LONG' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
    |                     `- error: cannot find type 'CC_LONG' in scope
 65 |     #endif
 66 |     let keySize: Int
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:88:62: error: cannot infer contextual base in reference to member 'prime256v1'
 86 |     #else
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
    |                                                              `- error: cannot infer contextual base in reference to member 'prime256v1'
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:89:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:97:49: error: cannot find 'CC_SHA384' in scope
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
    |                                                 `- error: cannot find 'CC_SHA384' in scope
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
 99 |                                     keySize: 97)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:49: error: cannot find 'CC_LONG' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:57: error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:95:62: error: cannot infer contextual base in reference to member 'secp384r1'
 93 |
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp384r1'
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:96:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:104:49: error: cannot find 'CC_SHA512' in scope
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
    |                                                 `- error: cannot find 'CC_SHA512' in scope
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
106 |                                     keySize: 133)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:49: error: cannot find 'CC_LONG' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:57: error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:102:62: error: cannot infer contextual base in reference to member 'secp521r1'
100 |
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp521r1'
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:103:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:282:47: error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
280 |         }
281 |         #else
282 |         let kAsymmetricCryptoManagerKeyType = kSecAttrKeyTypeECSECPrimeRandom
    |                                               `- error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
283 |         let kAsymmetricCryptoManagerKeySize: Int
284 |         if curve == .prime256v1 {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:293:13: error: cannot find 'kSecAttrKeyType' in scope
291 |         // parameters
292 |         let parameters: [String: AnyObject] = [
293 |             kSecAttrKeyType as String:          kAsymmetricCryptoManagerKeyType,
    |             `- error: cannot find 'kSecAttrKeyType' in scope
294 |             kSecAttrKeySizeInBits as String:    kAsymmetricCryptoManagerKeySize as AnyObject,
295 |             ]
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:294:13: error: cannot find 'kSecAttrKeySizeInBits' in scope
292 |         let parameters: [String: AnyObject] = [
293 |             kSecAttrKeyType as String:          kAsymmetricCryptoManagerKeyType,
294 |             kSecAttrKeySizeInBits as String:    kAsymmetricCryptoManagerKeySize as AnyObject,
    |             `- error: cannot find 'kSecAttrKeySizeInBits' in scope
295 |             ]
296 |         var pubKey, privKey: SecKey?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:296:30: error: cannot find type 'SecKey' in scope
294 |             kSecAttrKeySizeInBits as String:    kAsymmetricCryptoManagerKeySize as AnyObject,
295 |             ]
296 |         var pubKey, privKey: SecKey?
    |                              `- error: cannot find type 'SecKey' in scope
297 |         let status = SecKeyGeneratePair(parameters as CFDictionary, &pubKey, &privKey)
298 |         guard status == 0, let newPubKey = pubKey, let newPrivKey = privKey else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:297:22: error: cannot find 'SecKeyGeneratePair' in scope
295 |             ]
296 |         var pubKey, privKey: SecKey?
297 |         let status = SecKeyGeneratePair(parameters as CFDictionary, &pubKey, &privKey)
    |                      `- error: cannot find 'SecKeyGeneratePair' in scope
298 |         guard status == 0, let newPubKey = pubKey, let newPrivKey = privKey else {
299 |             throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:297:55: error: cannot find type 'CFDictionary' in scope
295 |             ]
296 |         var pubKey, privKey: SecKey?
297 |         let status = SecKeyGeneratePair(parameters as CFDictionary, &pubKey, &privKey)
    |                                                       `- error: cannot find type 'CFDictionary' in scope
298 |         guard status == 0, let newPubKey = pubKey, let newPrivKey = privKey else {
299 |             throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:301:30: error: cannot find type 'CFError' in scope
299 |             throw ECError.failedNativeKeyCreation
300 |         }
301 |         var error: Unmanaged<CFError>? = nil
    |                              `- error: cannot find type 'CFError' in scope
302 |         guard let pubBytes = SecKeyCopyExternalRepresentation(newPubKey, &error) else {
303 |             guard let error = error?.takeRetainedValue() else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:302:30: error: cannot find 'SecKeyCopyExternalRepresentation' in scope
300 |         }
301 |         var error: Unmanaged<CFError>? = nil
302 |         guard let pubBytes = SecKeyCopyExternalRepresentation(newPubKey, &error) else {
    |                              `- error: cannot find 'SecKeyCopyExternalRepresentation' in scope
303 |             guard let error = error?.takeRetainedValue() else {
304 |                 throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:362:34: error: cannot find type 'CFError' in scope
360 |             }
361 |         #else
362 |             var error: Unmanaged<CFError>? = nil
    |                                  `- error: cannot find type 'CFError' in scope
363 |             /*
364 |              From Apple docs:
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:367:34: error: cannot find 'SecKeyCopyExternalRepresentation' in scope
365 |              For an elliptic curve private key, `SecKeyCopyExternalRepresentation` output is formatted as the public key concatenated with the big endian encoding of the secret scalar, or 04 || X || Y || K.
366 |              */
367 |             guard let keyBytes = SecKeyCopyExternalRepresentation(nativeKey, &error) else {
    |                                  `- error: cannot find 'SecKeyCopyExternalRepresentation' in scope
368 |                 guard let error = error?.takeRetainedValue() else {
369 |                     throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:449:34: error: cannot find type 'CFError' in scope
447 |         #else
448 |             let keyData = publicKeyData + privateKeyData
449 |             var error: Unmanaged<CFError>? = nil
    |                                  `- error: cannot find type 'CFError' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:450:32: error: cannot find 'SecKeyCreateWithData' in scope
448 |             let keyData = publicKeyData + privateKeyData
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
    |                                `- error: cannot find 'SecKeyCreateWithData' in scope
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:451:54: error: cannot find 'kSecAttrKeyType' in scope
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
    |                                                      `- error: cannot find 'kSecAttrKeyType' in scope
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
453 |                                                     &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:451:71: error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
    |                                                                       `- error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
453 |                                                     &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:452:54: error: cannot find 'kSecAttrKeyClass' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
    |                                                      `- error: cannot find 'kSecAttrKeyClass' in scope
453 |                                                     &error)
454 |             else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:452:72: error: cannot find 'kSecAttrKeyClassPrivate' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
    |                                                                        `- error: cannot find 'kSecAttrKeyClassPrivate' in scope
453 |                                                     &error)
454 |             else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:450:64: error: cannot find type 'CFData' in scope
448 |             let keyData = publicKeyData + privateKeyData
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
    |                                                                `- error: cannot find type 'CFData' in scope
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:452:100: error: cannot find type 'CFDictionary' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
    |                                                                                                    `- error: cannot find type 'CFDictionary' in scope
453 |                                                     &error)
454 |             else {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:26:30: error: cannot find type 'Status' in scope
 24 | #endif
 25 |
 26 | public typealias RNGStatus = Status
    |                              `- error: cannot find type 'Status' in scope
 27 |
 28 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:77:38: error: extra argument 'bytes' in call
 75 |
 76 | 		var bytes = Array(repeating: UInt8(0), count:byteCount)
 77 |         let status = generate(bytes: &bytes, byteCount: byteCount)
    |                                      `- error: extra argument 'bytes' in call
 78 |
 79 | 		if status != .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:79:17: error: cannot infer contextual base in reference to member 'success'
 77 |         let status = generate(bytes: &bytes, byteCount: byteCount)
 78 |
 79 | 		if status != .success {
    |                 `- error: cannot infer contextual base in reference to member 'success'
 80 | 			throw status
 81 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:102:38: error: extra argument 'bytes' in call
100 |         }
101 | 		var bytes: [UInt8] = Array(repeating: UInt8(0), count:byteCount)
102 |         let status = generate(bytes: &bytes, byteCount: byteCount)
    |                                      `- error: extra argument 'bytes' in call
103 |         throw status
104 |         //return bytes
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:26:30: error: cannot find type 'Status' in scope
 24 | #endif
 25 |
 26 | public typealias RNGStatus = Status
    |                              `- error: cannot find type 'Status' in scope
 27 |
 28 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:77:38: error: extra argument 'bytes' in call
 75 |
 76 | 		var bytes = Array(repeating: UInt8(0), count:byteCount)
 77 |         let status = generate(bytes: &bytes, byteCount: byteCount)
    |                                      `- error: extra argument 'bytes' in call
 78 |
 79 | 		if status != .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:79:17: error: cannot infer contextual base in reference to member 'success'
 77 |         let status = generate(bytes: &bytes, byteCount: byteCount)
 78 |
 79 | 		if status != .success {
    |                 `- error: cannot infer contextual base in reference to member 'success'
 80 | 			throw status
 81 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:102:38: error: extra argument 'bytes' in call
100 |         }
101 | 		var bytes: [UInt8] = Array(repeating: UInt8(0), count:byteCount)
102 |         let status = generate(bytes: &bytes, byteCount: byteCount)
    |                                      `- error: extra argument 'bytes' in call
103 |         throw status
104 |         //return bytes
[16/51] Compiling Cryptor SSLPointerTricks.swift
[17/51] Compiling Logging MetadataProvider.swift
[18/51] Compiling CryptorRSA CryptorRSAUtilities.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[19/51] Compiling Socket SocketProtocols.swift
[20/51] Compiling Socket SocketUtils.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:43:56: error: cannot find type 'sockaddr' in scope
 41 | 	///	- Returns:		The result of executing the closure.
 42 | 	///
 43 | 	func withSockAddrPointer<Result>(body: (UnsafePointer<sockaddr>, socklen_t) throws -> Result) rethrows -> Result {
    |                                                        `- error: cannot find type 'sockaddr' in scope
 44 |
 45 | 		///
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:86:47: error: cannot find type 'sockaddr' in scope
 84 | 	///	- Returns:                Newly initialized Socket.Address.
 85 | 	///
 86 | 	init?(addressProvider: (UnsafeMutablePointer<sockaddr>, UnsafeMutablePointer<socklen_t>) throws -> Void) rethrows {
    |                                               `- error: cannot find type 'sockaddr' in scope
 87 |
 88 | 		var addressStorage = sockaddr_storage()
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:146:27: error: cannot find '__DARWIN_FD_SETSIZE' in scope
144 | 	// __DARWIN_FD_SETSIZE is number of *bits*, so divide by number bits in each element to get element count
145 | 	// at present this is 1024 / 32 == 32
146 | 	let __fd_set_count = Int(__DARWIN_FD_SETSIZE) / 32
    |                           `- error: cannot find '__DARWIN_FD_SETSIZE' in scope
147 |
148 | 	extension fd_set {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:52:60: error: cannot find type 'sockaddr' in scope
 50 | 		///	- Returns:		Result of executing the closure.
 51 | 		///
 52 | 		func castAndCall<T>(_ address: T, _ body: (UnsafePointer<sockaddr>, socklen_t) throws -> Result) rethrows -> Result {
    |                                                            `- error: cannot find type 'sockaddr' in scope
 53 | 			var localAddress = address // We need a `var` here for the `&`.
 54 | 			return try withUnsafePointer(to: &localAddress) {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:55:41: error: cannot find 'sockaddr' in scope
 53 | 			var localAddress = address // We need a `var` here for the `&`.
 54 | 			return try withUnsafePointer(to: &localAddress) {
 55 | 				return try $0.withMemoryRebound(to: sockaddr.self, capacity: 1, {
    |                                         `- error: cannot find 'sockaddr' in scope
 56 | 					return try body($0, socklen_t(MemoryLayout<T>.size))
 57 | 				})
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:55:19: error: generic parameter 'T' could not be inferred
 53 | 			var localAddress = address // We need a `var` here for the `&`.
 54 | 			return try withUnsafePointer(to: &localAddress) {
 55 | 				return try $0.withMemoryRebound(to: sockaddr.self, capacity: 1, {
    |                   `- error: generic parameter 'T' could not be inferred
 56 | 					return try body($0, socklen_t(MemoryLayout<T>.size))
 57 | 				})
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:320:13: error: cannot find type 'sockaddr_in' in scope
 318 |
 319 | 		/// sockaddr_in
 320 | 		case ipv4(sockaddr_in)
     |             `- error: cannot find type 'sockaddr_in' in scope
 321 |
 322 | 		/// sockaddr_in6
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:323:13: error: cannot find type 'sockaddr_in6' in scope
 321 |
 322 | 		/// sockaddr_in6
 323 | 		case ipv6(sockaddr_in6)
     |             `- error: cannot find type 'sockaddr_in6' in scope
 324 |
 325 | 		/// sockaddr_un
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:326:13: error: cannot find type 'sockaddr_un' in scope
 324 |
 325 | 		/// sockaddr_un
 326 | 		case unix(sockaddr_un)
     |             `- error: cannot find type 'sockaddr_un' in scope
 327 |
 328 | 		///
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:88:24: error: cannot find 'sockaddr_storage' in scope
 86 | 	init?(addressProvider: (UnsafeMutablePointer<sockaddr>, UnsafeMutablePointer<socklen_t>) throws -> Void) rethrows {
 87 |
 88 | 		var addressStorage = sockaddr_storage()
    |                        `- error: cannot find 'sockaddr_storage' in scope
 89 | 		var addressStorageLength = socklen_t(MemoryLayout.size(ofValue: addressStorage))
 90 | 		try withUnsafeMutablePointer(to: &addressStorage) {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:91:33: error: cannot find 'sockaddr' in scope
 89 | 		var addressStorageLength = socklen_t(MemoryLayout.size(ofValue: addressStorage))
 90 | 		try withUnsafeMutablePointer(to: &addressStorage) {
 91 | 			try $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { addressPointer in
    |                                 `- error: cannot find 'sockaddr' in scope
 92 | 				try withUnsafeMutablePointer(to: &addressStorageLength) { addressLengthPointer in
 93 | 					try addressProvider(addressPointer, addressLengthPointer)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:91:11: error: generic parameter 'T' could not be inferred
 89 | 		var addressStorageLength = socklen_t(MemoryLayout.size(ofValue: addressStorage))
 90 | 		try withUnsafeMutablePointer(to: &addressStorage) {
 91 | 			try $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { addressPointer in
    |           `- error: generic parameter 'T' could not be inferred
 92 | 				try withUnsafeMutablePointer(to: &addressStorageLength) { addressLengthPointer in
 93 | 					try addressProvider(addressPointer, addressLengthPointer)
Swift.UnsafeMutablePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafeMutablePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafeMutablePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:99:8: error: cannot find 'AF_INET' in scope
 97 |
 98 | 		switch Int32(addressStorage.ss_family) {
 99 | 		case AF_INET:
    |        `- error: cannot find 'AF_INET' in scope
100 | 			self = withUnsafePointer(to: &addressStorage) {
101 | 				return $0.withMemoryRebound(to: sockaddr_in.self, capacity: 1) {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:105:8: error: cannot find 'AF_INET6' in scope
103 | 				}
104 | 			}
105 | 		case AF_INET6:
    |        `- error: cannot find 'AF_INET6' in scope
106 | 			self = withUnsafePointer(to: &addressStorage) {
107 | 				return $0.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:111:8: error: cannot find 'AF_UNIX' in scope
109 | 				}
110 | 			}
111 | 		case AF_UNIX:
    |        `- error: cannot find 'AF_UNIX' in scope
112 | 			self = withUnsafePointer(to: &addressStorage) {
113 | 				return $0.withMemoryRebound(to: sockaddr_un.self, capacity: 1) {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:101:37: error: cannot find 'sockaddr_in' in scope
 99 | 		case AF_INET:
100 | 			self = withUnsafePointer(to: &addressStorage) {
101 | 				return $0.withMemoryRebound(to: sockaddr_in.self, capacity: 1) {
    |                                     `- error: cannot find 'sockaddr_in' in scope
102 | 					return Socket.Address.ipv4($0.pointee)
103 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:101:15: error: generic parameter 'T' could not be inferred
 99 | 		case AF_INET:
100 | 			self = withUnsafePointer(to: &addressStorage) {
101 | 				return $0.withMemoryRebound(to: sockaddr_in.self, capacity: 1) {
    |               `- error: generic parameter 'T' could not be inferred
102 | 					return Socket.Address.ipv4($0.pointee)
103 | 				}
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:107:37: error: cannot find 'sockaddr_in6' in scope
105 | 		case AF_INET6:
106 | 			self = withUnsafePointer(to: &addressStorage) {
107 | 				return $0.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) {
    |                                     `- error: cannot find 'sockaddr_in6' in scope
108 | 					return Socket.Address.ipv6($0.pointee)
109 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:107:15: error: generic parameter 'T' could not be inferred
105 | 		case AF_INET6:
106 | 			self = withUnsafePointer(to: &addressStorage) {
107 | 				return $0.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) {
    |               `- error: generic parameter 'T' could not be inferred
108 | 					return Socket.Address.ipv6($0.pointee)
109 | 				}
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:113:37: error: cannot find 'sockaddr_un' in scope
111 | 		case AF_UNIX:
112 | 			self = withUnsafePointer(to: &addressStorage) {
113 | 				return $0.withMemoryRebound(to: sockaddr_un.self, capacity: 1) {
    |                                     `- error: cannot find 'sockaddr_un' in scope
114 | 					return Socket.Address.unix($0.pointee)
115 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:113:15: error: generic parameter 'T' could not be inferred
111 | 		case AF_UNIX:
112 | 			self = withUnsafePointer(to: &addressStorage) {
113 | 				return $0.withMemoryRebound(to: sockaddr_un.self, capacity: 1) {
    |               `- error: generic parameter 'T' could not be inferred
114 | 					return Socket.Address.unix($0.pointee)
115 | 				}
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
[21/51] Compiling Cryptor Status.swift
[22/51] Compiling Cryptor StreamCryptor.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:474:38: error: cannot find type 'Status' in scope
472 |     ///    Used to get additional information when optional chaining collapes.
473 | 	///
474 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
475 |
476 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:694:73: error: cannot find type 'Status' in scope
692 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
693 | 	///
694 | 	public func update(dataIn: Data, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                         `- error: cannot find type 'Status' in scope
695 |
696 | 		let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:719:75: error: cannot find type 'Status' in scope
717 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
718 |     ///
719 | 	public func update(dataIn: NSData, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                           `- error: cannot find type 'Status' in scope
720 |
721 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:737:81: error: cannot find type 'Status' in scope
735 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
736 |     ///
737 | 	public func update(byteArrayIn: [UInt8], byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                                 `- error: cannot find type 'Status' in scope
738 |
739 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:754:77: error: cannot find type 'Status' in scope
752 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
753 |     ///
754 | 	public func update(stringIn: String, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                             `- error: cannot find type 'Status' in scope
755 |
756 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:775:58: error: cannot find type 'Status' in scope
773 | 	/// - Returns: a tuple containing the number of output bytes produced and the status (see Status)
774 |     ///
775 | 	public func final(byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                          `- error: cannot find type 'Status' in scope
776 |
777 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:797:157: error: cannot find type 'Status' in scope
795 | 	/// - Returns: Status of the update
796 | 	///
797 | 	public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                                                                             `- error: cannot find type 'Status' in scope
798 |
799 |         if self.status == .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:863:110: error: cannot find type 'Status' in scope
861 | 	/// - Returns: Status of the update
862 | 	///
863 | 	public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                              `- error: cannot find type 'Status' in scope
864 |
865 | 		if self.status == Status.success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:239:12: error: cannot find 'kCCBlockSizeAES128' in scope
237 |
238 |             case .aes, .aes128, .aes192, .aes256:
239 | 				return kCCBlockSizeAES128
    |            `- error: cannot find 'kCCBlockSizeAES128' in scope
240 |
241 |             case .des:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:242:12: error: cannot find 'kCCBlockSizeDES' in scope
240 |
241 |             case .des:
242 | 				return kCCBlockSizeDES
    |            `- error: cannot find 'kCCBlockSizeDES' in scope
243 |
244 |             case .tripleDes:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:245:12: error: cannot find 'kCCBlockSize3DES' in scope
243 |
244 |             case .tripleDes:
245 | 				return kCCBlockSize3DES
    |            `- error: cannot find 'kCCBlockSize3DES' in scope
246 |
247 |             case .cast:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:248:12: error: cannot find 'kCCBlockSizeCAST' in scope
246 |
247 |             case .cast:
248 | 				return kCCBlockSizeCAST
    |            `- error: cannot find 'kCCBlockSizeCAST' in scope
249 |
250 |             case .rc2:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:251:12: error: cannot find 'kCCBlockSizeRC2' in scope
249 |
250 |             case .rc2:
251 | 				return kCCBlockSizeRC2
    |            `- error: cannot find 'kCCBlockSizeRC2' in scope
252 |
253 |             case .blowfish:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:254:12: error: cannot find 'kCCBlockSizeBlowfish' in scope
252 |
253 |             case .blowfish:
254 | 				return kCCBlockSizeBlowfish
    |            `- error: cannot find 'kCCBlockSizeBlowfish' in scope
255 |             }
256 |         }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:263:12: error: cannot find 'kCCKeySizeAES128' in scope
261 |
262 | 			case .aes, .aes128:
263 | 				return kCCKeySizeAES128
    |            `- error: cannot find 'kCCKeySizeAES128' in scope
264 |
265 | 			case .aes192:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:266:12: error: cannot find 'kCCKeySizeAES192' in scope
264 |
265 | 			case .aes192:
266 | 				return kCCKeySizeAES192
    |            `- error: cannot find 'kCCKeySizeAES192' in scope
267 |
268 | 			case .aes256:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:269:12: error: cannot find 'kCCKeySizeAES256' in scope
267 |
268 | 			case .aes256:
269 | 				return kCCKeySizeAES256
    |            `- error: cannot find 'kCCKeySizeAES256' in scope
270 |
271 | 			case .des:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:272:12: error: cannot find 'kCCKeySizeDES' in scope
270 |
271 | 			case .des:
272 | 				return kCCKeySizeDES
    |            `- error: cannot find 'kCCKeySizeDES' in scope
273 |
274 | 			case .tripleDes:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:275:12: error: cannot find 'kCCKeySize3DES' in scope
273 |
274 | 			case .tripleDes:
275 | 				return kCCKeySize3DES
    |            `- error: cannot find 'kCCKeySize3DES' in scope
276 |
277 | 			case .cast:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:278:12: error: cannot find 'kCCKeySizeMinCAST' in scope
276 |
277 | 			case .cast:
278 | 				return kCCKeySizeMinCAST
    |            `- error: cannot find 'kCCKeySizeMinCAST' in scope
279 |
280 | 			case .rc2:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:281:12: error: cannot find 'kCCKeySizeMinRC2' in scope
279 |
280 | 			case .rc2:
281 | 				return kCCKeySizeMinRC2
    |            `- error: cannot find 'kCCKeySizeMinRC2' in scope
282 |
283 | 			case .blowfish:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:284:12: error: cannot find 'kCCKeySizeMinBlowfish' in scope
282 |
283 | 			case .blowfish:
284 | 				return kCCKeySizeMinBlowfish
    |            `- error: cannot find 'kCCKeySizeMinBlowfish' in scope
285 | 			}
286 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:521:27: error: type 'StreamCryptor.Options' has no member 'ecbMode'
519 | 		}
520 |
521 | 		guard options.contains(.ecbMode) || ivLength == algorithm.blockSize else {
    |                           `- error: type 'StreamCryptor.Options' has no member 'ecbMode'
522 | 			throw CryptorError.invalidIVSizeOrLength
523 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:799:28: error: cannot infer contextual base in reference to member 'success'
797 | 	public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
798 |
799 |         if self.status == .success {
    |                            `- error: cannot infer contextual base in reference to member 'success'
800 |
801 | 			#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:865:21: error: cannot find 'Status' in scope
863 | 	public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
864 |
865 | 		if self.status == Status.success {
    |                     `- error: cannot find 'Status' in scope
866 |
867 | 			#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
[23/51] Compiling Cryptor Updatable.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:55:32: error: cannot infer contextual base in reference to member 'success'
 53 |
 54 |         _ = update(from: data.bytes, byteCount: size_t(data.length))
 55 |         return self.status == .success ? self : nil
    |                                `- error: cannot infer contextual base in reference to member 'success'
 56 |     }
 57 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:78:26: error: cannot infer contextual base in reference to member 'success'
 76 | 			}
 77 | 		#endif
 78 | 		return self.status == .success ? self : nil
    |                          `- error: cannot infer contextual base in reference to member 'success'
 79 | 	}
 80 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:91:26: error: cannot infer contextual base in reference to member 'success'
 89 |
 90 |         _ = update(from: byteArray, byteCount: size_t(byteArray.count))
 91 | 		return self.status == .success ? self : nil
    |                          `- error: cannot infer contextual base in reference to member 'success'
 92 |     }
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:105:26: error: cannot infer contextual base in reference to member 'success'
103 |
104 |         _ = update(from: string, byteCount: size_t(string.utf8.count))
105 | 		return self.status == .success ? self : nil
    |                          `- error: cannot infer contextual base in reference to member 'success'
106 |     }
107 | }
[24/51] Compiling CryptorECC SSLPointerTricks.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/51] Emitting module Cryptor
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:46:25: error: cannot find 'Status' in scope
 44 |     /// It is here to provide for engines which can fail.
 45 |     ///
 46 |     public var status = Status.success
    |                         `- error: cannot find 'Status' in scope
 47 |
 48 |     ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:189:54: error: cannot find type 'CC_LONG' in scope
187 | 	///		- byteCount:	The length of the buffer.
188 | 	///
189 |     func update(buffer: UnsafeRawPointer, byteCount: CC_LONG)
    |                                                      `- error: cannot find type 'CC_LONG' in scope
190 |
191 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:211:43: error: cannot find type 'CC_LONG' in scope
209 |     typealias Digest = UnsafeMutablePointer<UInt8>
210 |     typealias Initializer = (Context) -> (Int32)
211 |     typealias Updater = (Context, Buffer, CC_LONG) -> (Int32)
    |                                           `- error: cannot find type 'CC_LONG' in scope
212 |     typealias Finalizer = (Digest, Context) -> (Int32)
213 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:229:52: error: @escaping attribute only applies to function types
227 | 	/// 	- length:		The digest length.
228 | 	///
229 | 	init(initializer: @escaping Initializer, updater: @escaping Updater, finalizer: @escaping Finalizer, length: Int32) {
    |                                                    `- error: @escaping attribute only applies to function types
230 |
231 |         self.initializer = initializer
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:257:41: error: cannot find type 'CC_LONG' in scope
255 | 	///		- byteCount:	The length of the buffer.
256 | 	///
257 | 	func update(buffer: Buffer, byteCount: CC_LONG) {
    |                                         `- error: cannot find type 'CC_LONG' in scope
258 |
259 |         _ = updater(context, buffer, byteCount)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:170:38: error: cannot find type 'Status' in scope
168 |
169 |     /// Status of the calculation
170 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
171 |
172 | 	#if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:175:25: error: cannot find 'Context' in scope
173 | 		private let context = HMAC_CTX_new_wrapper()
174 | 	#else
175 | 		private let context = Context.allocate(capacity: 1)
    |                         `- error: cannot find 'Context' in scope
176 | 	#endif
177 |     private var algorithm: Algorithm
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:26:30: error: cannot find type 'Status' in scope
 24 | #endif
 25 |
 26 | public typealias RNGStatus = Status
    |                              `- error: cannot find type 'Status' in scope
 27 |
 28 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:474:38: error: cannot find type 'Status' in scope
472 |     ///    Used to get additional information when optional chaining collapes.
473 | 	///
474 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
475 |
476 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:694:73: error: cannot find type 'Status' in scope
692 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
693 | 	///
694 | 	public func update(dataIn: Data, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                         `- error: cannot find type 'Status' in scope
695 |
696 | 		let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:719:75: error: cannot find type 'Status' in scope
717 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
718 |     ///
719 | 	public func update(dataIn: NSData, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                           `- error: cannot find type 'Status' in scope
720 |
721 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:737:81: error: cannot find type 'Status' in scope
735 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
736 |     ///
737 | 	public func update(byteArrayIn: [UInt8], byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                                 `- error: cannot find type 'Status' in scope
738 |
739 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:754:77: error: cannot find type 'Status' in scope
752 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
753 |     ///
754 | 	public func update(stringIn: String, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                             `- error: cannot find type 'Status' in scope
755 |
756 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:775:58: error: cannot find type 'Status' in scope
773 | 	/// - Returns: a tuple containing the number of output bytes produced and the status (see Status)
774 |     ///
775 | 	public func final(byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                          `- error: cannot find type 'Status' in scope
776 |
777 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:797:157: error: cannot find type 'Status' in scope
795 | 	/// - Returns: Status of the update
796 | 	///
797 | 	public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                                                                             `- error: cannot find type 'Status' in scope
798 |
799 |         if self.status == .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:863:110: error: cannot find type 'Status' in scope
861 | 	/// - Returns: Status of the update
862 | 	///
863 | 	public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                              `- error: cannot find type 'Status' in scope
864 |
865 | 		if self.status == Status.success {
[26/51] Compiling CryptorECC EllipticCurve.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:61:27: error: cannot find type 'SecKeyAlgorithm' in scope
 59 |     let hashLength = CC_LONG(SHA256_DIGEST_LENGTH)
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
    |                           `- error: cannot find type 'SecKeyAlgorithm' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:63:56: error: cannot find type 'CC_LONG' in scope
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
    |                                                        `- error: cannot find type 'CC_LONG' in scope
 64 |     let hashLength: CC_LONG
 65 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:64:21: error: cannot find type 'CC_LONG' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
    |                     `- error: cannot find type 'CC_LONG' in scope
 65 |     #endif
 66 |     let keySize: Int
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:90:49: error: cannot find 'CC_SHA256' in scope
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
    |                                                 `- error: cannot find 'CC_SHA256' in scope
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
 92 |                                     keySize: 65)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:49: error: cannot find 'CC_LONG' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:57: error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:88:62: error: cannot infer contextual base in reference to member 'prime256v1'
 86 |     #else
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
    |                                                              `- error: cannot infer contextual base in reference to member 'prime256v1'
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:89:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:97:49: error: cannot find 'CC_SHA384' in scope
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
    |                                                 `- error: cannot find 'CC_SHA384' in scope
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
 99 |                                     keySize: 97)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:49: error: cannot find 'CC_LONG' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:57: error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:95:62: error: cannot infer contextual base in reference to member 'secp384r1'
 93 |
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp384r1'
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:96:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:104:49: error: cannot find 'CC_SHA512' in scope
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
    |                                                 `- error: cannot find 'CC_SHA512' in scope
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
106 |                                     keySize: 133)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:49: error: cannot find 'CC_LONG' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:57: error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:102:62: error: cannot infer contextual base in reference to member 'secp521r1'
100 |
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp521r1'
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:103:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:62:31: error: cannot find 'SecKeyAlgorithm' in scope
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
    |                               `- error: cannot find 'SecKeyAlgorithm' in scope
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:132:82: error: cannot find 'CC_LONG' in scope
130 |         data.withUnsafeBytes { ptr in
131 |             guard let baseAddress = ptr.baseAddress else { return }
132 |             _ = self.hashEngine(baseAddress.assumingMemoryBound(to: UInt8.self), CC_LONG(data.count), &hash)
    |                                                                                  `- error: cannot find 'CC_LONG' in scope
133 |         }
134 |         return Data(hash)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:474:38: error: cannot find type 'Status' in scope
472 |     ///    Used to get additional information when optional chaining collapes.
473 | 	///
474 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
475 |
476 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:775:58: error: cannot find type 'Status' in scope
773 | 	/// - Returns: a tuple containing the number of output bytes produced and the status (see Status)
774 |     ///
775 | 	public func final(byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                          `- error: cannot find type 'Status' in scope
776 |
777 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:863:110: error: cannot find type 'Status' in scope
861 | 	/// - Returns: Status of the update
862 | 	///
863 | 	public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                              `- error: cannot find type 'Status' in scope
864 |
865 | 		if self.status == Status.success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:39: error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                       `- error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:59: error: argument passed to call that takes no arguments
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                                           `- error: argument passed to call that takes no arguments
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:43:28: error: cannot infer contextual base in reference to member 'success'
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
43 |         if self.status != .success {
   |                            `- error: cannot infer contextual base in reference to member 'success'
44 |    	        return nil
45 |        	}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:694:73: error: cannot find type 'Status' in scope
692 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
693 | 	///
694 | 	public func update(dataIn: Data, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                         `- error: cannot find type 'Status' in scope
695 |
696 | 		let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:719:75: error: cannot find type 'Status' in scope
717 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
718 |     ///
719 | 	public func update(dataIn: NSData, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                           `- error: cannot find type 'Status' in scope
720 |
721 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:737:81: error: cannot find type 'Status' in scope
735 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
736 |     ///
737 | 	public func update(byteArrayIn: [UInt8], byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                                 `- error: cannot find type 'Status' in scope
738 |
739 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:754:77: error: cannot find type 'Status' in scope
752 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
753 |     ///
754 | 	public func update(stringIn: String, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                             `- error: cannot find type 'Status' in scope
755 |
756 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:797:157: error: cannot find type 'Status' in scope
795 | 	/// - Returns: Status of the update
796 | 	///
797 | 	public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                                                                             `- error: cannot find type 'Status' in scope
798 |
799 |         if self.status == .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:19: error: extra arguments at positions #1, #3, #4, #5 in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                   `- error: extra arguments at positions #1, #3, #4, #5 in call
64 | 		if self.status != .success {
65 | 			return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:20: error: missing argument for parameter 'from' in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                    `- error: missing argument for parameter 'from' in call
64 | 		if self.status != .success {
65 | 			return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:64:22: error: cannot infer contextual base in reference to member 'success'
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
64 | 		if self.status != .success {
   |                      `- error: cannot infer contextual base in reference to member 'success'
65 | 			return nil
66 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:474:38: error: cannot find type 'Status' in scope
472 |     ///    Used to get additional information when optional chaining collapes.
473 | 	///
474 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
475 |
476 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:775:58: error: cannot find type 'Status' in scope
773 | 	/// - Returns: a tuple containing the number of output bytes produced and the status (see Status)
774 |     ///
775 | 	public func final(byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                          `- error: cannot find type 'Status' in scope
776 |
777 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:863:110: error: cannot find type 'Status' in scope
861 | 	/// - Returns: Status of the update
862 | 	///
863 | 	public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                              `- error: cannot find type 'Status' in scope
864 |
865 | 		if self.status == Status.success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:39: error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                       `- error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:59: error: argument passed to call that takes no arguments
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                                           `- error: argument passed to call that takes no arguments
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:43:28: error: cannot infer contextual base in reference to member 'success'
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
43 |         if self.status != .success {
   |                            `- error: cannot infer contextual base in reference to member 'success'
44 |    	        return nil
45 |        	}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:694:73: error: cannot find type 'Status' in scope
692 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
693 | 	///
694 | 	public func update(dataIn: Data, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                         `- error: cannot find type 'Status' in scope
695 |
696 | 		let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:719:75: error: cannot find type 'Status' in scope
717 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
718 |     ///
719 | 	public func update(dataIn: NSData, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                           `- error: cannot find type 'Status' in scope
720 |
721 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:737:81: error: cannot find type 'Status' in scope
735 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
736 |     ///
737 | 	public func update(byteArrayIn: [UInt8], byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                                 `- error: cannot find type 'Status' in scope
738 |
739 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:754:77: error: cannot find type 'Status' in scope
752 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
753 |     ///
754 | 	public func update(stringIn: String, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                             `- error: cannot find type 'Status' in scope
755 |
756 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:797:157: error: cannot find type 'Status' in scope
795 | 	/// - Returns: Status of the update
796 | 	///
797 | 	public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                                                                             `- error: cannot find type 'Status' in scope
798 |
799 |         if self.status == .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:19: error: extra arguments at positions #1, #3, #4, #5 in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                   `- error: extra arguments at positions #1, #3, #4, #5 in call
64 | 		if self.status != .success {
65 | 			return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:20: error: missing argument for parameter 'from' in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                    `- error: missing argument for parameter 'from' in call
64 | 		if self.status != .success {
65 | 			return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:64:22: error: cannot infer contextual base in reference to member 'success'
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
64 | 		if self.status != .success {
   |                      `- error: cannot infer contextual base in reference to member 'success'
65 | 			return nil
66 | 		}
[29/51] Compiling CryptorECC ECSignable.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignable.swift:89:30: error: cannot find type 'CFError' in scope
 87 |
 88 |         // Memory storage for error from SecKeyCreateSignature
 89 |         var error: Unmanaged<CFError>? = nil
    |                              `- error: cannot find type 'CFError' in scope
 90 |         // cfSignature is CFData that is ANS1 encoded as a sequence of two UInts (r and s)
 91 |         guard let cfSignature = SecKeyCreateSignature(key.nativeKey,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignable.swift:91:33: error: cannot find 'SecKeyCreateSignature' in scope
 89 |         var error: Unmanaged<CFError>? = nil
 90 |         // cfSignature is CFData that is ANS1 encoded as a sequence of two UInts (r and s)
 91 |         guard let cfSignature = SecKeyCreateSignature(key.nativeKey,
    |                                 `- error: cannot find 'SecKeyCreateSignature' in scope
 92 |                                                       key.curve.signingAlgorithm,
 93 |                                                       hash as CFData,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:60:31: error: cannot find type 'SecKey' in scope
 58 |         deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |         typealias NativeKey = SecKey
    |                               `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:61:27: error: cannot find type 'SecKeyAlgorithm' in scope
 59 |     let hashLength = CC_LONG(SHA256_DIGEST_LENGTH)
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
    |                           `- error: cannot find type 'SecKeyAlgorithm' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignable.swift:93:63: error: cannot find type 'CFData' in scope
 91 |         guard let cfSignature = SecKeyCreateSignature(key.nativeKey,
 92 |                                                       key.curve.signingAlgorithm,
 93 |                                                       hash as CFData,
    |                                                               `- error: cannot find type 'CFData' in scope
 94 |                                                       &error)
 95 |         else {
[30/51] Compiling CryptorECC ECSignature.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignature.swift:111:30: error: cannot find type 'CFError' in scope
109 |
110 |         // Memory storage for error from SecKeyVerifySignature
111 |         var error: Unmanaged<CFError>? = nil
    |                              `- error: cannot find type 'CFError' in scope
112 |         return SecKeyVerifySignature(ecPublicKey.nativeKey,
113 |                                  ecPublicKey.curve.signingAlgorithm,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignature.swift:112:16: error: cannot find 'SecKeyVerifySignature' in scope
110 |         // Memory storage for error from SecKeyVerifySignature
111 |         var error: Unmanaged<CFError>? = nil
112 |         return SecKeyVerifySignature(ecPublicKey.nativeKey,
    |                `- error: cannot find 'SecKeyVerifySignature' in scope
113 |                                  ecPublicKey.curve.signingAlgorithm,
114 |                                  hash as CFData,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:60:27: error: cannot find type 'SecKey' in scope
 58 |     deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |     typealias NativeKey = SecKey
    |                           `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:61:27: error: cannot find type 'SecKeyAlgorithm' in scope
 59 |     let hashLength = CC_LONG(SHA256_DIGEST_LENGTH)
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
    |                           `- error: cannot find type 'SecKeyAlgorithm' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignature.swift:114:42: error: cannot find type 'CFData' in scope
112 |         return SecKeyVerifySignature(ecPublicKey.nativeKey,
113 |                                  ecPublicKey.curve.signingAlgorithm,
114 |                                  hash as CFData,
    |                                          `- error: cannot find type 'CFData' in scope
115 |                                  self.asn1 as CFData,
116 |                                  &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignature.swift:115:47: error: cannot find type 'CFData' in scope
113 |                                  ecPublicKey.curve.signingAlgorithm,
114 |                                  hash as CFData,
115 |                                  self.asn1 as CFData,
    |                                               `- error: cannot find type 'CFData' in scope
116 |                                  &error)
117 |     #endif
[31/51] Compiling CryptorRSA CryptorRSAKey.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[32/51] Compiling CryptorRSA CryptorRSADigest.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[33/51] Compiling CryptorRSA CryptorRSAErrors.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[34/51] Compiling CryptorRSA CryptorRSAConstants.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/51] Emitting module CryptorRSA
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[36/51] Compiling CryptorRSA CryptorRSA.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[37/51] Compiling CryptorECC ECPublicKey.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:60:27: error: cannot find type 'SecKey' in scope
 58 |     deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |     typealias NativeKey = SecKey
    |                           `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:142:34: error: cannot find type 'CFError' in scope
140 |             self.nativeKey = ecKey
141 |         #else
142 |             var error: Unmanaged<CFError>? = nil
    |                                  `- error: cannot find type 'CFError' in scope
143 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:143:32: error: cannot find 'SecKeyCreateWithData' in scope
141 |         #else
142 |             var error: Unmanaged<CFError>? = nil
143 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
    |                                `- error: cannot find 'SecKeyCreateWithData' in scope
144 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:144:54: error: cannot find 'kSecAttrKeyType' in scope
142 |             var error: Unmanaged<CFError>? = nil
143 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
    |                                                      `- error: cannot find 'kSecAttrKeyType' in scope
145 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
146 |                                                      &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:144:71: error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
142 |             var error: Unmanaged<CFError>? = nil
143 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
    |                                                                       `- error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
145 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
146 |                                                      &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:145:54: error: cannot find 'kSecAttrKeyClass' in scope
143 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
    |                                                      `- error: cannot find 'kSecAttrKeyClass' in scope
146 |                                                      &error)
147 |             else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:145:72: error: cannot find 'kSecAttrKeyClassPublic' in scope
143 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
    |                                                                        `- error: cannot find 'kSecAttrKeyClassPublic' in scope
146 |                                                      &error)
147 |             else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:143:64: error: cannot find type 'CFData' in scope
141 |         #else
142 |             var error: Unmanaged<CFError>? = nil
143 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
    |                                                                `- error: cannot find type 'CFData' in scope
144 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:145:99: error: cannot find type 'CFDictionary' in scope
143 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
    |                                                                                                   `- error: cannot find type 'CFDictionary' in scope
146 |                                                      &error)
147 |             else {
[38/51] Emitting module Signals
[39/51] Compiling Signals Signals.swift
[40/52] Compiling Logging LogHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/52] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:52:39: error: cannot find 'in_addr_t' in scope
  50 | 	public static let SOCKET_INVALID_DESCRIPTOR 			= Int32(-1)
  51 |
  52 | 	public static let INADDR_ANY							= in_addr_t(0)
     |                                       `- error: cannot find 'in_addr_t' in scope
  53 |
  54 | 	public static let NO_HOSTNAME							= "No hostname"
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:320:13: error: cannot find type 'sockaddr_in' in scope
 318 |
 319 | 		/// sockaddr_in
 320 | 		case ipv4(sockaddr_in)
     |             `- error: cannot find type 'sockaddr_in' in scope
 321 |
 322 | 		/// sockaddr_in6
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:323:13: error: cannot find type 'sockaddr_in6' in scope
 321 |
 322 | 		/// sockaddr_in6
 323 | 		case ipv6(sockaddr_in6)
     |             `- error: cannot find type 'sockaddr_in6' in scope
 324 |
 325 | 		/// sockaddr_un
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:326:13: error: cannot find type 'sockaddr_un' in scope
 324 |
 325 | 		/// sockaddr_un
 326 | 		case unix(sockaddr_un)
     |             `- error: cannot find type 'sockaddr_un' in scope
 327 |
 328 | 		///
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:43:56: error: cannot find type 'sockaddr' in scope
 41 | 	///	- Returns:		The result of executing the closure.
 42 | 	///
 43 | 	func withSockAddrPointer<Result>(body: (UnsafePointer<sockaddr>, socklen_t) throws -> Result) rethrows -> Result {
    |                                                        `- error: cannot find type 'sockaddr' in scope
 44 |
 45 | 		///
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:86:47: error: cannot find type 'sockaddr' in scope
 84 | 	///	- Returns:                Newly initialized Socket.Address.
 85 | 	///
 86 | 	init?(addressProvider: (UnsafeMutablePointer<sockaddr>, UnsafeMutablePointer<socklen_t>) throws -> Void) rethrows {
    |                                               `- error: cannot find type 'sockaddr' in scope
 87 |
 88 | 		var addressStorage = sockaddr_storage()
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:146:27: error: cannot find '__DARWIN_FD_SETSIZE' in scope
144 | 	// __DARWIN_FD_SETSIZE is number of *bits*, so divide by number bits in each element to get element count
145 | 	// at present this is 1024 / 32 == 32
146 | 	let __fd_set_count = Int(__DARWIN_FD_SETSIZE) / 32
    |                           `- error: cannot find '__DARWIN_FD_SETSIZE' in scope
147 |
148 | 	extension fd_set {
[42/52] Compiling TypeDecoder OrderedDictionary.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:52:39: error: cannot find 'in_addr_t' in scope
  50 | 	public static let SOCKET_INVALID_DESCRIPTOR 			= Int32(-1)
  51 |
  52 | 	public static let INADDR_ANY							= in_addr_t(0)
     |                                       `- error: cannot find 'in_addr_t' in scope
  53 |
  54 | 	public static let NO_HOSTNAME							= "No hostname"
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:320:13: error: cannot find type 'sockaddr_in' in scope
 318 |
 319 | 		/// sockaddr_in
 320 | 		case ipv4(sockaddr_in)
     |             `- error: cannot find type 'sockaddr_in' in scope
 321 |
 322 | 		/// sockaddr_in6
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:323:13: error: cannot find type 'sockaddr_in6' in scope
 321 |
 322 | 		/// sockaddr_in6
 323 | 		case ipv6(sockaddr_in6)
     |             `- error: cannot find type 'sockaddr_in6' in scope
 324 |
 325 | 		/// sockaddr_un
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:326:13: error: cannot find type 'sockaddr_un' in scope
 324 |
 325 | 		/// sockaddr_un
 326 | 		case unix(sockaddr_un)
     |             `- error: cannot find type 'sockaddr_un' in scope
 327 |
 328 | 		///
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:147:18: error: cannot find 'AF_INET' in scope
 145 |
 146 | 			case .inet:
 147 | 				return Int32(AF_INET)
     |                  `- error: cannot find 'AF_INET' in scope
 148 |
 149 | 			case .inet6:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:150:18: error: cannot find 'AF_INET6' in scope
 148 |
 149 | 			case .inet6:
 150 | 				return Int32(AF_INET6)
     |                  `- error: cannot find 'AF_INET6' in scope
 151 |
 152 | 			case .unix:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:153:18: error: cannot find 'AF_UNIX' in scope
 151 |
 152 | 			case .unix:
 153 | 				return Int32(AF_UNIX)
     |                  `- error: cannot find 'AF_UNIX' in scope
 154 | 			}
 155 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:167:15: error: cannot find 'AF_INET' in scope
 165 | 			switch forValue {
 166 |
 167 | 			case Int32(AF_INET):
     |               `- error: cannot find 'AF_INET' in scope
 168 | 				return .inet
 169 | 			case Int32(AF_INET6):
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:169:15: error: cannot find 'AF_INET6' in scope
 167 | 			case Int32(AF_INET):
 168 | 				return .inet
 169 | 			case Int32(AF_INET6):
     |               `- error: cannot find 'AF_INET6' in scope
 170 | 				return .inet6
 171 | 			case Int32(AF_UNIX):
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:171:15: error: cannot find 'AF_UNIX' in scope
 169 | 			case Int32(AF_INET6):
 170 | 				return .inet6
 171 | 			case Int32(AF_UNIX):
     |               `- error: cannot find 'AF_UNIX' in scope
 172 | 				return .unix
 173 | 			default:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:208:13: error: cannot find 'SOCK_STREAM' in scope
 206 | 					return Int32(SOCK_STREAM.rawValue)
 207 | 				#else
 208 | 					return SOCK_STREAM
     |             `- error: cannot find 'SOCK_STREAM' in scope
 209 | 				#endif
 210 | 			case .datagram:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:214:13: error: cannot find 'SOCK_DGRAM' in scope
 212 | 					return Int32(SOCK_DGRAM.rawValue)
 213 | 				#else
 214 | 					return SOCK_DGRAM
     |             `- error: cannot find 'SOCK_DGRAM' in scope
 215 | 				#endif
 216 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:241:10: error: cannot find 'SOCK_STREAM' in scope
 239 | 				switch forValue {
 240 |
 241 | 				case SOCK_STREAM:
     |          `- error: cannot find 'SOCK_STREAM' in scope
 242 | 					return .stream
 243 | 				case SOCK_DGRAM:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:243:10: error: cannot find 'SOCK_DGRAM' in scope
 241 | 				case SOCK_STREAM:
 242 | 					return .stream
 243 | 				case SOCK_DGRAM:
     |          `- error: cannot find 'SOCK_DGRAM' in scope
 244 | 					return .datagram
 245 | 				default:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:281:18: error: cannot find 'IPPROTO_TCP' in scope
 279 |
 280 | 			case .tcp:
 281 | 				return Int32(IPPROTO_TCP)
     |                  `- error: cannot find 'IPPROTO_TCP' in scope
 282 | 			case .udp:
 283 | 				return Int32(IPPROTO_UDP)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:283:18: error: cannot find 'IPPROTO_UDP' in scope
 281 | 				return Int32(IPPROTO_TCP)
 282 | 			case .udp:
 283 | 				return Int32(IPPROTO_UDP)
     |                  `- error: cannot find 'IPPROTO_UDP' in scope
 284 | 			case .unix:
 285 | 				return Int32(0)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:300:15: error: cannot find 'IPPROTO_TCP' in scope
 298 | 			switch forValue {
 299 |
 300 | 			case Int32(IPPROTO_TCP):
     |               `- error: cannot find 'IPPROTO_TCP' in scope
 301 | 				return .tcp
 302 | 			case Int32(IPPROTO_UDP):
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:302:15: error: cannot find 'IPPROTO_UDP' in scope
 300 | 			case Int32(IPPROTO_TCP):
 301 | 				return .tcp
 302 | 			case Int32(IPPROTO_UDP):
     |               `- error: cannot find 'IPPROTO_UDP' in scope
 303 | 				return .udp
 304 | 			case Int32(0):
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:336:26: error: cannot find type 'sockaddr_in' in scope
 334 |
 335 | 			case .ipv4( _):
 336 | 				return MemoryLayout<(sockaddr_in)>.size
     |                          `- error: cannot find type 'sockaddr_in' in scope
 337 | 			case .ipv6( _):
 338 | 				return MemoryLayout<(sockaddr_in6)>.size
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:338:26: error: cannot find type 'sockaddr_in6' in scope
 336 | 				return MemoryLayout<(sockaddr_in)>.size
 337 | 			case .ipv6( _):
 338 | 				return MemoryLayout<(sockaddr_in6)>.size
     |                          `- error: cannot find type 'sockaddr_in6' in scope
 339 | 			case .unix( _):
 340 | 				return MemoryLayout<(sockaddr_un)>.size
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:340:26: error: cannot find type 'sockaddr_un' in scope
 338 | 				return MemoryLayout<(sockaddr_in6)>.size
 339 | 			case .unix( _):
 340 | 				return MemoryLayout<(sockaddr_un)>.size
     |                          `- error: cannot find type 'sockaddr_un' in scope
 341 | 			}
 342 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:591:21: error: cannot find 'sockaddr_un' in scope
 589 |
 590 | 			// Create the address...
 591 | 			var remoteAddr = sockaddr_un()
     |                     `- error: cannot find 'sockaddr_un' in scope
 592 | 			remoteAddr.sun_family = sa_family_t(AF_UNIX)
 593 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:592:28: error: cannot find 'sa_family_t' in scope
 590 | 			// Create the address...
 591 | 			var remoteAddr = sockaddr_un()
 592 | 			remoteAddr.sun_family = sa_family_t(AF_UNIX)
     |                            `- error: cannot find 'sa_family_t' in scope
 593 |
 594 | 			let lengthOfPath = path.utf8.count
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:592:40: error: cannot find 'AF_UNIX' in scope
 590 | 			// Create the address...
 591 | 			var remoteAddr = sockaddr_un()
 592 | 			remoteAddr.sun_family = sa_family_t(AF_UNIX)
     |                                        `- error: cannot find 'AF_UNIX' in scope
 593 |
 594 | 			let lengthOfPath = path.utf8.count
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:611:75: error: cannot find type 'sa_family_t' in scope
 609 |
 610 | 			#if !os(Linux)
 611 | 			    remoteAddr.sun_len = UInt8(MemoryLayout<UInt8>.size + MemoryLayout<sa_family_t>.size + path.utf8.count + 1)
     |                                                                           `- error: cannot find type 'sa_family_t' in scope
 612 | 			#endif
 613 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:614:20: error: type 'Socket.Address?' has no member 'unix'
 612 | 			#endif
 613 |
 614 | 			self.address = .unix(remoteAddr)
     |                    `- error: type 'Socket.Address?' has no member 'unix'
 615 | 		}
 616 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:686:59: error: cannot find type 'sa_family_t' in scope
 684 | 				let addrLen = MemoryLayout<sockaddr_un>.size
 685 | 			#else
 686 | 				let addrLen = MemoryLayout<UInt8>.size + MemoryLayout<sa_family_t>.size + utf8.count + 1
     |                                                           `- error: cannot find type 'sa_family_t' in scope
 687 | 			#endif
 688 | 			let addrPtr = UnsafeMutablePointer<UInt8>.allocate(capacity: addrLen)
BUILD FAILURE 6.1 android