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 hcitool, reference master (52fa8a), with Swift 6.2 (beta) for Android on 17 Jun 2025 16:37:03 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/millertechnologyperu/hcitool.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/millertechnologyperu/hcitool
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 52fa8a2 Updated GitHub CI
Cloned https://github.com/millertechnologyperu/hcitool.git
Revision (git rev-parse @):
52fa8a281a43914e699c383753072df46914cdbc
SUCCESS checkout https://github.com/millertechnologyperu/hcitool.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/millertechnologyperu/hcitool.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/PureSwift/BluetoothLinux.git
[1/6146] Fetching bluetoothlinux
Fetched https://github.com/PureSwift/BluetoothLinux.git from cache (0.44s)
Fetching https://github.com/PureSwift/Bluetooth.git
[1/23626] Fetching bluetooth
Fetched https://github.com/PureSwift/Bluetooth.git from cache (1.57s)
Fetching https://github.com/PureSwift/Socket.git
[1/1083] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (0.95s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
[1/4428] Fetching swift-system
[4429/19808] Fetching swift-system, swift-argument-parser
[19809/90690] Fetching swift-system, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-system from cache (1.01s)
[28139/86262] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (4.28s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.32s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (4.97s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.31s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.40s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/PureSwift/BluetoothLinux.git
Working copy of https://github.com/PureSwift/BluetoothLinux.git resolved at master (d102e1b)
Creating working copy for https://github.com/PureSwift/Bluetooth.git
Working copy of https://github.com/PureSwift/Bluetooth.git resolved at master (3db3287)
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at main (fa5f3c5)
[0/14] Write sources
[0/14] Copying DeclarationUUID.json
[0/14] Copying UnitIdentifier.json
[0/14] Copying ServiceUUID.json
[0/14] Copying CharacteristicUUID.json
[0/14] Copying MemberUUID.json
[0/14] Copying DescriptorUUID.json
[0/14] Write sources
[8/14] Copying CompanyIdentifier.json
[9/14] Write swift-version-8C5A4AE7A8CE2BA.txt
[11/19] Compiling BluetoothMetadata resource_bundle_accessor.swift
[12/19] Compiling BluetoothMetadata BluetoothUUID.swift
[13/19] Compiling BluetoothMetadata BluetoothMetadata.swift
[14/19] Emitting module BluetoothMetadata
[15/19] Compiling BluetoothMetadata CompanyIdentifier.swift
[16/20] Wrapping AST for BluetoothMetadata for debugging
[18/27] Compiling GenerateBluetooth Generate.swift
[19/27] Compiling GenerateBluetooth UnitIdentifier.swift
[20/27] Compiling GenerateBluetooth Hexadecimal.swift
[21/27] Compiling GenerateBluetooth String.swift
[22/27] Emitting module GenerateBluetooth
[23/27] Compiling GenerateBluetooth BluetoothUUID.swift
[24/27] Compiling GenerateBluetooth CompanyIdentifier.swift
[25/28] Wrapping AST for GenerateBluetooth for debugging
[26/28] Write Objects.LinkFileList
[27/28] Linking GenerateBluetooth-tool
[1/1] Compiling plugin GenerateManualPlugin
[2/2] Compiling plugin GenerateBluetoothDefinitions
Building for debugging...
[2/88] Write sources
[14/88] Copying ServiceUUID.json
[14/88] Write sources
[14/88] Copying UnitIdentifier.json
[14/88] Copying MemberUUID.json
[14/88] Copying DescriptorUUID.json
[14/88] Copying DeclarationUUID.json
[14/88] Write sources
[14/88] Copying CharacteristicUUID.json
[14/88] Copying UnitIdentifier.json
[14/88] Copying CompanyIdentifier.json
[14/88] Copying ServiceUUID.json
[14/88] Copying DescriptorUUID.json
[14/88] Copying MemberUUID.json
[14/88] Copying DeclarationUUID.json
[14/88] Copying CharacteristicUUID.json
[14/88] Write sources
[15/88] Copying CompanyIdentifier.json
[42/88] Compiling CBluetoothLinux dummy.c
[43/88] Compiling _SwiftSyntaxCShims dummy.c
[44/88] Compiling CSystem shims.c
[45/88] Compiling CSocket shims.c
[46/88] Write swift-version-8C5A4AE7A8CE2BA.txt
[48/107] Emitting module SwiftSyntax510
[49/107] Compiling SwiftSyntax510 Empty.swift
[50/131] Compiling SwiftSyntax600 Empty.swift
[51/131] Compiling SwiftSyntax509 Empty.swift
[52/131] Emitting module SwiftSyntax509
[53/132] Emitting module SwiftSyntax600
[56/133] Emitting module BluetoothMetadata
[58/134] Wrapping AST for SwiftSyntax509 for debugging
[59/134] Wrapping AST for SwiftSyntax510 for debugging
[60/134] Wrapping AST for SwiftSyntax600 for debugging
[61/134] Wrapping AST for BluetoothMetadata for debugging
[63/199] Emitting module GenerateBluetooth
[64/200] Wrapping AST for GenerateBluetooth for debugging
[65/200] Write Objects.LinkFileList
[66/200] Linking GenerateBluetooth-tool
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/UnitIdentifiers.swift
[67/200] Generate Bluetooth Unit Identifier Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DescriptorUUID.swift
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/ServiceUUID.swift
[68/200] Generate Bluetooth Service UUID Definitions
[68/200] Generate Bluetooth Descriptor UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/MemberUUID.swift
[70/200] Generate Bluetooth Member UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DeclarationUUID.swift
[71/200] Generate Bluetooth Declaration UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CharacteristicUUID.swift
[72/200] Generate Bluetooth Characteristic UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CompanyIdentifiers.swift
[73/200] Generate Bluetooth Company Identifier Definitions
[74/200] Write sources
[76/200] Emitting module SystemPackage
[77/203] Compiling SwiftSyntax Keyword.swift
[78/203] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[79/203] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[80/203] Compiling SwiftSyntax SourceLocation.swift
[81/203] Compiling SwiftSyntax RawSyntaxNodesD.swift
[82/203] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[83/203] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[84/203] Compiling SystemPackage Util+StringArray.swift
[85/203] Compiling SystemPackage Util.swift
[86/203] Compiling SystemPackage UtilConsumers.swift
[87/203] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[88/203] Compiling SwiftSyntax RawSyntaxTokenView.swift
[89/203] Compiling SwiftSyntax SourceEdit.swift
[90/203] Compiling SwiftSyntax SourceLength.swift
[91/203] Compiling SwiftSyntax MemoryLayout.swift
[92/203] Compiling SwiftSyntax MissingNodeInitializers.swift
[93/203] Compiling SwiftSyntax RawSyntax.swift
[94/203] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[95/203] Emitting module ArgumentParserToolInfo
[96/203] Compiling ArgumentParserToolInfo ToolInfo.swift
[97/204] Wrapping AST for ArgumentParserToolInfo for debugging
[99/240] Compiling ArgumentParser ArgumentVisibility.swift
[100/240] Compiling ArgumentParser CompletionKind.swift
[101/240] Compiling ArgumentParser Errors.swift
[102/240] Compiling ArgumentParser Flag.swift
[103/240] Compiling ArgumentParser ParserError.swift
[104/240] Compiling ArgumentParser SplitArguments.swift
[105/240] Compiling ArgumentParser ArgumentDecoder.swift
[106/240] Compiling ArgumentParser ArgumentDefinition.swift
[107/240] Compiling ArgumentParser ParsableArguments.swift
[108/240] Compiling ArgumentParser ParsableArgumentsValidation.swift
[109/240] Compiling ArgumentParser ParsableCommand.swift
[110/240] Compiling ArgumentParser ArgumentHelp.swift
[111/241] Wrapping AST for SystemPackage for debugging
[113/280] Compiling BluetoothMetadata CompanyIdentifier.swift
[114/280] Compiling Socket SocketOptionID.swift
[115/280] Compiling Socket SocketOptionLevel.swift
[116/280] Compiling Socket SocketProtocol.swift
[117/280] Compiling Socket IPv4Protocol.swift
[118/280] Compiling Socket IPv6Protocol.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[119/280] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 |     /// The C `sockaddr_in` type
69 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
70 |
71 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:170:79: error: cannot find 'INADDR_ANY' in scope
168 |
169 | @_alwaysEmitIntoClient
170 | internal var _INADDR_ANY: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_ANY) }
    |                                                                               `- error: cannot find 'INADDR_ANY' in scope
171 |
172 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/linux/in.h:218:9: note: macro 'INADDR_ANY' unavailable: structure not supported
216 | #define IN_CLASSE_NET 0xffffffff
217 | #define IN_CLASSE_NSHIFT 0
218 | #define INADDR_ANY ((unsigned long int) 0x00000000)
    |         `- note: macro 'INADDR_ANY' unavailable: structure not supported
219 | #define INADDR_BROADCAST ((unsigned long int) 0xffffffff)
220 | #define INADDR_NONE ((unsigned long int) 0xffffffff)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:173:84: error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
171 |
172 | @_alwaysEmitIntoClient
173 | internal var _INADDR_LOOPBACK: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_LOOPBACK) }
    |                                                                                    `- error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
174 |
175 | @_alwaysEmitIntoClient
[120/285] Compiling BluetoothMetadata resource_bundle_accessor.swift
[121/285] Compiling Socket MessageFlags.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:48:54: error: no exact matches in call to initializer
 46 |                 // next item in linked list
 47 |                 defer { linkedListItem = linkedListItem?.pointee.ifa_next }
 48 |                 let interfaceName = String(cString: .init(value.ifa_name))
    |                                                      `- error: no exact matches in call to initializer
 49 |                 guard let id = interfaceIDs.first(where: { $0.name == interfaceName }) else {
 50 |                     assertionFailure("Unknown interface \(interfaceName)")
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(describing:)')
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: incorrect labels for candidate (have: '(_:)', expected: '(describing:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(reflecting:)')
1 | struct String {
2 | public init<Subject>(reflecting subject: Subject)}
  |        `- note: incorrect labels for candidate (have: '(_:)', expected: '(reflecting:)')
3 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:53:56: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to refer to member 'pointee' of wrapped base type 'UnsafeMutablePointer<sockaddr>'
 51 |                     continue
 52 |                 }
 53 |                 guard Address.family.rawValue == value.ifa_addr.pointee.sa_family else {
    |                                                        |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to refer to member 'pointee' of wrapped base type 'UnsafeMutablePointer<sockaddr>'
    |                                                        |- note: chain the optional using '?' to access member 'pointee' only for non-'nil' base values
    |                                                        `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 54 |                     continue // incompatible address type
 55 |                 }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:56:63: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
 54 |                     continue // incompatible address type
 55 |                 }
 56 |                 let address = Address.withUnsafePointer(value.ifa_addr)
    |                                                               |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
    |                                                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 57 |                 let netmask = value.ifa_netmask == nil ? nil : Address.withUnsafePointer(value.ifa_netmask)
 58 |                 let interface = Self.init(
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:57:96: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
 55 |                 }
 56 |                 let address = Address.withUnsafePointer(value.ifa_addr)
 57 |                 let netmask = value.ifa_netmask == nil ? nil : Address.withUnsafePointer(value.ifa_netmask)
    |                                                                                                |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
    |                                                                                                |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                                                                `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 58 |                 let interface = Self.init(
 59 |                     id: id,
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:106:44: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
104 |     init(_ cValue: CInterop.InterfaceNameIndex) {
105 |         self.index = cValue.if_index
106 |         self.name = String(cString: cValue.if_name)
    |                                            |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
107 |     }
108 | }
[122/285] Compiling Socket NetworkInterface.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:48:54: error: no exact matches in call to initializer
 46 |                 // next item in linked list
 47 |                 defer { linkedListItem = linkedListItem?.pointee.ifa_next }
 48 |                 let interfaceName = String(cString: .init(value.ifa_name))
    |                                                      `- error: no exact matches in call to initializer
 49 |                 guard let id = interfaceIDs.first(where: { $0.name == interfaceName }) else {
 50 |                     assertionFailure("Unknown interface \(interfaceName)")
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(describing:)')
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: incorrect labels for candidate (have: '(_:)', expected: '(describing:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(reflecting:)')
1 | struct String {
2 | public init<Subject>(reflecting subject: Subject)}
  |        `- note: incorrect labels for candidate (have: '(_:)', expected: '(reflecting:)')
3 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:53:56: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to refer to member 'pointee' of wrapped base type 'UnsafeMutablePointer<sockaddr>'
 51 |                     continue
 52 |                 }
 53 |                 guard Address.family.rawValue == value.ifa_addr.pointee.sa_family else {
    |                                                        |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to refer to member 'pointee' of wrapped base type 'UnsafeMutablePointer<sockaddr>'
    |                                                        |- note: chain the optional using '?' to access member 'pointee' only for non-'nil' base values
    |                                                        `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 54 |                     continue // incompatible address type
 55 |                 }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:56:63: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
 54 |                     continue // incompatible address type
 55 |                 }
 56 |                 let address = Address.withUnsafePointer(value.ifa_addr)
    |                                                               |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
    |                                                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 57 |                 let netmask = value.ifa_netmask == nil ? nil : Address.withUnsafePointer(value.ifa_netmask)
 58 |                 let interface = Self.init(
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:57:96: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
 55 |                 }
 56 |                 let address = Address.withUnsafePointer(value.ifa_addr)
 57 |                 let netmask = value.ifa_netmask == nil ? nil : Address.withUnsafePointer(value.ifa_netmask)
    |                                                                                                |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
    |                                                                                                |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                                                                `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 58 |                 let interface = Self.init(
 59 |                     id: id,
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:106:44: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
104 |     init(_ cValue: CInterop.InterfaceNameIndex) {
105 |         self.index = cValue.if_index
106 |         self.name = String(cString: cValue.if_name)
    |                                            |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
107 |     }
108 | }
[123/285] Compiling Socket NetworkOrder.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:48:54: error: no exact matches in call to initializer
 46 |                 // next item in linked list
 47 |                 defer { linkedListItem = linkedListItem?.pointee.ifa_next }
 48 |                 let interfaceName = String(cString: .init(value.ifa_name))
    |                                                      `- error: no exact matches in call to initializer
 49 |                 guard let id = interfaceIDs.first(where: { $0.name == interfaceName }) else {
 50 |                     assertionFailure("Unknown interface \(interfaceName)")
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(describing:)')
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: incorrect labels for candidate (have: '(_:)', expected: '(describing:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(reflecting:)')
1 | struct String {
2 | public init<Subject>(reflecting subject: Subject)}
  |        `- note: incorrect labels for candidate (have: '(_:)', expected: '(reflecting:)')
3 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:53:56: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to refer to member 'pointee' of wrapped base type 'UnsafeMutablePointer<sockaddr>'
 51 |                     continue
 52 |                 }
 53 |                 guard Address.family.rawValue == value.ifa_addr.pointee.sa_family else {
    |                                                        |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to refer to member 'pointee' of wrapped base type 'UnsafeMutablePointer<sockaddr>'
    |                                                        |- note: chain the optional using '?' to access member 'pointee' only for non-'nil' base values
    |                                                        `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 54 |                     continue // incompatible address type
 55 |                 }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:56:63: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
 54 |                     continue // incompatible address type
 55 |                 }
 56 |                 let address = Address.withUnsafePointer(value.ifa_addr)
    |                                                               |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
    |                                                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 57 |                 let netmask = value.ifa_netmask == nil ? nil : Address.withUnsafePointer(value.ifa_netmask)
 58 |                 let interface = Self.init(
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:57:96: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
 55 |                 }
 56 |                 let address = Address.withUnsafePointer(value.ifa_addr)
 57 |                 let netmask = value.ifa_netmask == nil ? nil : Address.withUnsafePointer(value.ifa_netmask)
    |                                                                                                |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
    |                                                                                                |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                                                                `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 58 |                 let interface = Self.init(
 59 |                     id: id,
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:106:44: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
104 |     init(_ cValue: CInterop.InterfaceNameIndex) {
105 |         self.index = cValue.if_index
106 |         self.name = String(cString: cValue.if_name)
    |                                            |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
107 |     }
108 | }
[124/285] Compiling Socket Poll.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:48:54: error: no exact matches in call to initializer
 46 |                 // next item in linked list
 47 |                 defer { linkedListItem = linkedListItem?.pointee.ifa_next }
 48 |                 let interfaceName = String(cString: .init(value.ifa_name))
    |                                                      `- error: no exact matches in call to initializer
 49 |                 guard let id = interfaceIDs.first(where: { $0.name == interfaceName }) else {
 50 |                     assertionFailure("Unknown interface \(interfaceName)")
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(describing:)')
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: incorrect labels for candidate (have: '(_:)', expected: '(describing:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(reflecting:)')
1 | struct String {
2 | public init<Subject>(reflecting subject: Subject)}
  |        `- note: incorrect labels for candidate (have: '(_:)', expected: '(reflecting:)')
3 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:53:56: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to refer to member 'pointee' of wrapped base type 'UnsafeMutablePointer<sockaddr>'
 51 |                     continue
 52 |                 }
 53 |                 guard Address.family.rawValue == value.ifa_addr.pointee.sa_family else {
    |                                                        |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to refer to member 'pointee' of wrapped base type 'UnsafeMutablePointer<sockaddr>'
    |                                                        |- note: chain the optional using '?' to access member 'pointee' only for non-'nil' base values
    |                                                        `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 54 |                     continue // incompatible address type
 55 |                 }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:56:63: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
 54 |                     continue // incompatible address type
 55 |                 }
 56 |                 let address = Address.withUnsafePointer(value.ifa_addr)
    |                                                               |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
    |                                                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 57 |                 let netmask = value.ifa_netmask == nil ? nil : Address.withUnsafePointer(value.ifa_netmask)
 58 |                 let interface = Self.init(
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:57:96: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
 55 |                 }
 56 |                 let address = Address.withUnsafePointer(value.ifa_addr)
 57 |                 let netmask = value.ifa_netmask == nil ? nil : Address.withUnsafePointer(value.ifa_netmask)
    |                                                                                                |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
    |                                                                                                |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                                                                `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 58 |                 let interface = Self.init(
 59 |                     id: id,
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:106:44: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
104 |     init(_ cValue: CInterop.InterfaceNameIndex) {
105 |         self.index = cValue.if_index
106 |         self.name = String(cString: cValue.if_name)
    |                                            |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
107 |     }
108 | }
[125/285] Compiling Socket SocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:48:54: error: no exact matches in call to initializer
 46 |                 // next item in linked list
 47 |                 defer { linkedListItem = linkedListItem?.pointee.ifa_next }
 48 |                 let interfaceName = String(cString: .init(value.ifa_name))
    |                                                      `- error: no exact matches in call to initializer
 49 |                 guard let id = interfaceIDs.first(where: { $0.name == interfaceName }) else {
 50 |                     assertionFailure("Unknown interface \(interfaceName)")
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(describing:)')
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: incorrect labels for candidate (have: '(_:)', expected: '(describing:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(reflecting:)')
1 | struct String {
2 | public init<Subject>(reflecting subject: Subject)}
  |        `- note: incorrect labels for candidate (have: '(_:)', expected: '(reflecting:)')
3 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:53:56: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to refer to member 'pointee' of wrapped base type 'UnsafeMutablePointer<sockaddr>'
 51 |                     continue
 52 |                 }
 53 |                 guard Address.family.rawValue == value.ifa_addr.pointee.sa_family else {
    |                                                        |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to refer to member 'pointee' of wrapped base type 'UnsafeMutablePointer<sockaddr>'
    |                                                        |- note: chain the optional using '?' to access member 'pointee' only for non-'nil' base values
    |                                                        `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 54 |                     continue // incompatible address type
 55 |                 }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:56:63: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
 54 |                     continue // incompatible address type
 55 |                 }
 56 |                 let address = Address.withUnsafePointer(value.ifa_addr)
    |                                                               |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
    |                                                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 57 |                 let netmask = value.ifa_netmask == nil ? nil : Address.withUnsafePointer(value.ifa_netmask)
 58 |                 let interface = Self.init(
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:57:96: error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
 55 |                 }
 56 |                 let address = Address.withUnsafePointer(value.ifa_addr)
 57 |                 let netmask = value.ifa_netmask == nil ? nil : Address.withUnsafePointer(value.ifa_netmask)
    |                                                                                                |- error: value of optional type 'UnsafeMutablePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafeMutablePointer<sockaddr>'
    |                                                                                                |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                                                                `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 58 |                 let interface = Self.init(
 59 |                     id: id,
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:106:44: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
104 |     init(_ cValue: CInterop.InterfaceNameIndex) {
105 |         self.index = cValue.if_index
106 |         self.name = String(cString: cValue.if_name)
    |                                            |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
    |                                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
107 |     }
108 | }
[126/285] Compiling Socket FileFlags.swift
[127/285] Compiling Socket IOControl.swift
[128/285] Compiling Socket IODirection.swift
[129/285] Compiling Socket IOOperations.swift
[130/285] Compiling Socket IOType.swift
[131/285] Compiling Socket InternetProtocol.swift
[132/285] Compiling Socket CInterop.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 |     /// The C `sockaddr_in` type
69 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
70 |
71 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:170:79: error: cannot find 'INADDR_ANY' in scope
168 |
169 | @_alwaysEmitIntoClient
170 | internal var _INADDR_ANY: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_ANY) }
    |                                                                               `- error: cannot find 'INADDR_ANY' in scope
