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 Flock, reference master (d61e7f), with Swift 6.1 for Android on 27 May 2025 07:02:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/jakeheis/flock.git
Reference: master
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/jakeheis/flock
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d61e7fd Update README
Cloned https://github.com/jakeheis/flock.git
Revision (git rev-parse @):
d61e7fd3ef4f731382fca192976682953784be13
SUCCESS checkout https://github.com/jakeheis/flock.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jakeheis/flock.git
https://github.com/jakeheis/flock.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "beak",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yonaskolb/Beak"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "shout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/Shout"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.1.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI"
    }
  ],
  "manifest_display_name" : "Flock",
  "name" : "Flock",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "flock",
      "targets" : [
        "FlockCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "FlockKit",
      "targets" : [
        "FlockKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FlockKit",
      "module_type" : "SwiftTarget",
      "name" : "FlockKit",
      "path" : "Sources/FlockKit",
      "product_dependencies" : [
        "Rainbow",
        "Shout"
      ],
      "product_memberships" : [
        "FlockKit"
      ],
      "sources" : [
        "Environment.swift",
        "Flock.swift",
        "Server.swift",
        "TaskError.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FlockCLI",
      "module_type" : "SwiftTarget",
      "name" : "FlockCLI",
      "path" : "Sources/FlockCLI",
      "product_dependencies" : [
        "BeakCore",
        "Rainbow",
        "SwiftCLI"
      ],
      "product_memberships" : [
        "flock"
      ],
      "sources" : [
        "Beak.swift",
        "CheckCommand.swift",
        "CleanCommand.swift",
        "FlockCommand.swift",
        "FlockError.swift",
        "ForwardCommand.swift",
        "HelpMessageGenerator.swift",
        "InitCommand.swift",
        "ListCommand.swift",
        "Router.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/jakeheis/Shout
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/yonaskolb/Beak
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
[360/6270] Fetching rainbow, swiftcli
[6271/11396] Fetching rainbow, swiftcli, beak
[8834/12130] Fetching rainbow, swiftcli, beak, shout
Fetched https://github.com/jakeheis/Shout from cache (0.74s)
Fetched https://github.com/onevcat/Rainbow from cache (0.74s)
[8150/10200] Fetching swiftcli, beak
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.74s)
[3127/5126] Fetching beak
Fetched https://github.com/yonaskolb/Beak from cache (9.30s)
Computing version for https://github.com/yonaskolb/Beak
Computed https://github.com/yonaskolb/Beak at 0.5.1 (11.53s)
Fetching https://github.com/jpsim/SourceKitten
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[900/2432] Fetching spectre, pathkit
[2311/18544] Fetching spectre, pathkit, sourcekitten
Fetched https://github.com/kylef/PathKit.git from cache (1.23s)
Fetched https://github.com/kylef/Spectre.git from cache (1.23s)
Fetched https://github.com/jpsim/SourceKitten from cache (1.25s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.92s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.60s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (0.56s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.52s)
Computing version for https://github.com/jakeheis/Shout
Computed https://github.com/jakeheis/Shout at 0.5.7 (0.62s)
Fetching https://github.com/IBM-Swift/BlueSocket
[1/2942] Fetching bluesocket
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.40s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (1.70s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.0 (0.60s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2820] Fetching swxmlhash
[2821/13467] Fetching swxmlhash, yams
[4099/28818] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.96s)
[24189/25998] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.97s)
[8944/10647] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.45s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (2.07s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.63s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.63s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.37.0
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 5.3.3
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/jakeheis/Shout
Working copy of https://github.com/jakeheis/Shout resolved at 0.5.7
Creating working copy for https://github.com/yonaskolb/Beak
Working copy of https://github.com/yonaskolb/Beak resolved at 0.5.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/IBM-Swift/BlueSocket
Working copy of https://github.com/IBM-Swift/BlueSocket resolved at 1.0.200
warning: couldn't find pc file for libssh2
warning: couldn't find pc file for libssh2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/31] Write sources
[11/31] Compiling SourceKit SourceKit.c
[12/31] Compiling Clang_C Clang_C.c
[12/31] Write sources
[14/31] Compiling writer.c
[15/31] Compiling reader.c
[16/31] Compiling parser.c
[17/31] Compiling api.c
[18/31] Write swift-version-24593BA9C3E375BF.txt
[19/31] Compiling emitter.c
[20/31] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/113] 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 {
[23/113] Emitting module Yams
[24/115] Compiling Rainbow StringGenerator.swift
[25/115] Compiling Rainbow String+Rainbow.swift
[26/115] Compiling Rainbow Style.swift
[27/116] Compiling Yams Tag.swift
[28/116] Compiling Yams YamlAnchorProviding.swift
[29/116] Compiling Rainbow XcodeColorsSupport.swift
[30/116] Compiling Yams Parser.swift
[31/116] Compiling Yams RedundancyAliasingStrategy.swift
[32/116] Compiling Yams Representer.swift
[33/116] Compiling Yams Resolver.swift
[34/116] Compiling Yams String+Yams.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/116] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[36/118] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/118] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[38/118] Compiling Yams Encoder.swift
[39/118] Compiling Yams AliasDereferencingStrategy.swift
[40/118] Compiling Yams Decoder.swift
[41/118] Compiling Yams Emitter.swift
[42/118] Compiling Yams Anchor.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[43/118] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/118] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[45/118] Compiling Yams Mark.swift
[46/118] Compiling Yams Node.Alias.swift
[47/118] Compiling Yams Node.Mapping.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 | 				}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: couldn't find pc file for libssh2
warning: couldn't find pc file for libssh2
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/94] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[4/94] Compiling SwiftCLI OptionGroup.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:33:49: error: cannot find type 'XMLParserDelegate' in scope
 31 |
 32 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
 33 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
    |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 34 |     required init(_ options: XMLHashOptions) {
 35 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:64:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 62 |     }
 63 |
 64 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 65 |                 didStartElement elementName: String,
 66 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:76:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 74 |     }
 75 |
 76 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 77 |         let current = parentStack.top()
 78 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:82:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 80 |     }
 81 |
 82 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 83 |                 didEndElement elementName: String,
 84 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:89:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 87 |     }
 88 |
 89 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 90 |         if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
 91 |             let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:97:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 95 |     }
 96 |
 97 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 98 |         #if os(Linux) && !swift(>=4.1.50)
 99 |         if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:52:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |         parentStack.push(root)
 51 |
 52 |         let parser = XMLParser(data: data)
    |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 53 |         parser.shouldProcessNamespaces = options.shouldProcessNamespaces
 54 |         parser.delegate = self
