Build Information
Failed to build hcitool, reference master (52fa8a
), with Swift 6.1 for Android on 27 May 2025 08:42:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
[159/292] Emitting module BluetoothMetadata
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[160/292] Compiling BluetoothMetadata BluetoothMetadata.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[162/293] Compiling Socket SocketOptionID.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[163/293] Compiling Socket SocketOptionLevel.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[164/293] Compiling Socket SocketProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[165/293] Compiling Socket IPv4Protocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[166/293] Compiling Socket IPv6Protocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 | }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 | }
[169/298] Compiling Socket NetworkOrder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 | }
[170/298] Compiling Socket Poll.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 | }
[171/298] Compiling Socket SocketAddress.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 | }
[172/298] Compiling Socket SocketHelpers.swift
[173/298] Compiling Socket SocketOperations.swift
[174/298] Compiling Socket SocketOption.swift
[180/298] Compiling Socket IPv4SocketAddress.swift
[181/298] Compiling Socket IPv6SocketAddress.swift
[182/298] Compiling Socket LinkLayerSocketAddress.swift
[183/298] Compiling Socket UnixSocketAddress.swift
[184/298] Compiling Socket SocketAddressFamily.swift
[185/298] Compiling Socket SocketDescriptor.swift
[186/298] Compiling Socket SocketFlags.swift
[186/298] Wrapping AST for BluetoothMetadata for debugging
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/6] Copying CharacteristicUUID.json
[1/12] Copying DeclarationUUID.json
[1/12] Copying ServiceUUID.json
[1/12] Copying DescriptorUUID.json
[1/12] Copying UnitIdentifier.json
[1/12] Copying MemberUUID.json
[6/12] Copying CompanyIdentifier.json
[7/12] Write swift-version-24593BA9C3E375BF.txt
[9/17] Compiling BluetoothMetadata CompanyIdentifier.swift
[10/17] Compiling BluetoothMetadata BluetoothMetadata.swift
[11/17] Compiling BluetoothMetadata resource_bundle_accessor.swift
[12/17] Emitting module BluetoothMetadata
[13/17] Compiling BluetoothMetadata BluetoothUUID.swift
[14/18] Wrapping AST for BluetoothMetadata for debugging
[16/25] Compiling GenerateBluetooth Hexadecimal.swift
[17/25] Emitting module GenerateBluetooth
[18/25] Compiling GenerateBluetooth CompanyIdentifier.swift
[19/25] Compiling GenerateBluetooth BluetoothUUID.swift
[20/25] Compiling GenerateBluetooth Generate.swift
[21/25] Compiling GenerateBluetooth UnitIdentifier.swift
[22/25] Compiling GenerateBluetooth String.swift
[23/26] Wrapping AST for GenerateBluetooth for debugging
[24/26] Write Objects.LinkFileList
[25/26] Linking GenerateBluetooth-tool
[0/1] Planning build
[1/1] Compiling plugin GenerateManualPlugin
[2/2] Compiling plugin GenerateBluetoothDefinitions
Building for debugging...
[2/45] Copying CharacteristicUUID.json
[3/51] Copying DeclarationUUID.json
[3/51] Copying DescriptorUUID.json
[5/51] Copying UnitIdentifier.json
[5/51] Copying ServiceUUID.json
[5/51] Copying MemberUUID.json
[8/51] Copying CompanyIdentifier.json
[9/51] Write swift-version-24593BA9C3E375BF.txt
[11/64] Emitting module SwiftSyntax600
[12/88] Compiling SwiftSyntax600 Empty.swift
[13/93] Emitting module SwiftSyntax510
[14/94] Emitting module SwiftSyntax509
[15/94] Compiling SwiftSyntax509 Empty.swift
[16/95] Emitting module BluetoothMetadata
[18/96] Compiling SwiftSyntax510 Empty.swift
[21/95] Emitting module ArgumentParserToolInfo
[21/95] Wrapping AST for BluetoothMetadata for debugging
[24/95] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/96] Compiling BluetoothMetadata resource_bundle_accessor.swift
[27/95] Emitting module GenerateBluetooth
[28/160] Compiling BluetoothMetadata CompanyIdentifier.swift
[29/160] Emitting module SystemPackage
[30/160] Compiling SwiftSyntax BumpPtrAllocator.swift
[31/160] Compiling SwiftSyntax CommonAncestor.swift
[32/160] Compiling SwiftSyntax Convenience.swift
[33/160] Compiling SwiftSyntax CustomTraits.swift
[34/199] Wrapping AST for GenerateBluetooth for debugging
[35/199] Write Objects.LinkFileList
[37/199] Compiling BluetoothMetadata BluetoothMetadata.swift
[38/199] Emitting module BluetoothMetadata
[39/199] Compiling BluetoothMetadata BluetoothUUID.swift
[40/200] Compiling ArgumentParser OptionGroup.swift
[41/200] Compiling ArgumentParser AsyncParsableCommand.swift
[42/200] Compiling ArgumentParser CommandConfiguration.swift
[43/200] Compiling ArgumentParser EnumerableFlag.swift
[44/200] Compiling ArgumentParser ParserError.swift
[45/200] Compiling ArgumentParser SplitArguments.swift
[46/200] Compiling ArgumentParser ArgumentDecoder.swift
[47/200] Compiling ArgumentParser ArgumentDefinition.swift
[49/200] Compiling ArgumentParser ExpressibleByArgument.swift
[50/200] Compiling ArgumentParser ParsableArguments.swift
[51/200] Compiling ArgumentParser ParsableArgumentsValidation.swift
[52/200] Compiling ArgumentParser ParsableCommand.swift
[53/200] Compiling ArgumentParser Name.swift
[54/200] Compiling ArgumentParser Parsed.swift
[55/200] Compiling ArgumentParser ParsedValues.swift
[56/200] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
64 |
65 | /// An exit code that indicates that the command failed.
66 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
67 |
68 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
72 | public static let validationFailure = ExitCode(EXIT_FAILURE)
73 | #else
74 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
75 | #endif
76 |
[57/200] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
64 |
65 | /// An exit code that indicates that the command failed.
66 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
67 |
68 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
72 | public static let validationFailure = ExitCode(EXIT_FAILURE)
73 | #else
74 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
75 | #endif
76 |
[58/200] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
64 |
65 | /// An exit code that indicates that the command failed.
66 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
67 |
68 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
72 | public static let validationFailure = ExitCode(EXIT_FAILURE)
73 | #else
74 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
75 | #endif
76 |
[59/200] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
64 |
65 | /// An exit code that indicates that the command failed.
66 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
67 |
68 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
72 | public static let validationFailure = ExitCode(EXIT_FAILURE)
73 | #else
74 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
75 | #endif
76 |
[60/200] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
64 |
65 | /// An exit code that indicates that the command failed.
66 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
67 |
68 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
72 | public static let validationFailure = ExitCode(EXIT_FAILURE)
73 | #else
74 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
75 | #endif
76 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/204] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:66:40: error: cannot find 'EXIT_FAILURE' in scope
64 |
65 | /// An exit code that indicates that the command failed.
66 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
67 |
68 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
72 | public static let validationFailure = ExitCode(EXIT_FAILURE)
73 | #else
74 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
75 | #endif
76 |
[61/204] Wrapping AST for BluetoothMetadata for debugging
[63/204] Compiling ArgumentParser ZshCompletionsGenerator.swift
[64/204] Compiling ArgumentParser Argument.swift
[65/204] Compiling ArgumentParser NameSpecification.swift
[66/204] Compiling ArgumentParser Option.swift
[67/204] Compiling ArgumentParser ArgumentSet.swift
[68/204] Compiling ArgumentParser CommandParser.swift
[69/204] Compiling ArgumentParser InputOrigin.swift
[69/204] Linking GenerateBluetooth-tool
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/UnitIdentifiers.swift
[70/204] Generate Bluetooth Unit Identifier Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DeclarationUUID.swift
[71/204] Generate Bluetooth Declaration UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DescriptorUUID.swift
[72/204] Generate Bluetooth Descriptor UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/ServiceUUID.swift
[73/204] Generate Bluetooth Service UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/MemberUUID.swift
[74/204] Generate Bluetooth Member UUID Definitions
[80/204] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
49 | #else
50 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
51 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
52 | let shellParts = String(cString: shellVar).split(separator: "/")
53 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[81/204] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
49 | #else
50 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
51 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
52 | let shellParts = String(cString: shellVar).split(separator: "/")
53 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[82/204] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
49 | #else
50 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
51 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
52 | let shellParts = String(cString: shellVar).split(separator: "/")
53 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
49 | #else
50 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
51 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
52 | let shellParts = String(cString: shellVar).split(separator: "/")
53 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:51:26: error: cannot find 'getenv' in scope
49 | #else
50 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
51 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
52 | let shellParts = String(cString: shellVar).split(separator: "/")
53 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CharacteristicUUID.swift
[84/205] Generate Bluetooth Characteristic UUID Definitions
[87/205] Compiling ArgumentParser DumpHelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:384:11: error: cannot find 'winsize' in scope
382 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
383 | #else
384 | var w = winsize()
| `- error: cannot find 'winsize' in scope
385 | #if os(OpenBSD)
386 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:13: error: cannot find 'ioctl' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:19: error: cannot find 'STDOUT_FILENO' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:34: error: cannot find 'TIOCGWINSZ' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
72 | public static let validationFailure = ExitCode(EXIT_FAILURE)
73 | #else
74 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
75 | #endif
76 |
[88/205] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:384:11: error: cannot find 'winsize' in scope
382 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
383 | #else
384 | var w = winsize()
| `- error: cannot find 'winsize' in scope
385 | #if os(OpenBSD)
386 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:13: error: cannot find 'ioctl' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:19: error: cannot find 'STDOUT_FILENO' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:34: error: cannot find 'TIOCGWINSZ' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
72 | public static let validationFailure = ExitCode(EXIT_FAILURE)
73 | #else
74 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
75 | #endif
76 |
[89/205] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:384:11: error: cannot find 'winsize' in scope
382 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
383 | #else
384 | var w = winsize()
| `- error: cannot find 'winsize' in scope
385 | #if os(OpenBSD)
386 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:13: error: cannot find 'ioctl' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:19: error: cannot find 'STDOUT_FILENO' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:34: error: cannot find 'TIOCGWINSZ' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
72 | public static let validationFailure = ExitCode(EXIT_FAILURE)
73 | #else
74 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
75 | #endif
76 |
[90/205] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:384:11: error: cannot find 'winsize' in scope
382 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
383 | #else
384 | var w = winsize()
| `- error: cannot find 'winsize' in scope
385 | #if os(OpenBSD)
386 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:13: error: cannot find 'ioctl' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:19: error: cannot find 'STDOUT_FILENO' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:34: error: cannot find 'TIOCGWINSZ' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
72 | public static let validationFailure = ExitCode(EXIT_FAILURE)
73 | #else
74 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
75 | #endif
76 |
[91/205] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:384:11: error: cannot find 'winsize' in scope
382 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
383 | #else
384 | var w = winsize()
| `- error: cannot find 'winsize' in scope
385 | #if os(OpenBSD)
386 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:13: error: cannot find 'ioctl' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:19: error: cannot find 'STDOUT_FILENO' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:390:34: error: cannot find 'TIOCGWINSZ' in scope
388 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
389 | #else
390 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
391 | #endif
392 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:74:50: error: cannot find 'EX_USAGE' in scope
72 | public static let validationFailure = ExitCode(EXIT_FAILURE)
73 | #else
74 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
75 | #endif
76 |
[92/205] Compiling ArgumentParser CollectionExtensions.swift
[93/205] Compiling ArgumentParser SequenceExtensions.swift
[94/205] Compiling ArgumentParser StringExtensions.swift
[95/205] Compiling ArgumentParser Tree.swift
[100/205] Wrapping AST for SystemPackage for debugging
[102/239] Compiling Socket SocketAddressFamily.swift
[103/239] Compiling Socket SocketDescriptor.swift
[104/239] Compiling Socket SocketFlags.swift
[105/239] Compiling Socket SocketHelpers.swift
[106/239] Compiling Socket SocketOperations.swift
[107/239] Compiling Socket SocketOption.swift
[111/252] 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 | }
[112/252] Compiling Socket IPv6SocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 | /// The C `sockaddr_in` type
69 | typealias UnixSocketAddress = sockaddr_un
| `- error: cannot find type 'sockaddr_un' in scope
70 |
71 | /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:49:26: error: missing argument label 'path:' in call
47 | var socketAddress = CInterop.UnixSocketAddress()
48 | try socketAddress.withUnsafeMutablePointer(body)
49 | return self.init(socketAddress)
| `- error: missing argument label 'path:' in call
50 | }
51 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:56:23: error: missing argument label 'path:' in call
54 | ) -> Self {
55 | pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) { pointer in
56 | Self.init(pointer.pointee)
| `- error: missing argument label 'path:' in call
57 | }
58 | }
[113/252] Compiling Socket LinkLayerSocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 | /// The C `sockaddr_in` type
69 | typealias UnixSocketAddress = sockaddr_un
| `- error: cannot find type 'sockaddr_un' in scope
70 |
71 | /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:49:26: error: missing argument label 'path:' in call
47 | var socketAddress = CInterop.UnixSocketAddress()
48 | try socketAddress.withUnsafeMutablePointer(body)
49 | return self.init(socketAddress)
| `- error: missing argument label 'path:' in call
50 | }
51 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:56:23: error: missing argument label 'path:' in call
54 | ) -> Self {
55 | pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) { pointer in
56 | Self.init(pointer.pointee)
| `- error: missing argument label 'path:' in call
57 | }
58 | }
[114/252] Compiling Socket UnixSocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:69:35: error: cannot find type 'sockaddr_un' in scope
67 |
68 | /// The C `sockaddr_in` type
69 | typealias UnixSocketAddress = sockaddr_un
| `- error: cannot find type 'sockaddr_un' in scope
70 |
71 | /// The C `sockaddr_in` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:49:26: error: missing argument label 'path:' in call
47 | var socketAddress = CInterop.UnixSocketAddress()
48 | try socketAddress.withUnsafeMutablePointer(body)
49 | return self.init(socketAddress)
| `- error: missing argument label 'path:' in call
50 | }
51 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:56:23: error: missing argument label 'path:' in call
54 | ) -> Self {
55 | pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) { pointer in
56 | Self.init(pointer.pointee)
| `- error: missing argument label 'path:' in call
57 | }
58 | }
/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 | }
[116/257] Compiling Socket SocketOptionID.swift
[117/257] Compiling Socket SocketOptionLevel.swift
[118/257] Compiling Socket SocketProtocol.swift
[119/257] Compiling Socket IPv4Protocol.swift
[120/257] Compiling Socket IPv6Protocol.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[121/257] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
[122/257] Compiling Socket CInterop.swift
[123/257] Compiling Socket CSocketAddress.swift
[124/257] Compiling Socket Constants.swift
[125/257] Compiling Socket Errno.swift
[126/257] Compiling Socket FileChange.swift
[127/257] Compiling Socket FileEvent.swift
[128/257] Compiling Socket Socket.swift
[129/257] Compiling Socket SocketContinuation.swift
[130/257] Compiling Socket SocketManager.swift
[131/257] Compiling Socket AsyncSocketManager.swift
[132/257] Compiling Socket CFSocketManager.swift
[133/257] Compiling Socket CInternetAddress.swift
[134/257] Compiling Socket FileFlags.swift
[135/257] Compiling Socket IOControl.swift
[136/257] Compiling Socket IODirection.swift
[137/257] Compiling Socket IOOperations.swift
[138/257] Compiling Socket IOType.swift
[139/257] Compiling Socket InternetProtocol.swift
[140/257] Compiling Socket MessageFlags.swift
[141/257] Compiling Socket NetworkInterface.swift
[142/257] Compiling Socket NetworkOrder.swift
[143/257] Compiling Socket Poll.swift
[144/257] 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 | }
/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 | }
/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 | }
/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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
[166/257] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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 |
[167/257] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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 |
[168/257] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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 |
[169/257] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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 |
[170/257] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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 |
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CompanyIdentifiers.swift
[175/257] Generate Bluetooth Company Identifier Definitions
[176/257] Write sources
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
66 | }
67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
66 | }
67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
66 | }
67 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:211:7: error: cannot find '_exit' in scope
209 | ) -> Never {
210 | guard let error = error else {
211 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
212 | }
213 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:223:5: error: cannot find '_exit' in scope
221 | }
222 | }
223 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
224 | }
225 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
66 | }
67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
66 | }
67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
66 | }
67 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:211:7: error: cannot find '_exit' in scope
209 | ) -> Never {
210 | guard let error = error else {
211 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
212 | }
213 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:223:5: error: cannot find '_exit' in scope
221 | }
222 | }
223 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
224 | }
225 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
66 | }
67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
66 | }
67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
66 | }
67 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:211:7: error: cannot find '_exit' in scope
209 | ) -> Never {
210 | guard let error = error else {
211 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
212 | }
213 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:223:5: error: cannot find '_exit' in scope
221 | }
222 | }
223 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
224 | }
225 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
66 | }
67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
66 | }
67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
66 | }
67 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:211:7: error: cannot find '_exit' in scope
209 | ) -> Never {
210 | guard let error = error else {
211 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
212 | }
213 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:223:5: error: cannot find '_exit' in scope
221 | }
222 | }
223 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
224 | }
225 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:31: error: cannot find 'putc' in scope
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
66 | }
67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:55: error: cannot find 'stderr' in scope
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
66 | }
67 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:65:36: error: generic parameter 'U' could not be inferred
63 | struct StandardError: TextOutputStream {
64 | mutating func write(_ string: String) {
65 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
66 | }
67 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:211:7: error: cannot find '_exit' in scope
209 | ) -> Never {
210 | guard let error = error else {
211 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
212 | }
213 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:63:40: error: cannot find 'EXIT_SUCCESS' in scope
61 |
62 | /// An exit code that indicates successful completion of a command.
63 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
64 |
65 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:223:5: error: cannot find '_exit' in scope
221 | }
222 | }
223 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
224 | }
225 |
BUILD FAILURE 6.1 android