171 |
172 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/linux/in.h:218:9: note: macro 'INADDR_ANY' unavailable: structure not supported
216 | #define IN_CLASSE_NET 0xffffffff
217 | #define IN_CLASSE_NSHIFT 0
218 | #define INADDR_ANY ((unsigned long int) 0x00000000)
    |         `- note: macro 'INADDR_ANY' unavailable: structure not supported
219 | #define INADDR_BROADCAST ((unsigned long int) 0xffffffff)
220 | #define INADDR_NONE ((unsigned long int) 0xffffffff)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:173:84: error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
171 |
172 | @_alwaysEmitIntoClient
173 | internal var _INADDR_LOOPBACK: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_LOOPBACK) }
    |                                                                                    `- error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
174 |
175 | @_alwaysEmitIntoClient
[133/285] Compiling Socket CSocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 |     /// The C `sockaddr_in` type
69 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
70 |
71 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:170:79: error: cannot find 'INADDR_ANY' in scope
168 |
169 | @_alwaysEmitIntoClient
170 | internal var _INADDR_ANY: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_ANY) }
    |                                                                               `- error: cannot find 'INADDR_ANY' in scope
171 |
172 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/linux/in.h:218:9: note: macro 'INADDR_ANY' unavailable: structure not supported
216 | #define IN_CLASSE_NET 0xffffffff
217 | #define IN_CLASSE_NSHIFT 0
218 | #define INADDR_ANY ((unsigned long int) 0x00000000)
    |         `- note: macro 'INADDR_ANY' unavailable: structure not supported
