The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Kitura-net, reference 3.0.1 (645f09), with Swift 6.1 for Android on 28 May 2025 01:48:22 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-net.git
Reference: 3.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Kitura/Kitura-net
 * tag               3.0.1      -> FETCH_HEAD
HEAD is now at 645f09e Update package dependencies (#323)
Cloned https://github.com/Kitura/Kitura-net.git
Revision (git rev-parse @):
645f09e6c6ca7f399a9625e25686e8152e21bee4
SUCCESS checkout https://github.com/Kitura/Kitura-net.git at 3.0.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/Kitura-net.git
https://github.com/Kitura/Kitura-net.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "loggerapi",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/LoggerAPI.git"
    },
    {
      "identity" : "bluesocket",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/BlueSocket.git"
    },
    {
      "identity" : "bluesslservice",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/BlueSSLService.git"
    },
    {
      "identity" : "bluesignals",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/BlueSignals.git"
    }
  ],
  "manifest_display_name" : "Kitura-net",
  "name" : "Kitura-net",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "KituraNet",
      "targets" : [
        "KituraNet"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KituraNetTests",
      "module_type" : "SwiftTarget",
      "name" : "KituraNetTests",
      "path" : "Tests/KituraNetTests",
      "sources" : [
        "BufferListTests.swift",
        "ClientE2ETests.swift",
        "ClientRequestTests.swift",
        "FastCGIProtocolTests.swift",
        "FastCGIRequestTests.swift",
        "HTTPResponseTests.swift",
        "HTTPStatusCodeTests.swift",
        "KituraNetTest.swift",
        "LargePayloadTests.swift",
        "LifecycleListenerTests.swift",
        "MiscellaneousTests.swift",
        "MonitoringTests.swift",
        "ParserTests.swift",
        "PrintLogger.swift",
        "RegressionTests.swift",
        "SocketManagerTests.swift",
        "TestIncomingSocketProcessor.swift",
        "UnixSocketTests.swift",
        "UpgradeTests.swift",
        "VerifyLinuxTestCount.swift",
        "types.swift"
      ],
      "target_dependencies" : [
        "KituraNet"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KituraNet",
      "module_type" : "SwiftTarget",
      "name" : "KituraNet",
      "path" : "Sources/KituraNet",
      "product_dependencies" : [
        "LoggerAPI",
        "Socket",
        "SSLService",
        "Signals"
      ],
      "product_memberships" : [
        "KituraNet"
      ],
      "sources" : [
        "BufferList.swift",
        "ClientRequest.swift",
        "ClientResponse.swift",
        "ConnectionUpgradeFactory.swift",
        "ConnectionUpgrader.swift",
        "Error.swift",
        "FastCGI/FastCGI.swift",
        "FastCGI/FastCGIRecordCreate.swift",
        "FastCGI/FastCGIRecordParser.swift",
        "FastCGI/FastCGIServer.swift",
        "FastCGI/FastCGIServerRequest.swift",
        "FastCGI/FastCGIServerResponse.swift",
        "HTTP/HTTP.swift",
        "HTTP/HTTPServer.swift",
        "HTTP/HTTPServerRequest.swift",
        "HTTP/HTTPServerResponse.swift",
        "HTTP/IncomingHTTPSocketProcessor.swift",
        "HTTP/KeepAliveState.swift",
        "HTTPParser/HTTPParser.swift",
        "HTTPParser/HTTPParserStatus.swift",
        "HTTPParser/ParseResults.swift",
        "HTTPParser/URLParser.swift",
        "HeadersContainer.swift",
        "IncomingSocketHandler.swift",
        "IncomingSocketManager.swift",
        "IncomingSocketProcessor.swift",
        "IncomingSocketProcessorCreator.swift",
        "ListenerGroup.swift",
        "SPIUtils.swift",
        "Server/Server.swift",
        "Server/ServerDelegate.swift",
        "Server/ServerLifecycleListener.swift",
        "Server/ServerMonitor.swift",
        "Server/ServerState.swift",
        "ServerOptions.swift",
        "ServerRequest.swift",
        "ServerResponse.swift"
      ],
      "target_dependencies" : [
        "CHTTPParser",
        "CCurl",
        "CEpoll"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CHTTPParser",
      "module_type" : "ClangTarget",
      "name" : "CHTTPParser",
      "path" : "Sources/CHTTPParser",
      "product_memberships" : [
        "KituraNet"
      ],
      "sources" : [
        "http_parser.c",
        "utils.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CEpoll",
      "module_type" : "SystemLibraryTarget",
      "name" : "CEpoll",
      "path" : "Sources/CEpoll",
      "product_memberships" : [
        "KituraNet"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "CCurl",
      "module_type" : "SystemLibraryTarget",
      "name" : "CCurl",
      "path" : "Sources/CCurl",
      "product_memberships" : [
        "KituraNet"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService.git
[1/2942] Fetching bluesocket
[178/5019] Fetching bluesocket, bluesslservice
[1631/5700] Fetching bluesocket, bluesslservice, bluesignals
[4348/6471] Fetching bluesocket, bluesslservice, bluesignals, loggerapi
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.33s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.33s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.33s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.33s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.85s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.34s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.83s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.24s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (3.65s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.52s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 2.1.1 (0.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.46s)
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
Creating working copy for https://github.com/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 2.1.1
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/9] Write sources
[6/9] Compiling CHTTPParser utils.c
[7/9] Compiling CHTTPParser http_parser.c
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/24] Compiling Logging MetadataProvider.swift
[11/24] Emitting module Logging
[12/24] Compiling Logging Locks.swift
[13/24] Compiling Logging LogHandler.swift
[14/24] Compiling Logging Logging.swift
[16/25] Compiling Socket SocketProtocols.swift
[17/25] Compiling Socket Socket.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:52:39: error: cannot find 'in_addr_t' in scope
  50 | 	public static let SOCKET_INVALID_DESCRIPTOR 			= Int32(-1)
  51 |
  52 | 	public static let INADDR_ANY							= in_addr_t(0)
     |                                       `- error: cannot find 'in_addr_t' in scope
  53 |
  54 | 	public static let NO_HOSTNAME							= "No hostname"
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:320:13: error: cannot find type 'sockaddr_in' in scope
 318 |
 319 | 		/// sockaddr_in
 320 | 		case ipv4(sockaddr_in)
     |             `- error: cannot find type 'sockaddr_in' in scope
 321 |
 322 | 		/// sockaddr_in6
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:323:13: error: cannot find type 'sockaddr_in6' in scope
 321 |
 322 | 		/// sockaddr_in6
 323 | 		case ipv6(sockaddr_in6)
     |             `- error: cannot find type 'sockaddr_in6' in scope
 324 |
 325 | 		/// sockaddr_un
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:326:13: error: cannot find type 'sockaddr_un' in scope
 324 |
 325 | 		/// sockaddr_un
 326 | 		case unix(sockaddr_un)
     |             `- error: cannot find type 'sockaddr_un' in scope
 327 |
 328 | 		///
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:147:18: error: cannot find 'AF_INET' in scope
 145 |
 146 | 			case .inet:
 147 | 				return Int32(AF_INET)
     |                  `- error: cannot find 'AF_INET' in scope
 148 |
 149 | 			case .inet6:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:150:18: error: cannot find 'AF_INET6' in scope
 148 |
 149 | 			case .inet6:
 150 | 				return Int32(AF_INET6)
     |                  `- error: cannot find 'AF_INET6' in scope
 151 |
 152 | 			case .unix:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:153:18: error: cannot find 'AF_UNIX' in scope
 151 |
 152 | 			case .unix:
 153 | 				return Int32(AF_UNIX)
     |                  `- error: cannot find 'AF_UNIX' in scope
 154 | 			}
 155 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:167:15: error: cannot find 'AF_INET' in scope
 165 | 			switch forValue {
 166 |
 167 | 			case Int32(AF_INET):
     |               `- error: cannot find 'AF_INET' in scope
 168 | 				return .inet
 169 | 			case Int32(AF_INET6):
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:169:15: error: cannot find 'AF_INET6' in scope
 167 | 			case Int32(AF_INET):
 168 | 				return .inet
 169 | 			case Int32(AF_INET6):
     |               `- error: cannot find 'AF_INET6' in scope
 170 | 				return .inet6
 171 | 			case Int32(AF_UNIX):
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:171:15: error: cannot find 'AF_UNIX' in scope
 169 | 			case Int32(AF_INET6):
 170 | 				return .inet6
 171 | 			case Int32(AF_UNIX):
     |               `- error: cannot find 'AF_UNIX' in scope
 172 | 				return .unix
 173 | 			default:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:208:13: error: cannot find 'SOCK_STREAM' in scope
 206 | 					return Int32(SOCK_STREAM.rawValue)
 207 | 				#else
 208 | 					return SOCK_STREAM
     |             `- error: cannot find 'SOCK_STREAM' in scope
 209 | 				#endif
 210 | 			case .datagram:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:214:13: error: cannot find 'SOCK_DGRAM' in scope
 212 | 					return Int32(SOCK_DGRAM.rawValue)
 213 | 				#else
 214 | 					return SOCK_DGRAM
     |             `- error: cannot find 'SOCK_DGRAM' in scope
 215 | 				#endif
 216 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:241:10: error: cannot find 'SOCK_STREAM' in scope
 239 | 				switch forValue {
 240 |
 241 | 				case SOCK_STREAM:
     |          `- error: cannot find 'SOCK_STREAM' in scope
 242 | 					return .stream
 243 | 				case SOCK_DGRAM:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:243:10: error: cannot find 'SOCK_DGRAM' in scope
 241 | 				case SOCK_STREAM:
 242 | 					return .stream
 243 | 				case SOCK_DGRAM:
     |          `- error: cannot find 'SOCK_DGRAM' in scope
 244 | 					return .datagram
 245 | 				default:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:281:18: error: cannot find 'IPPROTO_TCP' in scope
 279 |
 280 | 			case .tcp:
 281 | 				return Int32(IPPROTO_TCP)
     |                  `- error: cannot find 'IPPROTO_TCP' in scope
 282 | 			case .udp:
 283 | 				return Int32(IPPROTO_UDP)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:283:18: error: cannot find 'IPPROTO_UDP' in scope
 281 | 				return Int32(IPPROTO_TCP)
 282 | 			case .udp:
 283 | 				return Int32(IPPROTO_UDP)
     |                  `- error: cannot find 'IPPROTO_UDP' in scope
 284 | 			case .unix:
 285 | 				return Int32(0)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:300:15: error: cannot find 'IPPROTO_TCP' in scope
 298 | 			switch forValue {
 299 |
 300 | 			case Int32(IPPROTO_TCP):
     |               `- error: cannot find 'IPPROTO_TCP' in scope
 301 | 				return .tcp
 302 | 			case Int32(IPPROTO_UDP):
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:302:15: error: cannot find 'IPPROTO_UDP' in scope
 300 | 			case Int32(IPPROTO_TCP):
 301 | 				return .tcp
 302 | 			case Int32(IPPROTO_UDP):
     |               `- error: cannot find 'IPPROTO_UDP' in scope
 303 | 				return .udp
 304 | 			case Int32(0):
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:336:26: error: cannot find type 'sockaddr_in' in scope
 334 |
 335 | 			case .ipv4( _):
 336 | 				return MemoryLayout<(sockaddr_in)>.size
     |                          `- error: cannot find type 'sockaddr_in' in scope
 337 | 			case .ipv6( _):
 338 | 				return MemoryLayout<(sockaddr_in6)>.size
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:338:26: error: cannot find type 'sockaddr_in6' in scope
 336 | 				return MemoryLayout<(sockaddr_in)>.size
 337 | 			case .ipv6( _):
 338 | 				return MemoryLayout<(sockaddr_in6)>.size
     |                          `- error: cannot find type 'sockaddr_in6' in scope
 339 | 			case .unix( _):
 340 | 				return MemoryLayout<(sockaddr_un)>.size
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:340:26: error: cannot find type 'sockaddr_un' in scope
 338 | 				return MemoryLayout<(sockaddr_in6)>.size
 339 | 			case .unix( _):
 340 | 				return MemoryLayout<(sockaddr_un)>.size
     |                          `- error: cannot find type 'sockaddr_un' in scope
 341 | 			}
 342 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:591:21: error: cannot find 'sockaddr_un' in scope
 589 |
 590 | 			// Create the address...
 591 | 			var remoteAddr = sockaddr_un()
     |                     `- error: cannot find 'sockaddr_un' in scope
 592 | 			remoteAddr.sun_family = sa_family_t(AF_UNIX)
 593 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:592:28: error: cannot find 'sa_family_t' in scope
 590 | 			// Create the address...
 591 | 			var remoteAddr = sockaddr_un()
 592 | 			remoteAddr.sun_family = sa_family_t(AF_UNIX)
     |                            `- error: cannot find 'sa_family_t' in scope
 593 |
 594 | 			let lengthOfPath = path.utf8.count
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:592:40: error: cannot find 'AF_UNIX' in scope
 590 | 			// Create the address...
 591 | 			var remoteAddr = sockaddr_un()
 592 | 			remoteAddr.sun_family = sa_family_t(AF_UNIX)
     |                                        `- error: cannot find 'AF_UNIX' in scope
 593 |
 594 | 			let lengthOfPath = path.utf8.count
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:611:75: error: cannot find type 'sa_family_t' in scope
 609 |
 610 | 			#if !os(Linux)
 611 | 			    remoteAddr.sun_len = UInt8(MemoryLayout<UInt8>.size + MemoryLayout<sa_family_t>.size + path.utf8.count + 1)
     |                                                                           `- error: cannot find type 'sa_family_t' in scope
 612 | 			#endif
 613 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:614:20: error: type 'Socket.Address?' has no member 'unix'
 612 | 			#endif
 613 |
 614 | 			self.address = .unix(remoteAddr)
     |                    `- error: type 'Socket.Address?' has no member 'unix'
 615 | 		}
 616 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:686:59: error: cannot find type 'sa_family_t' in scope
 684 | 				let addrLen = MemoryLayout<sockaddr_un>.size
 685 | 			#else
 686 | 				let addrLen = MemoryLayout<UInt8>.size + MemoryLayout<sa_family_t>.size + utf8.count + 1
     |                                                           `- error: cannot find type 'sa_family_t' in scope
 687 | 			#endif
 688 | 			let addrPtr = UnsafeMutablePointer<UInt8>.allocate(capacity: addrLen)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:710:29: error: cannot find 'AF_UNIX' in scope
 708 | 				addrPtr[memLoc] = UInt8(addrLen)
 709 | 				memLoc += 1
 710 | 				addrPtr[memLoc] = UInt8(AF_UNIX)
     |                             `- error: cannot find 'AF_UNIX' in scope
 711 | 				memLoc += 1
 712 | 			#endif
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1084:17: error: cannot find 'INET_ADDRSTRLEN' in scope
1082 | 		case .ipv4(let address_in):
1083 | 			var addr_in = address_in
1084 | 			bufLen = Int(INET_ADDRSTRLEN)
     |                 `- error: cannot find 'INET_ADDRSTRLEN' in scope
1085 | 			buf = [CChar](repeating: 0, count: bufLen)
1086 | 			inet_ntop(Int32(addr_in.sin_family), &addr_in.sin_addr, &buf, socklen_t(bufLen))
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1086:4: error: cannot find 'inet_ntop' in scope
1084 | 			bufLen = Int(INET_ADDRSTRLEN)
1085 | 			buf = [CChar](repeating: 0, count: bufLen)
1086 | 			inet_ntop(Int32(addr_in.sin_family), &addr_in.sin_addr, &buf, socklen_t(bufLen))
     |    `- error: cannot find 'inet_ntop' in scope
1087 | 			if isLittleEndian {
1088 | 				port = Int32(UInt16(addr_in.sin_port).byteSwapped)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1095:17: error: cannot find 'INET6_ADDRSTRLEN' in scope
1093 | 		case .ipv6(let address_in):
1094 | 			var addr_in = address_in
1095 | 			bufLen = Int(INET6_ADDRSTRLEN)
     |                 `- error: cannot find 'INET6_ADDRSTRLEN' in scope
1096 | 			buf = [CChar](repeating: 0, count: bufLen)
1097 | 			inet_ntop(Int32(addr_in.sin6_family), &addr_in.sin6_addr, &buf, socklen_t(bufLen))
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1097:4: error: cannot find 'inet_ntop' in scope
1095 | 			bufLen = Int(INET6_ADDRSTRLEN)
1096 | 			buf = [CChar](repeating: 0, count: bufLen)
1097 | 			inet_ntop(Int32(addr_in.sin6_family), &addr_in.sin6_addr, &buf, socklen_t(bufLen))
     |    `- error: cannot find 'inet_ntop' in scope
1098 | 			if isLittleEndian {
1099 | 				port = Int32(UInt16(addr_in.sin6_port).byteSwapped)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1189:21: error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
1187 | 				timer.tv_usec = Int(uSecs)
1188 | 			#else
1189 | 				timer.tv_usec = Int32(uSecs)
     |                     `- error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
1190 | 			#endif
1191 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1217:95: error: cannot find 'errno' in scope
1215 | 		if count < 0 {
1216 |
1217 | 			throw Error(code: Socket.SOCKET_ERR_SELECT_FAILED, reason: String(validatingUTF8: strerror(errno)) ?? "Error: \(errno)")
     |                                                                                               `- error: cannot find 'errno' in scope
1218 | 		}
1219 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1217:116: error: cannot find 'errno' in scope
1215 | 		if count < 0 {
1216 |
1217 | 			throw Error(code: Socket.SOCKET_ERR_SELECT_FAILED, reason: String(validatingUTF8: strerror(errno)) ?? "Error: \(errno)")
     |                                                                                                                    `- error: cannot find 'errno' in scope
1218 | 		}
1219 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1240:34: error: cannot find type 'addrinfo' in scope
1238 | 	public class func createAddress(for host: String, on port: Int32) -> Address? {
1239 |
1240 | 		var info: UnsafeMutablePointer<addrinfo>?
     |                                  `- error: cannot find type 'addrinfo' in scope
1241 |
1242 | 		// Retrieve the info on our target...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1243:23: error: cannot find 'getaddrinfo' in scope
1241 |
1242 | 		// Retrieve the info on our target...
1243 | 		let status: Int32 = getaddrinfo(host, String(port), nil, &info)
     |                       `- error: cannot find 'getaddrinfo' in scope
1244 | 		if status != 0 {
1245 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1243:55: error: 'nil' requires a contextual type
1241 |
1242 | 		// Retrieve the info on our target...
1243 | 		let status: Int32 = getaddrinfo(host, String(port), nil, &info)
     |                                                       `- error: 'nil' requires a contextual type
1244 | 		if status != 0 {
1245 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1253:5: error: cannot find 'freeaddrinfo' in scope
1251 |
1252 | 			if info != nil {
1253 | 				freeaddrinfo(info)
     |     `- error: cannot find 'freeaddrinfo' in scope
1254 | 			}
1255 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1258:39: error: cannot find 'AF_INET' in scope
1256 |
1257 | 		var address: Address
1258 | 		if info!.pointee.ai_family == Int32(AF_INET) {
     |                                       `- error: cannot find 'AF_INET' in scope
1259 |
1260 | 			var addr = sockaddr_in()
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1260:15: error: cannot find 'sockaddr_in' in scope
1258 | 		if info!.pointee.ai_family == Int32(AF_INET) {
1259 |
1260 | 			var addr = sockaddr_in()
     |               `- error: cannot find 'sockaddr_in' in scope
1261 | 			memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in>.size))
1262 | 			address = .ipv4(addr)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1261:58: error: cannot find type 'sockaddr_in' in scope
1259 |
1260 | 			var addr = sockaddr_in()
1261 | 			memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in>.size))
     |                                                          `- error: cannot find type 'sockaddr_in' in scope
1262 | 			address = .ipv4(addr)
1263 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1264:46: error: cannot find 'AF_INET6' in scope
1262 | 			address = .ipv4(addr)
1263 |
1264 | 		} else if info!.pointee.ai_family == Int32(AF_INET6) {
     |                                              `- error: cannot find 'AF_INET6' in scope
1265 |
1266 | 			var addr = sockaddr_in6()
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1266:15: error: cannot find 'sockaddr_in6' in scope
1264 | 		} else if info!.pointee.ai_family == Int32(AF_INET6) {
1265 |
1266 | 			var addr = sockaddr_in6()
     |               `- error: cannot find 'sockaddr_in6' in scope
1267 | 			memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in6>.size))
1268 | 			address = .ipv6(addr)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1267:58: error: cannot find type 'sockaddr_in6' in scope
1265 |
1266 | 			var addr = sockaddr_in6()
1267 | 			memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in6>.size))
     |                                                          `- error: cannot find type 'sockaddr_in6' in scope
1268 | 			address = .ipv6(addr)
1269 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1311:20: error: cannot find 'Darwin' in scope
1309 | 			self.socketfd = Glibc.socket(family.value, type.value, sockProto.value)
1310 | 		#else
1311 | 			self.socketfd = Darwin.socket(family.value, type.value, sockProto.value)
     |                    `- error: cannot find 'Darwin' in scope
1312 | 		#endif
1313 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1356:15: error: cannot find 'SOCK_STREAM' in scope
1354 | 			let type = Int32(SOCK_STREAM.rawValue)
1355 | 		#else
1356 | 			let type = SOCK_STREAM
     |               `- error: cannot find 'SOCK_STREAM' in scope
1357 | 		#endif
1358 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1370:19: error: cannot find 'IPPROTO_TCP' in scope
1368 | 					protocolFamily: remoteAddress.family.value,
1369 | 					socketType: type,
1370 | 					proto: Int32(IPPROTO_TCP),
     |                   `- error: cannot find 'IPPROTO_TCP' in scope
1371 | 					address: remoteAddress,
1372 | 					hostname: hostname,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1378:19: error: cannot find 'IPPROTO_TCP' in scope
1376 | 					protocolFamily: remoteAddress.family.value,
1377 | 					socketType: type,
1378 | 					proto: Int32(IPPROTO_TCP),
     |                   `- error: cannot find 'IPPROTO_TCP' in scope
1379 | 					address: remoteAddress)
1380 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1446:16: error: cannot find 'Darwin' in scope
1444 | 						let fd = Glibc.accept(self.socketfd, addressPointer, addressLengthPointer)
1445 | 					#else
1446 | 						let fd = Darwin.accept(self.socketfd, addressPointer, addressLengthPointer)
     |                `- error: cannot find 'Darwin' in scope
1447 | 					#endif
1448 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1452:10: error: cannot find 'errno' in scope
1450 |
1451 | 						// The operation was interrupted, continue the loop...
1452 | 						if errno == EINTR {
     |          `- error: cannot find 'errno' in scope
1453 | 							throw OperationInterrupted.accept
1454 | 						}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:86:47: error: cannot find type 'sockaddr' in scope
 84 | 	///	- Returns:                Newly initialized Socket.Address.
 85 | 	///
 86 | 	init?(addressProvider: (UnsafeMutablePointer<sockaddr>, UnsafeMutablePointer<socklen_t>) throws -> Void) rethrows {
    |                                               `- error: cannot find type 'sockaddr' in scope
 87 |
 88 | 		var addressStorage = sockaddr_storage()
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1559:16: error: cannot find 'Darwin' in scope
1557 | 						let fd = Glibc.accept(self.socketfd, addressPointer, addressLengthPointer)
1558 | 					#else
1559 | 						let fd = Darwin.accept(self.socketfd, addressPointer, addressLengthPointer)
     |                `- error: cannot find 'Darwin' in scope
1560 | 					#endif
1561 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1565:10: error: cannot find 'errno' in scope
1563 |
1564 | 						// The operation was interrupted, continue the loop...
1565 | 						if errno == EINTR {
     |          `- error: cannot find 'errno' in scope
1566 | 							throw OperationInterrupted.accept
1567 | 						}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1708:16: error: cannot find 'addrinfo' in scope
1706 | 				ai_next: nil)
1707 | 		#else
1708 | 			var hints = addrinfo(
     |                `- error: cannot find 'addrinfo' in scope
1709 | 				ai_flags: AI_PASSIVE,
1710 | 				ai_family: familyOnly ? signature?.protocolFamily.value ?? AF_UNSPEC : AF_UNSPEC,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1709:15: error: cannot find 'AI_PASSIVE' in scope
1707 | 		#else
1708 | 			var hints = addrinfo(
1709 | 				ai_flags: AI_PASSIVE,
     |               `- error: cannot find 'AI_PASSIVE' in scope
1710 | 				ai_family: familyOnly ? signature?.protocolFamily.value ?? AF_UNSPEC : AF_UNSPEC,
1711 | 				ai_socktype: socketType.value,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1710:64: error: cannot find 'AF_UNSPEC' in scope
1708 | 			var hints = addrinfo(
1709 | 				ai_flags: AI_PASSIVE,
1710 | 				ai_family: familyOnly ? signature?.protocolFamily.value ?? AF_UNSPEC : AF_UNSPEC,
     |                                                                `- error: cannot find 'AF_UNSPEC' in scope
1711 | 				ai_socktype: socketType.value,
1712 | 				ai_protocol: 0,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1710:76: error: cannot find 'AF_UNSPEC' in scope
1708 | 			var hints = addrinfo(
1709 | 				ai_flags: AI_PASSIVE,
1710 | 				ai_family: familyOnly ? signature?.protocolFamily.value ?? AF_UNSPEC : AF_UNSPEC,
     |                                                                            `- error: cannot find 'AF_UNSPEC' in scope
1711 | 				ai_socktype: socketType.value,
1712 | 				ai_protocol: 0,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1714:19: error: 'nil' requires a contextual type
1712 | 				ai_protocol: 0,
1713 | 				ai_addrlen: 0,
1714 | 				ai_canonname: nil,
     |                   `- error: 'nil' requires a contextual type
1715 | 				ai_addr: nil,
1716 | 				ai_next: nil)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1715:14: error: 'nil' requires a contextual type
1713 | 				ai_addrlen: 0,
1714 | 				ai_canonname: nil,
1715 | 				ai_addr: nil,
     |              `- error: 'nil' requires a contextual type
1716 | 				ai_next: nil)
1717 | 		#endif
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1716:14: error: 'nil' requires a contextual type
1714 | 				ai_canonname: nil,
1715 | 				ai_addr: nil,
1716 | 				ai_next: nil)
     |              `- error: 'nil' requires a contextual type
1717 | 		#endif
1718 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1719:40: error: cannot find type 'addrinfo' in scope
1717 | 		#endif
1718 |
1719 | 		var targetInfo: UnsafeMutablePointer<addrinfo>?
     |                                        `- error: cannot find type 'addrinfo' in scope
1720 |
1721 | 		// Retrieve the info on our target...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1722:23: error: cannot find 'getaddrinfo' in scope
1720 |
1721 | 		// Retrieve the info on our target...
1722 | 		var status: Int32 = getaddrinfo(host, String(port), &hints, &targetInfo)
     |                       `- error: cannot find 'getaddrinfo' in scope
1723 | 		if status != 0 {
1724 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1726:17: error: cannot find 'EAI_SYSTEM' in scope
1724 |
1725 | 			var errorString: String
1726 | 			if status == EAI_SYSTEM {
     |                 `- error: cannot find 'EAI_SYSTEM' in scope
1727 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
1728 | 			} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1727:51: error: cannot find 'errno' in scope
1725 | 			var errorString: String
1726 | 			if status == EAI_SYSTEM {
1727 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
     |                                                   `- error: cannot find 'errno' in scope
1728 | 			} else {
1729 | 				errorString = String(validatingUTF8: gai_strerror(status)) ?? "Unknown error code."
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1729:42: error: cannot find 'gai_strerror' in scope
1727 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
1728 | 			} else {
1729 | 				errorString = String(validatingUTF8: gai_strerror(status)) ?? "Unknown error code."
     |                                          `- error: cannot find 'gai_strerror' in scope
1730 | 			}
1731 | 			throw Error(code: Socket.SOCKET_ERR_GETADDRINFO_FAILED, reason: errorString)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1738:5: error: cannot find 'freeaddrinfo' in scope
1736 |
1737 | 			if targetInfo != nil {
1738 | 				freeaddrinfo(targetInfo)
     |     `- error: cannot find 'freeaddrinfo' in scope
1739 | 			}
1740 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1750:10: error: cannot find 'Darwin' in scope
1748 | 					_ = Glibc.close(socketDescriptor!)
1749 | 				#else
1750 | 					_ = Darwin.close(socketDescriptor!)
     |          `- error: cannot find 'Darwin' in scope
1751 | 				#endif
1752 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1761:24: error: cannot find 'Darwin' in scope
1759 | 				socketDescriptor = Glibc.socket(info!.pointee.ai_family, info!.pointee.ai_socktype, info!.pointee.ai_protocol)
1760 | 			#else
1761 | 				socketDescriptor = Darwin.socket(info!.pointee.ai_family, info!.pointee.ai_socktype, info!.pointee.ai_protocol)
     |                        `- error: cannot find 'Darwin' in scope
1762 | 			#endif
1763 | 			if socketDescriptor == -1 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1771:17: error: cannot find 'fcntl' in scope
1769 | 			if !self.isBlocking || timeout > 0 {
1770 |
1771 | 				let flags = fcntl(socketDescriptor!, F_GETFL)
     |                 `- error: cannot find 'fcntl' in scope
1772 | 				if flags < 0 {
1773 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1771:42: error: cannot find 'F_GETFL' in scope
1769 | 			if !self.isBlocking || timeout > 0 {
1770 |
1771 | 				let flags = fcntl(socketDescriptor!, F_GETFL)
     |                                          `- error: cannot find 'F_GETFL' in scope
1772 | 				if flags < 0 {
1773 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1777:18: error: cannot find 'fcntl' in scope
1775 | 				}
1776 |
1777 | 				let result = fcntl(socketDescriptor!, F_SETFL, flags | O_NONBLOCK)
     |                  `- error: cannot find 'fcntl' in scope
1778 | 				if result < 0 {
1779 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1777:43: error: cannot find 'F_SETFL' in scope
1775 | 				}
1776 |
1777 | 				let result = fcntl(socketDescriptor!, F_SETFL, flags | O_NONBLOCK)
     |                                           `- error: cannot find 'F_SETFL' in scope
1778 | 				if result < 0 {
1779 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1777:60: error: cannot find 'O_NONBLOCK' in scope
1775 | 				}
1776 |
1777 | 				let result = fcntl(socketDescriptor!, F_SETFL, flags | O_NONBLOCK)
     |                                                            `- error: cannot find 'O_NONBLOCK' in scope
1778 | 				if result < 0 {
1779 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1788:14: error: cannot find 'Darwin' in scope
1786 | 				status = Glibc.connect(socketDescriptor!, info!.pointee.ai_addr, info!.pointee.ai_addrlen)
1787 | 			#else
1788 | 				status = Darwin.connect(socketDescriptor!, info!.pointee.ai_addr, info!.pointee.ai_addrlen)
     |              `- error: cannot find 'Darwin' in scope
1789 | 			#endif
1790 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1797:7: error: cannot find 'errno' in scope
1795 |
1796 | 			// If this is a non-blocking socket, check errno for EINPROGRESS and if set we've got a timeout, wait the appropriate time...
1797 | 			if errno == EINPROGRESS {
     |       `- error: cannot find 'errno' in scope
1798 |
1799 | 				if timeout > 0 {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1822:23: error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
1820 | 						timer.tv_usec = Int(uSecs)
1821 | 					#else
1822 | 						timer.tv_usec = Int32(uSecs)
     |                       `- error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
1823 | 					#endif
1824 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1838:10: error: cannot find 'getsockopt' in scope
1836 | 						var result: Int = 0
1837 | 						var resultLength = socklen_t(MemoryLayout<Int>.size)
1838 | 						if getsockopt(socketDescriptor!, SOL_SOCKET, SO_ERROR, &result, &resultLength) < 0 {
     |          `- error: cannot find 'getsockopt' in scope
1839 |
1840 | 							throw Error(code: Socket.SOCKET_ERR_GETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1838:40: error: cannot find 'SOL_SOCKET' in scope
1836 | 						var result: Int = 0
1837 | 						var resultLength = socklen_t(MemoryLayout<Int>.size)
1838 | 						if getsockopt(socketDescriptor!, SOL_SOCKET, SO_ERROR, &result, &resultLength) < 0 {
     |                                        `- error: cannot find 'SOL_SOCKET' in scope
1839 |
1840 | 							throw Error(code: Socket.SOCKET_ERR_GETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1838:52: error: cannot find 'SO_ERROR' in scope
1836 | 						var result: Int = 0
1837 | 						var resultLength = socklen_t(MemoryLayout<Int>.size)
1838 | 						if getsockopt(socketDescriptor!, SOL_SOCKET, SO_ERROR, &result, &resultLength) < 0 {
     |                                                    `- error: cannot find 'SO_ERROR' in scope
1839 |
1840 | 							throw Error(code: Socket.SOCKET_ERR_GETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1862:9: error: cannot find 'Darwin' in scope
1860 | 				_ = Glibc.close(socketDescriptor!)
1861 | 			#else
1862 | 				_ = Darwin.close(socketDescriptor!)
     |         `- error: cannot find 'Darwin' in scope
1863 | 			#endif
1864 | 			socketDescriptor = nil
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1875:10: error: cannot find 'Darwin' in scope
1873 | 					_ = Glibc.close(socketDescriptor!)
1874 | 				#else
1875 | 					_ = Darwin.close(socketDescriptor!)
     |          `- error: cannot find 'Darwin' in scope
1876 | 				#endif
1877 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1892:39: error: cannot find 'AF_INET6' in scope
1890 | 		self.isConnected = true
1891 | 		var address: Address
1892 | 		if info!.pointee.ai_family == Int32(AF_INET6) {
     |                                       `- error: cannot find 'AF_INET6' in scope
1893 |
1894 | 			var addr = sockaddr_in6()
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1894:15: error: cannot find 'sockaddr_in6' in scope
1892 | 		if info!.pointee.ai_family == Int32(AF_INET6) {
1893 |
1894 | 			var addr = sockaddr_in6()
     |               `- error: cannot find 'sockaddr_in6' in scope
1895 | 			memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in6>.size))
1896 | 			address = .ipv6(addr)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1895:58: error: cannot find type 'sockaddr_in6' in scope
1893 |
1894 | 			var addr = sockaddr_in6()
1895 | 			memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in6>.size))
     |                                                          `- error: cannot find type 'sockaddr_in6' in scope
1896 | 			address = .ipv6(addr)
1897 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1898:46: error: cannot find 'AF_INET' in scope
1896 | 			address = .ipv6(addr)
1897 |
1898 | 		} else if info!.pointee.ai_family == Int32(AF_INET) {
     |                                              `- error: cannot find 'AF_INET' in scope
1899 |
1900 | 			var addr = sockaddr_in()
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1900:15: error: cannot find 'sockaddr_in' in scope
1898 | 		} else if info!.pointee.ai_family == Int32(AF_INET) {
1899 |
1900 | 			var addr = sockaddr_in()
     |               `- error: cannot find 'sockaddr_in' in scope
1901 | 			memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in>.size))
1902 | 			address = .ipv4(addr)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1901:58: error: cannot find type 'sockaddr_in' in scope
1899 |
1900 | 			var addr = sockaddr_in()
1901 | 			memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in>.size))
     |                                                          `- error: cannot find type 'sockaddr_in' in scope
1902 | 			address = .ipv4(addr)
1903 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1924:16: error: cannot find 'fcntl' in scope
1922 | 			// Socket supposed to be blocking but we've changed it to non-blocking because
1923 | 			//	a timeout was requested...  Got to change it back before proceeding...
1924 | 			let flags = fcntl(self.socketfd, F_GETFL)
     |                `- error: cannot find 'fcntl' in scope
1925 | 			if flags < 0 {
1926 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1924:37: error: cannot find 'F_GETFL' in scope
1922 | 			// Socket supposed to be blocking but we've changed it to non-blocking because
1923 | 			//	a timeout was requested...  Got to change it back before proceeding...
1924 | 			let flags = fcntl(self.socketfd, F_GETFL)
     |                                     `- error: cannot find 'F_GETFL' in scope
1925 | 			if flags < 0 {
1926 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1930:17: error: cannot find 'fcntl' in scope
1928 | 			}
1929 |
1930 | 			let result = fcntl(self.socketfd, F_SETFL, flags & ~O_NONBLOCK)
     |                 `- error: cannot find 'fcntl' in scope
1931 | 			if result < 0 {
1932 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1930:38: error: cannot find 'F_SETFL' in scope
1928 | 			}
1929 |
1930 | 			let result = fcntl(self.socketfd, F_SETFL, flags & ~O_NONBLOCK)
     |                                      `- error: cannot find 'F_SETFL' in scope
1931 | 			if result < 0 {
1932 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1930:56: error: cannot find 'O_NONBLOCK' in scope
1928 | 			}
1929 |
1930 | 			let result = fcntl(self.socketfd, F_SETFL, flags & ~O_NONBLOCK)
     |                                                        `- error: cannot find 'O_NONBLOCK' in scope
1931 | 			if result < 0 {
1932 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1997:42: error: cannot find 'sockaddr' in scope
1995 | 		}
1996 |
1997 | 		let rc = addrPtr.withMemoryRebound(to: sockaddr.self, capacity: 1) {
     |                                          `- error: cannot find 'sockaddr' in scope
1998 |
1999 | 			(p: UnsafeMutablePointer<sockaddr>) -> Int32 in
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2004:12: error: cannot find 'Darwin' in scope
2002 | 				return Glibc.connect(self.socketfd, p, socklen_t(addrLen))
2003 | 			#else
2004 | 				return Darwin.connect(self.socketfd, p, socklen_t(addrLen))
     |            `- error: cannot find 'Darwin' in scope
2005 | 			#endif
2006 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1999:29: error: cannot find type 'sockaddr' in scope
1997 | 		let rc = addrPtr.withMemoryRebound(to: sockaddr.self, capacity: 1) {
1998 |
1999 | 			(p: UnsafeMutablePointer<sockaddr>) -> Int32 in
     |                             `- error: cannot find type 'sockaddr' in scope
2000 |
2001 | 			#if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1997:20: error: generic parameter 'T' could not be inferred
1995 | 		}
1996 |
1997 | 		let rc = addrPtr.withMemoryRebound(to: sockaddr.self, capacity: 1) {
     |                    `- error: generic parameter 'T' could not be inferred
1998 |
1999 | 			(p: UnsafeMutablePointer<sockaddr>) -> Int32 in
Swift.UnsafeMutablePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafeMutablePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafeMutablePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2058:13: error: cannot find 'Darwin' in scope
2056 | 					return Glibc.connect(self.socketfd, sockaddr, length)
2057 | 				#else
2058 | 					return Darwin.connect(self.socketfd, sockaddr, length)
     |             `- error: cannot find 'Darwin' in scope
2059 | 				#endif
2060 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:43:56: error: cannot find type 'sockaddr' in scope
 41 | 	///	- Returns:		The result of executing the closure.
 42 | 	///
 43 | 	func withSockAddrPointer<Result>(body: (UnsafePointer<sockaddr>, socklen_t) throws -> Result) rethrows -> Result {
    |                                                        `- error: cannot find type 'sockaddr' in scope
 44 |
 45 | 		///
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2140:6: error: cannot find 'setsockopt' in scope
2138 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2139 | 		var on: Int32 = 1
2140 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |      `- error: cannot find 'setsockopt' in scope
2141 |
2142 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2140:32: error: cannot find 'SOL_SOCKET' in scope
2138 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2139 | 		var on: Int32 = 1
2140 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                `- error: cannot find 'SOL_SOCKET' in scope
2141 |
2142 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2140:44: error: cannot find 'SO_REUSEADDR' in scope
2138 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2139 | 		var on: Int32 = 1
2140 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                            `- error: cannot find 'SO_REUSEADDR' in scope
2141 |
2142 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2152:7: error: cannot find 'setsockopt' in scope
2150 | 			// instances of a program to each receive UDP/IP multicast or broadcast datagrams
2151 | 			// destined for the bound port.
2152 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEPORT, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |       `- error: cannot find 'setsockopt' in scope
2153 |
2154 | 				// Setting of this option on WSL (Windows Subsytem for Linux) is not supported.  Check for
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2152:33: error: cannot find 'SOL_SOCKET' in scope
2150 | 			// instances of a program to each receive UDP/IP multicast or broadcast datagrams
2151 | 			// destined for the bound port.
2152 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEPORT, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                 `- error: cannot find 'SOL_SOCKET' in scope
2153 |
2154 | 				// Setting of this option on WSL (Windows Subsytem for Linux) is not supported.  Check for
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2152:45: error: cannot find 'SO_REUSEPORT' in scope
2150 | 			// instances of a program to each receive UDP/IP multicast or broadcast datagrams
2151 | 			// destined for the bound port.
2152 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEPORT, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                             `- error: cannot find 'SO_REUSEPORT' in scope
2153 |
2154 | 				// Setting of this option on WSL (Windows Subsytem for Linux) is not supported.  Check for
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2156:8: error: cannot find 'errno' in scope
2154 | 				// Setting of this option on WSL (Windows Subsytem for Linux) is not supported.  Check for
2155 | 				// the appropriate errno value and if set, ignore the error...
2156 | 				if errno != ENOPROTOOPT {
     |        `- error: cannot find 'errno' in scope
2157 | 					throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
2158 | 				}
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2170:16: error: cannot find 'setsockopt' in scope
2168 |         // Configure ipv6 socket so that it can share ports with ipv4 on the same port.
2169 |         if sig.protocolFamily == .inet6 && sig.proto == .tcp {
2170 |             if setsockopt(self.socketfd, Int32(IPPROTO_IPV6), IPV6_V6ONLY, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                `- error: cannot find 'setsockopt' in scope
2171 |
2172 |                 throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2170:48: error: cannot find 'IPPROTO_IPV6' in scope
2168 |         // Configure ipv6 socket so that it can share ports with ipv4 on the same port.
2169 |         if sig.protocolFamily == .inet6 && sig.proto == .tcp {
2170 |             if setsockopt(self.socketfd, Int32(IPPROTO_IPV6), IPV6_V6ONLY, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                                `- error: cannot find 'IPPROTO_IPV6' in scope
2171 |
2172 |                 throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2170:63: error: cannot find 'IPV6_V6ONLY' in scope
2168 |         // Configure ipv6 socket so that it can share ports with ipv4 on the same port.
2169 |         if sig.protocolFamily == .inet6 && sig.proto == .tcp {
2170 |             if setsockopt(self.socketfd, Int32(IPPROTO_IPV6), IPV6_V6ONLY, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                                               `- error: cannot find 'IPV6_V6ONLY' in scope
2171 |
2172 |                 throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2207:16: error: cannot find 'addrinfo' in scope
2205 | 				ai_next: nil)
2206 | 		#else
2207 | 			var hints = addrinfo(
     |                `- error: cannot find 'addrinfo' in scope
2208 | 				ai_flags: AI_PASSIVE,
2209 | 				ai_family: sig.protocolFamily.value,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2208:15: error: cannot find 'AI_PASSIVE' in scope
2206 | 		#else
2207 | 			var hints = addrinfo(
2208 | 				ai_flags: AI_PASSIVE,
     |               `- error: cannot find 'AI_PASSIVE' in scope
2209 | 				ai_family: sig.protocolFamily.value,
2210 | 				ai_socktype: sig.socketType.value,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2213:19: error: 'nil' requires a contextual type
2211 | 				ai_protocol: 0,
2212 | 				ai_addrlen: 0,
2213 | 				ai_canonname: nil,
     |                   `- error: 'nil' requires a contextual type
2214 | 				ai_addr: nil,
2215 | 				ai_next: nil)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2214:14: error: 'nil' requires a contextual type
2212 | 				ai_addrlen: 0,
2213 | 				ai_canonname: nil,
2214 | 				ai_addr: nil,
     |              `- error: 'nil' requires a contextual type
2215 | 				ai_next: nil)
2216 | 		#endif
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2215:14: error: 'nil' requires a contextual type
2213 | 				ai_canonname: nil,
2214 | 				ai_addr: nil,
2215 | 				ai_next: nil)
     |              `- error: 'nil' requires a contextual type
2216 | 		#endif
2217 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2218:40: error: cannot find type 'addrinfo' in scope
2216 | 		#endif
2217 |
2218 | 		var targetInfo: UnsafeMutablePointer<addrinfo>?
     |                                        `- error: cannot find type 'addrinfo' in scope
2219 |
2220 | 		// Retrieve the info on our target...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2221:23: error: cannot find 'getaddrinfo' in scope
2219 |
2220 | 		// Retrieve the info on our target...
2221 | 		let status: Int32 = getaddrinfo(node ?? nil, String(port), &hints, &targetInfo)
     |                       `- error: cannot find 'getaddrinfo' in scope
2222 | 		if status != 0 {
2223 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2225:17: error: cannot find 'EAI_SYSTEM' in scope
2223 |
2224 | 			var errorString: String
2225 | 			if status == EAI_SYSTEM {
     |                 `- error: cannot find 'EAI_SYSTEM' in scope
2226 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
2227 | 			} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2226:51: error: cannot find 'errno' in scope
2224 | 			var errorString: String
2225 | 			if status == EAI_SYSTEM {
2226 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
     |                                                   `- error: cannot find 'errno' in scope
2227 | 			} else {
2228 | 				errorString = String(validatingUTF8: gai_strerror(errno)) ?? "Unknown error code."
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2228:42: error: cannot find 'gai_strerror' in scope
2226 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
2227 | 			} else {
2228 | 				errorString = String(validatingUTF8: gai_strerror(errno)) ?? "Unknown error code."
     |                                          `- error: cannot find 'gai_strerror' in scope
2229 | 			}
2230 | 			throw Error(code: Socket.SOCKET_ERR_GETADDRINFO_FAILED, reason: errorString)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2228:55: error: cannot find 'errno' in scope
2226 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
2227 | 			} else {
2228 | 				errorString = String(validatingUTF8: gai_strerror(errno)) ?? "Unknown error code."
     |                                                       `- error: cannot find 'errno' in scope
2229 | 			}
2230 | 			throw Error(code: Socket.SOCKET_ERR_GETADDRINFO_FAILED, reason: errorString)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2237:5: error: cannot find 'freeaddrinfo' in scope
2235 |
2236 | 			if targetInfo != nil {
2237 | 				freeaddrinfo(targetInfo)
     |     `- error: cannot find 'freeaddrinfo' in scope
2238 | 			}
2239 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2255:8: error: cannot find 'Darwin' in scope
2253 | 				}
2254 | 			#else
2255 | 				if Darwin.bind(self.socketfd, info!.pointee.ai_addr, info!.pointee.ai_addrlen) == 0 {
     |        `- error: cannot find 'Darwin' in scope
2256 |
2257 | 					// Success... We've found our address...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2279:8: error: cannot find 'getsockname' in scope
2277 | 		if port == 0 {
2278 | 			guard let addressFromSockName = try Address(addressProvider: { (sockaddr, length) in
2279 | 				if getsockname(self.socketfd, sockaddr, length) != 0 {
     |        `- error: cannot find 'getsockname' in scope
2280 | 					throw Error(code: Socket.SOCKET_ERR_BIND_FAILED, reason: "Unable to determine listening socket address after bind.")
2281 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2288:40: error: cannot find 'AF_INET6' in scope
2286 | 		} else {
2287 |
2288 | 			if info!.pointee.ai_family == Int32(AF_INET6) {
     |                                        `- error: cannot find 'AF_INET6' in scope
2289 |
2290 | 				var addr = sockaddr_in6()
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2290:16: error: cannot find 'sockaddr_in6' in scope
2288 | 			if info!.pointee.ai_family == Int32(AF_INET6) {
2289 |
2290 | 				var addr = sockaddr_in6()
     |                `- error: cannot find 'sockaddr_in6' in scope
2291 | 				memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in6>.size))
2292 | 				address = .ipv6(addr)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2291:59: error: cannot find type 'sockaddr_in6' in scope
2289 |
2290 | 				var addr = sockaddr_in6()
2291 | 				memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in6>.size))
     |                                                           `- error: cannot find type 'sockaddr_in6' in scope
2292 | 				address = .ipv6(addr)
2293 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2294:47: error: cannot find 'AF_INET' in scope
2292 | 				address = .ipv6(addr)
2293 |
2294 | 			} else if info!.pointee.ai_family == Int32(AF_INET) {
     |                                               `- error: cannot find 'AF_INET' in scope
2295 |
2296 | 				var addr = sockaddr_in()
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2296:16: error: cannot find 'sockaddr_in' in scope
2294 | 			} else if info!.pointee.ai_family == Int32(AF_INET) {
2295 |
2296 | 				var addr = sockaddr_in()
     |                `- error: cannot find 'sockaddr_in' in scope
2297 | 				memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in>.size))
2298 | 				address = .ipv4(addr)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2297:59: error: cannot find type 'sockaddr_in' in scope
2295 |
2296 | 				var addr = sockaddr_in()
2297 | 				memcpy(&addr, info!.pointee.ai_addr, Int(MemoryLayout<sockaddr_in>.size))
     |                                                           `- error: cannot find type 'sockaddr_in' in scope
2298 | 				address = .ipv4(addr)
2299 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2328:7: error: cannot find 'Darwin' in scope
2326 | 			}
2327 | 		#else
2328 | 			if Darwin.listen(self.socketfd, Int32(maxBacklogSize)) < 0 {
     |       `- error: cannot find 'Darwin' in scope
2329 |
2330 | 				throw Error(code: Socket.SOCKET_ERR_LISTEN_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2364:6: error: cannot find 'setsockopt' in scope
2362 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2363 | 		var on: Int32 = 1
2364 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |      `- error: cannot find 'setsockopt' in scope
2365 |
2366 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2364:32: error: cannot find 'SOL_SOCKET' in scope
2362 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2363 | 		var on: Int32 = 1
2364 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                `- error: cannot find 'SOL_SOCKET' in scope
2365 |
2366 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2364:44: error: cannot find 'SO_REUSEADDR' in scope
2362 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2363 | 		var on: Int32 = 1
2364 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                            `- error: cannot find 'SO_REUSEADDR' in scope
2365 |
2366 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2380:8: error: cannot find 'Darwin' in scope
2378 | 			_ = Glibc.unlink(path)
2379 | 		#else
2380 | 			_ = Darwin.unlink(path)
     |        `- error: cannot find 'Darwin' in scope
2381 | 		#endif
2382 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2394:42: error: cannot find 'sockaddr' in scope
2392 | 		}
2393 |
2394 | 		let rc = addrPtr.withMemoryRebound(to: sockaddr.self, capacity: 1) {
     |                                          `- error: cannot find 'sockaddr' in scope
2395 |
2396 | 			(p: UnsafeMutablePointer<sockaddr>) -> Int32 in
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2401:12: error: cannot find 'Darwin' in scope
2399 | 				return Glibc.bind(self.socketfd, p, socklen_t(addrLen))
2400 | 			#else
2401 | 				return Darwin.bind(self.socketfd, p, socklen_t(addrLen))
     |            `- error: cannot find 'Darwin' in scope
2402 | 			#endif
2403 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2396:29: error: cannot find type 'sockaddr' in scope
2394 | 		let rc = addrPtr.withMemoryRebound(to: sockaddr.self, capacity: 1) {
2395 |
2396 | 			(p: UnsafeMutablePointer<sockaddr>) -> Int32 in
     |                             `- error: cannot find type 'sockaddr' in scope
2397 |
2398 | 			#if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2394:20: error: generic parameter 'T' could not be inferred
2392 | 		}
2393 |
2394 | 		let rc = addrPtr.withMemoryRebound(to: sockaddr.self, capacity: 1) {
     |                    `- error: generic parameter 'T' could not be inferred
2395 |
2396 | 			(p: UnsafeMutablePointer<sockaddr>) -> Int32 in
Swift.UnsafeMutablePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafeMutablePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafeMutablePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2417:7: error: cannot find 'Darwin' in scope
2415 | 			}
2416 | 		#else
2417 | 			if Darwin.listen(self.socketfd, Int32(maxBacklogSize)) < 0 {
     |       `- error: cannot find 'Darwin' in scope
2418 |
2419 | 				throw Error(code: Socket.SOCKET_ERR_LISTEN_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3023:10: error: cannot find 'Darwin' in scope
3021 | 					s = Glibc.send(self.socketfd, buffer.advanced(by: sent), Int(bufSize - sent), sendFlags)
3022 | 				#else
3023 | 					s = Darwin.send(self.socketfd, buffer.advanced(by: sent), Int(bufSize - sent), sendFlags)
     |          `- error: cannot find 'Darwin' in scope
3024 | 				#endif
3025 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3028:8: error: cannot find 'errno' in scope
3026 | 			if s <= 0 {
3027 |
3028 | 				if errno == EAGAIN && !isBlocking {
     |        `- error: cannot find 'errno' in scope
3029 |
3030 | 					// We have written out as much as we can...
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3035:8: error: cannot find 'errno' in scope
3033 |
3034 | 				// - Handle a connection reset by peer (ECONNRESET) and throw a different exception...
3035 | 				if errno == ECONNRESET {
     |        `- error: cannot find 'errno' in scope
3036 | 					self.remoteConnectionClosed = true
3037 | 					throw Error(code: Socket.SOCKET_ERR_CONNECTION_RESET, reason: self.lastError())
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3160:10: error: cannot find 'Darwin' in scope
3158 | 					s = Glibc.sendto(self.socketfd, buffer.advanced(by: sent), Int(bufSize - sent), sendFlags, addressPointer, addressLength)
3159 | 				#else
3160 | 					s = Darwin.sendto(self.socketfd, buffer.advanced(by: sent), Int(bufSize - sent), sendFlags, addressPointer, addressLength)
     |          `- error: cannot find 'Darwin' in scope
3161 | 				#endif
3162 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3165:9: error: cannot find 'errno' in scope
3163 | 				if s <= 0 {
3164 |
3165 | 					if errno == EAGAIN && !isBlocking {
     |         `- error: cannot find 'errno' in scope
3166 |
3167 | 						// We have written out as much as we can...
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3172:9: error: cannot find 'errno' in scope
3170 |
3171 | 					// - Handle a connection reset by peer (ECONNRESET) and throw a different exception...
3172 | 					if errno == ECONNRESET {
     |         `- error: cannot find 'errno' in scope
3173 | 						self.remoteConnectionClosed = true
3174 | 						throw Error(code: Socket.SOCKET_ERR_CONNECTION_RESET, reason: self.lastError())
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3305:22: error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
3303 | 					timer.tv_usec = Int(uSecs)
3304 | 				#else
3305 | 					timer.tv_usec = Int32(uSecs)
     |                      `- error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
3306 | 				#endif
3307 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3330:15: error: cannot find 'fcntl' in scope
3328 | 	public func setBlocking(mode shouldBlock: Bool) throws {
3329 |
3330 | 		let flags = fcntl(self.socketfd, F_GETFL)
     |               `- error: cannot find 'fcntl' in scope
3331 | 		if flags < 0 {
3332 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3330:36: error: cannot find 'F_GETFL' in scope
3328 | 	public func setBlocking(mode shouldBlock: Bool) throws {
3329 |
3330 | 		let flags = fcntl(self.socketfd, F_GETFL)
     |                                    `- error: cannot find 'F_GETFL' in scope
3331 | 		if flags < 0 {
3332 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3339:13: error: cannot find 'fcntl' in scope
3337 | 		if shouldBlock {
3338 |
3339 | 			result = fcntl(self.socketfd, F_SETFL, flags & ~O_NONBLOCK)
     |             `- error: cannot find 'fcntl' in scope
3340 |
3341 | 		} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3339:34: error: cannot find 'F_SETFL' in scope
3337 | 		if shouldBlock {
3338 |
3339 | 			result = fcntl(self.socketfd, F_SETFL, flags & ~O_NONBLOCK)
     |                                  `- error: cannot find 'F_SETFL' in scope
3340 |
3341 | 		} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3339:52: error: cannot find 'O_NONBLOCK' in scope
3337 | 		if shouldBlock {
3338 |
3339 | 			result = fcntl(self.socketfd, F_SETFL, flags & ~O_NONBLOCK)
     |                                                    `- error: cannot find 'O_NONBLOCK' in scope
3340 |
3341 | 		} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3343:13: error: cannot find 'fcntl' in scope
3341 | 		} else {
3342 |
3343 | 			result = fcntl(self.socketfd, F_SETFL, flags | O_NONBLOCK)
     |             `- error: cannot find 'fcntl' in scope
3344 | 		}
3345 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3343:34: error: cannot find 'F_SETFL' in scope
3341 | 		} else {
3342 |
3343 | 			result = fcntl(self.socketfd, F_SETFL, flags | O_NONBLOCK)
     |                                  `- error: cannot find 'F_SETFL' in scope
3344 | 		}
3345 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3343:51: error: cannot find 'O_NONBLOCK' in scope
3341 | 		} else {
3342 |
3343 | 			result = fcntl(self.socketfd, F_SETFL, flags | O_NONBLOCK)
     |                                                   `- error: cannot find 'O_NONBLOCK' in scope
3344 | 		}
3345 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3382:21: error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
3380 | 				timer.tv_usec = Int(uSecs)
3381 | 			#else
3382 | 				timer.tv_usec = Int32(uSecs)
     |                     `- error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
3383 | 			#endif
3384 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3386:16: error: cannot find 'setsockopt' in scope
3384 | 		}
3385 |
3386 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_RCVTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                `- error: cannot find 'setsockopt' in scope
3387 |
3388 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3386:42: error: cannot find 'SOL_SOCKET' in scope
3384 | 		}
3385 |
3386 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_RCVTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                                          `- error: cannot find 'SOL_SOCKET' in scope
3387 |
3388 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3386:54: error: cannot find 'SO_RCVTIMEO' in scope
3384 | 		}
3385 |
3386 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_RCVTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                                                      `- error: cannot find 'SO_RCVTIMEO' in scope
3387 |
3388 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3422:21: error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
3420 | 				timer.tv_usec = Int(uSecs)
3421 | 			#else
3422 | 				timer.tv_usec = Int32(uSecs)
     |                     `- error: cannot assign value of type 'Int32' to type '__kernel_suseconds_t' (aka 'Int')
3423 | 			#endif
3424 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3426:16: error: cannot find 'setsockopt' in scope
3424 | 		}
3425 |
3426 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_SNDTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                `- error: cannot find 'setsockopt' in scope
3427 |
3428 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3426:42: error: cannot find 'SOL_SOCKET' in scope
3424 | 		}
3425 |
3426 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_SNDTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                                          `- error: cannot find 'SOL_SOCKET' in scope
3427 |
3428 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3426:54: error: cannot find 'SO_SNDTIMEO' in scope
3424 | 		}
3425 |
3426 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_SNDTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                                                      `- error: cannot find 'SO_SNDTIMEO' in scope
3427 |
3428 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3457:6: error: cannot find 'setsockopt' in scope
3455 | 		// Turn on or off UDP broadcasting...
3456 | 		var on: Int32 = enable ? 1 : 0
3457 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_BROADCAST, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |      `- error: cannot find 'setsockopt' in scope
3458 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3459 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3457:32: error: cannot find 'SOL_SOCKET' in scope
3455 | 		// Turn on or off UDP broadcasting...
3456 | 		var on: Int32 = enable ? 1 : 0
3457 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_BROADCAST, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                `- error: cannot find 'SOL_SOCKET' in scope
3458 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3459 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3457:44: error: cannot find 'SO_BROADCAST' in scope
3455 | 		// Turn on or off UDP broadcasting...
3456 | 		var on: Int32 = enable ? 1 : 0
3457 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_BROADCAST, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                            `- error: cannot find 'SO_BROADCAST' in scope
3458 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3459 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3490:10: error: cannot find 'Darwin' in scope
3488 | 			#else
3489 | 				if self.isListening {
3490 | 					_ = Darwin.shutdown(self.socketfd, Int32(SHUT_RDWR))
     |          `- error: cannot find 'Darwin' in scope
3491 | 					self.isListening = false
3492 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3490:47: error: cannot find 'SHUT_RDWR' in scope
3488 | 			#else
3489 | 				if self.isListening {
3490 | 					_ = Darwin.shutdown(self.socketfd, Int32(SHUT_RDWR))
     |                                               `- error: cannot find 'SHUT_RDWR' in scope
3491 | 					self.isListening = false
3492 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3494:9: error: cannot find 'Darwin' in scope
3492 | 				}
3493 | 				self.isConnected = false
3494 | 				_ = Darwin.close(self.socketfd)
     |         `- error: cannot find 'Darwin' in scope
3495 | 			#endif
3496 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3511:10: error: cannot find 'Darwin' in scope
3509 | 					_ = Glibc.unlink(self.signature!.path!)
3510 | 				#else
3511 | 					_ = Darwin.unlink(self.signature!.path!)
     |          `- error: cannot find 'Darwin' in scope
3512 | 				#endif
3513 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3535:23: error: cannot find 'MSG_DONTWAIT' in scope
3533 | 		var recvFlags: Int32 = 0
3534 | 		if self.readStorage.length > 0 {
3535 | 			recvFlags |= Int32(MSG_DONTWAIT)
     |                       `- error: cannot find 'MSG_DONTWAIT' in scope
3536 | 		}
3537 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3547:14: error: cannot find 'Darwin' in scope
3545 | 					count = Glibc.recv(self.socketfd, self.readBuffer, self.readBufferSize, recvFlags)
3546 | 				#else
3547 | 					count = Darwin.recv(self.socketfd, self.readBuffer, self.readBufferSize, recvFlags)
     |              `- error: cannot find 'Darwin' in scope
3548 | 				#endif
3549 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3595:12: error: cannot find 'errno' in scope
3593 | 			if count < 0 {
3594 |
3595 | 				switch errno {
     |            `- error: cannot find 'errno' in scope
3596 |
3597 | 				// - Could be an error, but if errno is EAGAIN or EWOULDBLOCK (if a non-blocking socket),
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3649:23: error: cannot find 'MSG_DONTWAIT' in scope
3647 | 		var recvFlags: Int32 = 0
3648 | 		if self.readStorage.length > 0 {
3649 | 			recvFlags |= Int32(MSG_DONTWAIT)
     |                       `- error: cannot find 'MSG_DONTWAIT' in scope
3650 | 		}
3651 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3659:18: error: cannot find 'Darwin' in scope
3657 | 					let count = Glibc.recvfrom(self.socketfd, self.readBuffer, self.readBufferSize, recvFlags, addresssPointer, addressLengthPointer)
3658 | 				#else
3659 | 					let count = Darwin.recvfrom(self.socketfd, self.readBuffer, self.readBufferSize, recvFlags, addresssPointer, addressLengthPointer)
     |                  `- error: cannot find 'Darwin' in scope
3660 | 				#endif
3661 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3667:9: error: cannot find 'errno' in scope
3665 | 					// - Could be an error, but if errno is EAGAIN or EWOULDBLOCK (if a non-blocking socket),
3666 | 					//		it means there was NO data to read...
3667 | 					if errno == EAGAIN || errno == EWOULDBLOCK {
     |         `- error: cannot find 'errno' in scope
3668 |
3669 | 						throw OperationInterrupted.readDatagram(length: self.readStorage.length)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3667:28: error: cannot find 'errno' in scope
3665 | 					// - Could be an error, but if errno is EAGAIN or EWOULDBLOCK (if a non-blocking socket),
3666 | 					//		it means there was NO data to read...
3667 | 					if errno == EAGAIN || errno == EWOULDBLOCK {
     |                            `- error: cannot find 'errno' in scope
3668 |
3669 | 						throw OperationInterrupted.readDatagram(length: self.readStorage.length)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3673:9: error: cannot find 'errno' in scope
3671 |
3672 | 					// - Handle a connection reset by peer (ECONNRESET) and throw a different exception...
3673 | 					if errno == ECONNRESET {
     |         `- error: cannot find 'errno' in scope
3674 | 						self.remoteConnectionClosed = true
3675 | 						throw Error(code: Socket.SOCKET_ERR_CONNECTION_RESET, reason: self.lastError())
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3740:42: error: cannot find 'errno' in scope
3738 | 	private func lastError() -> String {
3739 |
3740 | 		return String(validatingUTF8: strerror(errno)) ?? "Error: \(errno)"
     |                                          `- error: cannot find 'errno' in scope
3741 | 	}
3742 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3740:63: error: cannot find 'errno' in scope
3738 | 	private func lastError() -> String {
3739 |
3740 | 		return String(validatingUTF8: strerror(errno)) ?? "Error: \(errno)"
     |                                                               `- error: cannot find 'errno' in scope
3741 | 	}
3742 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3756:7: error: cannot find 'setsockopt' in scope
3754 | 			// MSG_NOSIGNAL flags passed to send.  See the write() functions below.
3755 | 			var on: Int32 = 1
3756 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_NOSIGPIPE, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |       `- error: cannot find 'setsockopt' in scope
3757 | 				throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3758 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3756:33: error: cannot find 'SOL_SOCKET' in scope
3754 | 			// MSG_NOSIGNAL flags passed to send.  See the write() functions below.
3755 | 			var on: Int32 = 1
3756 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_NOSIGPIPE, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                 `- error: cannot find 'SOL_SOCKET' in scope
3757 | 				throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3758 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3756:45: error: cannot find 'SO_NOSIGPIPE' in scope
3754 | 			// MSG_NOSIGNAL flags passed to send.  See the write() functions below.
3755 | 			var on: Int32 = 1
3756 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_NOSIGPIPE, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                             `- error: cannot find 'SO_NOSIGPIPE' in scope
3757 | 				throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3758 | 			}
[18/25] Compiling Socket SocketUtils.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:43:56: error: cannot find type 'sockaddr' in scope
 41 | 	///	- Returns:		The result of executing the closure.
 42 | 	///
 43 | 	func withSockAddrPointer<Result>(body: (UnsafePointer<sockaddr>, socklen_t) throws -> Result) rethrows -> Result {
    |                                                        `- error: cannot find type 'sockaddr' in scope
 44 |
 45 | 		///
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:86:47: error: cannot find type 'sockaddr' in scope
 84 | 	///	- Returns:                Newly initialized Socket.Address.
 85 | 	///
 86 | 	init?(addressProvider: (UnsafeMutablePointer<sockaddr>, UnsafeMutablePointer<socklen_t>) throws -> Void) rethrows {
    |                                               `- error: cannot find type 'sockaddr' in scope
 87 |
 88 | 		var addressStorage = sockaddr_storage()
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:146:27: error: cannot find '__DARWIN_FD_SETSIZE' in scope
144 | 	// __DARWIN_FD_SETSIZE is number of *bits*, so divide by number bits in each element to get element count
145 | 	// at present this is 1024 / 32 == 32
146 | 	let __fd_set_count = Int(__DARWIN_FD_SETSIZE) / 32
    |                           `- error: cannot find '__DARWIN_FD_SETSIZE' in scope
147 |
148 | 	extension fd_set {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:52:60: error: cannot find type 'sockaddr' in scope
 50 | 		///	- Returns:		Result of executing the closure.
 51 | 		///
 52 | 		func castAndCall<T>(_ address: T, _ body: (UnsafePointer<sockaddr>, socklen_t) throws -> Result) rethrows -> Result {
    |                                                            `- error: cannot find type 'sockaddr' in scope
 53 | 			var localAddress = address // We need a `var` here for the `&`.
 54 | 			return try withUnsafePointer(to: &localAddress) {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:55:41: error: cannot find 'sockaddr' in scope
 53 | 			var localAddress = address // We need a `var` here for the `&`.
 54 | 			return try withUnsafePointer(to: &localAddress) {
 55 | 				return try $0.withMemoryRebound(to: sockaddr.self, capacity: 1, {
    |                                         `- error: cannot find 'sockaddr' in scope
 56 | 					return try body($0, socklen_t(MemoryLayout<T>.size))
 57 | 				})
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:55:19: error: generic parameter 'T' could not be inferred
 53 | 			var localAddress = address // We need a `var` here for the `&`.
 54 | 			return try withUnsafePointer(to: &localAddress) {
 55 | 				return try $0.withMemoryRebound(to: sockaddr.self, capacity: 1, {
    |                   `- error: generic parameter 'T' could not be inferred
 56 | 					return try body($0, socklen_t(MemoryLayout<T>.size))
 57 | 				})
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:320:13: error: cannot find type 'sockaddr_in' in scope
 318 |
 319 | 		/// sockaddr_in
 320 | 		case ipv4(sockaddr_in)
     |             `- error: cannot find type 'sockaddr_in' in scope
 321 |
 322 | 		/// sockaddr_in6
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:323:13: error: cannot find type 'sockaddr_in6' in scope
 321 |
 322 | 		/// sockaddr_in6
 323 | 		case ipv6(sockaddr_in6)
     |             `- error: cannot find type 'sockaddr_in6' in scope
 324 |
 325 | 		/// sockaddr_un
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:326:13: error: cannot find type 'sockaddr_un' in scope
 324 |
 325 | 		/// sockaddr_un
 326 | 		case unix(sockaddr_un)
     |             `- error: cannot find type 'sockaddr_un' in scope
 327 |
 328 | 		///
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:88:24: error: cannot find 'sockaddr_storage' in scope
 86 | 	init?(addressProvider: (UnsafeMutablePointer<sockaddr>, UnsafeMutablePointer<socklen_t>) throws -> Void) rethrows {
 87 |
 88 | 		var addressStorage = sockaddr_storage()
    |                        `- error: cannot find 'sockaddr_storage' in scope
 89 | 		var addressStorageLength = socklen_t(MemoryLayout.size(ofValue: addressStorage))
 90 | 		try withUnsafeMutablePointer(to: &addressStorage) {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:91:33: error: cannot find 'sockaddr' in scope
 89 | 		var addressStorageLength = socklen_t(MemoryLayout.size(ofValue: addressStorage))
 90 | 		try withUnsafeMutablePointer(to: &addressStorage) {
 91 | 			try $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { addressPointer in
    |                                 `- error: cannot find 'sockaddr' in scope
 92 | 				try withUnsafeMutablePointer(to: &addressStorageLength) { addressLengthPointer in
 93 | 					try addressProvider(addressPointer, addressLengthPointer)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:91:11: error: generic parameter 'T' could not be inferred
 89 | 		var addressStorageLength = socklen_t(MemoryLayout.size(ofValue: addressStorage))
 90 | 		try withUnsafeMutablePointer(to: &addressStorage) {
 91 | 			try $0.withMemoryRebound(to: sockaddr.self, capacity: 1) { addressPointer in
    |           `- error: generic parameter 'T' could not be inferred
 92 | 				try withUnsafeMutablePointer(to: &addressStorageLength) { addressLengthPointer in
 93 | 					try addressProvider(addressPointer, addressLengthPointer)
Swift.UnsafeMutablePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafeMutablePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafeMutablePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:99:8: error: cannot find 'AF_INET' in scope
 97 |
 98 | 		switch Int32(addressStorage.ss_family) {
 99 | 		case AF_INET:
    |        `- error: cannot find 'AF_INET' in scope
100 | 			self = withUnsafePointer(to: &addressStorage) {
101 | 				return $0.withMemoryRebound(to: sockaddr_in.self, capacity: 1) {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:105:8: error: cannot find 'AF_INET6' in scope
103 | 				}
104 | 			}
105 | 		case AF_INET6:
    |        `- error: cannot find 'AF_INET6' in scope
106 | 			self = withUnsafePointer(to: &addressStorage) {
107 | 				return $0.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:111:8: error: cannot find 'AF_UNIX' in scope
109 | 				}
110 | 			}
111 | 		case AF_UNIX:
    |        `- error: cannot find 'AF_UNIX' in scope
112 | 			self = withUnsafePointer(to: &addressStorage) {
113 | 				return $0.withMemoryRebound(to: sockaddr_un.self, capacity: 1) {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:101:37: error: cannot find 'sockaddr_in' in scope
 99 | 		case AF_INET:
100 | 			self = withUnsafePointer(to: &addressStorage) {
101 | 				return $0.withMemoryRebound(to: sockaddr_in.self, capacity: 1) {
    |                                     `- error: cannot find 'sockaddr_in' in scope
102 | 					return Socket.Address.ipv4($0.pointee)
103 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:101:15: error: generic parameter 'T' could not be inferred
 99 | 		case AF_INET:
100 | 			self = withUnsafePointer(to: &addressStorage) {
101 | 				return $0.withMemoryRebound(to: sockaddr_in.self, capacity: 1) {
    |               `- error: generic parameter 'T' could not be inferred
102 | 					return Socket.Address.ipv4($0.pointee)
103 | 				}
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:107:37: error: cannot find 'sockaddr_in6' in scope
105 | 		case AF_INET6:
106 | 			self = withUnsafePointer(to: &addressStorage) {
107 | 				return $0.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) {
    |                                     `- error: cannot find 'sockaddr_in6' in scope
108 | 					return Socket.Address.ipv6($0.pointee)
109 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:107:15: error: generic parameter 'T' could not be inferred
105 | 		case AF_INET6:
106 | 			self = withUnsafePointer(to: &addressStorage) {
107 | 				return $0.withMemoryRebound(to: sockaddr_in6.self, capacity: 1) {
    |               `- error: generic parameter 'T' could not be inferred
108 | 					return Socket.Address.ipv6($0.pointee)
109 | 				}
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:113:37: error: cannot find 'sockaddr_un' in scope
111 | 		case AF_UNIX:
112 | 			self = withUnsafePointer(to: &addressStorage) {
113 | 				return $0.withMemoryRebound(to: sockaddr_un.self, capacity: 1) {
    |                                     `- error: cannot find 'sockaddr_un' in scope
114 | 					return Socket.Address.unix($0.pointee)
115 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:113:15: error: generic parameter 'T' could not be inferred
111 | 		case AF_UNIX:
112 | 			self = withUnsafePointer(to: &addressStorage) {
113 | 				return $0.withMemoryRebound(to: sockaddr_un.self, capacity: 1) {
    |               `- error: generic parameter 'T' could not be inferred
114 | 					return Socket.Address.unix($0.pointee)
115 | 				}
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
[19/25] Compiling Signals SignalWatch.swift
[20/27] Compiling Signals SignalWatchHandler.swift
[21/27] Compiling Signals Signals.swift
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:94:30: error: cannot find 'SIGINFO' in scope
 92 |                 return Int32(SIGWINCH)
 93 |             case .info:
 94 |                 return Int32(SIGINFO)
    |                              `- error: cannot find 'SIGINFO' in scope
 95 | 			case .user(let sig):
 96 | 				return Int32(sig)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:120:22: error: cannot find 'SIGINFO' in scope
118 |             case Int(SIGPROF): self = .prof
119 |             case Int(SIGWINCH): self = .winch
120 |             case Int(SIGINFO): self = .info
    |                      `- error: cannot find 'SIGINFO' in scope
121 |
122 |             default:
[22/27] Emitting module Signals
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:320:13: error: cannot find type 'sockaddr_in' in scope
 318 |
 319 | 		/// sockaddr_in
 320 | 		case ipv4(sockaddr_in)
     |             `- error: cannot find type 'sockaddr_in' in scope
 321 |
 322 | 		/// sockaddr_in6
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:323:13: error: cannot find type 'sockaddr_in6' in scope
 321 |
 322 | 		/// sockaddr_in6
 323 | 		case ipv6(sockaddr_in6)
     |             `- error: cannot find type 'sockaddr_in6' in scope
 324 |
 325 | 		/// sockaddr_un
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling Socket SocketProtocols.swift
[3/16] Compiling Logging MetadataProvider.swift
[4/16] Compiling Signals Signals.swift
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:94:30: error: cannot find 'SIGINFO' in scope
 92 |                 return Int32(SIGWINCH)
 93 |             case .info:
 94 |                 return Int32(SIGINFO)
    |                              `- error: cannot find 'SIGINFO' in scope
 95 | 			case .user(let sig):
 96 | 				return Int32(sig)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:120:22: error: cannot find 'SIGINFO' in scope
118 |             case Int(SIGPROF): self = .prof
119 |             case Int(SIGWINCH): self = .winch
120 |             case Int(SIGINFO): self = .info
    |                      `- error: cannot find 'SIGINFO' in scope
121 |
122 |             default:
[5/16] Compiling Socket Socket+Hashable.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:320:13: error: cannot find type 'sockaddr_in' in scope
 318 |
 319 | 		/// sockaddr_in
 320 | 		case ipv4(sockaddr_in)
     |             `- error: cannot find type 'sockaddr_in' in scope
 321 |
 322 | 		/// sockaddr_in6
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:323:13: error: cannot find type 'sockaddr_in6' in scope
 321 |
 322 | 		/// sockaddr_in6
 323 | 		case ipv6(sockaddr_in6)
     |             `- error: cannot find type 'sockaddr_in6' in scope
 324 |
 325 | 		/// sockaddr_un
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:326:13: error: cannot find type 'sockaddr_un' in scope
 324 |
 325 | 		/// sockaddr_un
 326 | 		case unix(sockaddr_un)
     |             `- error: cannot find type 'sockaddr_un' in scope
 327 |
 328 | 		///
[6/16] Emitting module Signals
[7/16] Compiling Signals SignalWatch.swift
[8/16] Compiling Signals SignalWatchHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/16] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:52:39: error: cannot find 'in_addr_t' in scope
  50 | 	public static let SOCKET_INVALID_DESCRIPTOR 			= Int32(-1)
  51 |
  52 | 	public static let INADDR_ANY							= in_addr_t(0)
     |                                       `- error: cannot find 'in_addr_t' in scope
  53 |
  54 | 	public static let NO_HOSTNAME							= "No hostname"
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:320:13: error: cannot find type 'sockaddr_in' in scope
 318 |
 319 | 		/// sockaddr_in
 320 | 		case ipv4(sockaddr_in)
     |             `- error: cannot find type 'sockaddr_in' in scope
 321 |
 322 | 		/// sockaddr_in6
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:323:13: error: cannot find type 'sockaddr_in6' in scope
 321 |
 322 | 		/// sockaddr_in6
 323 | 		case ipv6(sockaddr_in6)
     |             `- error: cannot find type 'sockaddr_in6' in scope
 324 |
 325 | 		/// sockaddr_un
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:326:13: error: cannot find type 'sockaddr_un' in scope
 324 |
 325 | 		/// sockaddr_un
 326 | 		case unix(sockaddr_un)
     |             `- error: cannot find type 'sockaddr_un' in scope
 327 |
 328 | 		///
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:43:56: error: cannot find type 'sockaddr' in scope
 41 | 	///	- Returns:		The result of executing the closure.
 42 | 	///
 43 | 	func withSockAddrPointer<Result>(body: (UnsafePointer<sockaddr>, socklen_t) throws -> Result) rethrows -> Result {
    |                                                        `- error: cannot find type 'sockaddr' in scope
 44 |
 45 | 		///
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:86:47: error: cannot find type 'sockaddr' in scope
 84 | 	///	- Returns:                Newly initialized Socket.Address.
 85 | 	///
 86 | 	init?(addressProvider: (UnsafeMutablePointer<sockaddr>, UnsafeMutablePointer<socklen_t>) throws -> Void) rethrows {
    |                                               `- error: cannot find type 'sockaddr' in scope
 87 |
 88 | 		var addressStorage = sockaddr_storage()
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:146:27: error: cannot find '__DARWIN_FD_SETSIZE' in scope
144 | 	// __DARWIN_FD_SETSIZE is number of *bits*, so divide by number bits in each element to get element count
145 | 	// at present this is 1024 / 32 == 32
146 | 	let __fd_set_count = Int(__DARWIN_FD_SETSIZE) / 32
    |                           `- error: cannot find '__DARWIN_FD_SETSIZE' in scope
147 |
148 | 	extension fd_set {
[10/16] Compiling Logging LogHandler.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:52:39: error: cannot find 'in_addr_t' in scope
  50 | 	public static let SOCKET_INVALID_DESCRIPTOR 			= Int32(-1)
  51 |
  52 | 	public static let INADDR_ANY							= in_addr_t(0)
     |                                       `- error: cannot find 'in_addr_t' in scope
  53 |
  54 | 	public static let NO_HOSTNAME							= "No hostname"
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:320:13: error: cannot find type 'sockaddr_in' in scope
 318 |
 319 | 		/// sockaddr_in
 320 | 		case ipv4(sockaddr_in)
     |             `- error: cannot find type 'sockaddr_in' in scope
 321 |
 322 | 		/// sockaddr_in6
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:323:13: error: cannot find type 'sockaddr_in6' in scope
 321 |
 322 | 		/// sockaddr_in6
 323 | 		case ipv6(sockaddr_in6)
     |             `- error: cannot find type 'sockaddr_in6' in scope
 324 |
 325 | 		/// sockaddr_un
BUILD FAILURE 6.1 android