The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BluetoothLinux, reference 5.0.5 (ddd549), with Swift 6.2 for Android on 20 Jun 2025 11:17:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/pureswift/bluetoothlinux.git
Reference: 5.0.5
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/pureswift/bluetoothlinux
 * tag               5.0.5      -> FETCH_HEAD
HEAD is now at ddd5493 Updated dependencies
Cloned https://github.com/pureswift/bluetoothlinux.git
Revision (git rev-parse @):
ddd5493bd5382ca0132b8ca121dd35c7554ab7d0
SUCCESS checkout https://github.com/pureswift/bluetoothlinux.git at 5.0.5
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/pureswift/bluetoothlinux.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/Socket.git
[1/1083] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (0.29s)
Fetching https://github.com/PureSwift/Bluetooth.git
Fetching https://github.com/apple/swift-system
[1/23626] Fetching bluetooth
[2600/28062] Fetching bluetooth, swift-system
Fetched https://github.com/apple/swift-system from cache (0.47s)
[13231/23626] Fetching bluetooth
Fetched https://github.com/PureSwift/Bluetooth.git from cache (2.78s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (3.30s)
Computing version for https://github.com/PureSwift/Bluetooth.git
Computed https://github.com/PureSwift/Bluetooth.git at 6.4.3 (0.66s)
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/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at main (fa5f3c5)
Creating working copy for https://github.com/PureSwift/Bluetooth.git
Working copy of https://github.com/PureSwift/Bluetooth.git resolved at 6.4.3
warning: 'bluetooth': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Resources/CompanyIdentifiers.txt
Building for debugging...
[0/11] Write sources
[6/11] Compiling CBluetoothLinuxTest dummy.c
[7/11] Compiling CSystem shims.c
[8/11] Compiling CSocket shims.c
[9/11] Compiling CBluetoothLinux dummy.c
[10/11] Write swift-version-8C5A4AE7A8CE2BA.txt
[12/68] Compiling SystemPackage MachPort.swift
[13/68] Compiling SystemPackage PlatformString.swift
[14/68] Compiling SystemPackage SystemString.swift
[15/71] Emitting module SystemPackage
[16/71] Compiling SystemPackage Errno.swift
[17/71] Compiling SystemPackage ErrnoWindows.swift
[18/71] Compiling SystemPackage FileDescriptor.swift
[19/71] Compiling SystemPackage FileHelpers.swift
[20/71] Compiling SystemPackage Util+StringArray.swift
[21/71] Compiling SystemPackage Util.swift
[22/71] Compiling SystemPackage UtilConsumers.swift
[23/71] Compiling SystemPackage Mocking.swift
[24/71] Compiling SystemPackage RawBuffer.swift
[25/71] Compiling SystemPackage Syscalls.swift
[26/71] Compiling SystemPackage WindowsSyscallAdapters.swift
[27/71] Compiling SystemPackage FileOperations.swift
[28/71] Compiling SystemPackage FilePath.swift
[29/71] Compiling SystemPackage FilePathComponentView.swift
[30/71] Compiling SystemPackage FilePathComponents.swift
[31/71] Compiling SystemPackage FilePathTempPosix.swift
[32/71] Compiling SystemPackage FilePathTempWindows.swift
[33/71] Compiling SystemPackage FilePathWindows.swift
[34/71] Compiling SystemPackage FilePermissions.swift
[35/71] Compiling SystemPackage FilePathParsing.swift
[36/71] Compiling SystemPackage FilePathString.swift
[37/71] Compiling SystemPackage FilePathSyntax.swift
[38/71] Compiling SystemPackage FilePathTemp.swift
[39/71] Compiling SystemPackage Backcompat.swift
[40/71] Compiling SystemPackage CInterop.swift
[41/71] Compiling SystemPackage Constants.swift
[42/71] Compiling SystemPackage Exports.swift
[44/111] Compiling Socket SocketManager.swift
[45/111] Compiling Socket AsyncSocketManager.swift
[46/111] Compiling Socket CFSocketManager.swift
[47/111] Compiling Socket CInternetAddress.swift
[48/111] Compiling Socket CInterop.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:221:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
219 | // MARK: - Sequence
220 |
221 | extension LowEnergyAdvertisingData: Sequence {
    | `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
222 |
223 |     public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
  |                `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
  |                                    `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
    | `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
231 |
232 |     public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
    | |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
    | `- note: add stubs for conformance
231 |
232 |     public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
  |                `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
  |                `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:331:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
329 | // MARK: - RandomAccessCollection
330 |
331 | extension LowEnergyAdvertisingData: RandomAccessCollection {
    | |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
    | `- note: add stubs for conformance
332 |
333 |     public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
  |                `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
 70 |         self.init()
 71 |         self.length = UInt8(slice.count)
 72 |         slice.enumerated().forEach {
    |                                    `- error: cannot infer type of closure parameter '$0' without a type annotation
 73 |             self[$0.offset] = $0.element
 74 |         }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:184:16: error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