219 | #define INADDR_BROADCAST ((unsigned long int) 0xffffffff)
220 | #define INADDR_NONE ((unsigned long int) 0xffffffff)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:173:84: error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
171 |
172 | @_alwaysEmitIntoClient
173 | internal var _INADDR_LOOPBACK: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_LOOPBACK) }
    |                                                                                    `- error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
174 |
175 | @_alwaysEmitIntoClient
[134/285] Compiling Socket Constants.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 |     /// The C `sockaddr_in` type
69 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
70 |
71 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:170:79: error: cannot find 'INADDR_ANY' in scope
168 |
169 | @_alwaysEmitIntoClient
170 | internal var _INADDR_ANY: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_ANY) }
    |                                                                               `- error: cannot find 'INADDR_ANY' in scope
171 |
172 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/linux/in.h:218:9: note: macro 'INADDR_ANY' unavailable: structure not supported
216 | #define IN_CLASSE_NET 0xffffffff
217 | #define IN_CLASSE_NSHIFT 0
218 | #define INADDR_ANY ((unsigned long int) 0x00000000)
    |         `- note: macro 'INADDR_ANY' unavailable: structure not supported
219 | #define INADDR_BROADCAST ((unsigned long int) 0xffffffff)
220 | #define INADDR_NONE ((unsigned long int) 0xffffffff)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:173:84: error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
171 |
172 | @_alwaysEmitIntoClient
173 | internal var _INADDR_LOOPBACK: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_LOOPBACK) }
    |                                                                                    `- error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
