The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SimpleSwiftServer, reference v4.4.0 (3a5533), with Swift 6.3 for Android on 14 Apr 2026 14:02:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Samasaur1/SimpleSwiftServer.git
Reference: v4.4.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Samasaur1/SimpleSwiftServer
 * tag               v4.4.0     -> FETCH_HEAD
HEAD is now at 3a55333 Package with Nix; bump to v4.4.0
Cloned https://github.com/Samasaur1/SimpleSwiftServer.git
Revision (git rev-parse @):
3a55333070975105774e4d766f68dafae66d5423
SUCCESS checkout https://github.com/Samasaur1/SimpleSwiftServer.git at v4.4.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Samasaur1/SimpleSwiftServer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/httpswift/swifter
Fetching https://github.com/Samasaur1/SwiftIP
[1/295] Fetching swiftip
[296/17818] Fetching swiftip, swift-argument-parser
[297/23868] Fetching swiftip, swift-argument-parser, swifter
Fetched https://github.com/Samasaur1/SwiftIP from cache (1.10s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.12s)
Fetched https://github.com/httpswift/swifter from cache (1.24s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (3.55s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.2 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.5.0 (2.44s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.5.0
Creating working copy for https://github.com/httpswift/swifter
Working copy of https://github.com/httpswift/swifter resolved at 1.4.5
Creating working copy for https://github.com/Samasaur1/SwiftIP
Working copy of https://github.com/Samasaur1/SwiftIP resolved at 2.2.2
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version--4F562202D5529B1.txt
[7/36] Emitting module ArgumentParserToolInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/36] Emitting module Swifter
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/HttpServerIO.swift:72:31: error: cannot find type 'in_port_t' in scope
 70 |
 71 |     @available(macOS 10.10, *)
 72 |     public func start(_ port: in_port_t = 8080, forceIPv4: Bool = false, priority: DispatchQoS.QoSClass = DispatchQoS.QoSClass.background) throws {
    |                               `- error: cannot find type 'in_port_t' in scope
 73 |         guard !self.operating else { return }
 74 |         stop()
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:16:50: error: cannot find type 'in_port_t' in scope
 14 |     ///       connections from. It should be in IPv4 format if forceIPv4 == true,
 15 |     ///       otherwise - in IPv6.
 16 |     public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
    |                                                  `- error: cannot find type 'in_port_t' in scope
 17 |
 18 |         #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:16:120: error: cannot find 'SOMAXCONN' in scope
 14 |     ///       connections from. It should be in IPv4 format if forceIPv4 == true,
 15 |     ///       otherwise - in IPv6.
 16 |     public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
    |                                                                                                                        `- error: cannot find 'SOMAXCONN' in scope
 17 |
 18 |         #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:49:34: error: cannot find type 'in_port_t' in scope
 47 |     }
 48 |
 49 |     public func port() throws -> in_port_t {
    |                                  `- error: cannot find type 'in_port_t' in scope
 50 |         var addr = sockaddr_in()
 51 |         return try withUnsafePointer(to: &addr) { pointer in
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:19:43: error: cannot find type 'FILE' in scope
 17 |     public class File {
 18 |
 19 |         let pointer: UnsafeMutablePointer<FILE>
    |                                           `- error: cannot find type 'FILE' in scope
 20 |
 21 |         public init(_ pointer: UnsafeMutablePointer<FILE>) {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:21:53: error: cannot find type 'FILE' in scope
 19 |         let pointer: UnsafeMutablePointer<FILE>
 20 |
 21 |         public init(_ pointer: UnsafeMutablePointer<FILE>) {
    |                                                     `- error: cannot find type 'FILE' in scope
 22 |             self.pointer = pointer
 23 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:136:43: error: cannot find type 'stat' in scope
134 |     }
135 |
136 |     private func withStat<T>(_ closure: ((stat?) throws -> T)) throws -> T {
    |                                           `- error: cannot find type 'stat' in scope
137 |         return try self.withCString({
138 |             var statBuffer = stat()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/38] Emitting module SwiftIP
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:8:11: error: cannot find type 'sockaddr' in scope
  6 |
  7 | #if !os(macOS)
  8 | extension sockaddr {
    |           `- error: cannot find type 'sockaddr' in scope
  9 |     var sa_len: Int {
 10 |         switch Int32(sa_family) {
[10/38] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/40] Wrapping AST for ArgumentParserToolInfo for debugging
[13/73] Compiling ArgumentParser EnumerableFlag.swift
[14/73] Compiling ArgumentParser ExpressibleByArgument.swift
[15/73] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/HttpServerIO.swift:72:31: error: cannot find type 'in_port_t' in scope
 70 |
 71 |     @available(macOS 10.10, *)
 72 |     public func start(_ port: in_port_t = 8080, forceIPv4: Bool = false, priority: DispatchQoS.QoSClass = DispatchQoS.QoSClass.background) throws {
    |                               `- error: cannot find type 'in_port_t' in scope
 73 |         guard !self.operating else { return }
 74 |         stop()
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/HttpServerIO.swift:37:13: error: cannot find 'OSAtomicCompareAndSwapInt' in scope
 35 |         set(state) {
 36 |             #if !os(Linux)
 37 |             OSAtomicCompareAndSwapInt(self.state.rawValue, state.rawValue, &stateValue)
    |             `- error: cannot find 'OSAtomicCompareAndSwapInt' in scope
 38 |             #else
 39 |             //TODO - hehe :)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:49:34: error: cannot find type 'in_port_t' in scope
 47 |     }
 48 |
 49 |     public func port() throws -> in_port_t {
    |                                  `- error: cannot find type 'in_port_t' in scope
 50 |         var addr = sockaddr_in()
 51 |         return try withUnsafePointer(to: &addr) { pointer in
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/HttpServerIO.swift:77:70: error: cannot find 'SOMAXCONN' in scope
 75 |         self.state = .starting
 76 |         let address = forceIPv4 ? listenAddressIPv4 : listenAddressIPv6
 77 |         self.socket = try Socket.tcpSocketForListen(port, forceIPv4, SOMAXCONN, address)
    |                                                                      `- error: cannot find 'SOMAXCONN' in scope
 78 |         self.state = .running
 79 |         DispatchQueue.global(qos: priority).async { [weak self] in
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:16:50: error: cannot find type 'in_port_t' in scope
 14 |     ///       connections from. It should be in IPv4 format if forceIPv4 == true,
 15 |     ///       otherwise - in IPv6.
 16 |     public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
    |                                                  `- error: cannot find type 'in_port_t' in scope
 17 |
 18 |         #if os(Linux)
[16/73] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/HttpServerIO.swift:72:31: error: cannot find type 'in_port_t' in scope
 70 |
 71 |     @available(macOS 10.10, *)
 72 |     public func start(_ port: in_port_t = 8080, forceIPv4: Bool = false, priority: DispatchQoS.QoSClass = DispatchQoS.QoSClass.background) throws {
    |                               `- error: cannot find type 'in_port_t' in scope
 73 |         guard !self.operating else { return }
 74 |         stop()
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/HttpServerIO.swift:37:13: error: cannot find 'OSAtomicCompareAndSwapInt' in scope
 35 |         set(state) {
 36 |             #if !os(Linux)
 37 |             OSAtomicCompareAndSwapInt(self.state.rawValue, state.rawValue, &stateValue)
    |             `- error: cannot find 'OSAtomicCompareAndSwapInt' in scope
 38 |             #else
 39 |             //TODO - hehe :)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:49:34: error: cannot find type 'in_port_t' in scope
 47 |     }
 48 |
 49 |     public func port() throws -> in_port_t {
    |                                  `- error: cannot find type 'in_port_t' in scope
 50 |         var addr = sockaddr_in()
 51 |         return try withUnsafePointer(to: &addr) { pointer in
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/HttpServerIO.swift:77:70: error: cannot find 'SOMAXCONN' in scope
 75 |         self.state = .starting
 76 |         let address = forceIPv4 ? listenAddressIPv4 : listenAddressIPv6
 77 |         self.socket = try Socket.tcpSocketForListen(port, forceIPv4, SOMAXCONN, address)
    |                                                                      `- error: cannot find 'SOMAXCONN' in scope
 78 |         self.state = .running
 79 |         DispatchQueue.global(qos: priority).async { [weak self] in
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:16:50: error: cannot find type 'in_port_t' in scope
 14 |     ///       connections from. It should be in IPv4 format if forceIPv4 == true,
 15 |     ///       otherwise - in IPv6.
 16 |     public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
    |                                                  `- error: cannot find type 'in_port_t' in scope
 17 |
 18 |         #if os(Linux)
[17/73] Compiling ArgumentParser Name.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/HttpServerIO.swift:72:31: error: cannot find type 'in_port_t' in scope
 70 |
 71 |     @available(macOS 10.10, *)
 72 |     public func start(_ port: in_port_t = 8080, forceIPv4: Bool = false, priority: DispatchQoS.QoSClass = DispatchQoS.QoSClass.background) throws {
    |                               `- error: cannot find type 'in_port_t' in scope
 73 |         guard !self.operating else { return }
 74 |         stop()
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/HttpServerIO.swift:37:13: error: cannot find 'OSAtomicCompareAndSwapInt' in scope
 35 |         set(state) {
 36 |             #if !os(Linux)
 37 |             OSAtomicCompareAndSwapInt(self.state.rawValue, state.rawValue, &stateValue)
    |             `- error: cannot find 'OSAtomicCompareAndSwapInt' in scope
 38 |             #else
 39 |             //TODO - hehe :)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:49:34: error: cannot find type 'in_port_t' in scope
 47 |     }
 48 |
 49 |     public func port() throws -> in_port_t {
    |                                  `- error: cannot find type 'in_port_t' in scope
 50 |         var addr = sockaddr_in()
 51 |         return try withUnsafePointer(to: &addr) { pointer in
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/HttpServerIO.swift:77:70: error: cannot find 'SOMAXCONN' in scope
 75 |         self.state = .starting
 76 |         let address = forceIPv4 ? listenAddressIPv4 : listenAddressIPv6
 77 |         self.socket = try Socket.tcpSocketForListen(port, forceIPv4, SOMAXCONN, address)
    |                                                                      `- error: cannot find 'SOMAXCONN' in scope
 78 |         self.state = .running
 79 |         DispatchQueue.global(qos: priority).async { [weak self] in
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:16:50: error: cannot find type 'in_port_t' in scope
 14 |     ///       connections from. It should be in IPv4 format if forceIPv4 == true,
 15 |     ///       otherwise - in IPv6.
 16 |     public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
    |                                                  `- error: cannot find type 'in_port_t' in scope
 17 |
 18 |         #if os(Linux)
[18/73] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+File.swift:40:17: error: cannot find type 'sf_hdtr' in scope
38 |     public func writeFile(_ file: String.File) throws -> Void {
39 |         var offset: off_t = 0
40 |         var sf: sf_hdtr = sf_hdtr()
   |                 `- error: cannot find type 'sf_hdtr' in scope
41 |
42 |         #if os(iOS) || os(tvOS) || os (Linux)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+File.swift:40:27: error: cannot find 'sf_hdtr' in scope
38 |     public func writeFile(_ file: String.File) throws -> Void {
39 |         var offset: off_t = 0
40 |         var sf: sf_hdtr = sf_hdtr()
   |                           `- error: cannot find 'sf_hdtr' in scope
41 |
42 |         #if os(iOS) || os(tvOS) || os (Linux)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+File.swift:45:22: error: cannot find 'sendfile' in scope
43 |         let result = sendfileImpl(file.pointer, self.socketFileDescriptor, 0, &offset, &sf, 0)
44 |         #else
45 |         let result = sendfile(fileno(file.pointer), self.socketFileDescriptor, 0, &offset, &sf, 0)
   |                      `- error: cannot find 'sendfile' in scope
46 |         #endif
47 |
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:19:43: error: cannot find type 'FILE' in scope
 17 |     public class File {
 18 |
 19 |         let pointer: UnsafeMutablePointer<FILE>
    |                                           `- error: cannot find type 'FILE' in scope
 20 |
 21 |         public init(_ pointer: UnsafeMutablePointer<FILE>) {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:16:50: error: cannot find type 'in_port_t' in scope
 14 |     ///       connections from. It should be in IPv4 format if forceIPv4 == true,
 15 |     ///       otherwise - in IPv6.
 16 |     public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
    |                                                  `- error: cannot find type 'in_port_t' in scope
 17 |
 18 |         #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:16:120: error: cannot find 'SOMAXCONN' in scope
 14 |     ///       connections from. It should be in IPv4 format if forceIPv4 == true,
 15 |     ///       otherwise - in IPv6.
 16 |     public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
    |                                                                                                                        `- error: cannot find 'SOMAXCONN' in scope
 17 |
 18 |         #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:21:40: error: cannot find 'socket' in scope
 19 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
 20 |         #else
 21 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
    |                                        `- error: cannot find 'socket' in scope
 22 |         #endif
 23 |
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:21:59: error: cannot find 'AF_INET' in scope
 19 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
 20 |         #else
 21 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
    |                                                           `- error: cannot find 'AF_INET' in scope
 22 |         #endif
 23 |
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:21:69: error: cannot find 'AF_INET6' in scope
 19 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
 20 |         #else
 21 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
    |                                                                     `- error: cannot find 'AF_INET6' in scope
 22 |         #endif
 23 |
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:21:79: error: cannot find 'SOCK_STREAM' in scope
 19 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
 20 |         #else
 21 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
    |                                                                               `- error: cannot find 'SOCK_STREAM' in scope
 22 |         #endif
 23 |
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:29:12: error: cannot find 'setsockopt' in scope
 27 |
 28 |         var value: Int32 = 1
 29 |         if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
    |            `- error: cannot find 'setsockopt' in scope
 30 |             let details = Errno.description()
 31 |             Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:29:45: error: cannot find 'SOL_SOCKET' in scope
 27 |
 28 |         var value: Int32 = 1
 29 |         if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
    |                                             `- error: cannot find 'SOL_SOCKET' in scope
 30 |             let details = Errno.description()
 31 |             Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:29:57: error: cannot find 'SO_REUSEADDR' in scope
 27 |
 28 |         var value: Int32 = 1
 29 |         if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
    |                                                         `- error: cannot find 'SO_REUSEADDR' in scope
 30 |             let details = Errno.description()
 31 |             Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:45:24: error: cannot find 'sockaddr_in' in scope
 43 |                 sin_zero:(0, 0, 0, 0, 0, 0, 0, 0))
 44 |             #else
 45 |             var addr = sockaddr_in(
    |                        `- error: cannot find 'sockaddr_in' in scope
 46 |                 sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
 47 |                 sin_family: UInt8(AF_INET),
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:46:45: error: cannot find type 'sockaddr_in' in scope
 44 |             #else
 45 |             var addr = sockaddr_in(
 46 |                 sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
    |                                             `- error: cannot find type 'sockaddr_in' in scope
 47 |                 sin_family: UInt8(AF_INET),
 48 |                 sin_port: port.bigEndian,
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:47:35: error: cannot find 'AF_INET' in scope
 45 |             var addr = sockaddr_in(
 46 |                 sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
 47 |                 sin_family: UInt8(AF_INET),
    |                                   `- error: cannot find 'AF_INET' in scope
 48 |                 sin_port: port.bigEndian,
 49 |                 sin_addr: in_addr(s_addr: in_addr_t(0)),
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:49:27: error: cannot find 'in_addr' in scope
 47 |                 sin_family: UInt8(AF_INET),
 48 |                 sin_port: port.bigEndian,
 49 |                 sin_addr: in_addr(s_addr: in_addr_t(0)),
    |                           `- error: cannot find 'in_addr' in scope
 50 |                 sin_zero:(0, 0, 0, 0, 0, 0, 0, 0))
 51 |             #endif
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:49:43: error: cannot find 'in_addr_t' in scope
 47 |                 sin_family: UInt8(AF_INET),
 48 |                 sin_port: port.bigEndian,
 49 |                 sin_addr: in_addr(s_addr: in_addr_t(0)),
    |                                           `- error: cannot find 'in_addr_t' in scope
 50 |                 sin_zero:(0, 0, 0, 0, 0, 0, 0, 0))
 51 |             #endif
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:53:51: error: cannot find 'inet_pton' in scope
 51 |             #endif
 52 |             if let address = listenAddress {
 53 |               if address.withCString({ cstring in inet_pton(AF_INET, cstring, &addr.sin_addr) }) == 1 {
    |                                                   `- error: cannot find 'inet_pton' in scope
 54 |                 // print("\(address) is converted to \(addr.sin_addr).")
 55 |               } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:53:61: error: cannot find 'AF_INET' in scope
 51 |             #endif
 52 |             if let address = listenAddress {
 53 |               if address.withCString({ cstring in inet_pton(AF_INET, cstring, &addr.sin_addr) }) == 1 {
    |                                                             `- error: cannot find 'AF_INET' in scope
 54 |                 // print("\(address) is converted to \(addr.sin_addr).")
 55 |               } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:60:17: error: cannot find 'bind' in scope
 58 |             }
 59 |             bindResult = withUnsafePointer(to: &addr) {
 60 |                 bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
    |                 `- error: cannot find 'bind' in scope
 61 |             }
 62 |         } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:60:111: error: cannot find type 'sockaddr_in' in scope
 58 |             }
 59 |             bindResult = withUnsafePointer(to: &addr) {
 60 |                 bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
    |                                                                                                               `- error: cannot find type 'sockaddr_in' in scope
 61 |             }
 62 |         } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:60:58: error: cannot find type 'sockaddr' in scope
 58 |             }
 59 |             bindResult = withUnsafePointer(to: &addr) {
 60 |                 bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
    |                                                          `- error: cannot find type 'sockaddr' in scope
 61 |             }
 62 |         } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:71:24: error: cannot find 'sockaddr_in6' in scope
 69 |                 sin6_scope_id: 0)
 70 |             #else
 71 |             var addr = sockaddr_in6(
    |                        `- error: cannot find 'sockaddr_in6' in scope
 72 |                 sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
 73 |                 sin6_family: UInt8(AF_INET6),
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:72:46: error: cannot find type 'sockaddr_in6' in scope
 70 |             #else
 71 |             var addr = sockaddr_in6(
 72 |                 sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
    |                                              `- error: cannot find type 'sockaddr_in6' in scope
 73 |                 sin6_family: UInt8(AF_INET6),
 74 |                 sin6_port: port.bigEndian,
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:73:36: error: cannot find 'AF_INET6' in scope
 71 |             var addr = sockaddr_in6(
 72 |                 sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
 73 |                 sin6_family: UInt8(AF_INET6),
    |                                    `- error: cannot find 'AF_INET6' in scope
 74 |                 sin6_port: port.bigEndian,
 75 |                 sin6_flowinfo: 0,
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:76:28: error: cannot find 'in6addr_any' in scope
 74 |                 sin6_port: port.bigEndian,
 75 |                 sin6_flowinfo: 0,
 76 |                 sin6_addr: in6addr_any,
    |                            `- error: cannot find 'in6addr_any' in scope
 77 |                 sin6_scope_id: 0)
 78 |             #endif
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:80:51: error: cannot find 'inet_pton' in scope
 78 |             #endif
 79 |             if let address = listenAddress {
 80 |               if address.withCString({ cstring in inet_pton(AF_INET6, cstring, &addr.sin6_addr) }) == 1 {
    |                                                   `- error: cannot find 'inet_pton' in scope
 81 |                 //print("\(address) is converted to \(addr.sin6_addr).")
 82 |               } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:80:61: error: cannot find 'AF_INET6' in scope
 78 |             #endif
 79 |             if let address = listenAddress {
 80 |               if address.withCString({ cstring in inet_pton(AF_INET6, cstring, &addr.sin6_addr) }) == 1 {
    |                                                             `- error: cannot find 'AF_INET6' in scope
 81 |                 //print("\(address) is converted to \(addr.sin6_addr).")
 82 |               } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:87:17: error: cannot find 'bind' in scope
 85 |             }
 86 |             bindResult = withUnsafePointer(to: &addr) {
 87 |                 bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
    |                 `- error: cannot find 'bind' in scope
 88 |             }
 89 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:87:111: error: cannot find type 'sockaddr_in6' in scope
 85 |             }
 86 |             bindResult = withUnsafePointer(to: &addr) {
 87 |                 bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
    |                                                                                                               `- error: cannot find type 'sockaddr_in6' in scope
 88 |             }
 89 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:87:58: error: cannot find type 'sockaddr' in scope
 85 |             }
 86 |             bindResult = withUnsafePointer(to: &addr) {
 87 |                 bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
    |                                                          `- error: cannot find type 'sockaddr' in scope
 88 |             }
 89 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:97:12: error: cannot find 'listen' in scope
 95 |         }
 96 |
 97 |         if listen(socketFileDescriptor, maxPendingConnection) == -1 {
    |            `- error: cannot find 'listen' in scope
 98 |             let details = Errno.description()
 99 |             Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:106:20: error: cannot find 'sockaddr' in scope
104 |
105 |     public func acceptClientSocket() throws -> Socket {
106 |         var addr = sockaddr()
    |                    `- error: cannot find 'sockaddr' in scope
107 |         var len: socklen_t = 0
108 |         let clientSocket = accept(self.socketFileDescriptor, &addr, &len)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:108:28: error: cannot find 'accept' in scope
106 |         var addr = sockaddr()
107 |         var len: socklen_t = 0
108 |         let clientSocket = accept(self.socketFileDescriptor, &addr, &len)
    |                            `- error: cannot find 'accept' in scope
109 |         if clientSocket == -1 {
110 |             throw SocketError.acceptFailed(Errno.description())
[19/73] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+File.swift:40:17: error: cannot find type 'sf_hdtr' in scope
38 |     public func writeFile(_ file: String.File) throws -> Void {
39 |         var offset: off_t = 0
40 |         var sf: sf_hdtr = sf_hdtr()
   |                 `- error: cannot find type 'sf_hdtr' in scope
41 |
42 |         #if os(iOS) || os(tvOS) || os (Linux)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+File.swift:40:27: error: cannot find 'sf_hdtr' in scope
38 |     public func writeFile(_ file: String.File) throws -> Void {
39 |         var offset: off_t = 0
40 |         var sf: sf_hdtr = sf_hdtr()
   |                           `- error: cannot find 'sf_hdtr' in scope
41 |
42 |         #if os(iOS) || os(tvOS) || os (Linux)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+File.swift:45:22: error: cannot find 'sendfile' in scope
43 |         let result = sendfileImpl(file.pointer, self.socketFileDescriptor, 0, &offset, &sf, 0)
44 |         #else
45 |         let result = sendfile(fileno(file.pointer), self.socketFileDescriptor, 0, &offset, &sf, 0)
   |                      `- error: cannot find 'sendfile' in scope
46 |         #endif
47 |
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:19:43: error: cannot find type 'FILE' in scope
 17 |     public class File {
 18 |
 19 |         let pointer: UnsafeMutablePointer<FILE>
    |                                           `- error: cannot find type 'FILE' in scope
 20 |
 21 |         public init(_ pointer: UnsafeMutablePointer<FILE>) {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:16:50: error: cannot find type 'in_port_t' in scope
 14 |     ///       connections from. It should be in IPv4 format if forceIPv4 == true,
 15 |     ///       otherwise - in IPv6.
 16 |     public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
    |                                                  `- error: cannot find type 'in_port_t' in scope
 17 |
 18 |         #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:16:120: error: cannot find 'SOMAXCONN' in scope
 14 |     ///       connections from. It should be in IPv4 format if forceIPv4 == true,
 15 |     ///       otherwise - in IPv6.
 16 |     public class func tcpSocketForListen(_ port: in_port_t, _ forceIPv4: Bool = false, _ maxPendingConnection: Int32 = SOMAXCONN, _ listenAddress: String? = nil) throws -> Socket {
    |                                                                                                                        `- error: cannot find 'SOMAXCONN' in scope
 17 |
 18 |         #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:21:40: error: cannot find 'socket' in scope
 19 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
 20 |         #else
 21 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
    |                                        `- error: cannot find 'socket' in scope
 22 |         #endif
 23 |
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:21:59: error: cannot find 'AF_INET' in scope
 19 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
 20 |         #else
 21 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
    |                                                           `- error: cannot find 'AF_INET' in scope
 22 |         #endif
 23 |
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:21:69: error: cannot find 'AF_INET6' in scope
 19 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
 20 |         #else
 21 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
    |                                                                     `- error: cannot find 'AF_INET6' in scope
 22 |         #endif
 23 |
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:21:79: error: cannot find 'SOCK_STREAM' in scope
 19 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, Int32(SOCK_STREAM.rawValue), 0)
 20 |         #else
 21 |             let socketFileDescriptor = socket(forceIPv4 ? AF_INET : AF_INET6, SOCK_STREAM, 0)
    |                                                                               `- error: cannot find 'SOCK_STREAM' in scope
 22 |         #endif
 23 |
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:29:12: error: cannot find 'setsockopt' in scope
 27 |
 28 |         var value: Int32 = 1
 29 |         if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
    |            `- error: cannot find 'setsockopt' in scope
 30 |             let details = Errno.description()
 31 |             Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:29:45: error: cannot find 'SOL_SOCKET' in scope
 27 |
 28 |         var value: Int32 = 1
 29 |         if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
    |                                             `- error: cannot find 'SOL_SOCKET' in scope
 30 |             let details = Errno.description()
 31 |             Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:29:57: error: cannot find 'SO_REUSEADDR' in scope
 27 |
 28 |         var value: Int32 = 1
 29 |         if setsockopt(socketFileDescriptor, SOL_SOCKET, SO_REUSEADDR, &value, socklen_t(MemoryLayout<Int32>.size)) == -1 {
    |                                                         `- error: cannot find 'SO_REUSEADDR' in scope
 30 |             let details = Errno.description()
 31 |             Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:45:24: error: cannot find 'sockaddr_in' in scope
 43 |                 sin_zero:(0, 0, 0, 0, 0, 0, 0, 0))
 44 |             #else
 45 |             var addr = sockaddr_in(
    |                        `- error: cannot find 'sockaddr_in' in scope
 46 |                 sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
 47 |                 sin_family: UInt8(AF_INET),
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:46:45: error: cannot find type 'sockaddr_in' in scope
 44 |             #else
 45 |             var addr = sockaddr_in(
 46 |                 sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
    |                                             `- error: cannot find type 'sockaddr_in' in scope
 47 |                 sin_family: UInt8(AF_INET),
 48 |                 sin_port: port.bigEndian,
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:47:35: error: cannot find 'AF_INET' in scope
 45 |             var addr = sockaddr_in(
 46 |                 sin_len: UInt8(MemoryLayout<sockaddr_in>.stride),
 47 |                 sin_family: UInt8(AF_INET),
    |                                   `- error: cannot find 'AF_INET' in scope
 48 |                 sin_port: port.bigEndian,
 49 |                 sin_addr: in_addr(s_addr: in_addr_t(0)),
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:49:27: error: cannot find 'in_addr' in scope
 47 |                 sin_family: UInt8(AF_INET),
 48 |                 sin_port: port.bigEndian,
 49 |                 sin_addr: in_addr(s_addr: in_addr_t(0)),
    |                           `- error: cannot find 'in_addr' in scope
 50 |                 sin_zero:(0, 0, 0, 0, 0, 0, 0, 0))
 51 |             #endif
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:49:43: error: cannot find 'in_addr_t' in scope
 47 |                 sin_family: UInt8(AF_INET),
 48 |                 sin_port: port.bigEndian,
 49 |                 sin_addr: in_addr(s_addr: in_addr_t(0)),
    |                                           `- error: cannot find 'in_addr_t' in scope
 50 |                 sin_zero:(0, 0, 0, 0, 0, 0, 0, 0))
 51 |             #endif
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:53:51: error: cannot find 'inet_pton' in scope
 51 |             #endif
 52 |             if let address = listenAddress {
 53 |               if address.withCString({ cstring in inet_pton(AF_INET, cstring, &addr.sin_addr) }) == 1 {
    |                                                   `- error: cannot find 'inet_pton' in scope
 54 |                 // print("\(address) is converted to \(addr.sin_addr).")
 55 |               } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:53:61: error: cannot find 'AF_INET' in scope
 51 |             #endif
 52 |             if let address = listenAddress {
 53 |               if address.withCString({ cstring in inet_pton(AF_INET, cstring, &addr.sin_addr) }) == 1 {
    |                                                             `- error: cannot find 'AF_INET' in scope
 54 |                 // print("\(address) is converted to \(addr.sin_addr).")
 55 |               } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:60:17: error: cannot find 'bind' in scope
 58 |             }
 59 |             bindResult = withUnsafePointer(to: &addr) {
 60 |                 bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
    |                 `- error: cannot find 'bind' in scope
 61 |             }
 62 |         } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:60:111: error: cannot find type 'sockaddr_in' in scope
 58 |             }
 59 |             bindResult = withUnsafePointer(to: &addr) {
 60 |                 bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
    |                                                                                                               `- error: cannot find type 'sockaddr_in' in scope
 61 |             }
 62 |         } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:60:58: error: cannot find type 'sockaddr' in scope
 58 |             }
 59 |             bindResult = withUnsafePointer(to: &addr) {
 60 |                 bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in>.size))
    |                                                          `- error: cannot find type 'sockaddr' in scope
 61 |             }
 62 |         } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:71:24: error: cannot find 'sockaddr_in6' in scope
 69 |                 sin6_scope_id: 0)
 70 |             #else
 71 |             var addr = sockaddr_in6(
    |                        `- error: cannot find 'sockaddr_in6' in scope
 72 |                 sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
 73 |                 sin6_family: UInt8(AF_INET6),
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:72:46: error: cannot find type 'sockaddr_in6' in scope
 70 |             #else
 71 |             var addr = sockaddr_in6(
 72 |                 sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
    |                                              `- error: cannot find type 'sockaddr_in6' in scope
 73 |                 sin6_family: UInt8(AF_INET6),
 74 |                 sin6_port: port.bigEndian,
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:73:36: error: cannot find 'AF_INET6' in scope
 71 |             var addr = sockaddr_in6(
 72 |                 sin6_len: UInt8(MemoryLayout<sockaddr_in6>.stride),
 73 |                 sin6_family: UInt8(AF_INET6),
    |                                    `- error: cannot find 'AF_INET6' in scope
 74 |                 sin6_port: port.bigEndian,
 75 |                 sin6_flowinfo: 0,
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:76:28: error: cannot find 'in6addr_any' in scope
 74 |                 sin6_port: port.bigEndian,
 75 |                 sin6_flowinfo: 0,
 76 |                 sin6_addr: in6addr_any,
    |                            `- error: cannot find 'in6addr_any' in scope
 77 |                 sin6_scope_id: 0)
 78 |             #endif
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:80:51: error: cannot find 'inet_pton' in scope
 78 |             #endif
 79 |             if let address = listenAddress {
 80 |               if address.withCString({ cstring in inet_pton(AF_INET6, cstring, &addr.sin6_addr) }) == 1 {
    |                                                   `- error: cannot find 'inet_pton' in scope
 81 |                 //print("\(address) is converted to \(addr.sin6_addr).")
 82 |               } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:80:61: error: cannot find 'AF_INET6' in scope
 78 |             #endif
 79 |             if let address = listenAddress {
 80 |               if address.withCString({ cstring in inet_pton(AF_INET6, cstring, &addr.sin6_addr) }) == 1 {
    |                                                             `- error: cannot find 'AF_INET6' in scope
 81 |                 //print("\(address) is converted to \(addr.sin6_addr).")
 82 |               } else {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:87:17: error: cannot find 'bind' in scope
 85 |             }
 86 |             bindResult = withUnsafePointer(to: &addr) {
 87 |                 bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
    |                 `- error: cannot find 'bind' in scope
 88 |             }
 89 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:87:111: error: cannot find type 'sockaddr_in6' in scope
 85 |             }
 86 |             bindResult = withUnsafePointer(to: &addr) {
 87 |                 bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
    |                                                                                                               `- error: cannot find type 'sockaddr_in6' in scope
 88 |             }
 89 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:87:58: error: cannot find type 'sockaddr' in scope
 85 |             }
 86 |             bindResult = withUnsafePointer(to: &addr) {
 87 |                 bind(socketFileDescriptor, UnsafePointer<sockaddr>(OpaquePointer($0)), socklen_t(MemoryLayout<sockaddr_in6>.size))
    |                                                          `- error: cannot find type 'sockaddr' in scope
 88 |             }
 89 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:97:12: error: cannot find 'listen' in scope
 95 |         }
 96 |
 97 |         if listen(socketFileDescriptor, maxPendingConnection) == -1 {
    |            `- error: cannot find 'listen' in scope
 98 |             let details = Errno.description()
 99 |             Socket.close(socketFileDescriptor)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:106:20: error: cannot find 'sockaddr' in scope
104 |
105 |     public func acceptClientSocket() throws -> Socket {
106 |         var addr = sockaddr()
    |                    `- error: cannot find 'sockaddr' in scope
107 |         var len: socklen_t = 0
108 |         let clientSocket = accept(self.socketFileDescriptor, &addr, &len)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket+Server.swift:108:28: error: cannot find 'accept' in scope
106 |         var addr = sockaddr()
107 |         var len: socklen_t = 0
108 |         let clientSocket = accept(self.socketFileDescriptor, &addr, &len)
    |                            `- error: cannot find 'accept' in scope
109 |         if clientSocket == -1 {
110 |             throw SocketError.acceptFailed(Errno.description())
[20/73] Compiling ArgumentParser Parsed.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:49:34: error: cannot find type 'in_port_t' in scope
 47 |     }
 48 |
 49 |     public func port() throws -> in_port_t {
    |                                  `- error: cannot find type 'in_port_t' in scope
 50 |         var addr = sockaddr_in()
 51 |         return try withUnsafePointer(to: &addr) { pointer in
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:50:20: error: cannot find 'sockaddr_in' in scope
 48 |
 49 |     public func port() throws -> in_port_t {
 50 |         var addr = sockaddr_in()
    |                    `- error: cannot find 'sockaddr_in' in scope
 51 |         return try withUnsafePointer(to: &addr) { pointer in
 52 |             var len = socklen_t(MemoryLayout<sockaddr_in>.size)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:52:46: error: cannot find type 'sockaddr_in' in scope
 50 |         var addr = sockaddr_in()
 51 |         return try withUnsafePointer(to: &addr) { pointer in
 52 |             var len = socklen_t(MemoryLayout<sockaddr_in>.size)
    |                                              `- error: cannot find type 'sockaddr_in' in scope
 53 |             if getsockname(socketFileDescriptor, UnsafeMutablePointer(OpaquePointer(pointer)), &len) != 0 {
 54 |                 throw SocketError.getSockNameFailed(Errno.description())
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:53:16: error: cannot find 'getsockname' in scope
 51 |         return try withUnsafePointer(to: &addr) { pointer in
 52 |             var len = socklen_t(MemoryLayout<sockaddr_in>.size)
 53 |             if getsockname(socketFileDescriptor, UnsafeMutablePointer(OpaquePointer(pointer)), &len) != 0 {
    |                `- error: cannot find 'getsockname' in scope
 54 |                 throw SocketError.getSockNameFailed(Errno.description())
 55 |             }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:60:28: error: cannot find 'OSHostByteOrder' in scope
 58 |                 return ntohs(sin_port)
 59 |             #else
 60 |                 return Int(OSHostByteOrder()) != OSLittleEndian ? sin_port.littleEndian : sin_port.bigEndian
    |                            `- error: cannot find 'OSHostByteOrder' in scope
 61 |             #endif
 62 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:60:50: error: cannot find 'OSLittleEndian' in scope
 58 |                 return ntohs(sin_port)
 59 |             #else
 60 |                 return Int(OSHostByteOrder()) != OSLittleEndian ? sin_port.littleEndian : sin_port.bigEndian
    |                                                  `- error: cannot find 'OSLittleEndian' in scope
 61 |             #endif
 62 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:66:20: error: cannot find 'sockaddr_in' in scope
 64 |
 65 |     public func isIPv4() throws -> Bool {
 66 |         var addr = sockaddr_in()
    |                    `- error: cannot find 'sockaddr_in' in scope
 67 |         return try withUnsafePointer(to: &addr) { pointer in
 68 |             var len = socklen_t(MemoryLayout<sockaddr_in>.size)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:68:46: error: cannot find type 'sockaddr_in' in scope
 66 |         var addr = sockaddr_in()
 67 |         return try withUnsafePointer(to: &addr) { pointer in
 68 |             var len = socklen_t(MemoryLayout<sockaddr_in>.size)
    |                                              `- error: cannot find type 'sockaddr_in' in scope
 69 |             if getsockname(socketFileDescriptor, UnsafeMutablePointer(OpaquePointer(pointer)), &len) != 0 {
 70 |                 throw SocketError.getSockNameFailed(Errno.description())
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:69:16: error: cannot find 'getsockname' in scope
 67 |         return try withUnsafePointer(to: &addr) { pointer in
 68 |             var len = socklen_t(MemoryLayout<sockaddr_in>.size)
 69 |             if getsockname(socketFileDescriptor, UnsafeMutablePointer(OpaquePointer(pointer)), &len) != 0 {
    |                `- error: cannot find 'getsockname' in scope
 70 |                 throw SocketError.getSockNameFailed(Errno.description())
 71 |             }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:72:57: error: cannot find 'AF_INET' in scope
 70 |                 throw SocketError.getSockNameFailed(Errno.description())
 71 |             }
 72 |             return Int32(pointer.pointee.sin_family) == AF_INET
    |                                                         `- error: cannot find 'AF_INET' in scope
 73 |         }
 74 |     }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:106:25: error: cannot find 'write' in scope
104 |                 let s = send(self.socketFileDescriptor, pointer + sent, Int(length - sent), Int32(MSG_NOSIGNAL))
105 |             #else
106 |                 let s = write(self.socketFileDescriptor, pointer + sent, Int(length - sent))
    |                         `- error: cannot find 'write' in scope
107 |             #endif
108 |             if s <= 0 {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:120:24: error: cannot find 'recv' in scope
118 |             let next = recv(self.socketFileDescriptor as Int32, &buffer, Int(buffer.count), Int32(MSG_NOSIGNAL))
119 |         #else
120 |             let next = recv(self.socketFileDescriptor as Int32, &buffer, Int(buffer.count), 0)
    |                        `- error: cannot find 'recv' in scope
121 |         #endif
122 |         if next <= 0 {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:142:20: error: cannot find 'sockaddr' in scope
140 |
141 |     public func peername() throws -> String {
142 |         var addr = sockaddr(), len: socklen_t = socklen_t(MemoryLayout<sockaddr>.size)
    |                    `- error: cannot find 'sockaddr' in scope
143 |         if getpeername(self.socketFileDescriptor, &addr, &len) != 0 {
144 |             throw SocketError.getPeerNameFailed(Errno.description())
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:142:72: error: cannot find type 'sockaddr' in scope
140 |
141 |     public func peername() throws -> String {
142 |         var addr = sockaddr(), len: socklen_t = socklen_t(MemoryLayout<sockaddr>.size)
    |                                                                        `- error: cannot find type 'sockaddr' in scope
143 |         if getpeername(self.socketFileDescriptor, &addr, &len) != 0 {
144 |             throw SocketError.getPeerNameFailed(Errno.description())
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:143:12: error: cannot find 'getpeername' in scope
141 |     public func peername() throws -> String {
142 |         var addr = sockaddr(), len: socklen_t = socklen_t(MemoryLayout<sockaddr>.size)
143 |         if getpeername(self.socketFileDescriptor, &addr, &len) != 0 {
    |            `- error: cannot find 'getpeername' in scope
144 |             throw SocketError.getPeerNameFailed(Errno.description())
145 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:146:59: error: cannot find 'NI_MAXHOST' in scope
144 |             throw SocketError.getPeerNameFailed(Errno.description())
145 |         }
146 |         var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
    |                                                           `- error: cannot find 'NI_MAXHOST' in scope
147 |         if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
148 |             throw SocketError.getNameInfoFailed(Errno.description())
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:147:12: error: cannot find 'getnameinfo' in scope
145 |         }
146 |         var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
147 |         if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
    |            `- error: cannot find 'getnameinfo' in scope
148 |             throw SocketError.getNameInfoFailed(Errno.description())
149 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:147:86: error: cannot find 'NI_NUMERICHOST' in scope
145 |         }
146 |         var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
147 |         if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
    |                                                                                      `- error: cannot find 'NI_NUMERICHOST' in scope
148 |             throw SocketError.getNameInfoFailed(Errno.description())
149 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:147:78: error: 'nil' requires a contextual type
145 |         }
146 |         var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
147 |         if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
    |                                                                              `- error: 'nil' requires a contextual type
148 |             throw SocketError.getNameInfoFailed(Errno.description())
149 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:160:13: error: cannot find 'setsockopt' in scope
158 |             // Prevents crashes when blocking calls are pending and the app is paused ( via Home button ).
159 |             var no_sig_pipe: Int32 = 1
160 |             setsockopt(socket, SOL_SOCKET, SO_NOSIGPIPE, &no_sig_pipe, socklen_t(MemoryLayout<Int32>.size))
    |             `- error: cannot find 'setsockopt' in scope
161 |         #endif
162 |     }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:160:32: error: cannot find 'SOL_SOCKET' in scope
158 |             // Prevents crashes when blocking calls are pending and the app is paused ( via Home button ).
159 |             var no_sig_pipe: Int32 = 1
160 |             setsockopt(socket, SOL_SOCKET, SO_NOSIGPIPE, &no_sig_pipe, socklen_t(MemoryLayout<Int32>.size))
    |                                `- error: cannot find 'SOL_SOCKET' in scope
161 |         #endif
162 |     }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:160:44: error: cannot find 'SO_NOSIGPIPE' in scope
158 |             // Prevents crashes when blocking calls are pending and the app is paused ( via Home button ).
159 |             var no_sig_pipe: Int32 = 1
160 |             setsockopt(socket, SOL_SOCKET, SO_NOSIGPIPE, &no_sig_pipe, socklen_t(MemoryLayout<Int32>.size))
    |                                            `- error: cannot find 'SO_NOSIGPIPE' in scope
161 |         #endif
162 |     }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:168:21: error: cannot find 'Darwin' in scope
166 |             let _ = Glibc.close(socket)
167 |         #else
168 |             let _ = Darwin.close(socket)
    |                     `- error: cannot find 'Darwin' in scope
169 |         #endif
170 |     }
[21/73] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:49:34: error: cannot find type 'in_port_t' in scope
 47 |     }
 48 |
 49 |     public func port() throws -> in_port_t {
    |                                  `- error: cannot find type 'in_port_t' in scope
 50 |         var addr = sockaddr_in()
 51 |         return try withUnsafePointer(to: &addr) { pointer in
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:50:20: error: cannot find 'sockaddr_in' in scope
 48 |
 49 |     public func port() throws -> in_port_t {
 50 |         var addr = sockaddr_in()
    |                    `- error: cannot find 'sockaddr_in' in scope
 51 |         return try withUnsafePointer(to: &addr) { pointer in
 52 |             var len = socklen_t(MemoryLayout<sockaddr_in>.size)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:52:46: error: cannot find type 'sockaddr_in' in scope
 50 |         var addr = sockaddr_in()
 51 |         return try withUnsafePointer(to: &addr) { pointer in
 52 |             var len = socklen_t(MemoryLayout<sockaddr_in>.size)
    |                                              `- error: cannot find type 'sockaddr_in' in scope
 53 |             if getsockname(socketFileDescriptor, UnsafeMutablePointer(OpaquePointer(pointer)), &len) != 0 {
 54 |                 throw SocketError.getSockNameFailed(Errno.description())
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:53:16: error: cannot find 'getsockname' in scope
 51 |         return try withUnsafePointer(to: &addr) { pointer in
 52 |             var len = socklen_t(MemoryLayout<sockaddr_in>.size)
 53 |             if getsockname(socketFileDescriptor, UnsafeMutablePointer(OpaquePointer(pointer)), &len) != 0 {
    |                `- error: cannot find 'getsockname' in scope
 54 |                 throw SocketError.getSockNameFailed(Errno.description())
 55 |             }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:60:28: error: cannot find 'OSHostByteOrder' in scope
 58 |                 return ntohs(sin_port)
 59 |             #else
 60 |                 return Int(OSHostByteOrder()) != OSLittleEndian ? sin_port.littleEndian : sin_port.bigEndian
    |                            `- error: cannot find 'OSHostByteOrder' in scope
 61 |             #endif
 62 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:60:50: error: cannot find 'OSLittleEndian' in scope
 58 |                 return ntohs(sin_port)
 59 |             #else
 60 |                 return Int(OSHostByteOrder()) != OSLittleEndian ? sin_port.littleEndian : sin_port.bigEndian
    |                                                  `- error: cannot find 'OSLittleEndian' in scope
 61 |             #endif
 62 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:66:20: error: cannot find 'sockaddr_in' in scope
 64 |
 65 |     public func isIPv4() throws -> Bool {
 66 |         var addr = sockaddr_in()
    |                    `- error: cannot find 'sockaddr_in' in scope
 67 |         return try withUnsafePointer(to: &addr) { pointer in
 68 |             var len = socklen_t(MemoryLayout<sockaddr_in>.size)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:68:46: error: cannot find type 'sockaddr_in' in scope
 66 |         var addr = sockaddr_in()
 67 |         return try withUnsafePointer(to: &addr) { pointer in
 68 |             var len = socklen_t(MemoryLayout<sockaddr_in>.size)
    |                                              `- error: cannot find type 'sockaddr_in' in scope
 69 |             if getsockname(socketFileDescriptor, UnsafeMutablePointer(OpaquePointer(pointer)), &len) != 0 {
 70 |                 throw SocketError.getSockNameFailed(Errno.description())
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:69:16: error: cannot find 'getsockname' in scope
 67 |         return try withUnsafePointer(to: &addr) { pointer in
 68 |             var len = socklen_t(MemoryLayout<sockaddr_in>.size)
 69 |             if getsockname(socketFileDescriptor, UnsafeMutablePointer(OpaquePointer(pointer)), &len) != 0 {
    |                `- error: cannot find 'getsockname' in scope
 70 |                 throw SocketError.getSockNameFailed(Errno.description())
 71 |             }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:72:57: error: cannot find 'AF_INET' in scope
 70 |                 throw SocketError.getSockNameFailed(Errno.description())
 71 |             }
 72 |             return Int32(pointer.pointee.sin_family) == AF_INET
    |                                                         `- error: cannot find 'AF_INET' in scope
 73 |         }
 74 |     }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:106:25: error: cannot find 'write' in scope
104 |                 let s = send(self.socketFileDescriptor, pointer + sent, Int(length - sent), Int32(MSG_NOSIGNAL))
105 |             #else
106 |                 let s = write(self.socketFileDescriptor, pointer + sent, Int(length - sent))
    |                         `- error: cannot find 'write' in scope
107 |             #endif
108 |             if s <= 0 {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:120:24: error: cannot find 'recv' in scope
118 |             let next = recv(self.socketFileDescriptor as Int32, &buffer, Int(buffer.count), Int32(MSG_NOSIGNAL))
119 |         #else
120 |             let next = recv(self.socketFileDescriptor as Int32, &buffer, Int(buffer.count), 0)
    |                        `- error: cannot find 'recv' in scope
121 |         #endif
122 |         if next <= 0 {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:142:20: error: cannot find 'sockaddr' in scope
140 |
141 |     public func peername() throws -> String {
142 |         var addr = sockaddr(), len: socklen_t = socklen_t(MemoryLayout<sockaddr>.size)
    |                    `- error: cannot find 'sockaddr' in scope
143 |         if getpeername(self.socketFileDescriptor, &addr, &len) != 0 {
144 |             throw SocketError.getPeerNameFailed(Errno.description())
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:142:72: error: cannot find type 'sockaddr' in scope
140 |
141 |     public func peername() throws -> String {
142 |         var addr = sockaddr(), len: socklen_t = socklen_t(MemoryLayout<sockaddr>.size)
    |                                                                        `- error: cannot find type 'sockaddr' in scope
143 |         if getpeername(self.socketFileDescriptor, &addr, &len) != 0 {
144 |             throw SocketError.getPeerNameFailed(Errno.description())
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:143:12: error: cannot find 'getpeername' in scope
141 |     public func peername() throws -> String {
142 |         var addr = sockaddr(), len: socklen_t = socklen_t(MemoryLayout<sockaddr>.size)
143 |         if getpeername(self.socketFileDescriptor, &addr, &len) != 0 {
    |            `- error: cannot find 'getpeername' in scope
144 |             throw SocketError.getPeerNameFailed(Errno.description())
145 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:146:59: error: cannot find 'NI_MAXHOST' in scope
144 |             throw SocketError.getPeerNameFailed(Errno.description())
145 |         }
146 |         var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
    |                                                           `- error: cannot find 'NI_MAXHOST' in scope
147 |         if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
148 |             throw SocketError.getNameInfoFailed(Errno.description())
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:147:12: error: cannot find 'getnameinfo' in scope
145 |         }
146 |         var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
147 |         if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
    |            `- error: cannot find 'getnameinfo' in scope
148 |             throw SocketError.getNameInfoFailed(Errno.description())
149 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:147:86: error: cannot find 'NI_NUMERICHOST' in scope
145 |         }
146 |         var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
147 |         if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
    |                                                                                      `- error: cannot find 'NI_NUMERICHOST' in scope
148 |             throw SocketError.getNameInfoFailed(Errno.description())
149 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:147:78: error: 'nil' requires a contextual type
145 |         }
146 |         var hostBuffer = [CChar](repeating: 0, count: Int(NI_MAXHOST))
147 |         if getnameinfo(&addr, len, &hostBuffer, socklen_t(hostBuffer.count), nil, 0, NI_NUMERICHOST) != 0 {
    |                                                                              `- error: 'nil' requires a contextual type
148 |             throw SocketError.getNameInfoFailed(Errno.description())
149 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:160:13: error: cannot find 'setsockopt' in scope
158 |             // Prevents crashes when blocking calls are pending and the app is paused ( via Home button ).
159 |             var no_sig_pipe: Int32 = 1
160 |             setsockopt(socket, SOL_SOCKET, SO_NOSIGPIPE, &no_sig_pipe, socklen_t(MemoryLayout<Int32>.size))
    |             `- error: cannot find 'setsockopt' in scope
161 |         #endif
162 |     }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:160:32: error: cannot find 'SOL_SOCKET' in scope
158 |             // Prevents crashes when blocking calls are pending and the app is paused ( via Home button ).
159 |             var no_sig_pipe: Int32 = 1
160 |             setsockopt(socket, SOL_SOCKET, SO_NOSIGPIPE, &no_sig_pipe, socklen_t(MemoryLayout<Int32>.size))
    |                                `- error: cannot find 'SOL_SOCKET' in scope
161 |         #endif
162 |     }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:160:44: error: cannot find 'SO_NOSIGPIPE' in scope
158 |             // Prevents crashes when blocking calls are pending and the app is paused ( via Home button ).
159 |             var no_sig_pipe: Int32 = 1
160 |             setsockopt(socket, SOL_SOCKET, SO_NOSIGPIPE, &no_sig_pipe, socklen_t(MemoryLayout<Int32>.size))
    |                                            `- error: cannot find 'SO_NOSIGPIPE' in scope
161 |         #endif
162 |     }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Socket.swift:168:21: error: cannot find 'Darwin' in scope
166 |             let _ = Glibc.close(socket)
167 |         #else
168 |             let _ = Darwin.close(socket)
    |                     `- error: cannot find 'Darwin' in scope
169 |         #endif
170 |     }
[22/73] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:19:43: error: cannot find type 'FILE' in scope
 17 |     public class File {
 18 |
 19 |         let pointer: UnsafeMutablePointer<FILE>
    |                                           `- error: cannot find type 'FILE' in scope
 20 |
 21 |         public init(_ pointer: UnsafeMutablePointer<FILE>) {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:21:53: error: cannot find type 'FILE' in scope
 19 |         let pointer: UnsafeMutablePointer<FILE>
 20 |
 21 |         public init(_ pointer: UnsafeMutablePointer<FILE>) {
    |                                                     `- error: cannot find type 'FILE' in scope
 22 |             self.pointer = pointer
 23 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:136:43: error: cannot find type 'stat' in scope
134 |     }
135 |
136 |     private func withStat<T>(_ closure: ((stat?) throws -> T)) throws -> T {
    |                                           `- error: cannot find type 'stat' in scope
137 |         return try self.withCString({
138 |             var statBuffer = stat()
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:45:39: error: cannot find 'errno' in scope
 43 |             }
 44 |             if ferror(self.pointer) != 0 {
 45 |                 throw FileError.error(errno)
    |                                       `- error: cannot find 'errno' in scope
 46 |             }
 47 |             throw FileError.error(0)
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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/swifter/Sources/String+File.swift:56:43: error: cannot find 'errno' in scope
 54 |             try data.withUnsafeBufferPointer {
 55 |                 if fwrite($0.baseAddress, 1, data.count, self.pointer) != data.count {
 56 |                     throw FileError.error(errno)
    |                                           `- error: cannot find 'errno' in scope
 57 |                 }
 58 |             }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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/swifter/Sources/String+File.swift:55:30: error: value of optional type 'UnsafePointer<UInt8>?' must be unwrapped to a value of type 'UnsafePointer<UInt8>'
 53 |             }
 54 |             try data.withUnsafeBufferPointer {
 55 |                 if fwrite($0.baseAddress, 1, data.count, self.pointer) != data.count {
    |                              |- error: value of optional type 'UnsafePointer<UInt8>?' must be unwrapped to a value of type 'UnsafePointer<UInt8>'
    |                              |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 56 |                     throw FileError.error(errno)
 57 |                 }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:62:30: error: cannot find 'getcwd' in scope
 60 |
 61 |         public static func currentWorkingDirectory() throws -> String {
 62 |             guard let path = getcwd(nil, 0) else {
    |                              `- error: cannot find 'getcwd' in scope
 63 |                 throw FileError.error(errno)
 64 |             }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:62:37: error: 'nil' requires a contextual type
 60 |
 61 |         public static func currentWorkingDirectory() throws -> String {
 62 |             guard let path = getcwd(nil, 0) else {
    |                                     `- error: 'nil' requires a contextual type
 63 |                 throw FileError.error(errno)
 64 |             }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:63:39: error: cannot find 'errno' in scope
 61 |         public static func currentWorkingDirectory() throws -> String {
 62 |             guard let path = getcwd(nil, 0) else {
 63 |                 throw FileError.error(errno)
    |                                       `- error: cannot find 'errno' in scope
 64 |             }
 65 |             return String(cString: path)
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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/swifter/Sources/String+File.swift:85:35: error: cannot find 'errno' in scope
 83 |     public func openFileForMode(_ path: String, _ mode: String) throws -> File {
 84 |         guard let file = path.withCString({ pathPointer in mode.withCString({ fopen(pathPointer, $0) }) }) else {
 85 |             throw FileError.error(errno)
    |                                   `- error: cannot find 'errno' in scope
 86 |         }
 87 |         return File(file)
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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/swifter/Sources/String+File.swift:102:39: error: cannot find 'S_IFMT' in scope
100 |         return try self.withStat {
101 |             if let stat = $0 {
102 |                 return stat.st_mode & S_IFMT == S_IFDIR
    |                                       `- error: cannot find 'S_IFMT' in scope
103 |             }
104 |             return false
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:102:49: error: cannot find 'S_IFDIR' in scope
100 |         return try self.withStat {
101 |             if let stat = $0 {
102 |                 return stat.st_mode & S_IFMT == S_IFDIR
    |                                                 `- error: cannot find 'S_IFDIR' in scope
103 |             }
104 |             return false
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:109:44: error: cannot find 'opendir' in scope
107 |
108 |     public func files() throws -> [String] {
109 |         guard let dir = self.withCString({ opendir($0) }) else {
    |                                            `- error: cannot find 'opendir' in scope
110 |             throw FileError.error(errno)
111 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:110:35: error: cannot find 'errno' in scope
108 |     public func files() throws -> [String] {
109 |         guard let dir = self.withCString({ opendir($0) }) else {
110 |             throw FileError.error(errno)
    |                                   `- error: cannot find 'errno' in scope
111 |         }
112 |         defer { closedir(dir) }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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/swifter/Sources/String+File.swift:112:17: error: cannot find 'closedir' in scope
110 |             throw FileError.error(errno)
111 |         }
112 |         defer { closedir(dir) }
    |                 `- error: cannot find 'closedir' in scope
113 |         var results = [String]()
114 |         while let ent = readdir(dir) {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:114:25: error: cannot find 'readdir' in scope
112 |         defer { closedir(dir) }
113 |         var results = [String]()
114 |         while let ent = readdir(dir) {
    |                         `- error: cannot find 'readdir' in scope
115 |             var name = ent.pointee.d_name
116 |             let fileName = withUnsafePointer(to: &name) { (ptr) -> String? in
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:138:30: error: cannot find 'stat' in scope
136 |     private func withStat<T>(_ closure: ((stat?) throws -> T)) throws -> T {
137 |         return try self.withCString({
138 |             var statBuffer = stat()
    |                              `- error: cannot find 'stat' in scope
139 |             if stat($0, &statBuffer) == 0 {
140 |                 return try closure(statBuffer)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:139:16: error: cannot find 'stat' in scope
137 |         return try self.withCString({
138 |             var statBuffer = stat()
139 |             if stat($0, &statBuffer) == 0 {
    |                `- error: cannot find 'stat' in scope
140 |                 return try closure(statBuffer)
141 |             }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:142:16: error: cannot find 'errno' in scope
140 |                 return try closure(statBuffer)
141 |             }
142 |             if errno == ENOENT {
    |                `- error: cannot find 'errno' in scope
143 |                 return try closure(nil)
144 |             }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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/swifter/Sources/String+File.swift:145:35: error: cannot find 'errno' in scope
143 |                 return try closure(nil)
144 |             }
145 |             throw FileError.error(errno)
    |                                   `- error: cannot find 'errno' in scope
146 |         })
147 |     }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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
[23/73] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:19:43: error: cannot find type 'FILE' in scope
 17 |     public class File {
 18 |
 19 |         let pointer: UnsafeMutablePointer<FILE>
    |                                           `- error: cannot find type 'FILE' in scope
 20 |
 21 |         public init(_ pointer: UnsafeMutablePointer<FILE>) {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:21:53: error: cannot find type 'FILE' in scope
 19 |         let pointer: UnsafeMutablePointer<FILE>
 20 |
 21 |         public init(_ pointer: UnsafeMutablePointer<FILE>) {
    |                                                     `- error: cannot find type 'FILE' in scope
 22 |             self.pointer = pointer
 23 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:136:43: error: cannot find type 'stat' in scope
134 |     }
135 |
136 |     private func withStat<T>(_ closure: ((stat?) throws -> T)) throws -> T {
    |                                           `- error: cannot find type 'stat' in scope
137 |         return try self.withCString({
138 |             var statBuffer = stat()
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:45:39: error: cannot find 'errno' in scope
 43 |             }
 44 |             if ferror(self.pointer) != 0 {
 45 |                 throw FileError.error(errno)
    |                                       `- error: cannot find 'errno' in scope
 46 |             }
 47 |             throw FileError.error(0)
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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/swifter/Sources/String+File.swift:56:43: error: cannot find 'errno' in scope
 54 |             try data.withUnsafeBufferPointer {
 55 |                 if fwrite($0.baseAddress, 1, data.count, self.pointer) != data.count {
 56 |                     throw FileError.error(errno)
    |                                           `- error: cannot find 'errno' in scope
 57 |                 }
 58 |             }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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/swifter/Sources/String+File.swift:55:30: error: value of optional type 'UnsafePointer<UInt8>?' must be unwrapped to a value of type 'UnsafePointer<UInt8>'
 53 |             }
 54 |             try data.withUnsafeBufferPointer {
 55 |                 if fwrite($0.baseAddress, 1, data.count, self.pointer) != data.count {
    |                              |- error: value of optional type 'UnsafePointer<UInt8>?' must be unwrapped to a value of type 'UnsafePointer<UInt8>'
    |                              |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                              `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 56 |                     throw FileError.error(errno)
 57 |                 }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:62:30: error: cannot find 'getcwd' in scope
 60 |
 61 |         public static func currentWorkingDirectory() throws -> String {
 62 |             guard let path = getcwd(nil, 0) else {
    |                              `- error: cannot find 'getcwd' in scope
 63 |                 throw FileError.error(errno)
 64 |             }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:62:37: error: 'nil' requires a contextual type
 60 |
 61 |         public static func currentWorkingDirectory() throws -> String {
 62 |             guard let path = getcwd(nil, 0) else {
    |                                     `- error: 'nil' requires a contextual type
 63 |                 throw FileError.error(errno)
 64 |             }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:63:39: error: cannot find 'errno' in scope
 61 |         public static func currentWorkingDirectory() throws -> String {
 62 |             guard let path = getcwd(nil, 0) else {
 63 |                 throw FileError.error(errno)
    |                                       `- error: cannot find 'errno' in scope
 64 |             }
 65 |             return String(cString: path)
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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/swifter/Sources/String+File.swift:85:35: error: cannot find 'errno' in scope
 83 |     public func openFileForMode(_ path: String, _ mode: String) throws -> File {
 84 |         guard let file = path.withCString({ pathPointer in mode.withCString({ fopen(pathPointer, $0) }) }) else {
 85 |             throw FileError.error(errno)
    |                                   `- error: cannot find 'errno' in scope
 86 |         }
 87 |         return File(file)
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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/swifter/Sources/String+File.swift:102:39: error: cannot find 'S_IFMT' in scope
100 |         return try self.withStat {
101 |             if let stat = $0 {
102 |                 return stat.st_mode & S_IFMT == S_IFDIR
    |                                       `- error: cannot find 'S_IFMT' in scope
103 |             }
104 |             return false
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:102:49: error: cannot find 'S_IFDIR' in scope
100 |         return try self.withStat {
101 |             if let stat = $0 {
102 |                 return stat.st_mode & S_IFMT == S_IFDIR
    |                                                 `- error: cannot find 'S_IFDIR' in scope
103 |             }
104 |             return false
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:109:44: error: cannot find 'opendir' in scope
107 |
108 |     public func files() throws -> [String] {
109 |         guard let dir = self.withCString({ opendir($0) }) else {
    |                                            `- error: cannot find 'opendir' in scope
110 |             throw FileError.error(errno)
111 |         }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:110:35: error: cannot find 'errno' in scope
108 |     public func files() throws -> [String] {
109 |         guard let dir = self.withCString({ opendir($0) }) else {
110 |             throw FileError.error(errno)
    |                                   `- error: cannot find 'errno' in scope
111 |         }
112 |         defer { closedir(dir) }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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/swifter/Sources/String+File.swift:112:17: error: cannot find 'closedir' in scope
110 |             throw FileError.error(errno)
111 |         }
112 |         defer { closedir(dir) }
    |                 `- error: cannot find 'closedir' in scope
113 |         var results = [String]()
114 |         while let ent = readdir(dir) {
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:114:25: error: cannot find 'readdir' in scope
112 |         defer { closedir(dir) }
113 |         var results = [String]()
114 |         while let ent = readdir(dir) {
    |                         `- error: cannot find 'readdir' in scope
115 |             var name = ent.pointee.d_name
116 |             let fileName = withUnsafePointer(to: &name) { (ptr) -> String? in
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:138:30: error: cannot find 'stat' in scope
136 |     private func withStat<T>(_ closure: ((stat?) throws -> T)) throws -> T {
137 |         return try self.withCString({
138 |             var statBuffer = stat()
    |                              `- error: cannot find 'stat' in scope
139 |             if stat($0, &statBuffer) == 0 {
140 |                 return try closure(statBuffer)
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:139:16: error: cannot find 'stat' in scope
137 |         return try self.withCString({
138 |             var statBuffer = stat()
139 |             if stat($0, &statBuffer) == 0 {
    |                `- error: cannot find 'stat' in scope
140 |                 return try closure(statBuffer)
141 |             }
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/String+File.swift:142:16: error: cannot find 'errno' in scope
140 |                 return try closure(statBuffer)
141 |             }
142 |             if errno == ENOENT {
    |                `- error: cannot find 'errno' in scope
143 |                 return try closure(nil)
144 |             }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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/swifter/Sources/String+File.swift:145:35: error: cannot find 'errno' in scope
143 |                 return try closure(nil)
144 |             }
145 |             throw FileError.error(errno)
    |                                   `- error: cannot find 'errno' in scope
146 |         })
147 |     }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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
[24/73] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Process.swift:13:20: error: cannot find 'getpid' in scope
11 |
12 |     public static var pid: Int {
13 |         return Int(getpid())
   |                    `- error: cannot find 'getpid' in scope
14 |     }
15 |
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Process.swift:21:13: error: cannot find 'pthread_threadid_np' in scope
19 |         #else
20 |             var tid: __uint64_t = 0
21 |             pthread_threadid_np(nil, &tid);
   |             `- error: cannot find 'pthread_threadid_np' in scope
22 |             return UInt64(tid)
23 |         #endif
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Process.swift:21:33: error: 'nil' requires a contextual type
19 |         #else
20 |             var tid: __uint64_t = 0
21 |             pthread_threadid_np(nil, &tid);
   |                                 `- error: 'nil' requires a contextual type
22 |             return UInt64(tid)
23 |         #endif
[25/73] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Process.swift:13:20: error: cannot find 'getpid' in scope
11 |
12 |     public static var pid: Int {
13 |         return Int(getpid())
   |                    `- error: cannot find 'getpid' in scope
14 |     }
15 |
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Process.swift:21:13: error: cannot find 'pthread_threadid_np' in scope
19 |         #else
20 |             var tid: __uint64_t = 0
21 |             pthread_threadid_np(nil, &tid);
   |             `- error: cannot find 'pthread_threadid_np' in scope
22 |             return UInt64(tid)
23 |         #endif
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Process.swift:21:33: error: 'nil' requires a contextual type
19 |         #else
20 |             var tid: __uint64_t = 0
21 |             pthread_threadid_np(nil, &tid);
   |                                 `- error: 'nil' requires a contextual type
22 |             return UInt64(tid)
23 |         #endif
[26/73] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Process.swift:13:20: error: cannot find 'getpid' in scope
11 |
12 |     public static var pid: Int {
13 |         return Int(getpid())
   |                    `- error: cannot find 'getpid' in scope
14 |     }
15 |
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Process.swift:21:13: error: cannot find 'pthread_threadid_np' in scope
19 |         #else
20 |             var tid: __uint64_t = 0
21 |             pthread_threadid_np(nil, &tid);
   |             `- error: cannot find 'pthread_threadid_np' in scope
22 |             return UInt64(tid)
23 |         #endif
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Process.swift:21:33: error: 'nil' requires a contextual type
19 |         #else
20 |             var tid: __uint64_t = 0
21 |             pthread_threadid_np(nil, &tid);
   |                                 `- error: 'nil' requires a contextual type
22 |             return UInt64(tid)
23 |         #endif
[27/73] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Errno.swift:13:55: error: cannot find 'errno' in scope
11 |
12 |     public class func description() -> String {
13 |         return String(cString: UnsafePointer(strerror(errno)))
   |                                                       `- error: cannot find 'errno' in scope
14 |     }
15 | }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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
[28/73] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Errno.swift:13:55: error: cannot find 'errno' in scope
11 |
12 |     public class func description() -> String {
13 |         return String(cString: UnsafePointer(strerror(errno)))
   |                                                       `- error: cannot find 'errno' in scope
14 |     }
15 | }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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
[29/73] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swifter/Sources/Errno.swift:13:55: error: cannot find 'errno' in scope
11 |
12 |     public class func description() -> String {
13 |         return String(cString: UnsafePointer(strerror(errno)))
   |                                                       `- error: cannot find 'errno' in scope
14 |     }
15 | }
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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
[30/73] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/73] Compiling ArgumentParser Argument.swift
[32/73] Compiling ArgumentParser ArgumentSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:8:11: error: cannot find type 'sockaddr' in scope
  6 |
  7 | #if !os(macOS)
  8 | extension sockaddr {
    |           `- error: cannot find type 'sockaddr' in scope
  9 |     var sa_len: Int {
 10 |         switch Int32(sa_family) {
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:67:43: error: cannot find type 'ifaddrs' in scope
 65 |
 66 |         // Get list of all interfaces on the local machine:
 67 |         var ifaddr : UnsafeMutablePointer<ifaddrs>? = nil
    |                                           `- error: cannot find type 'ifaddrs' in scope
 68 |         if getifaddrs(&ifaddr) == 0 {
 69 |
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:68:12: error: cannot find 'getifaddrs' in scope
 66 |         // Get list of all interfaces on the local machine:
 67 |         var ifaddr : UnsafeMutablePointer<ifaddrs>? = nil
 68 |         if getifaddrs(&ifaddr) == 0 {
    |            `- error: cannot find 'getifaddrs' in scope
 69 |
 70 |             // For each interface ...
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:84:30: error: cannot find 'IFF_UP' in scope
 82 |
 83 |                 // Check for running IPv4, IPv6 interfaces. Skip the loopback interface.
 84 |                 if (flags & (IFF_UP|IFF_RUNNING|IFF_LOOPBACK)) == (IFF_UP|IFF_RUNNING) {
    |                              `- error: cannot find 'IFF_UP' in scope
 85 |                     if addr.sa_family == UInt8(version == .IPv4 ? AF_INET : AF_INET6) {
 86 |
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:84:37: error: cannot find 'IFF_RUNNING' in scope
 82 |
 83 |                 // Check for running IPv4, IPv6 interfaces. Skip the loopback interface.
 84 |                 if (flags & (IFF_UP|IFF_RUNNING|IFF_LOOPBACK)) == (IFF_UP|IFF_RUNNING) {
    |                                     `- error: cannot find 'IFF_RUNNING' in scope
 85 |                     if addr.sa_family == UInt8(version == .IPv4 ? AF_INET : AF_INET6) {
 86 |
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:84:49: error: cannot find 'IFF_LOOPBACK' in scope
 82 |
 83 |                 // Check for running IPv4, IPv6 interfaces. Skip the loopback interface.
 84 |                 if (flags & (IFF_UP|IFF_RUNNING|IFF_LOOPBACK)) == (IFF_UP|IFF_RUNNING) {
    |                                                 `- error: cannot find 'IFF_LOOPBACK' in scope
 85 |                     if addr.sa_family == UInt8(version == .IPv4 ? AF_INET : AF_INET6) {
 86 |
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:84:68: error: cannot find 'IFF_UP' in scope
 82 |
 83 |                 // Check for running IPv4, IPv6 interfaces. Skip the loopback interface.
 84 |                 if (flags & (IFF_UP|IFF_RUNNING|IFF_LOOPBACK)) == (IFF_UP|IFF_RUNNING) {
    |                                                                    `- error: cannot find 'IFF_UP' in scope
 85 |                     if addr.sa_family == UInt8(version == .IPv4 ? AF_INET : AF_INET6) {
 86 |
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:84:75: error: cannot find 'IFF_RUNNING' in scope
 82 |
 83 |                 // Check for running IPv4, IPv6 interfaces. Skip the loopback interface.
 84 |                 if (flags & (IFF_UP|IFF_RUNNING|IFF_LOOPBACK)) == (IFF_UP|IFF_RUNNING) {
    |                                                                           `- error: cannot find 'IFF_RUNNING' in scope
 85 |                     if addr.sa_family == UInt8(version == .IPv4 ? AF_INET : AF_INET6) {
 86 |
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:85:67: error: cannot find 'AF_INET' in scope
 83 |                 // Check for running IPv4, IPv6 interfaces. Skip the loopback interface.
 84 |                 if (flags & (IFF_UP|IFF_RUNNING|IFF_LOOPBACK)) == (IFF_UP|IFF_RUNNING) {
 85 |                     if addr.sa_family == UInt8(version == .IPv4 ? AF_INET : AF_INET6) {
    |                                                                   `- error: cannot find 'AF_INET' in scope
 86 |
 87 |                         // Convert interface address to a human readable string:
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:85:77: error: cannot find 'AF_INET6' in scope
 83 |                 // Check for running IPv4, IPv6 interfaces. Skip the loopback interface.
 84 |                 if (flags & (IFF_UP|IFF_RUNNING|IFF_LOOPBACK)) == (IFF_UP|IFF_RUNNING) {
 85 |                     if addr.sa_family == UInt8(version == .IPv4 ? AF_INET : AF_INET6) {
    |                                                                             `- error: cannot find 'AF_INET6' in scope
 86 |
 87 |                         // Convert interface address to a human readable string:
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:88:73: error: cannot find 'NI_MAXHOST' in scope
 86 |
 87 |                         // Convert interface address to a human readable string:
 88 |                         var hostname = [CChar](repeating: 0, count: Int(NI_MAXHOST))
    |                                                                         `- error: cannot find 'NI_MAXHOST' in scope
 89 |                         if (getnameinfo(&addr, socklen_t(addr.sa_len), &hostname, socklen_t(hostname.count),
 90 |                                         nil, socklen_t(0), NI_NUMERICHOST) == 0) {
/host/spi-builder-workspace/.build/checkouts/SwiftIP/Sources/SwiftIP/SwiftIP.swift:89:29: error: cannot find 'getnameinfo' in scope
 87 |                         // Convert interface address to a human readable string:
 88 |                         var hostname = [CChar](repeating: 0, count: Int(NI_MAXHOST))
 89 |                         if (getnameinfo(&addr, socklen_t(addr.sa_len), &hostname, socklen_t(hostname.count),
    |                             `- error: cannot find 'getnameinfo' in scope
 90 |                                         nil, socklen_t(0), NI_NUMERICHOST) == 0) {
 91 |                             //                        if let address = String(cString: hostname) {
BUILD FAILURE 6.3 android