[5/94] Compiling SwiftCLI OptionRegistry.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:33:49: error: cannot find type 'XMLParserDelegate' in scope
 31 |
 32 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
 33 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
    |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 34 |     required init(_ options: XMLHashOptions) {
 35 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:64:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 62 |     }
 63 |
 64 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 65 |                 didStartElement elementName: String,
 66 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:76:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 74 |     }
 75 |
 76 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 77 |         let current = parentStack.top()
 78 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:82:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 80 |     }
 81 |
 82 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 83 |                 didEndElement elementName: String,
 84 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:89:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 87 |     }
 88 |
 89 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 90 |         if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
 91 |             let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:97:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 95 |     }
 96 |
 97 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 98 |         #if os(Linux) && !swift(>=4.1.50)
 99 |         if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:52:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |         parentStack.push(root)
 51 |
 52 |         let parser = XMLParser(data: data)
    |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 53 |         parser.shouldProcessNamespaces = options.shouldProcessNamespaces
 54 |         parser.delegate = self
[6/94] Compiling SwiftCLI Parameter.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:33:49: error: cannot find type 'XMLParserDelegate' in scope
 31 |
 32 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
 33 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
    |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 34 |     required init(_ options: XMLHashOptions) {
 35 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:64:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 62 |     }
 63 |
 64 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 65 |                 didStartElement elementName: String,
 66 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:76:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 74 |     }
 75 |
 76 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 77 |         let current = parentStack.top()
 78 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:82:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 80 |     }
 81 |
 82 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 83 |                 didEndElement elementName: String,
 84 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:89:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 87 |     }
 88 |
 89 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 90 |         if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
 91 |             let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:97:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 95 |     }
 96 |
 97 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 98 |         #if os(Linux) && !swift(>=4.1.50)
 99 |         if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:52:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |         parentStack.push(root)
 51 |
 52 |         let parser = XMLParser(data: data)
    |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 53 |         parser.shouldProcessNamespaces = options.shouldProcessNamespaces
 54 |         parser.delegate = self
[7/98] Compiling Rainbow Style.swift
[8/98] Compiling SwiftCLI Term.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[9/98] Compiling SwiftCLI Validation.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[10/100] Compiling SwiftCLI Parser.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:33:49: error: cannot find type 'XMLParserDelegate' in scope
 31 |
 32 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
 33 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
    |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 34 |     required init(_ options: XMLHashOptions) {
 35 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:66:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 64 |     }
 65 |
 66 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 67 |                 didStartElement elementName: String,
 68 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:83:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 81 |     }
 82 |
 83 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 84 |         if !onMatch() {
 85 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:93:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 91 |     }
 92 |
 93 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 94 |         if !onMatch() {
 95 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:105:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
103 |     }
104 |
105 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
106 |                 didEndElement elementName: String,
107 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:60:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 58 |
 59 |         self.ops = ops
 60 |         let parser = XMLParser(data: data!)
    |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 61 |         parser.shouldProcessNamespaces = options.shouldProcessNamespaces
 62 |         parser.delegate = self