174 |
175 | @_alwaysEmitIntoClient
[135/285] Compiling Socket Errno.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 |     /// The C `sockaddr_in` type
69 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
70 |
71 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:170:79: error: cannot find 'INADDR_ANY' in scope
168 |
169 | @_alwaysEmitIntoClient
170 | internal var _INADDR_ANY: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_ANY) }
    |                                                                               `- error: cannot find 'INADDR_ANY' in scope
171 |
172 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/linux/in.h:218:9: note: macro 'INADDR_ANY' unavailable: structure not supported
216 | #define IN_CLASSE_NET 0xffffffff
217 | #define IN_CLASSE_NSHIFT 0
218 | #define INADDR_ANY ((unsigned long int) 0x00000000)
    |         `- note: macro 'INADDR_ANY' unavailable: structure not supported
219 | #define INADDR_BROADCAST ((unsigned long int) 0xffffffff)
220 | #define INADDR_NONE ((unsigned long int) 0xffffffff)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:173:84: error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
171 |
172 | @_alwaysEmitIntoClient
173 | internal var _INADDR_LOOPBACK: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_LOOPBACK) }
    |                                                                                    `- error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
174 |
175 | @_alwaysEmitIntoClient
[136/285] Compiling Socket FileChange.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 |     /// The C `sockaddr_in` type
69 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
70 |
71 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:170:79: error: cannot find 'INADDR_ANY' in scope
168 |
169 | @_alwaysEmitIntoClient
170 | internal var _INADDR_ANY: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_ANY) }
    |                                                                               `- error: cannot find 'INADDR_ANY' in scope
171 |
172 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/linux/in.h:218:9: note: macro 'INADDR_ANY' unavailable: structure not supported
216 | #define IN_CLASSE_NET 0xffffffff
217 | #define IN_CLASSE_NSHIFT 0
218 | #define INADDR_ANY ((unsigned long int) 0x00000000)
    |         `- note: macro 'INADDR_ANY' unavailable: structure not supported
219 | #define INADDR_BROADCAST ((unsigned long int) 0xffffffff)
220 | #define INADDR_NONE ((unsigned long int) 0xffffffff)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:173:84: error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
171 |
172 | @_alwaysEmitIntoClient
173 | internal var _INADDR_LOOPBACK: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_LOOPBACK) }
    |                                                                                    `- error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
174 |
175 | @_alwaysEmitIntoClient
[137/285] Compiling Socket FileEvent.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 |     /// The C `sockaddr_in` type
69 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
70 |
71 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:170:79: error: cannot find 'INADDR_ANY' in scope
168 |
169 | @_alwaysEmitIntoClient
170 | internal var _INADDR_ANY: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_ANY) }
    |                                                                               `- error: cannot find 'INADDR_ANY' in scope
171 |
172 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/linux/in.h:218:9: note: macro 'INADDR_ANY' unavailable: structure not supported
216 | #define IN_CLASSE_NET 0xffffffff
217 | #define IN_CLASSE_NSHIFT 0
218 | #define INADDR_ANY ((unsigned long int) 0x00000000)
    |         `- note: macro 'INADDR_ANY' unavailable: structure not supported
219 | #define INADDR_BROADCAST ((unsigned long int) 0xffffffff)
220 | #define INADDR_NONE ((unsigned long int) 0xffffffff)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:173:84: error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
171 |
172 | @_alwaysEmitIntoClient
173 | internal var _INADDR_LOOPBACK: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_LOOPBACK) }
    |                                                                                    `- error: cannot convert value of type 'Int32' to expected argument type 'in_addr_t' (aka 'UInt32')
174 |
175 | @_alwaysEmitIntoClient
[138/285] Compiling BluetoothMetadata BluetoothMetadata.swift
[139/285] Emitting module BluetoothMetadata
[140/285] Compiling BluetoothMetadata BluetoothUUID.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[142/286] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
 66 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 67 |
 68 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
[142/286] Wrapping AST for BluetoothMetadata for debugging
[144/290] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:106:9: error: cannot find 'Glibc' in scope
104 | #else
105 | internal var system_errno: CInt {
106 |   get { Glibc.errno }
    |         `- error: cannot find 'Glibc' in scope
107 |   set { Glibc.errno = newValue }
108 | }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:107:9: error: cannot find 'Glibc' in scope
105 | internal var system_errno: CInt {
106 |   get { Glibc.errno }
107 |   set { Glibc.errno = newValue }
    |         `- error: cannot find 'Glibc' in scope
108 | }
109 | #endif
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:180:51: error: value of optional type 'UnsafeMutablePointer<UInt32>?' must be unwrapped to a value of type 'UnsafeMutablePointer<UInt32>'
178 |   if mockingEnabled { return _mock(socket, level, option, value, length) }
179 |   #endif
180 |   return getsockopt(socket, level, option, value, length)
    |                                                   |- error: value of optional type 'UnsafeMutablePointer<UInt32>?' must be unwrapped to a value of type 'UnsafeMutablePointer<UInt32>'
    |                                                   |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
181 | }
182 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:202:26: error: value of optional type 'UnsafePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafePointer<sockaddr>'
200 |   if mockingEnabled { return _mock(socket, addr, len) }
201 |   #endif
202 |   return connect(socket, addr, len)
    |                          |- error: value of optional type 'UnsafePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafePointer<sockaddr>'
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
203 | }
204 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:229:49: error: value of optional type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>?' (aka 'Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>') must be unwrapped to a value of type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>')
227 |   }
228 |   #endif
229 |   return getaddrinfo(hostname, servname, hints, res)
    |                                                 |- error: value of optional type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>?' (aka 'Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>') must be unwrapped to a value of type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>')
    |                                                 |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                 `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
230 | }
231 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:22: error: value of optional type 'UnsafePointer<CInterop.SocketAddress>?' (aka 'Optional<UnsafePointer<sockaddr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.SocketAddress>' (aka 'UnsafePointer<sockaddr>')
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                      |- error: value of optional type 'UnsafePointer<CInterop.SocketAddress>?' (aka 'Optional<UnsafePointer<sockaddr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.SocketAddress>' (aka 'UnsafePointer<sockaddr>')
    |                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:39: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                                       `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:54: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                                                      `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:288:23: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
286 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
287 |   #endif
288 |   return send(socket, buffer, len, flags)
    |                       |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                       |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
289 | }
290 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:316:25: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
314 |   }
315 |   #endif
316 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |                         |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
317 | }
318 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:354:26: error: value of optional type 'UnsafePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafePointer<msghdr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.MessageHeader>' (aka 'UnsafePointer<msghdr>')
352 |   if mockingEnabled { return _mockInt(socket, message, flags) }
353 |   #endif
354 |   return sendmsg(socket, message, flags)
    |                          |- error: value of optional type 'UnsafePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafePointer<msghdr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.MessageHeader>' (aka 'UnsafePointer<msghdr>')
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
355 | }
356 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:365:26: error: value of optional type 'UnsafeMutablePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafeMutablePointer<msghdr>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CInterop.MessageHeader>' (aka 'UnsafeMutablePointer<msghdr>')
363 |   if mockingEnabled { return _mockInt(socket, message, flags) }
364 |   #endif
365 |   return recvmsg(socket, message, flags)
    |                          |- error: value of optional type 'UnsafeMutablePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafeMutablePointer<msghdr>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CInterop.MessageHeader>' (aka 'UnsafeMutablePointer<msghdr>')
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
366 | }
367 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:375:10: error: 'fcntl' is unavailable: Variadic function is unavailable
373 |   if mockingEnabled { return _mock(fd, cmd) }
374 | #endif
375 |   return fcntl(fd, cmd)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
376 | }
377 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:386:10: error: 'fcntl' is unavailable: Variadic function is unavailable
384 |   if mockingEnabled { return _mock(fd, cmd, value) }
385 | #endif
386 |   return fcntl(fd, cmd, value)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
387 | }
388 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:397:10: error: 'fcntl' is unavailable: Variadic function is unavailable
395 |   if mockingEnabled { return _mock(fd, cmd, pointer) }
396 | #endif
397 |   return fcntl(fd, cmd, pointer)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
398 | }
399 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:408:10: error: no exact matches in call to global function 'ioctl'
406 |   if mockingEnabled { return _mock(fd, request) }
407 | #endif
408 |   return ioctl(fd, request)
    |          `- error: no exact matches in call to global function 'ioctl'
409 | }
410 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:420:10: error: no exact matches in call to global function 'ioctl'
418 |   if mockingEnabled { return _mock(fd, request, value) }
419 | #endif
420 |   return ioctl(fd, request, value)
    |          `- error: no exact matches in call to global function 'ioctl'