182 |
183 |     public var description: String {
184 |         return toHexadecimal()
    |                `- error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
185 |     }
186 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Extensions/Hexadecimal.swift:21:10: note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
19 | }
20 |
21 | internal extension Collection where Element: FixedWidthInteger {
   |          `- note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
22 |
23 |     func toHexadecimal() -> String {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:214:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
212 |     var data: Data {
213 |         var data = Data(capacity: count)
214 |         data += self
    |              `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
215 |         return data
216 |     }
[49/111] Compiling Socket CSocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:221:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
219 | // MARK: - Sequence
220 |
221 | extension LowEnergyAdvertisingData: Sequence {
    | `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
222 |
223 |     public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
  |                `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
  |                                    `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
    | `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
231 |
232 |     public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
    | |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
    | `- note: add stubs for conformance
231 |
232 |     public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
  |                `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
  |                `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:331:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
329 | // MARK: - RandomAccessCollection
330 |
331 | extension LowEnergyAdvertisingData: RandomAccessCollection {
    | |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
    | `- note: add stubs for conformance
332 |
333 |     public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
  |                `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
 70 |         self.init()
 71 |         self.length = UInt8(slice.count)
 72 |         slice.enumerated().forEach {
    |                                    `- error: cannot infer type of closure parameter '$0' without a type annotation
 73 |             self[$0.offset] = $0.element
 74 |         }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:184:16: error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
182 |
183 |     public var description: String {
184 |         return toHexadecimal()
    |                `- error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
185 |     }
186 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Extensions/Hexadecimal.swift:21:10: note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
19 | }
20 |
21 | internal extension Collection where Element: FixedWidthInteger {
   |          `- note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
22 |
23 |     func toHexadecimal() -> String {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:214:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
212 |     var data: Data {
213 |         var data = Data(capacity: count)
214 |         data += self
    |              `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
215 |         return data
216 |     }
[50/111] Compiling Socket Constants.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:221:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
219 | // MARK: - Sequence
220 |
221 | extension LowEnergyAdvertisingData: Sequence {
    | `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
222 |
223 |     public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
  |                `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
  |                                    `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
    | `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
231 |
232 |     public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
    | |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
    | `- note: add stubs for conformance
231 |
232 |     public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
  |                `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
  |                `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:331:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
329 | // MARK: - RandomAccessCollection
330 |
331 | extension LowEnergyAdvertisingData: RandomAccessCollection {
    | |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
    | `- note: add stubs for conformance
332 |
333 |     public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
  |                `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
 70 |         self.init()
 71 |         self.length = UInt8(slice.count)
 72 |         slice.enumerated().forEach {
    |                                    `- error: cannot infer type of closure parameter '$0' without a type annotation
 73 |             self[$0.offset] = $0.element
 74 |         }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:184:16: error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
182 |
183 |     public var description: String {
184 |         return toHexadecimal()
    |                `- error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
185 |     }
186 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Extensions/Hexadecimal.swift:21:10: note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
19 | }
20 |
21 | internal extension Collection where Element: FixedWidthInteger {
   |          `- note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
22 |
23 |     func toHexadecimal() -> String {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:214:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
212 |     var data: Data {
213 |         var data = Data(capacity: count)
214 |         data += self
    |              `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
215 |         return data
216 |     }
[51/111] Compiling Socket Errno.swift
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:221:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
219 | // MARK: - Sequence
220 |
221 | extension LowEnergyAdvertisingData: Sequence {
    | `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Sequence'
222 |
223 |     public func makeIterator() -> IndexingIterator<LowEnergyAdvertisingData> {
Swift.Sequence.Iterator:2:16: note: unable to infer associated type 'Iterator' for protocol 'Sequence'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
  |                `- note: unable to infer associated type 'Iterator' for protocol 'Sequence'
3 |
Swift.Sequence.makeIterator:2:36: note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
1 | protocol Sequence {
2 | @inlinable public __consuming func makeIterator() -> Self}
  |                                    `- note: candidate would match and infer 'Iterator' = 'LowEnergyAdvertisingData' if 'LowEnergyAdvertisingData' conformed to 'IteratorProtocol'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
    | `- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'MutableCollection'
231 |
232 |     public var count: Int {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:230:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
228 | // MARK: - Collection
229 |
230 | extension LowEnergyAdvertisingData: MutableCollection {
    | |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'Collection'
    | `- note: add stubs for conformance
231 |
232 |     public var count: Int {
Swift.MutableCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol MutableCollection {
2 | associatedtype Element}
  |                `- note: protocol requires nested type 'Element'
3 |
Swift.Collection.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Collection {
2 | associatedtype Iterator = IndexingIterator<Self>}
  |                `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:331:1: error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
329 | // MARK: - RandomAccessCollection
330 |
331 | extension LowEnergyAdvertisingData: RandomAccessCollection {
    | |- error: type 'LowEnergyAdvertisingData' does not conform to protocol 'RandomAccessCollection'
    | `- note: add stubs for conformance
332 |
333 |     public subscript(bounds: Range<Int>) -> Slice<LowEnergyAdvertisingData> {
Swift.RandomAccessCollection.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol RandomAccessCollection {
2 | associatedtype Element}
  |                `- note: protocol requires nested type 'Element'
3 |
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:72:36: error: cannot infer type of closure parameter '$0' without a type annotation
 70 |         self.init()
 71 |         self.length = UInt8(slice.count)
 72 |         slice.enumerated().forEach {
    |                                    `- error: cannot infer type of closure parameter '$0' without a type annotation
 73 |             self[$0.offset] = $0.element
 74 |         }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:184:16: error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
182 |
183 |     public var description: String {
184 |         return toHexadecimal()
    |                `- error: referencing instance method 'toHexadecimal()' on 'Collection' requires that 'LowEnergyAdvertisingData.Element' conform to 'FixedWidthInteger'
185 |     }
186 | }
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/Extensions/Hexadecimal.swift:21:10: note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
19 | }
20 |
21 | internal extension Collection where Element: FixedWidthInteger {
   |          `- note: where 'Self.Element' = 'LowEnergyAdvertisingData.Element'
22 |
23 |     func toHexadecimal() -> String {
/host/spi-builder-workspace/.build/checkouts/Bluetooth/Sources/Bluetooth/LowEnergyAdvertisingData.swift:214:14: error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
212 |     var data: Data {
213 |         var data = Data(capacity: count)
214 |         data += self
    |              `- error: binary operator '+=' cannot be applied to operands of type 'Data' and 'LowEnergyAdvertisingData'
215 |         return data
216 |     }
[52/115] Compiling Socket FileFlags.swift
[53/115] Compiling Socket IOControl.swift
[54/115] Compiling Socket IODirection.swift
[55/115] Compiling Socket IOOperations.swift
[56/115] Compiling Socket IOType.swift
[57/115] Compiling Socket InternetProtocol.swift
[58/115] Compiling Socket MessageFlags.swift
[59/115] Compiling Socket NetworkInterface.swift
[60/115] Compiling Socket IPv6SocketAddress.swift
[61/115] Compiling Socket LinkLayerSocketAddress.swift
[62/115] Compiling Socket UnixSocketAddress.swift
[63/115] Compiling Socket SocketAddressFamily.swift
[64/115] Compiling Bluetooth Unit.swift
[65/115] Compiling Bluetooth UnitIdentifier.swift
[66/115] Compiling Bluetooth UnitIdentifierExtension.swift
[67/115] Compiling Bluetooth iBeacon.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 | }
/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 | }
[70/115] 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 | }
[71/115] 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 | }
[72/115] 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 | }
[73/120] Compiling Socket SocketOptionID.swift
[74/120] Compiling Socket SocketOptionLevel.swift
[75/120] Compiling Socket SocketProtocol.swift
[76/120] Compiling Socket IPv4Protocol.swift
[77/120] Compiling Socket IPv6Protocol.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[78/120] 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
/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
/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
/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
/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
[89/120] 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
[90/120] 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
[91/120] Compiling Socket LinkLayerProtocol.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 |
[92/120] 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 |
[93/120] 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 |
[94/120] 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 |
[95/120] 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 |
[100/120] Compiling Socket SocketOption.swift
[101/120] 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 |     }
/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 |     }
/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 |     }
/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 |     }
/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 |     }
[106/120] Compiling Socket Socket.swift
[107/120] Compiling Socket SocketContinuation.swift
BUILD FAILURE 6.2 android