[11/100] Compiling SwiftCLI Path.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:33:49: error: cannot find type 'XMLParserDelegate' in scope
 31 |
 32 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
 33 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
    |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 34 |     required init(_ options: XMLHashOptions) {
 35 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:66:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 64 |     }
 65 |
 66 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 67 |                 didStartElement elementName: String,
 68 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:83:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 81 |     }
 82 |
 83 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 84 |         if !onMatch() {
 85 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:93:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 91 |     }
 92 |
 93 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 94 |         if !onMatch() {
 95 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:105:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
103 |     }
104 |
105 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
106 |                 didEndElement elementName: String,
107 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:60:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 58 |
 59 |         self.ops = ops
 60 |         let parser = XMLParser(data: data!)
    |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 61 |         parser.shouldProcessNamespaces = options.shouldProcessNamespaces
 62 |         parser.delegate = self
[12/100] Compiling SwiftCLI Stream.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:33:49: error: cannot find type 'XMLParserDelegate' in scope
 31 |
 32 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
 33 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
    |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 34 |     required init(_ options: XMLHashOptions) {
 35 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:66:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 64 |     }
 65 |
 66 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 67 |                 didStartElement elementName: String,
 68 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:83:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 81 |     }
 82 |
 83 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 84 |         if !onMatch() {
 85 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:93:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 91 |     }
 92 |
 93 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 94 |         if !onMatch() {
 95 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:105:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
103 |     }
104 |
105 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
106 |                 didEndElement elementName: String,
107 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:60:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 58 |
 59 |         self.ops = ops
 60 |         let parser = XMLParser(data: data!)
    |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 61 |         parser.shouldProcessNamespaces = options.shouldProcessNamespaces
 62 |         parser.delegate = self
[13/100] Compiling Rainbow StringGenerator.swift
[14/100] Compiling Socket SocketProtocols.swift
[15/100] 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 |
[16/100] Compiling Rainbow ModesExtractor.swift
[17/100] Compiling Rainbow OutputTarget.swift
[18/100] Compiling SwiftCLI Error.swift
[19/100] Compiling SwiftCLI HelpCommand.swift
[20/100] Compiling SwiftCLI HelpMessageGenerator.swift
[21/100] Compiling SwiftCLI Input.swift
[22/100] Compiling SwiftCLI Option.swift
[23/100] Compiling Rainbow BackgroundColor.swift
[24/100] Compiling Rainbow CodesParser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/100] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[26/100] Compiling Rainbow Rainbow.swift
[27/100] Compiling Rainbow Color.swift
[28/100] Compiling Rainbow ControlCode.swift
[29/100] Compiling Rainbow String+Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/102] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:33:49: error: cannot find type 'XMLParserDelegate' in scope
 31 |
 32 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
 33 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
    |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 34 |     required init(_ options: XMLHashOptions) {
 35 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:64:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 62 |     }
 63 |
 64 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 65 |                 didStartElement elementName: String,
 66 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:76:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 74 |     }
 75 |
 76 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 77 |         let current = parentStack.top()
 78 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:82:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 80 |     }
 81 |
 82 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 83 |                 didEndElement elementName: String,
 84 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:89:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 87 |     }
 88 |
 89 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 90 |         if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
 91 |             let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/FullXMLParser.swift:97:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 95 |     }
 96 |
 97 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 98 |         #if os(Linux) && !swift(>=4.1.50)
 99 |         if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:33:49: error: cannot find type 'XMLParserDelegate' in scope
 31 |
 32 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
 33 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
    |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 34 |     required init(_ options: XMLHashOptions) {
 35 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:66:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 64 |     }
 65 |
 66 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 67 |                 didStartElement elementName: String,
 68 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:83:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 81 |     }
 82 |
 83 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 84 |         if !onMatch() {
 85 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:93:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 91 |     }
 92 |
 93 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 94 |         if !onMatch() {
 95 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/LazyXMLParser.swift:105:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
103 |     }
104 |
105 |     func parser(_ parser: XMLParser,
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
106 |                 didEndElement elementName: String,
107 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
[45/102] Compiling Yams YamlTagProviding.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[46/102] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[47/102] Compiling Rainbow XcodeColorsSupport.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[53/102] Compiling SwiftCLI Task.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[62/102] Compiling Yams YamlError.swift
[67/102] Compiling SWXMLHash XMLHash.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:1082:17: error: cannot find 'INET_ADDRSTRLEN' in scope
1080 | 		case .ipv4(let address_in):
1081 | 			var addr_in = address_in
1082 | 			bufLen = Int(INET_ADDRSTRLEN)
     |                 `- error: cannot find 'INET_ADDRSTRLEN' in scope
1083 | 			buf = [CChar](repeating: 0, count: bufLen)
1084 | 			inet_ntop(Int32(addr_in.sin_family), &addr_in.sin_addr, &buf, socklen_t(bufLen))
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/102] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
BUILD FAILURE 6.1 android