421 | }
422 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:432:10: error: no exact matches in call to global function 'ioctl'
430 |   if mockingEnabled { return _mock(fd, request, pointer) }
431 | #endif
432 |   return ioctl(fd, request, pointer)
    |          `- error: no exact matches in call to global function 'ioctl'
433 | }
434 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
[145/290] Compiling Socket UnixProtocol.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:106:9: error: cannot find 'Glibc' in scope
104 | #else
105 | internal var system_errno: CInt {
106 |   get { Glibc.errno }
    |         `- error: cannot find 'Glibc' in scope
107 |   set { Glibc.errno = newValue }
108 | }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:107:9: error: cannot find 'Glibc' in scope
105 | internal var system_errno: CInt {
106 |   get { Glibc.errno }
107 |   set { Glibc.errno = newValue }
    |         `- error: cannot find 'Glibc' in scope
108 | }
109 | #endif
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:180:51: error: value of optional type 'UnsafeMutablePointer<UInt32>?' must be unwrapped to a value of type 'UnsafeMutablePointer<UInt32>'
178 |   if mockingEnabled { return _mock(socket, level, option, value, length) }
179 |   #endif
180 |   return getsockopt(socket, level, option, value, length)
    |                                                   |- error: value of optional type 'UnsafeMutablePointer<UInt32>?' must be unwrapped to a value of type 'UnsafeMutablePointer<UInt32>'
    |                                                   |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
181 | }
182 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:202:26: error: value of optional type 'UnsafePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafePointer<sockaddr>'
200 |   if mockingEnabled { return _mock(socket, addr, len) }
201 |   #endif
202 |   return connect(socket, addr, len)
    |                          |- error: value of optional type 'UnsafePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafePointer<sockaddr>'
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
203 | }
204 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:229:49: error: value of optional type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>?' (aka 'Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>') must be unwrapped to a value of type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>')
227 |   }
228 |   #endif
229 |   return getaddrinfo(hostname, servname, hints, res)
    |                                                 |- error: value of optional type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>?' (aka 'Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>') must be unwrapped to a value of type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>')
    |                                                 |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                 `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
230 | }
231 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:22: error: value of optional type 'UnsafePointer<CInterop.SocketAddress>?' (aka 'Optional<UnsafePointer<sockaddr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.SocketAddress>' (aka 'UnsafePointer<sockaddr>')
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                      |- error: value of optional type 'UnsafePointer<CInterop.SocketAddress>?' (aka 'Optional<UnsafePointer<sockaddr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.SocketAddress>' (aka 'UnsafePointer<sockaddr>')
    |                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:39: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                                       `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:54: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                                                      `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:288:23: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
286 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
287 |   #endif
288 |   return send(socket, buffer, len, flags)
    |                       |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                       |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
289 | }
290 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:316:25: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
314 |   }
315 |   #endif
316 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |                         |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
317 | }
318 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:354:26: error: value of optional type 'UnsafePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafePointer<msghdr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.MessageHeader>' (aka 'UnsafePointer<msghdr>')
352 |   if mockingEnabled { return _mockInt(socket, message, flags) }
353 |   #endif
354 |   return sendmsg(socket, message, flags)
    |                          |- error: value of optional type 'UnsafePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafePointer<msghdr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.MessageHeader>' (aka 'UnsafePointer<msghdr>')
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
355 | }
356 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:365:26: error: value of optional type 'UnsafeMutablePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafeMutablePointer<msghdr>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CInterop.MessageHeader>' (aka 'UnsafeMutablePointer<msghdr>')
363 |   if mockingEnabled { return _mockInt(socket, message, flags) }
364 |   #endif
365 |   return recvmsg(socket, message, flags)
    |                          |- error: value of optional type 'UnsafeMutablePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafeMutablePointer<msghdr>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CInterop.MessageHeader>' (aka 'UnsafeMutablePointer<msghdr>')
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
366 | }
367 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:375:10: error: 'fcntl' is unavailable: Variadic function is unavailable
373 |   if mockingEnabled { return _mock(fd, cmd) }
374 | #endif
375 |   return fcntl(fd, cmd)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
376 | }
377 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:386:10: error: 'fcntl' is unavailable: Variadic function is unavailable
384 |   if mockingEnabled { return _mock(fd, cmd, value) }
385 | #endif
386 |   return fcntl(fd, cmd, value)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
387 | }
388 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:397:10: error: 'fcntl' is unavailable: Variadic function is unavailable
395 |   if mockingEnabled { return _mock(fd, cmd, pointer) }
396 | #endif
397 |   return fcntl(fd, cmd, pointer)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
398 | }
399 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:408:10: error: no exact matches in call to global function 'ioctl'
406 |   if mockingEnabled { return _mock(fd, request) }
407 | #endif
408 |   return ioctl(fd, request)
    |          `- error: no exact matches in call to global function 'ioctl'
409 | }
410 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:420:10: error: no exact matches in call to global function 'ioctl'
418 |   if mockingEnabled { return _mock(fd, request, value) }
419 | #endif
420 |   return ioctl(fd, request, value)
    |          `- error: no exact matches in call to global function 'ioctl'
421 | }
422 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:432:10: error: no exact matches in call to global function 'ioctl'
430 |   if mockingEnabled { return _mock(fd, request, pointer) }
431 | #endif
432 |   return ioctl(fd, request, pointer)
    |          `- error: no exact matches in call to global function 'ioctl'
433 | }
434 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
[146/290] Compiling Socket SocketType.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:106:9: error: cannot find 'Glibc' in scope
104 | #else
105 | internal var system_errno: CInt {
106 |   get { Glibc.errno }
    |         `- error: cannot find 'Glibc' in scope
107 |   set { Glibc.errno = newValue }
108 | }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:107:9: error: cannot find 'Glibc' in scope
105 | internal var system_errno: CInt {
106 |   get { Glibc.errno }
107 |   set { Glibc.errno = newValue }
    |         `- error: cannot find 'Glibc' in scope
108 | }
109 | #endif
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:180:51: error: value of optional type 'UnsafeMutablePointer<UInt32>?' must be unwrapped to a value of type 'UnsafeMutablePointer<UInt32>'
178 |   if mockingEnabled { return _mock(socket, level, option, value, length) }
179 |   #endif
180 |   return getsockopt(socket, level, option, value, length)
    |                                                   |- error: value of optional type 'UnsafeMutablePointer<UInt32>?' must be unwrapped to a value of type 'UnsafeMutablePointer<UInt32>'
    |                                                   |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
181 | }
182 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:202:26: error: value of optional type 'UnsafePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafePointer<sockaddr>'
200 |   if mockingEnabled { return _mock(socket, addr, len) }
201 |   #endif
202 |   return connect(socket, addr, len)
    |                          |- error: value of optional type 'UnsafePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafePointer<sockaddr>'
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
203 | }
204 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:229:49: error: value of optional type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>?' (aka 'Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>') must be unwrapped to a value of type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>')
227 |   }
228 |   #endif
229 |   return getaddrinfo(hostname, servname, hints, res)
    |                                                 |- error: value of optional type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>?' (aka 'Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>') must be unwrapped to a value of type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>')
    |                                                 |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                 `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
230 | }
231 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:22: error: value of optional type 'UnsafePointer<CInterop.SocketAddress>?' (aka 'Optional<UnsafePointer<sockaddr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.SocketAddress>' (aka 'UnsafePointer<sockaddr>')
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                      |- error: value of optional type 'UnsafePointer<CInterop.SocketAddress>?' (aka 'Optional<UnsafePointer<sockaddr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.SocketAddress>' (aka 'UnsafePointer<sockaddr>')
    |                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:39: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                                       `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:54: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                                                      `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:288:23: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
286 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
287 |   #endif
288 |   return send(socket, buffer, len, flags)
    |                       |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                       |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
289 | }
290 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:316:25: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
314 |   }
315 |   #endif
316 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |                         |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
317 | }
318 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:354:26: error: value of optional type 'UnsafePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafePointer<msghdr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.MessageHeader>' (aka 'UnsafePointer<msghdr>')
352 |   if mockingEnabled { return _mockInt(socket, message, flags) }
353 |   #endif
354 |   return sendmsg(socket, message, flags)
    |                          |- error: value of optional type 'UnsafePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafePointer<msghdr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.MessageHeader>' (aka 'UnsafePointer<msghdr>')
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
355 | }
356 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:365:26: error: value of optional type 'UnsafeMutablePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafeMutablePointer<msghdr>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CInterop.MessageHeader>' (aka 'UnsafeMutablePointer<msghdr>')
363 |   if mockingEnabled { return _mockInt(socket, message, flags) }
364 |   #endif
365 |   return recvmsg(socket, message, flags)
    |                          |- error: value of optional type 'UnsafeMutablePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafeMutablePointer<msghdr>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CInterop.MessageHeader>' (aka 'UnsafeMutablePointer<msghdr>')
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
366 | }
367 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:375:10: error: 'fcntl' is unavailable: Variadic function is unavailable
373 |   if mockingEnabled { return _mock(fd, cmd) }
374 | #endif
375 |   return fcntl(fd, cmd)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
376 | }
377 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:386:10: error: 'fcntl' is unavailable: Variadic function is unavailable
384 |   if mockingEnabled { return _mock(fd, cmd, value) }
385 | #endif
386 |   return fcntl(fd, cmd, value)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
387 | }
388 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:397:10: error: 'fcntl' is unavailable: Variadic function is unavailable
395 |   if mockingEnabled { return _mock(fd, cmd, pointer) }
396 | #endif
397 |   return fcntl(fd, cmd, pointer)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
398 | }
399 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:408:10: error: no exact matches in call to global function 'ioctl'
406 |   if mockingEnabled { return _mock(fd, request) }
407 | #endif
408 |   return ioctl(fd, request)
    |          `- error: no exact matches in call to global function 'ioctl'
409 | }
410 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:420:10: error: no exact matches in call to global function 'ioctl'
418 |   if mockingEnabled { return _mock(fd, request, value) }
419 | #endif
420 |   return ioctl(fd, request, value)
    |          `- error: no exact matches in call to global function 'ioctl'
421 | }
422 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:432:10: error: no exact matches in call to global function 'ioctl'
430 |   if mockingEnabled { return _mock(fd, request, pointer) }
431 | #endif
432 |   return ioctl(fd, request, pointer)
    |          `- error: no exact matches in call to global function 'ioctl'
433 | }
434 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
[147/290] Compiling Socket Syscalls.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:106:9: error: cannot find 'Glibc' in scope
104 | #else
105 | internal var system_errno: CInt {
106 |   get { Glibc.errno }
    |         `- error: cannot find 'Glibc' in scope
107 |   set { Glibc.errno = newValue }
108 | }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:107:9: error: cannot find 'Glibc' in scope
105 | internal var system_errno: CInt {
106 |   get { Glibc.errno }
107 |   set { Glibc.errno = newValue }
    |         `- error: cannot find 'Glibc' in scope
108 | }
109 | #endif
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:180:51: error: value of optional type 'UnsafeMutablePointer<UInt32>?' must be unwrapped to a value of type 'UnsafeMutablePointer<UInt32>'
178 |   if mockingEnabled { return _mock(socket, level, option, value, length) }
179 |   #endif
180 |   return getsockopt(socket, level, option, value, length)
    |                                                   |- error: value of optional type 'UnsafeMutablePointer<UInt32>?' must be unwrapped to a value of type 'UnsafeMutablePointer<UInt32>'
    |                                                   |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
181 | }
182 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:202:26: error: value of optional type 'UnsafePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafePointer<sockaddr>'
200 |   if mockingEnabled { return _mock(socket, addr, len) }
201 |   #endif
202 |   return connect(socket, addr, len)
    |                          |- error: value of optional type 'UnsafePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafePointer<sockaddr>'
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
203 | }
204 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:229:49: error: value of optional type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>?' (aka 'Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>') must be unwrapped to a value of type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>')
227 |   }
228 |   #endif
229 |   return getaddrinfo(hostname, servname, hints, res)
    |                                                 |- error: value of optional type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>?' (aka 'Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>') must be unwrapped to a value of type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>')
    |                                                 |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                 `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
230 | }
231 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:22: error: value of optional type 'UnsafePointer<CInterop.SocketAddress>?' (aka 'Optional<UnsafePointer<sockaddr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.SocketAddress>' (aka 'UnsafePointer<sockaddr>')
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                      |- error: value of optional type 'UnsafePointer<CInterop.SocketAddress>?' (aka 'Optional<UnsafePointer<sockaddr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.SocketAddress>' (aka 'UnsafePointer<sockaddr>')
    |                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:39: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                                       `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:54: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                                                      `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:288:23: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
286 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
287 |   #endif
288 |   return send(socket, buffer, len, flags)
    |                       |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                       |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
289 | }
290 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:316:25: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
314 |   }
315 |   #endif
316 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |                         |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
317 | }
318 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:354:26: error: value of optional type 'UnsafePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafePointer<msghdr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.MessageHeader>' (aka 'UnsafePointer<msghdr>')
352 |   if mockingEnabled { return _mockInt(socket, message, flags) }
353 |   #endif
354 |   return sendmsg(socket, message, flags)
    |                          |- error: value of optional type 'UnsafePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafePointer<msghdr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.MessageHeader>' (aka 'UnsafePointer<msghdr>')
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
355 | }
356 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:365:26: error: value of optional type 'UnsafeMutablePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafeMutablePointer<msghdr>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CInterop.MessageHeader>' (aka 'UnsafeMutablePointer<msghdr>')
363 |   if mockingEnabled { return _mockInt(socket, message, flags) }
364 |   #endif
365 |   return recvmsg(socket, message, flags)
    |                          |- error: value of optional type 'UnsafeMutablePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafeMutablePointer<msghdr>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CInterop.MessageHeader>' (aka 'UnsafeMutablePointer<msghdr>')
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
366 | }
367 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:375:10: error: 'fcntl' is unavailable: Variadic function is unavailable
373 |   if mockingEnabled { return _mock(fd, cmd) }
374 | #endif
375 |   return fcntl(fd, cmd)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
376 | }
377 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:386:10: error: 'fcntl' is unavailable: Variadic function is unavailable
384 |   if mockingEnabled { return _mock(fd, cmd, value) }
385 | #endif
386 |   return fcntl(fd, cmd, value)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
387 | }
388 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:397:10: error: 'fcntl' is unavailable: Variadic function is unavailable
395 |   if mockingEnabled { return _mock(fd, cmd, pointer) }
396 | #endif
397 |   return fcntl(fd, cmd, pointer)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
398 | }
399 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:408:10: error: no exact matches in call to global function 'ioctl'
406 |   if mockingEnabled { return _mock(fd, request) }
407 | #endif
408 |   return ioctl(fd, request)
    |          `- error: no exact matches in call to global function 'ioctl'
409 | }
410 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:420:10: error: no exact matches in call to global function 'ioctl'
418 |   if mockingEnabled { return _mock(fd, request, value) }
419 | #endif
420 |   return ioctl(fd, request, value)
    |          `- error: no exact matches in call to global function 'ioctl'
421 | }
422 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:432:10: error: no exact matches in call to global function 'ioctl'
430 |   if mockingEnabled { return _mock(fd, request, pointer) }
431 | #endif
432 |   return ioctl(fd, request, pointer)
    |          `- error: no exact matches in call to global function 'ioctl'
433 | }
434 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
[148/290] Compiling Socket Util.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:106:9: error: cannot find 'Glibc' in scope
104 | #else
105 | internal var system_errno: CInt {
106 |   get { Glibc.errno }
    |         `- error: cannot find 'Glibc' in scope
107 |   set { Glibc.errno = newValue }
108 | }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:107:9: error: cannot find 'Glibc' in scope
105 | internal var system_errno: CInt {
106 |   get { Glibc.errno }
107 |   set { Glibc.errno = newValue }
    |         `- error: cannot find 'Glibc' in scope
108 | }
109 | #endif
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:180:51: error: value of optional type 'UnsafeMutablePointer<UInt32>?' must be unwrapped to a value of type 'UnsafeMutablePointer<UInt32>'
178 |   if mockingEnabled { return _mock(socket, level, option, value, length) }
179 |   #endif
180 |   return getsockopt(socket, level, option, value, length)
    |                                                   |- error: value of optional type 'UnsafeMutablePointer<UInt32>?' must be unwrapped to a value of type 'UnsafeMutablePointer<UInt32>'
    |                                                   |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                   `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
181 | }
182 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:202:26: error: value of optional type 'UnsafePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafePointer<sockaddr>'
200 |   if mockingEnabled { return _mock(socket, addr, len) }
201 |   #endif
202 |   return connect(socket, addr, len)
    |                          |- error: value of optional type 'UnsafePointer<sockaddr>?' must be unwrapped to a value of type 'UnsafePointer<sockaddr>'
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
203 | }
204 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:229:49: error: value of optional type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>?' (aka 'Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>') must be unwrapped to a value of type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>')
227 |   }
228 |   #endif
229 |   return getaddrinfo(hostname, servname, hints, res)
    |                                                 |- error: value of optional type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>?' (aka 'Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>') must be unwrapped to a value of type 'UnsafeMutablePointer<UnsafeMutablePointer<CInterop.AddressInfo>?>' (aka 'UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>')
    |                                                 |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                 `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
230 | }
231 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:22: error: value of optional type 'UnsafePointer<CInterop.SocketAddress>?' (aka 'Optional<UnsafePointer<sockaddr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.SocketAddress>' (aka 'UnsafePointer<sockaddr>')
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                      |- error: value of optional type 'UnsafePointer<CInterop.SocketAddress>?' (aka 'Optional<UnsafePointer<sockaddr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.SocketAddress>' (aka 'UnsafePointer<sockaddr>')
    |                      |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:39: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                                       `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:246:54: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
244 |   }
245 |   #endif
246 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |                                                      `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
247 | }
248 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:288:23: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
286 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
287 |   #endif
288 |   return send(socket, buffer, len, flags)
    |                       |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                       |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                       `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
289 | }
290 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:316:25: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
314 |   }
315 |   #endif
316 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |                         |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
317 | }
318 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:354:26: error: value of optional type 'UnsafePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafePointer<msghdr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.MessageHeader>' (aka 'UnsafePointer<msghdr>')
352 |   if mockingEnabled { return _mockInt(socket, message, flags) }
353 |   #endif
354 |   return sendmsg(socket, message, flags)
    |                          |- error: value of optional type 'UnsafePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafePointer<msghdr>>') must be unwrapped to a value of type 'UnsafePointer<CInterop.MessageHeader>' (aka 'UnsafePointer<msghdr>')
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
355 | }
356 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:365:26: error: value of optional type 'UnsafeMutablePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafeMutablePointer<msghdr>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CInterop.MessageHeader>' (aka 'UnsafeMutablePointer<msghdr>')
363 |   if mockingEnabled { return _mockInt(socket, message, flags) }
364 |   #endif
365 |   return recvmsg(socket, message, flags)
    |                          |- error: value of optional type 'UnsafeMutablePointer<CInterop.MessageHeader>?' (aka 'Optional<UnsafeMutablePointer<msghdr>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CInterop.MessageHeader>' (aka 'UnsafeMutablePointer<msghdr>')
    |                          |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                          `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
366 | }
367 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:375:10: error: 'fcntl' is unavailable: Variadic function is unavailable
373 |   if mockingEnabled { return _mock(fd, cmd) }
374 | #endif
375 |   return fcntl(fd, cmd)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
376 | }
377 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:386:10: error: 'fcntl' is unavailable: Variadic function is unavailable
384 |   if mockingEnabled { return _mock(fd, cmd, value) }
385 | #endif
386 |   return fcntl(fd, cmd, value)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
387 | }
388 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:397:10: error: 'fcntl' is unavailable: Variadic function is unavailable
395 |   if mockingEnabled { return _mock(fd, cmd, pointer) }
396 | #endif
397 |   return fcntl(fd, cmd, pointer)
    |          `- error: 'fcntl' is unavailable: Variadic function is unavailable
398 | }
399 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/fcntl.h:46:5: note: 'fcntl' has been explicitly marked unavailable here
44 |  * The return value depends on the operation.
45 |  */
46 | int fcntl(int __fd, int __op, ...);
   |     `- note: 'fcntl' has been explicitly marked unavailable here
47 |
48 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:408:10: error: no exact matches in call to global function 'ioctl'
406 |   if mockingEnabled { return _mock(fd, request) }
407 | #endif
408 |   return ioctl(fd, request)
    |          `- error: no exact matches in call to global function 'ioctl'
409 | }
410 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:420:10: error: no exact matches in call to global function 'ioctl'
418 |   if mockingEnabled { return _mock(fd, request, value) }
419 | #endif
420 |   return ioctl(fd, request, value)
    |          `- error: no exact matches in call to global function 'ioctl'
421 | }
422 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:432:10: error: no exact matches in call to global function 'ioctl'
430 |   if mockingEnabled { return _mock(fd, request, pointer) }
431 | #endif
432 |   return ioctl(fd, request, pointer)
    |          `- error: no exact matches in call to global function 'ioctl'
433 | }
434 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: candidate expects value of type 'Int32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: candidate expects value of type 'UInt32' for parameter #2 (got 'CUnsignedLong' (aka 'UInt'))
61 | #endif
62 |
[149/290] Compiling Socket Socket.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
 49 | #else
 50 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 51 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 52 |     let shellParts = String(cString: shellVar).split(separator: "/")
 53 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[150/290] Compiling Socket SocketContinuation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
 49 | #else
 50 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 51 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 52 |     let shellParts = String(cString: shellVar).split(separator: "/")
 53 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[151/290] Compiling Socket SocketManager.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
 49 | #else
 50 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 51 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 52 |     let shellParts = String(cString: shellVar).split(separator: "/")
 53 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[152/290] Compiling Socket AsyncSocketManager.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
 49 | #else
 50 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 51 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 52 |     let shellParts = String(cString: shellVar).split(separator: "/")
 53 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[153/290] Compiling Socket CFSocketManager.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
 49 | #else
 50 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 51 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 52 |     let shellParts = String(cString: shellVar).split(separator: "/")
 53 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 66 |   }
 67 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:211:7: error: cannot find '_exit' in scope
209 |   ) -> Never {
210 |     guard let error = error else {
211 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
212 |     }
213 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:223:5: error: cannot find '_exit' in scope
221 |       }
222 |     }
223 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
224 |   }
225 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 66 |   }
 67 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:211:7: error: cannot find '_exit' in scope
209 |   ) -> Never {
210 |     guard let error = error else {
211 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
212 |     }
213 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:223:5: error: cannot find '_exit' in scope
221 |       }
222 |     }
223 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
224 |   }
225 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 66 |   }
 67 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:211:7: error: cannot find '_exit' in scope
209 |   ) -> Never {
210 |     guard let error = error else {
211 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
212 |     }
213 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:223:5: error: cannot find '_exit' in scope
221 |       }
222 |     }
223 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
224 |   }
225 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 66 |   }
 67 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:211:7: error: cannot find '_exit' in scope
209 |   ) -> Never {
210 |     guard let error = error else {
211 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
212 |     }
213 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:223:5: error: cannot find '_exit' in scope
221 |       }
222 |     }
223 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
224 |   }
225 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 66 |   }
 67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
 63 | struct StandardError: TextOutputStream {
 64 |   mutating func write(_ string: String) {
 65 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 66 |   }
 67 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:211:7: error: cannot find '_exit' in scope
209 |   ) -> Never {
210 |     guard let error = error else {
211 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
212 |     }
213 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:223:5: error: cannot find '_exit' in scope
221 |       }
222 |     }
223 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
224 |   }
225 |
[159/290] Compiling Socket SocketHelpers.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:384:11: error: cannot find 'winsize' in scope
382 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
383 | #else
384 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
385 | #if os(OpenBSD)
386 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:13: error: cannot find 'ioctl' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:19: error: cannot find 'STDOUT_FILENO' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:34: error: cannot find 'TIOCGWINSZ' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
[160/290] Compiling Socket SocketOperations.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:384:11: error: cannot find 'winsize' in scope
382 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
383 | #else
384 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
385 | #if os(OpenBSD)
386 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:13: error: cannot find 'ioctl' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:19: error: cannot find 'STDOUT_FILENO' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:34: error: cannot find 'TIOCGWINSZ' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
[161/290] Compiling Socket SocketOption.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:384:11: error: cannot find 'winsize' in scope
382 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
383 | #else
384 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
385 | #if os(OpenBSD)
386 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:13: error: cannot find 'ioctl' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:19: error: cannot find 'STDOUT_FILENO' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:34: error: cannot find 'TIOCGWINSZ' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:384:11: error: cannot find 'winsize' in scope
382 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
383 | #else
384 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
385 | #if os(OpenBSD)
386 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:13: error: cannot find 'ioctl' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:19: error: cannot find 'STDOUT_FILENO' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:34: error: cannot find 'TIOCGWINSZ' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:384:11: error: cannot find 'winsize' in scope
382 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
383 | #else
384 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
385 | #if os(OpenBSD)
386 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:13: error: cannot find 'ioctl' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:19: error: cannot find 'STDOUT_FILENO' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:34: error: cannot find 'TIOCGWINSZ' in scope
388 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
391 | #endif
392 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
[164/290] Compiling Socket SocketDescriptor.swift
[165/290] Compiling Socket SocketFlags.swift
[169/290] Compiling Socket IPv4SocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 |     /// The C `sockaddr_in` type
69 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
70 |
71 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:49:26: error: missing argument label 'path:' in call
47 |         var socketAddress = CInterop.UnixSocketAddress()
48 |         try socketAddress.withUnsafeMutablePointer(body)
49 |         return self.init(socketAddress)
   |                          `- error: missing argument label 'path:' in call
50 |     }
51 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:56:23: error: missing argument label 'path:' in call
54 |     ) -> Self {
55 |         pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) { pointer in
56 |             Self.init(pointer.pointee)
   |                       `- error: missing argument label 'path:' in call
57 |         }
58 |     }
[170/290] Compiling Socket IPv6SocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 |     /// The C `sockaddr_in` type
69 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
70 |
71 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:49:26: error: missing argument label 'path:' in call
47 |         var socketAddress = CInterop.UnixSocketAddress()
48 |         try socketAddress.withUnsafeMutablePointer(body)
49 |         return self.init(socketAddress)
   |                          `- error: missing argument label 'path:' in call
50 |     }
51 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:56:23: error: missing argument label 'path:' in call
54 |     ) -> Self {
55 |         pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) { pointer in
56 |             Self.init(pointer.pointee)
   |                       `- error: missing argument label 'path:' in call
57 |         }
58 |     }
[171/290] Compiling Socket LinkLayerSocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 |     /// The C `sockaddr_in` type
69 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
70 |
71 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:49:26: error: missing argument label 'path:' in call
47 |         var socketAddress = CInterop.UnixSocketAddress()
48 |         try socketAddress.withUnsafeMutablePointer(body)
49 |         return self.init(socketAddress)
   |                          `- error: missing argument label 'path:' in call
50 |     }
51 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:56:23: error: missing argument label 'path:' in call
54 |     ) -> Self {
55 |         pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) { pointer in
56 |             Self.init(pointer.pointee)
   |                       `- error: missing argument label 'path:' in call
57 |         }
58 |     }
[172/290] Compiling Socket UnixSocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 |     /// The C `sockaddr_in` type
69 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
70 |
71 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:49:26: error: missing argument label 'path:' in call
47 |         var socketAddress = CInterop.UnixSocketAddress()
48 |         try socketAddress.withUnsafeMutablePointer(body)
49 |         return self.init(socketAddress)
   |                          `- error: missing argument label 'path:' in call
50 |     }
51 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:56:23: error: missing argument label 'path:' in call
54 |     ) -> Self {
55 |         pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) { pointer in
56 |             Self.init(pointer.pointee)
   |                       `- error: missing argument label 'path:' in call
57 |         }
58 |     }
[173/290] Compiling Socket SocketAddressFamily.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 |     /// The C `sockaddr_in` type
69 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
70 |
71 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:49:26: error: missing argument label 'path:' in call
47 |         var socketAddress = CInterop.UnixSocketAddress()
48 |         try socketAddress.withUnsafeMutablePointer(body)
49 |         return self.init(socketAddress)
   |                          `- error: missing argument label 'path:' in call
50 |     }
51 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:56:23: error: missing argument label 'path:' in call
54 |     ) -> Self {
55 |         pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) { pointer in
56 |             Self.init(pointer.pointee)
   |                       `- error: missing argument label 'path:' in call
57 |         }
58 |     }
[174/290] Compiling ArgumentParser CollectionExtensions.swift
[175/290] Compiling ArgumentParser SequenceExtensions.swift
[176/290] Compiling ArgumentParser StringExtensions.swift
[178/290] Compiling Socket CInternetAddress.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
 66 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 67 |
 68 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
 66 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 67 |
 68 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
 66 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 67 |
 68 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
 66 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 67 |
 68 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
 61 |
 62 |   /// An exit code that indicates successful completion of a command.
 63 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
 64 |
 65 |   /// An exit code that indicates that the command failed.
 66 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 67 |
 68 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
 72 |   public static let validationFailure = ExitCode(EXIT_FAILURE)
 73 | #else
 74 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 75 | #endif
 76 |
[199/290] Compiling SwiftSyntax SyntaxNodeFactory.swift
[200/290] Compiling SwiftSyntax SyntaxNodeStructure.swift
[201/290] Compiling SwiftSyntax SyntaxProtocol.swift
[202/290] Compiling SwiftSyntax SyntaxText.swift
[203/290] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[204/290] Compiling SwiftSyntax TokenDiagnostic.swift
[205/290] Compiling SwiftSyntax TokenSequence.swift
[206/290] Compiling SwiftSyntax TokenSyntax.swift
[207/290] Compiling SwiftSyntax Trivia.swift
BUILD FAILURE 6.2 android