The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BluetoothLinux, reference 5.2.0 (706cd3), with Swift 6.1 for Wasm on 20 Jul 2026 10:29:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |                                                                   `- error: generic parameter 'U' could not be inferred
263 | }
264 |
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/Socket/Sources/Socket/System/Syscalls.swift:274:10: error: cannot find 'freeaddrinfo' in scope
272 |   }
273 |   #endif
274 |   return freeaddrinfo(addrinfo)
    |          `- error: cannot find 'freeaddrinfo' in scope
275 | }
276 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:281:10: error: cannot find 'gai_strerror' in scope
279 |   // FIXME
280 |   #endif
281 |   return gai_strerror(error)
    |          `- error: cannot find 'gai_strerror' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:295:10: error: cannot find 'listen' in scope
293 |   if mockingEnabled { return _mock(socket, backlog) }
294 |   #endif
295 |   return listen(socket, backlog)
    |          `- error: cannot find 'listen' in scope
296 | }
297 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:335:10: error: cannot find 'sendto' in scope
333 |   }
334 |   #endif
335 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |          `- error: cannot find 'sendto' in scope
336 | }
337 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:351:10: error: cannot find 'recvfrom' in scope
349 |   }
350 |   #endif
351 |   return recvfrom(socket, buffer, length, flags, address, addres_len)
    |          `- error: cannot find 'recvfrom' in scope
352 | }
353 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:373:10: error: cannot find 'sendmsg' in scope
371 |   if mockingEnabled { return _mockInt(socket, message, flags) }
372 |   #endif
373 |   return sendmsg(socket, message, flags)
    |          `- error: cannot find 'sendmsg' in scope
374 | }
375 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:384:10: error: cannot find 'recvmsg' in scope
382 |   if mockingEnabled { return _mockInt(socket, message, flags) }
383 |   #endif
384 |   return recvmsg(socket, message, flags)
    |          `- error: cannot find 'recvmsg' in scope
385 | }
386 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:479:12: error: cannot find 'if_freenameindex' in scope
477 |   if mockingEnabled { return _mock(pointer) }
478 | #endif
479 |     return if_freenameindex(pointer)
    |            `- error: cannot find 'if_freenameindex' in scope
480 | }
481 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:516:12: error: cannot find 'getsockname' in scope
514 |     if mockingEnabled { return _mock(fd, address) }
515 | #endif
516 |     return getsockname(fd, address, length)
    |            `- error: cannot find 'getsockname' in scope
517 | }
518 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:523:12: error: cannot find 'getpeername' in scope
521 |     if mockingEnabled { return _mock(fd, address) }
522 | #endif
523 |     return getpeername(fd, address, length)
    |            `- error: cannot find 'getpeername' in scope
524 | }
525 |
[240/361] Compiling Socket Util.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/CInterop.swift:60:29: error: cannot find type 'addrinfo' in scope
58 |
59 |     /// The C `addrinfo` type
60 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
61 |
62 |     /// The C `in_addr` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:176:10: error: cannot find 'socket' in scope
174 |   if mockingEnabled { return _mock(fd, fd2, fd3) }
175 |   #endif
176 |   return socket(fd, fd2, fd3)
    |          `- error: cannot find 'socket' in scope
177 | }
178 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:183:10: error: cannot find 'setsockopt' in scope
181 |   if mockingEnabled { return _mock(fd, fd2, fd3, pointer, dataLength) }
182 |   #endif
183 |   return setsockopt(fd, fd2, fd3, pointer, dataLength)
    |          `- error: cannot find 'setsockopt' in scope
184 | }
185 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:207:10: error: cannot find 'bind' in scope
205 |   if mockingEnabled { return _mock(socket, address, length) }
206 |   #endif
207 |   return bind(socket, address, length)
    |          `- error: cannot find 'bind' in scope
208 | }
209 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:218:10: error: cannot find 'connect' in scope
216 |   if mockingEnabled { return _mock(socket, addr, len) }
217 |   #endif
218 |   return connect(socket, addr, len)
    |          `- error: cannot find 'connect' in scope
219 | }
220 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:245:10: error: cannot find 'getaddrinfo' in scope
243 |   }
244 |   #endif
245 |   return getaddrinfo(hostname, servname, hints, res)
    |          `- error: cannot find 'getaddrinfo' in scope
246 | }
247 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:262:10: error: cannot find 'getnameinfo' in scope
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |          `- error: cannot find 'getnameinfo' in scope
263 | }
264 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:262:39: error: generic parameter 'U' could not be inferred
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |                                       `- error: generic parameter 'U' could not be inferred
263 | }
264 |
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/Socket/Sources/Socket/System/Syscalls.swift:262:67: error: generic parameter 'U' could not be inferred
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |                                                                   `- error: generic parameter 'U' could not be inferred
263 | }
264 |
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/Socket/Sources/Socket/System/Syscalls.swift:274:10: error: cannot find 'freeaddrinfo' in scope
272 |   }
273 |   #endif
274 |   return freeaddrinfo(addrinfo)
    |          `- error: cannot find 'freeaddrinfo' in scope
275 | }
276 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:281:10: error: cannot find 'gai_strerror' in scope
279 |   // FIXME
280 |   #endif
281 |   return gai_strerror(error)
    |          `- error: cannot find 'gai_strerror' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:295:10: error: cannot find 'listen' in scope
293 |   if mockingEnabled { return _mock(socket, backlog) }
294 |   #endif
295 |   return listen(socket, backlog)
    |          `- error: cannot find 'listen' in scope
296 | }
297 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:335:10: error: cannot find 'sendto' in scope
333 |   }
334 |   #endif
335 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |          `- error: cannot find 'sendto' in scope
336 | }
337 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:351:10: error: cannot find 'recvfrom' in scope
349 |   }
350 |   #endif
351 |   return recvfrom(socket, buffer, length, flags, address, addres_len)
    |          `- error: cannot find 'recvfrom' in scope
352 | }
353 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:373:10: error: cannot find 'sendmsg' in scope
371 |   if mockingEnabled { return _mockInt(socket, message, flags) }
372 |   #endif
373 |   return sendmsg(socket, message, flags)
    |          `- error: cannot find 'sendmsg' in scope
374 | }
375 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:384:10: error: cannot find 'recvmsg' in scope
382 |   if mockingEnabled { return _mockInt(socket, message, flags) }
383 |   #endif
384 |   return recvmsg(socket, message, flags)
    |          `- error: cannot find 'recvmsg' in scope
385 | }
386 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:479:12: error: cannot find 'if_freenameindex' in scope
477 |   if mockingEnabled { return _mock(pointer) }
478 | #endif
479 |     return if_freenameindex(pointer)
    |            `- error: cannot find 'if_freenameindex' in scope
480 | }
481 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:516:12: error: cannot find 'getsockname' in scope
514 |     if mockingEnabled { return _mock(fd, address) }
515 | #endif
516 |     return getsockname(fd, address, length)
    |            `- error: cannot find 'getsockname' in scope
517 | }
518 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:523:12: error: cannot find 'getpeername' in scope
521 |     if mockingEnabled { return _mock(fd, address) }
522 | #endif
523 |     return getpeername(fd, address, length)
    |            `- error: cannot find 'getpeername' in scope
524 | }
525 |
<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
<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
<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
<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
<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
<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
<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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/6] Copying CharacteristicUUID.json
[1/12] Copying UnitIdentifier.json
[2/12] Copying ServiceUUID.json
[2/12] Copying DescriptorUUID.json
[4/12] Copying DeclarationUUID.json
[4/12] Copying MemberUUID.json
[6/12] Copying CompanyIdentifier.json
[7/12] Write swift-version-24593BA9C3E375BF.txt
[9/17] Compiling BluetoothMetadata resource_bundle_accessor.swift
[10/17] Compiling BluetoothMetadata CompanyIdentifier.swift
[11/17] Compiling BluetoothMetadata BluetoothUUID.swift
[12/17] Emitting module BluetoothMetadata
[13/17] Compiling BluetoothMetadata BluetoothMetadata.swift
[14/18] Wrapping AST for BluetoothMetadata for debugging
[16/25] Compiling GenerateBluetooth Hexadecimal.swift
[17/25] Compiling GenerateBluetooth BluetoothUUID.swift
[18/25] Compiling GenerateBluetooth String.swift
[19/25] Compiling GenerateBluetooth CompanyIdentifier.swift
[20/25] Compiling GenerateBluetooth UnitIdentifier.swift
[21/25] Compiling GenerateBluetooth Generate.swift
[22/25] Emitting module GenerateBluetooth
[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 GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin GenerateBluetoothDefinitions
Building for debugging...
[3/63] Copying CharacteristicUUID.json
[4/69] Copying DescriptorUUID.json
[4/69] Copying ServiceUUID.json
[4/69] Copying UnitIdentifier.json
[4/69] Copying MemberUUID.json
[4/69] Copying DeclarationUUID.json
[9/69] Copying CompanyIdentifier.json
[10/69] Write swift-version-24593BA9C3E375BF.txt
[12/82] Compiling SwiftSyntax600 Empty.swift
[13/82] Compiling SwiftSyntax509 Empty.swift
[14/82] Compiling SwiftSyntax510 Empty.swift
[15/89] Emitting module SwiftSyntax600
[16/89] Compiling SwiftSyntax601 Empty.swift
[17/90] Emitting module SwiftSyntax601
[18/91] Compiling SwiftSyntax603 Empty.swift
[19/97] Emitting module SwiftSyntax509
[20/98] Emitting module SwiftSyntax603
[21/106] Emitting module SwiftSyntax602
[22/106] Emitting module SwiftSyntax510
[23/120] Compiling SwiftSyntax602 Empty.swift
[26/123] Emitting module BluetoothMetadata
[31/128] Wrapping AST for BluetoothMetadata for debugging
[33/168] Compiling BluetoothMetadata resource_bundle_accessor.swift
[34/191] Emitting module GenerateBluetooth
[36/192] Emitting module BluetoothMetadata
[37/192] Emitting module ArgumentParserToolInfo
[38/192] Compiling SwiftSyntax RawSyntax.swift
[39/192] Compiling SwiftSyntax RawSyntaxArena.swift
[40/192] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[41/192] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[42/192] Compiling SwiftSyntax RawSyntaxTokenView.swift
[42/197] Wrapping AST for GenerateBluetooth for debugging
[43/197] Write Objects.LinkFileList
[45/197] Compiling BluetoothMetadata CompanyIdentifier.swift
[46/197] Compiling SwiftSyntax SourceEdit.swift
[47/197] Compiling SwiftSyntax SyntaxNodeStructure.swift
[48/197] Compiling SwiftSyntax SyntaxProtocol.swift
[49/197] Compiling SwiftSyntax SyntaxText.swift
[50/197] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[51/197] Compiling SwiftSyntax TokenDiagnostic.swift
[52/197] Compiling SwiftSyntax TokenSequence.swift
[53/197] Compiling SwiftSyntax TokenSyntax.swift
[54/197] Compiling SwiftSyntax Trivia.swift
[55/197] Compiling SwiftSyntax Utils.swift
[56/197] Compiling BluetoothMetadata BluetoothUUID.swift
[57/197] Compiling BluetoothMetadata BluetoothMetadata.swift
[58/198] Compiling SwiftSyntax CustomTraits.swift
[59/198] Compiling SwiftSyntax EditorPlaceholder.swift
[60/198] Compiling SwiftSyntax Identifier.swift
[61/198] Compiling SwiftSyntax MemoryLayout.swift
[62/198] Compiling SwiftSyntax MissingNodeInitializers.swift
[63/198] Compiling SwiftSyntax SyntaxCollection.swift
[64/198] Compiling SwiftSyntax SyntaxHashable.swift
[65/198] Compiling SwiftSyntax SyntaxIdentifier.swift
[66/198] Compiling SwiftSyntax AbsolutePosition.swift
[67/198] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[69/197] Emitting module SystemPackage
[69/197] Linking GenerateBluetooth-tool
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/UnitIdentifiers.swift
[70/197] Generate Bluetooth Unit Identifier Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DeclarationUUID.swift
[71/197] Generate Bluetooth Declaration UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/ServiceUUID.swift
[72/197] Generate Bluetooth Service UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DescriptorUUID.swift
[73/197] Generate Bluetooth Descriptor UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CharacteristicUUID.swift
[74/197] Generate Bluetooth Characteristic UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/MemberUUID.swift
[75/197] Generate Bluetooth Member UUID Definitions
[86/205] Compiling SystemPackage SystemString.swift
[87/205] Compiling SystemPackage Util+StringArray.swift
[88/205] Compiling SystemPackage Util.swift
[89/205] Compiling SystemPackage UtilConsumers.swift
[90/205] Compiling SystemPackage WinSDK+Overlay.swift
[91/205] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[92/205] Compiling SwiftSyntax Assert.swift
[93/205] Compiling SwiftSyntax BumpPtrAllocator.swift
[94/205] Compiling SwiftSyntax CommonAncestor.swift
[95/205] Compiling SwiftSyntax Convenience.swift
[96/205] Compiling SwiftSyntax SourceLength.swift
[97/205] Compiling SwiftSyntax SourceLocation.swift
[98/205] Compiling SwiftSyntax SourcePresence.swift
[99/205] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[100/205] Compiling SwiftSyntax Syntax.swift
[101/205] Compiling SwiftSyntax SyntaxChildren.swift
[102/206] Compiling ArgumentParserToolInfo ToolInfo.swift
[131/206] Wrapping AST for SystemPackage for debugging
[133/294] Compiling Socket IPv6SocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:24:43: error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
22 |
23 |     internal init(_ cValue: CInterop.UnixSocketAddress) {
24 |         self = withUnsafeBytes(of: cValue.sun_path) { pathPointer in
   |                                           `- error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
25 |             Self.init(path: FilePath(platformString: pathPointer.baseAddress!.assumingMemoryBound(to: CInterop.PlatformChar.self)))
26 |         }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:35:55: error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
33 |             var socketAddress = CInterop.UnixSocketAddress()
34 |             socketAddress.sun_family = numericCast(Self.family.rawValue)
35 |             withUnsafeMutableBytes(of: &socketAddress.sun_path) { pathBytes in
   |                                                       `- error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
36 |                 pathBytes
37 |                     .bindMemory(to: CInterop.PlatformChar.self)
[134/294] Compiling Socket LinkLayerSocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:24:43: error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
22 |
23 |     internal init(_ cValue: CInterop.UnixSocketAddress) {
24 |         self = withUnsafeBytes(of: cValue.sun_path) { pathPointer in
   |                                           `- error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
25 |             Self.init(path: FilePath(platformString: pathPointer.baseAddress!.assumingMemoryBound(to: CInterop.PlatformChar.self)))
26 |         }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:35:55: error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
33 |             var socketAddress = CInterop.UnixSocketAddress()
34 |             socketAddress.sun_family = numericCast(Self.family.rawValue)
35 |             withUnsafeMutableBytes(of: &socketAddress.sun_path) { pathBytes in
   |                                                       `- error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
36 |                 pathBytes
37 |                     .bindMemory(to: CInterop.PlatformChar.self)
[135/294] Compiling Socket UnixSocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:24:43: error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
22 |
23 |     internal init(_ cValue: CInterop.UnixSocketAddress) {
24 |         self = withUnsafeBytes(of: cValue.sun_path) { pathPointer in
   |                                           `- error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
25 |             Self.init(path: FilePath(platformString: pathPointer.baseAddress!.assumingMemoryBound(to: CInterop.PlatformChar.self)))
26 |         }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:35:55: error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
33 |             var socketAddress = CInterop.UnixSocketAddress()
34 |             socketAddress.sun_family = numericCast(Self.family.rawValue)
35 |             withUnsafeMutableBytes(of: &socketAddress.sun_path) { pathBytes in
   |                                                       `- error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
36 |                 pathBytes
37 |                     .bindMemory(to: CInterop.PlatformChar.self)
[136/294] Compiling Socket SocketAddressFamily.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:24:43: error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
22 |
23 |     internal init(_ cValue: CInterop.UnixSocketAddress) {
24 |         self = withUnsafeBytes(of: cValue.sun_path) { pathPointer in
   |                                           `- error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
25 |             Self.init(path: FilePath(platformString: pathPointer.baseAddress!.assumingMemoryBound(to: CInterop.PlatformChar.self)))
26 |         }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:35:55: error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
33 |             var socketAddress = CInterop.UnixSocketAddress()
34 |             socketAddress.sun_family = numericCast(Self.family.rawValue)
35 |             withUnsafeMutableBytes(of: &socketAddress.sun_path) { pathBytes in
   |                                                       `- error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
36 |                 pathBytes
37 |                     .bindMemory(to: CInterop.PlatformChar.self)
[137/294] Compiling Socket SocketDescriptor.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:24:43: error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
22 |
23 |     internal init(_ cValue: CInterop.UnixSocketAddress) {
24 |         self = withUnsafeBytes(of: cValue.sun_path) { pathPointer in
   |                                           `- error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
25 |             Self.init(path: FilePath(platformString: pathPointer.baseAddress!.assumingMemoryBound(to: CInterop.PlatformChar.self)))
26 |         }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:35:55: error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
33 |             var socketAddress = CInterop.UnixSocketAddress()
34 |             socketAddress.sun_family = numericCast(Self.family.rawValue)
35 |             withUnsafeMutableBytes(of: &socketAddress.sun_path) { pathBytes in
   |                                                       `- error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
36 |                 pathBytes
37 |                     .bindMemory(to: CInterop.PlatformChar.self)
[138/294] Compiling Socket SocketEvent.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:24:43: error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
22 |
23 |     internal init(_ cValue: CInterop.UnixSocketAddress) {
24 |         self = withUnsafeBytes(of: cValue.sun_path) { pathPointer in
   |                                           `- error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
25 |             Self.init(path: FilePath(platformString: pathPointer.baseAddress!.assumingMemoryBound(to: CInterop.PlatformChar.self)))
26 |         }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:35:55: error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
33 |             var socketAddress = CInterop.UnixSocketAddress()
34 |             socketAddress.sun_family = numericCast(Self.family.rawValue)
35 |             withUnsafeMutableBytes(of: &socketAddress.sun_path) { pathBytes in
   |                                                       `- error: value of type 'CInterop.UnixSocketAddress' (aka 'sockaddr_un') has no member 'sun_path'
36 |                 pathBytes
37 |                     .bindMemory(to: CInterop.PlatformChar.self)
[139/294] Compiling Socket SocketOptionLevel.swift
[140/294] Compiling Socket SocketProtocol.swift
[141/294] Compiling Socket IPv4Protocol.swift
[142/294] Compiling Socket IPv6Protocol.swift
[143/294] Compiling Socket LinkLayerProtocol.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[144/299] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:60:29: error: cannot find type 'addrinfo' in scope
58 |
59 |     /// The C `addrinfo` type
60 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
61 |
62 |     /// The C `in_addr` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:43:34: error: cannot find 'O_NONBLOCK' in scope
 41 |
 42 | @_alwaysEmitIntoClient
 43 | internal var _O_NONBLOCK: CInt { O_NONBLOCK }
    |                                  `- error: cannot find 'O_NONBLOCK' in scope
 44 | #endif
 45 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:47:32: error: cannot find 'O_APPEND' in scope
 45 |
 46 | @_alwaysEmitIntoClient
 47 | internal var _O_APPEND: CInt { O_APPEND }
    |                                `- error: cannot find 'O_APPEND' in scope
 48 |
 49 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:60:31: error: cannot find 'O_ASYNC' in scope
 58 | // TODO: API?
 59 | @_alwaysEmitIntoClient
 60 | internal var _O_ASYNC: CInt { O_ASYNC }
    |                               `- error: cannot find 'O_ASYNC' in scope
 61 |
 62 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:67:31: error: cannot find 'O_CREAT' in scope
 65 |
 66 | @_alwaysEmitIntoClient
 67 | internal var _O_CREAT: CInt { O_CREAT }
    |                               `- error: cannot find 'O_CREAT' in scope
 68 |
 69 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:70:31: error: cannot find 'O_TRUNC' in scope
 68 |
 69 | @_alwaysEmitIntoClient
 70 | internal var _O_TRUNC: CInt { O_TRUNC }
    |                               `- error: cannot find 'O_TRUNC' in scope
 71 |
 72 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:73:30: error: cannot find 'O_EXCL' in scope
 71 |
 72 | @_alwaysEmitIntoClient
 73 | internal var _O_EXCL: CInt { O_EXCL }
    |                              `- error: cannot find 'O_EXCL' in scope
 74 |
 75 | #if canImport(Darwin)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:15:9: note: macro 'O_EXCL' unavailable: structure not supported
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
   |         `- note: macro 'O_EXCL' unavailable: structure not supported
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
17 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:86:35: error: cannot find 'O_DIRECTORY' in scope
 84 |
 85 | @_alwaysEmitIntoClient
 86 | internal var _O_DIRECTORY: CInt { O_DIRECTORY }
    |                                   `- error: cannot find 'O_DIRECTORY' in scope
 87 | #endif
 88 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:14:9: note: macro 'O_DIRECTORY' unavailable: structure not supported
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
   |         `- note: macro 'O_DIRECTORY' unavailable: structure not supported
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:120:31: error: cannot find 'F_DUPFD' in scope
118 |
119 | @_alwaysEmitIntoClient
120 | internal var _F_DUPFD: CInt { F_DUPFD }
    |                               `- error: cannot find 'F_DUPFD' in scope
121 |
122 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:123:39: error: cannot find 'F_DUPFD_CLOEXEC' in scope
121 |
122 | @_alwaysEmitIntoClient
123 | internal var _F_DUPFD_CLOEXEC: CInt { F_DUPFD_CLOEXEC }
    |                                       `- error: cannot find 'F_DUPFD_CLOEXEC' in scope
124 |
125 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:141:31: error: cannot find 'POLLPRI' in scope
139 |
140 | @_alwaysEmitIntoClient
141 | internal var _POLLPRI: CInt { POLLPRI }
    |                               `- error: cannot find 'POLLPRI' in scope
142 |
143 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:153:34: error: cannot find 'POLLRDBAND' in scope
151 |
152 | @_alwaysEmitIntoClient
153 | internal var _POLLRDBAND: CInt { POLLRDBAND }
    |                                  `- error: cannot find 'POLLRDBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:156:34: error: cannot find 'POLLWRBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
156 | internal var _POLLWRBAND: CInt { POLLWRBAND }
    |                                  `- error: cannot find 'POLLWRBAND' in scope
157 |
158 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:200:30: error: cannot find 'AF_IPX' in scope
198 |
199 | @_alwaysEmitIntoClient
200 | internal var _AF_IPX: CInt { AF_IPX }
    |                              `- error: cannot find 'AF_IPX' in scope
201 |
202 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:203:36: error: cannot find 'AF_APPLETALK' in scope
201 |
202 | @_alwaysEmitIntoClient
203 | internal var _AF_APPLETALK: CInt { AF_APPLETALK }
    |                                    `- error: cannot find 'AF_APPLETALK' in scope
204 |
205 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:207:33: error: cannot find 'AF_DECnet' in scope
205 | #if !os(Windows)
206 | @_alwaysEmitIntoClient
207 | internal var _AF_DECnet: CInt { AF_DECnet }
    |                                 `- error: cannot find 'AF_DECnet' in scope
208 |
209 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:210:32: error: cannot find 'AF_VSOCK' in scope
208 |
209 | @_alwaysEmitIntoClient
210 | internal var _AF_VSOCK: CInt { AF_VSOCK }
    |                                `- error: cannot find 'AF_VSOCK' in scope
211 |
212 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:213:31: error: cannot find 'AF_ISDN' in scope
211 |
212 | @_alwaysEmitIntoClient
213 | internal var _AF_ISDN: CInt { AF_ISDN }
    |                               `- error: cannot find 'AF_ISDN' in scope
214 | #endif
215 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:341:33: error: cannot find 'SOMAXCONN' in scope
339 | /// Maximum queue length specifiable by listen.
340 | @_alwaysEmitIntoClient
341 | internal var _SOMAXCONN: CInt { SOMAXCONN }
    |                                 `- error: cannot find 'SOMAXCONN' in scope
342 |
343 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:347:32: error: cannot find 'SO_DEBUG' in scope
345 |
346 | @_alwaysEmitIntoClient
347 | internal var _SO_DEBUG: CInt { SO_DEBUG }
    |                                `- error: cannot find 'SO_DEBUG' in scope
348 |
349 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:350:37: error: cannot find 'SO_ACCEPTCONN' in scope
348 |
349 | @_alwaysEmitIntoClient
350 | internal var _SO_ACCEPTCONN: CInt { SO_ACCEPTCONN }
    |                                     `- error: cannot find 'SO_ACCEPTCONN' in scope
351 |
352 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:353:36: error: cannot find 'SO_REUSEADDR' in scope
351 |
352 | @_alwaysEmitIntoClient
353 | internal var _SO_REUSEADDR: CInt { SO_REUSEADDR }
    |                                    `- error: cannot find 'SO_REUSEADDR' in scope
354 |
355 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:356:36: error: cannot find 'SO_KEEPALIVE' in scope
354 |
355 | @_alwaysEmitIntoClient
356 | internal var _SO_KEEPALIVE: CInt { SO_KEEPALIVE }
    |                                    `- error: cannot find 'SO_KEEPALIVE' in scope
357 |
358 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:359:36: error: cannot find 'SO_DONTROUTE' in scope
357 |
358 | @_alwaysEmitIntoClient
359 | internal var _SO_DONTROUTE: CInt { SO_DONTROUTE }
    |                                    `- error: cannot find 'SO_DONTROUTE' in scope
360 |
361 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:362:36: error: cannot find 'SO_BROADCAST' in scope
360 |
361 | @_alwaysEmitIntoClient
362 | internal var _SO_BROADCAST: CInt { SO_BROADCAST }
    |                                    `- error: cannot find 'SO_BROADCAST' in scope
363 |
364 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:370:33: error: cannot find 'SO_LINGER' in scope
368 |
369 | @_alwaysEmitIntoClient
370 | internal var _SO_LINGER: CInt { SO_LINGER }
    |                                 `- error: cannot find 'SO_LINGER' in scope
371 |
372 | #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:384:50: error: cannot find 'SOCK_STREAM' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
385 |
386 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:387:49: error: cannot find 'SOCK_DGRAM' in scope
385 |
386 | @_alwaysEmitIntoClient
387 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
388 |
389 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:390:47: error: cannot find 'SOCK_RAW' in scope
388 |
389 | @_alwaysEmitIntoClient
390 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
391 |
392 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:393:47: error: cannot find 'SOCK_RDM' in scope
391 |
392 | @_alwaysEmitIntoClient
393 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
394 |
395 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:396:53: error: cannot find 'SOCK_SEQPACKET' in scope
394 |
395 | @_alwaysEmitIntoClient
396 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
397 |
398 | #if os(Linux) || os(Android)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:410:49: error: cannot find 'MSG_DONTROUTE' in scope
408 |
409 | @_alwaysEmitIntoClient
410 | internal var _MSG_DONTROUTE: CInt { numericCast(MSG_DONTROUTE) } /* send without using routing tables */
    |                                                 `- error: cannot find 'MSG_DONTROUTE' in scope
411 |
412 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:413:43: error: cannot find 'MSG_EOR' in scope
411 |
412 | @_alwaysEmitIntoClient
413 | internal var _MSG_EOR: CInt { numericCast(MSG_EOR) } /* data completes record */
    |                                           `- error: cannot find 'MSG_EOR' in scope
414 |
415 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:416:43: error: cannot find 'MSG_OOB' in scope
414 |
415 | @_alwaysEmitIntoClient
416 | internal var _MSG_OOB: CInt { numericCast(MSG_OOB) } /* process out-of-band data */
    |                                           `- error: cannot find 'MSG_OOB' in scope
417 |
418 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:419:44: error: cannot find 'MSG_PEEK' in scope
417 |
418 | @_alwaysEmitIntoClient
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
    |                                            `- error: cannot find 'MSG_PEEK' in scope
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:421:45: error: cannot find 'MSG_TRUNC' in scope
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
    |                                             `- error: cannot find 'MSG_TRUNC' in scope
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:423:46: error: cannot find 'MSG_CTRUNC' in scope
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
    |                                              `- error: cannot find 'MSG_CTRUNC' in scope
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:425:47: error: cannot find 'MSG_WAITALL' in scope
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
    |                                               `- error: cannot find 'MSG_WAITALL' in scope
426 |
427 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:428:48: error: cannot find 'MSG_DONTWAIT' in scope
426 |
427 | @_alwaysEmitIntoClient
428 | internal var _MSG_DONTWAIT: CInt { numericCast(MSG_DONTWAIT) } /* this message should be nonblocking */
    |                                                `- error: cannot find 'MSG_DONTWAIT' in scope
429 |
430 | #if canImport(Darwin)
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CompanyIdentifiers.swift
[144/299] Generate Bluetooth Company Identifier Definitions
[145/299] Write sources
[147/299] Compiling Socket CInterop.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:60:29: error: cannot find type 'addrinfo' in scope
58 |
59 |     /// The C `addrinfo` type
60 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
61 |
62 |     /// The C `in_addr` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:43:34: error: cannot find 'O_NONBLOCK' in scope
 41 |
 42 | @_alwaysEmitIntoClient
 43 | internal var _O_NONBLOCK: CInt { O_NONBLOCK }
    |                                  `- error: cannot find 'O_NONBLOCK' in scope
 44 | #endif
 45 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:47:32: error: cannot find 'O_APPEND' in scope
 45 |
 46 | @_alwaysEmitIntoClient
 47 | internal var _O_APPEND: CInt { O_APPEND }
    |                                `- error: cannot find 'O_APPEND' in scope
 48 |
 49 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:60:31: error: cannot find 'O_ASYNC' in scope
 58 | // TODO: API?
 59 | @_alwaysEmitIntoClient
 60 | internal var _O_ASYNC: CInt { O_ASYNC }
    |                               `- error: cannot find 'O_ASYNC' in scope
 61 |
 62 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:67:31: error: cannot find 'O_CREAT' in scope
 65 |
 66 | @_alwaysEmitIntoClient
 67 | internal var _O_CREAT: CInt { O_CREAT }
    |                               `- error: cannot find 'O_CREAT' in scope
 68 |
 69 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:70:31: error: cannot find 'O_TRUNC' in scope
 68 |
 69 | @_alwaysEmitIntoClient
 70 | internal var _O_TRUNC: CInt { O_TRUNC }
    |                               `- error: cannot find 'O_TRUNC' in scope
 71 |
 72 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:73:30: error: cannot find 'O_EXCL' in scope
 71 |
 72 | @_alwaysEmitIntoClient
 73 | internal var _O_EXCL: CInt { O_EXCL }
    |                              `- error: cannot find 'O_EXCL' in scope
 74 |
 75 | #if canImport(Darwin)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:15:9: note: macro 'O_EXCL' unavailable: structure not supported
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
   |         `- note: macro 'O_EXCL' unavailable: structure not supported
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
17 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:86:35: error: cannot find 'O_DIRECTORY' in scope
 84 |
 85 | @_alwaysEmitIntoClient
 86 | internal var _O_DIRECTORY: CInt { O_DIRECTORY }
    |                                   `- error: cannot find 'O_DIRECTORY' in scope
 87 | #endif
 88 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:14:9: note: macro 'O_DIRECTORY' unavailable: structure not supported
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
   |         `- note: macro 'O_DIRECTORY' unavailable: structure not supported
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:120:31: error: cannot find 'F_DUPFD' in scope
118 |
119 | @_alwaysEmitIntoClient
120 | internal var _F_DUPFD: CInt { F_DUPFD }
    |                               `- error: cannot find 'F_DUPFD' in scope
121 |
122 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:123:39: error: cannot find 'F_DUPFD_CLOEXEC' in scope
121 |
122 | @_alwaysEmitIntoClient
123 | internal var _F_DUPFD_CLOEXEC: CInt { F_DUPFD_CLOEXEC }
    |                                       `- error: cannot find 'F_DUPFD_CLOEXEC' in scope
124 |
125 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:141:31: error: cannot find 'POLLPRI' in scope
139 |
140 | @_alwaysEmitIntoClient
141 | internal var _POLLPRI: CInt { POLLPRI }
    |                               `- error: cannot find 'POLLPRI' in scope
142 |
143 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:153:34: error: cannot find 'POLLRDBAND' in scope
151 |
152 | @_alwaysEmitIntoClient
153 | internal var _POLLRDBAND: CInt { POLLRDBAND }
    |                                  `- error: cannot find 'POLLRDBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:156:34: error: cannot find 'POLLWRBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
156 | internal var _POLLWRBAND: CInt { POLLWRBAND }
    |                                  `- error: cannot find 'POLLWRBAND' in scope
157 |
158 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:200:30: error: cannot find 'AF_IPX' in scope
198 |
199 | @_alwaysEmitIntoClient
200 | internal var _AF_IPX: CInt { AF_IPX }
    |                              `- error: cannot find 'AF_IPX' in scope
201 |
202 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:203:36: error: cannot find 'AF_APPLETALK' in scope
201 |
202 | @_alwaysEmitIntoClient
203 | internal var _AF_APPLETALK: CInt { AF_APPLETALK }
    |                                    `- error: cannot find 'AF_APPLETALK' in scope
204 |
205 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:207:33: error: cannot find 'AF_DECnet' in scope
205 | #if !os(Windows)
206 | @_alwaysEmitIntoClient
207 | internal var _AF_DECnet: CInt { AF_DECnet }
    |                                 `- error: cannot find 'AF_DECnet' in scope
208 |
209 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:210:32: error: cannot find 'AF_VSOCK' in scope
208 |
209 | @_alwaysEmitIntoClient
210 | internal var _AF_VSOCK: CInt { AF_VSOCK }
    |                                `- error: cannot find 'AF_VSOCK' in scope
211 |
212 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:213:31: error: cannot find 'AF_ISDN' in scope
211 |
212 | @_alwaysEmitIntoClient
213 | internal var _AF_ISDN: CInt { AF_ISDN }
    |                               `- error: cannot find 'AF_ISDN' in scope
214 | #endif
215 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:341:33: error: cannot find 'SOMAXCONN' in scope
339 | /// Maximum queue length specifiable by listen.
340 | @_alwaysEmitIntoClient
341 | internal var _SOMAXCONN: CInt { SOMAXCONN }
    |                                 `- error: cannot find 'SOMAXCONN' in scope
342 |
343 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:347:32: error: cannot find 'SO_DEBUG' in scope
345 |
346 | @_alwaysEmitIntoClient
347 | internal var _SO_DEBUG: CInt { SO_DEBUG }
    |                                `- error: cannot find 'SO_DEBUG' in scope
348 |
349 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:350:37: error: cannot find 'SO_ACCEPTCONN' in scope
348 |
349 | @_alwaysEmitIntoClient
350 | internal var _SO_ACCEPTCONN: CInt { SO_ACCEPTCONN }
    |                                     `- error: cannot find 'SO_ACCEPTCONN' in scope
351 |
352 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:353:36: error: cannot find 'SO_REUSEADDR' in scope
351 |
352 | @_alwaysEmitIntoClient
353 | internal var _SO_REUSEADDR: CInt { SO_REUSEADDR }
    |                                    `- error: cannot find 'SO_REUSEADDR' in scope
354 |
355 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:356:36: error: cannot find 'SO_KEEPALIVE' in scope
354 |
355 | @_alwaysEmitIntoClient
356 | internal var _SO_KEEPALIVE: CInt { SO_KEEPALIVE }
    |                                    `- error: cannot find 'SO_KEEPALIVE' in scope
357 |
358 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:359:36: error: cannot find 'SO_DONTROUTE' in scope
357 |
358 | @_alwaysEmitIntoClient
359 | internal var _SO_DONTROUTE: CInt { SO_DONTROUTE }
    |                                    `- error: cannot find 'SO_DONTROUTE' in scope
360 |
361 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:362:36: error: cannot find 'SO_BROADCAST' in scope
360 |
361 | @_alwaysEmitIntoClient
362 | internal var _SO_BROADCAST: CInt { SO_BROADCAST }
    |                                    `- error: cannot find 'SO_BROADCAST' in scope
363 |
364 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:370:33: error: cannot find 'SO_LINGER' in scope
368 |
369 | @_alwaysEmitIntoClient
370 | internal var _SO_LINGER: CInt { SO_LINGER }
    |                                 `- error: cannot find 'SO_LINGER' in scope
371 |
372 | #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:384:50: error: cannot find 'SOCK_STREAM' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
385 |
386 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:387:49: error: cannot find 'SOCK_DGRAM' in scope
385 |
386 | @_alwaysEmitIntoClient
387 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
388 |
389 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:390:47: error: cannot find 'SOCK_RAW' in scope
388 |
389 | @_alwaysEmitIntoClient
390 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
391 |
392 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:393:47: error: cannot find 'SOCK_RDM' in scope
391 |
392 | @_alwaysEmitIntoClient
393 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
394 |
395 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:396:53: error: cannot find 'SOCK_SEQPACKET' in scope
394 |
395 | @_alwaysEmitIntoClient
396 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
397 |
398 | #if os(Linux) || os(Android)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:410:49: error: cannot find 'MSG_DONTROUTE' in scope
408 |
409 | @_alwaysEmitIntoClient
410 | internal var _MSG_DONTROUTE: CInt { numericCast(MSG_DONTROUTE) } /* send without using routing tables */
    |                                                 `- error: cannot find 'MSG_DONTROUTE' in scope
411 |
412 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:413:43: error: cannot find 'MSG_EOR' in scope
411 |
412 | @_alwaysEmitIntoClient
413 | internal var _MSG_EOR: CInt { numericCast(MSG_EOR) } /* data completes record */
    |                                           `- error: cannot find 'MSG_EOR' in scope
414 |
415 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:416:43: error: cannot find 'MSG_OOB' in scope
414 |
415 | @_alwaysEmitIntoClient
416 | internal var _MSG_OOB: CInt { numericCast(MSG_OOB) } /* process out-of-band data */
    |                                           `- error: cannot find 'MSG_OOB' in scope
417 |
418 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:419:44: error: cannot find 'MSG_PEEK' in scope
417 |
418 | @_alwaysEmitIntoClient
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
    |                                            `- error: cannot find 'MSG_PEEK' in scope
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:421:45: error: cannot find 'MSG_TRUNC' in scope
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
    |                                             `- error: cannot find 'MSG_TRUNC' in scope
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:423:46: error: cannot find 'MSG_CTRUNC' in scope
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
    |                                              `- error: cannot find 'MSG_CTRUNC' in scope
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:425:47: error: cannot find 'MSG_WAITALL' in scope
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
    |                                               `- error: cannot find 'MSG_WAITALL' in scope
426 |
427 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:428:48: error: cannot find 'MSG_DONTWAIT' in scope
426 |
427 | @_alwaysEmitIntoClient
428 | internal var _MSG_DONTWAIT: CInt { numericCast(MSG_DONTWAIT) } /* this message should be nonblocking */
    |                                                `- error: cannot find 'MSG_DONTWAIT' in scope
429 |
430 | #if canImport(Darwin)
[148/299] Compiling Socket CSocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:60:29: error: cannot find type 'addrinfo' in scope
58 |
59 |     /// The C `addrinfo` type
60 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
61 |
62 |     /// The C `in_addr` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:43:34: error: cannot find 'O_NONBLOCK' in scope
 41 |
 42 | @_alwaysEmitIntoClient
 43 | internal var _O_NONBLOCK: CInt { O_NONBLOCK }
    |                                  `- error: cannot find 'O_NONBLOCK' in scope
 44 | #endif
 45 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:47:32: error: cannot find 'O_APPEND' in scope
 45 |
 46 | @_alwaysEmitIntoClient
 47 | internal var _O_APPEND: CInt { O_APPEND }
    |                                `- error: cannot find 'O_APPEND' in scope
 48 |
 49 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:60:31: error: cannot find 'O_ASYNC' in scope
 58 | // TODO: API?
 59 | @_alwaysEmitIntoClient
 60 | internal var _O_ASYNC: CInt { O_ASYNC }
    |                               `- error: cannot find 'O_ASYNC' in scope
 61 |
 62 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:67:31: error: cannot find 'O_CREAT' in scope
 65 |
 66 | @_alwaysEmitIntoClient
 67 | internal var _O_CREAT: CInt { O_CREAT }
    |                               `- error: cannot find 'O_CREAT' in scope
 68 |
 69 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:70:31: error: cannot find 'O_TRUNC' in scope
 68 |
 69 | @_alwaysEmitIntoClient
 70 | internal var _O_TRUNC: CInt { O_TRUNC }
    |                               `- error: cannot find 'O_TRUNC' in scope
 71 |
 72 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:73:30: error: cannot find 'O_EXCL' in scope
 71 |
 72 | @_alwaysEmitIntoClient
 73 | internal var _O_EXCL: CInt { O_EXCL }
    |                              `- error: cannot find 'O_EXCL' in scope
 74 |
 75 | #if canImport(Darwin)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:15:9: note: macro 'O_EXCL' unavailable: structure not supported
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
   |         `- note: macro 'O_EXCL' unavailable: structure not supported
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
17 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:86:35: error: cannot find 'O_DIRECTORY' in scope
 84 |
 85 | @_alwaysEmitIntoClient
 86 | internal var _O_DIRECTORY: CInt { O_DIRECTORY }
    |                                   `- error: cannot find 'O_DIRECTORY' in scope
 87 | #endif
 88 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:14:9: note: macro 'O_DIRECTORY' unavailable: structure not supported
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
   |         `- note: macro 'O_DIRECTORY' unavailable: structure not supported
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:120:31: error: cannot find 'F_DUPFD' in scope
118 |
119 | @_alwaysEmitIntoClient
120 | internal var _F_DUPFD: CInt { F_DUPFD }
    |                               `- error: cannot find 'F_DUPFD' in scope
121 |
122 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:123:39: error: cannot find 'F_DUPFD_CLOEXEC' in scope
121 |
122 | @_alwaysEmitIntoClient
123 | internal var _F_DUPFD_CLOEXEC: CInt { F_DUPFD_CLOEXEC }
    |                                       `- error: cannot find 'F_DUPFD_CLOEXEC' in scope
124 |
125 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:141:31: error: cannot find 'POLLPRI' in scope
139 |
140 | @_alwaysEmitIntoClient
141 | internal var _POLLPRI: CInt { POLLPRI }
    |                               `- error: cannot find 'POLLPRI' in scope
142 |
143 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:153:34: error: cannot find 'POLLRDBAND' in scope
151 |
152 | @_alwaysEmitIntoClient
153 | internal var _POLLRDBAND: CInt { POLLRDBAND }
    |                                  `- error: cannot find 'POLLRDBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:156:34: error: cannot find 'POLLWRBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
156 | internal var _POLLWRBAND: CInt { POLLWRBAND }
    |                                  `- error: cannot find 'POLLWRBAND' in scope
157 |
158 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:200:30: error: cannot find 'AF_IPX' in scope
198 |
199 | @_alwaysEmitIntoClient
200 | internal var _AF_IPX: CInt { AF_IPX }
    |                              `- error: cannot find 'AF_IPX' in scope
201 |
202 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:203:36: error: cannot find 'AF_APPLETALK' in scope
201 |
202 | @_alwaysEmitIntoClient
203 | internal var _AF_APPLETALK: CInt { AF_APPLETALK }
    |                                    `- error: cannot find 'AF_APPLETALK' in scope
204 |
205 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:207:33: error: cannot find 'AF_DECnet' in scope
205 | #if !os(Windows)
206 | @_alwaysEmitIntoClient
207 | internal var _AF_DECnet: CInt { AF_DECnet }
    |                                 `- error: cannot find 'AF_DECnet' in scope
208 |
209 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:210:32: error: cannot find 'AF_VSOCK' in scope
208 |
209 | @_alwaysEmitIntoClient
210 | internal var _AF_VSOCK: CInt { AF_VSOCK }
    |                                `- error: cannot find 'AF_VSOCK' in scope
211 |
212 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:213:31: error: cannot find 'AF_ISDN' in scope
211 |
212 | @_alwaysEmitIntoClient
213 | internal var _AF_ISDN: CInt { AF_ISDN }
    |                               `- error: cannot find 'AF_ISDN' in scope
214 | #endif
215 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:341:33: error: cannot find 'SOMAXCONN' in scope
339 | /// Maximum queue length specifiable by listen.
340 | @_alwaysEmitIntoClient
341 | internal var _SOMAXCONN: CInt { SOMAXCONN }
    |                                 `- error: cannot find 'SOMAXCONN' in scope
342 |
343 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:347:32: error: cannot find 'SO_DEBUG' in scope
345 |
346 | @_alwaysEmitIntoClient
347 | internal var _SO_DEBUG: CInt { SO_DEBUG }
    |                                `- error: cannot find 'SO_DEBUG' in scope
348 |
349 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:350:37: error: cannot find 'SO_ACCEPTCONN' in scope
348 |
349 | @_alwaysEmitIntoClient
350 | internal var _SO_ACCEPTCONN: CInt { SO_ACCEPTCONN }
    |                                     `- error: cannot find 'SO_ACCEPTCONN' in scope
351 |
352 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:353:36: error: cannot find 'SO_REUSEADDR' in scope
351 |
352 | @_alwaysEmitIntoClient
353 | internal var _SO_REUSEADDR: CInt { SO_REUSEADDR }
    |                                    `- error: cannot find 'SO_REUSEADDR' in scope
354 |
355 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:356:36: error: cannot find 'SO_KEEPALIVE' in scope
354 |
355 | @_alwaysEmitIntoClient
356 | internal var _SO_KEEPALIVE: CInt { SO_KEEPALIVE }
    |                                    `- error: cannot find 'SO_KEEPALIVE' in scope
357 |
358 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:359:36: error: cannot find 'SO_DONTROUTE' in scope
357 |
358 | @_alwaysEmitIntoClient
359 | internal var _SO_DONTROUTE: CInt { SO_DONTROUTE }
    |                                    `- error: cannot find 'SO_DONTROUTE' in scope
360 |
361 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:362:36: error: cannot find 'SO_BROADCAST' in scope
360 |
361 | @_alwaysEmitIntoClient
362 | internal var _SO_BROADCAST: CInt { SO_BROADCAST }
    |                                    `- error: cannot find 'SO_BROADCAST' in scope
363 |
364 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:370:33: error: cannot find 'SO_LINGER' in scope
368 |
369 | @_alwaysEmitIntoClient
370 | internal var _SO_LINGER: CInt { SO_LINGER }
    |                                 `- error: cannot find 'SO_LINGER' in scope
371 |
372 | #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:384:50: error: cannot find 'SOCK_STREAM' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
385 |
386 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:387:49: error: cannot find 'SOCK_DGRAM' in scope
385 |
386 | @_alwaysEmitIntoClient
387 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
388 |
389 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:390:47: error: cannot find 'SOCK_RAW' in scope
388 |
389 | @_alwaysEmitIntoClient
390 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
391 |
392 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:393:47: error: cannot find 'SOCK_RDM' in scope
391 |
392 | @_alwaysEmitIntoClient
393 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
394 |
395 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:396:53: error: cannot find 'SOCK_SEQPACKET' in scope
394 |
395 | @_alwaysEmitIntoClient
396 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
397 |
398 | #if os(Linux) || os(Android)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:410:49: error: cannot find 'MSG_DONTROUTE' in scope
408 |
409 | @_alwaysEmitIntoClient
410 | internal var _MSG_DONTROUTE: CInt { numericCast(MSG_DONTROUTE) } /* send without using routing tables */
    |                                                 `- error: cannot find 'MSG_DONTROUTE' in scope
411 |
412 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:413:43: error: cannot find 'MSG_EOR' in scope
411 |
412 | @_alwaysEmitIntoClient
413 | internal var _MSG_EOR: CInt { numericCast(MSG_EOR) } /* data completes record */
    |                                           `- error: cannot find 'MSG_EOR' in scope
414 |
415 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:416:43: error: cannot find 'MSG_OOB' in scope
414 |
415 | @_alwaysEmitIntoClient
416 | internal var _MSG_OOB: CInt { numericCast(MSG_OOB) } /* process out-of-band data */
    |                                           `- error: cannot find 'MSG_OOB' in scope
417 |
418 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:419:44: error: cannot find 'MSG_PEEK' in scope
417 |
418 | @_alwaysEmitIntoClient
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
    |                                            `- error: cannot find 'MSG_PEEK' in scope
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:421:45: error: cannot find 'MSG_TRUNC' in scope
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
    |                                             `- error: cannot find 'MSG_TRUNC' in scope
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:423:46: error: cannot find 'MSG_CTRUNC' in scope
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
    |                                              `- error: cannot find 'MSG_CTRUNC' in scope
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:425:47: error: cannot find 'MSG_WAITALL' in scope
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
    |                                               `- error: cannot find 'MSG_WAITALL' in scope
426 |
427 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:428:48: error: cannot find 'MSG_DONTWAIT' in scope
426 |
427 | @_alwaysEmitIntoClient
428 | internal var _MSG_DONTWAIT: CInt { numericCast(MSG_DONTWAIT) } /* this message should be nonblocking */
    |                                                `- error: cannot find 'MSG_DONTWAIT' in scope
429 |
430 | #if canImport(Darwin)
[149/299] Compiling Socket Constants.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:60:29: error: cannot find type 'addrinfo' in scope
58 |
59 |     /// The C `addrinfo` type
60 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
61 |
62 |     /// The C `in_addr` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:43:34: error: cannot find 'O_NONBLOCK' in scope
 41 |
 42 | @_alwaysEmitIntoClient
 43 | internal var _O_NONBLOCK: CInt { O_NONBLOCK }
    |                                  `- error: cannot find 'O_NONBLOCK' in scope
 44 | #endif
 45 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:47:32: error: cannot find 'O_APPEND' in scope
 45 |
 46 | @_alwaysEmitIntoClient
 47 | internal var _O_APPEND: CInt { O_APPEND }
    |                                `- error: cannot find 'O_APPEND' in scope
 48 |
 49 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:60:31: error: cannot find 'O_ASYNC' in scope
 58 | // TODO: API?
 59 | @_alwaysEmitIntoClient
 60 | internal var _O_ASYNC: CInt { O_ASYNC }
    |                               `- error: cannot find 'O_ASYNC' in scope
 61 |
 62 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:67:31: error: cannot find 'O_CREAT' in scope
 65 |
 66 | @_alwaysEmitIntoClient
 67 | internal var _O_CREAT: CInt { O_CREAT }
    |                               `- error: cannot find 'O_CREAT' in scope
 68 |
 69 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:70:31: error: cannot find 'O_TRUNC' in scope
 68 |
 69 | @_alwaysEmitIntoClient
 70 | internal var _O_TRUNC: CInt { O_TRUNC }
    |                               `- error: cannot find 'O_TRUNC' in scope
 71 |
 72 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:73:30: error: cannot find 'O_EXCL' in scope
 71 |
 72 | @_alwaysEmitIntoClient
 73 | internal var _O_EXCL: CInt { O_EXCL }
    |                              `- error: cannot find 'O_EXCL' in scope
 74 |
 75 | #if canImport(Darwin)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:15:9: note: macro 'O_EXCL' unavailable: structure not supported
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
   |         `- note: macro 'O_EXCL' unavailable: structure not supported
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
17 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:86:35: error: cannot find 'O_DIRECTORY' in scope
 84 |
 85 | @_alwaysEmitIntoClient
 86 | internal var _O_DIRECTORY: CInt { O_DIRECTORY }
    |                                   `- error: cannot find 'O_DIRECTORY' in scope
 87 | #endif
 88 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:14:9: note: macro 'O_DIRECTORY' unavailable: structure not supported
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
   |         `- note: macro 'O_DIRECTORY' unavailable: structure not supported
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:120:31: error: cannot find 'F_DUPFD' in scope
118 |
119 | @_alwaysEmitIntoClient
120 | internal var _F_DUPFD: CInt { F_DUPFD }
    |                               `- error: cannot find 'F_DUPFD' in scope
121 |
122 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:123:39: error: cannot find 'F_DUPFD_CLOEXEC' in scope
121 |
122 | @_alwaysEmitIntoClient
123 | internal var _F_DUPFD_CLOEXEC: CInt { F_DUPFD_CLOEXEC }
    |                                       `- error: cannot find 'F_DUPFD_CLOEXEC' in scope
124 |
125 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:141:31: error: cannot find 'POLLPRI' in scope
139 |
140 | @_alwaysEmitIntoClient
141 | internal var _POLLPRI: CInt { POLLPRI }
    |                               `- error: cannot find 'POLLPRI' in scope
142 |
143 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:153:34: error: cannot find 'POLLRDBAND' in scope
151 |
152 | @_alwaysEmitIntoClient
153 | internal var _POLLRDBAND: CInt { POLLRDBAND }
    |                                  `- error: cannot find 'POLLRDBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:156:34: error: cannot find 'POLLWRBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
156 | internal var _POLLWRBAND: CInt { POLLWRBAND }
    |                                  `- error: cannot find 'POLLWRBAND' in scope
157 |
158 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:200:30: error: cannot find 'AF_IPX' in scope
198 |
199 | @_alwaysEmitIntoClient
200 | internal var _AF_IPX: CInt { AF_IPX }
    |                              `- error: cannot find 'AF_IPX' in scope
201 |
202 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:203:36: error: cannot find 'AF_APPLETALK' in scope
201 |
202 | @_alwaysEmitIntoClient
203 | internal var _AF_APPLETALK: CInt { AF_APPLETALK }
    |                                    `- error: cannot find 'AF_APPLETALK' in scope
204 |
205 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:207:33: error: cannot find 'AF_DECnet' in scope
205 | #if !os(Windows)
206 | @_alwaysEmitIntoClient
207 | internal var _AF_DECnet: CInt { AF_DECnet }
    |                                 `- error: cannot find 'AF_DECnet' in scope
208 |
209 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:210:32: error: cannot find 'AF_VSOCK' in scope
208 |
209 | @_alwaysEmitIntoClient
210 | internal var _AF_VSOCK: CInt { AF_VSOCK }
    |                                `- error: cannot find 'AF_VSOCK' in scope
211 |
212 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:213:31: error: cannot find 'AF_ISDN' in scope
211 |
212 | @_alwaysEmitIntoClient
213 | internal var _AF_ISDN: CInt { AF_ISDN }
    |                               `- error: cannot find 'AF_ISDN' in scope
214 | #endif
215 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:341:33: error: cannot find 'SOMAXCONN' in scope
339 | /// Maximum queue length specifiable by listen.
340 | @_alwaysEmitIntoClient
341 | internal var _SOMAXCONN: CInt { SOMAXCONN }
    |                                 `- error: cannot find 'SOMAXCONN' in scope
342 |
343 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:347:32: error: cannot find 'SO_DEBUG' in scope
345 |
346 | @_alwaysEmitIntoClient
347 | internal var _SO_DEBUG: CInt { SO_DEBUG }
    |                                `- error: cannot find 'SO_DEBUG' in scope
348 |
349 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:350:37: error: cannot find 'SO_ACCEPTCONN' in scope
348 |
349 | @_alwaysEmitIntoClient
350 | internal var _SO_ACCEPTCONN: CInt { SO_ACCEPTCONN }
    |                                     `- error: cannot find 'SO_ACCEPTCONN' in scope
351 |
352 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:353:36: error: cannot find 'SO_REUSEADDR' in scope
351 |
352 | @_alwaysEmitIntoClient
353 | internal var _SO_REUSEADDR: CInt { SO_REUSEADDR }
    |                                    `- error: cannot find 'SO_REUSEADDR' in scope
354 |
355 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:356:36: error: cannot find 'SO_KEEPALIVE' in scope
354 |
355 | @_alwaysEmitIntoClient
356 | internal var _SO_KEEPALIVE: CInt { SO_KEEPALIVE }
    |                                    `- error: cannot find 'SO_KEEPALIVE' in scope
357 |
358 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:359:36: error: cannot find 'SO_DONTROUTE' in scope
357 |
358 | @_alwaysEmitIntoClient
359 | internal var _SO_DONTROUTE: CInt { SO_DONTROUTE }
    |                                    `- error: cannot find 'SO_DONTROUTE' in scope
360 |
361 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:362:36: error: cannot find 'SO_BROADCAST' in scope
360 |
361 | @_alwaysEmitIntoClient
362 | internal var _SO_BROADCAST: CInt { SO_BROADCAST }
    |                                    `- error: cannot find 'SO_BROADCAST' in scope
363 |
364 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:370:33: error: cannot find 'SO_LINGER' in scope
368 |
369 | @_alwaysEmitIntoClient
370 | internal var _SO_LINGER: CInt { SO_LINGER }
    |                                 `- error: cannot find 'SO_LINGER' in scope
371 |
372 | #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:384:50: error: cannot find 'SOCK_STREAM' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
385 |
386 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:387:49: error: cannot find 'SOCK_DGRAM' in scope
385 |
386 | @_alwaysEmitIntoClient
387 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
388 |
389 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:390:47: error: cannot find 'SOCK_RAW' in scope
388 |
389 | @_alwaysEmitIntoClient
390 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
391 |
392 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:393:47: error: cannot find 'SOCK_RDM' in scope
391 |
392 | @_alwaysEmitIntoClient
393 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
394 |
395 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:396:53: error: cannot find 'SOCK_SEQPACKET' in scope
394 |
395 | @_alwaysEmitIntoClient
396 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
397 |
398 | #if os(Linux) || os(Android)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:410:49: error: cannot find 'MSG_DONTROUTE' in scope
408 |
409 | @_alwaysEmitIntoClient
410 | internal var _MSG_DONTROUTE: CInt { numericCast(MSG_DONTROUTE) } /* send without using routing tables */
    |                                                 `- error: cannot find 'MSG_DONTROUTE' in scope
411 |
412 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:413:43: error: cannot find 'MSG_EOR' in scope
411 |
412 | @_alwaysEmitIntoClient
413 | internal var _MSG_EOR: CInt { numericCast(MSG_EOR) } /* data completes record */
    |                                           `- error: cannot find 'MSG_EOR' in scope
414 |
415 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:416:43: error: cannot find 'MSG_OOB' in scope
414 |
415 | @_alwaysEmitIntoClient
416 | internal var _MSG_OOB: CInt { numericCast(MSG_OOB) } /* process out-of-band data */
    |                                           `- error: cannot find 'MSG_OOB' in scope
417 |
418 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:419:44: error: cannot find 'MSG_PEEK' in scope
417 |
418 | @_alwaysEmitIntoClient
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
    |                                            `- error: cannot find 'MSG_PEEK' in scope
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:421:45: error: cannot find 'MSG_TRUNC' in scope
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
    |                                             `- error: cannot find 'MSG_TRUNC' in scope
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:423:46: error: cannot find 'MSG_CTRUNC' in scope
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
    |                                              `- error: cannot find 'MSG_CTRUNC' in scope
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:425:47: error: cannot find 'MSG_WAITALL' in scope
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
    |                                               `- error: cannot find 'MSG_WAITALL' in scope
426 |
427 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:428:48: error: cannot find 'MSG_DONTWAIT' in scope
426 |
427 | @_alwaysEmitIntoClient
428 | internal var _MSG_DONTWAIT: CInt { numericCast(MSG_DONTWAIT) } /* this message should be nonblocking */
    |                                                `- error: cannot find 'MSG_DONTWAIT' in scope
429 |
430 | #if canImport(Darwin)
[150/299] Compiling Socket Errno.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:60:29: error: cannot find type 'addrinfo' in scope
58 |
59 |     /// The C `addrinfo` type
60 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
61 |
62 |     /// The C `in_addr` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:43:34: error: cannot find 'O_NONBLOCK' in scope
 41 |
 42 | @_alwaysEmitIntoClient
 43 | internal var _O_NONBLOCK: CInt { O_NONBLOCK }
    |                                  `- error: cannot find 'O_NONBLOCK' in scope
 44 | #endif
 45 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:47:32: error: cannot find 'O_APPEND' in scope
 45 |
 46 | @_alwaysEmitIntoClient
 47 | internal var _O_APPEND: CInt { O_APPEND }
    |                                `- error: cannot find 'O_APPEND' in scope
 48 |
 49 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:60:31: error: cannot find 'O_ASYNC' in scope
 58 | // TODO: API?
 59 | @_alwaysEmitIntoClient
 60 | internal var _O_ASYNC: CInt { O_ASYNC }
    |                               `- error: cannot find 'O_ASYNC' in scope
 61 |
 62 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:67:31: error: cannot find 'O_CREAT' in scope
 65 |
 66 | @_alwaysEmitIntoClient
 67 | internal var _O_CREAT: CInt { O_CREAT }
    |                               `- error: cannot find 'O_CREAT' in scope
 68 |
 69 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:70:31: error: cannot find 'O_TRUNC' in scope
 68 |
 69 | @_alwaysEmitIntoClient
 70 | internal var _O_TRUNC: CInt { O_TRUNC }
    |                               `- error: cannot find 'O_TRUNC' in scope
 71 |
 72 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:73:30: error: cannot find 'O_EXCL' in scope
 71 |
 72 | @_alwaysEmitIntoClient
 73 | internal var _O_EXCL: CInt { O_EXCL }
    |                              `- error: cannot find 'O_EXCL' in scope
 74 |
 75 | #if canImport(Darwin)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:15:9: note: macro 'O_EXCL' unavailable: structure not supported
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
   |         `- note: macro 'O_EXCL' unavailable: structure not supported
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
17 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:86:35: error: cannot find 'O_DIRECTORY' in scope
 84 |
 85 | @_alwaysEmitIntoClient
 86 | internal var _O_DIRECTORY: CInt { O_DIRECTORY }
    |                                   `- error: cannot find 'O_DIRECTORY' in scope
 87 | #endif
 88 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:14:9: note: macro 'O_DIRECTORY' unavailable: structure not supported
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
   |         `- note: macro 'O_DIRECTORY' unavailable: structure not supported
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:120:31: error: cannot find 'F_DUPFD' in scope
118 |
119 | @_alwaysEmitIntoClient
120 | internal var _F_DUPFD: CInt { F_DUPFD }
    |                               `- error: cannot find 'F_DUPFD' in scope
121 |
122 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:123:39: error: cannot find 'F_DUPFD_CLOEXEC' in scope
121 |
122 | @_alwaysEmitIntoClient
123 | internal var _F_DUPFD_CLOEXEC: CInt { F_DUPFD_CLOEXEC }
    |                                       `- error: cannot find 'F_DUPFD_CLOEXEC' in scope
124 |
125 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:141:31: error: cannot find 'POLLPRI' in scope
139 |
140 | @_alwaysEmitIntoClient
141 | internal var _POLLPRI: CInt { POLLPRI }
    |                               `- error: cannot find 'POLLPRI' in scope
142 |
143 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:153:34: error: cannot find 'POLLRDBAND' in scope
151 |
152 | @_alwaysEmitIntoClient
153 | internal var _POLLRDBAND: CInt { POLLRDBAND }
    |                                  `- error: cannot find 'POLLRDBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:156:34: error: cannot find 'POLLWRBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
156 | internal var _POLLWRBAND: CInt { POLLWRBAND }
    |                                  `- error: cannot find 'POLLWRBAND' in scope
157 |
158 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:200:30: error: cannot find 'AF_IPX' in scope
198 |
199 | @_alwaysEmitIntoClient
200 | internal var _AF_IPX: CInt { AF_IPX }
    |                              `- error: cannot find 'AF_IPX' in scope
201 |
202 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:203:36: error: cannot find 'AF_APPLETALK' in scope
201 |
202 | @_alwaysEmitIntoClient
203 | internal var _AF_APPLETALK: CInt { AF_APPLETALK }
    |                                    `- error: cannot find 'AF_APPLETALK' in scope
204 |
205 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:207:33: error: cannot find 'AF_DECnet' in scope
205 | #if !os(Windows)
206 | @_alwaysEmitIntoClient
207 | internal var _AF_DECnet: CInt { AF_DECnet }
    |                                 `- error: cannot find 'AF_DECnet' in scope
208 |
209 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:210:32: error: cannot find 'AF_VSOCK' in scope
208 |
209 | @_alwaysEmitIntoClient
210 | internal var _AF_VSOCK: CInt { AF_VSOCK }
    |                                `- error: cannot find 'AF_VSOCK' in scope
211 |
212 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:213:31: error: cannot find 'AF_ISDN' in scope
211 |
212 | @_alwaysEmitIntoClient
213 | internal var _AF_ISDN: CInt { AF_ISDN }
    |                               `- error: cannot find 'AF_ISDN' in scope
214 | #endif
215 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:341:33: error: cannot find 'SOMAXCONN' in scope
339 | /// Maximum queue length specifiable by listen.
340 | @_alwaysEmitIntoClient
341 | internal var _SOMAXCONN: CInt { SOMAXCONN }
    |                                 `- error: cannot find 'SOMAXCONN' in scope
342 |
343 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:347:32: error: cannot find 'SO_DEBUG' in scope
345 |
346 | @_alwaysEmitIntoClient
347 | internal var _SO_DEBUG: CInt { SO_DEBUG }
    |                                `- error: cannot find 'SO_DEBUG' in scope
348 |
349 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:350:37: error: cannot find 'SO_ACCEPTCONN' in scope
348 |
349 | @_alwaysEmitIntoClient
350 | internal var _SO_ACCEPTCONN: CInt { SO_ACCEPTCONN }
    |                                     `- error: cannot find 'SO_ACCEPTCONN' in scope
351 |
352 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:353:36: error: cannot find 'SO_REUSEADDR' in scope
351 |
352 | @_alwaysEmitIntoClient
353 | internal var _SO_REUSEADDR: CInt { SO_REUSEADDR }
    |                                    `- error: cannot find 'SO_REUSEADDR' in scope
354 |
355 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:356:36: error: cannot find 'SO_KEEPALIVE' in scope
354 |
355 | @_alwaysEmitIntoClient
356 | internal var _SO_KEEPALIVE: CInt { SO_KEEPALIVE }
    |                                    `- error: cannot find 'SO_KEEPALIVE' in scope
357 |
358 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:359:36: error: cannot find 'SO_DONTROUTE' in scope
357 |
358 | @_alwaysEmitIntoClient
359 | internal var _SO_DONTROUTE: CInt { SO_DONTROUTE }
    |                                    `- error: cannot find 'SO_DONTROUTE' in scope
360 |
361 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:362:36: error: cannot find 'SO_BROADCAST' in scope
360 |
361 | @_alwaysEmitIntoClient
362 | internal var _SO_BROADCAST: CInt { SO_BROADCAST }
    |                                    `- error: cannot find 'SO_BROADCAST' in scope
363 |
364 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:370:33: error: cannot find 'SO_LINGER' in scope
368 |
369 | @_alwaysEmitIntoClient
370 | internal var _SO_LINGER: CInt { SO_LINGER }
    |                                 `- error: cannot find 'SO_LINGER' in scope
371 |
372 | #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:384:50: error: cannot find 'SOCK_STREAM' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
385 |
386 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:387:49: error: cannot find 'SOCK_DGRAM' in scope
385 |
386 | @_alwaysEmitIntoClient
387 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
388 |
389 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:390:47: error: cannot find 'SOCK_RAW' in scope
388 |
389 | @_alwaysEmitIntoClient
390 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
391 |
392 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:393:47: error: cannot find 'SOCK_RDM' in scope
391 |
392 | @_alwaysEmitIntoClient
393 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
394 |
395 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:396:53: error: cannot find 'SOCK_SEQPACKET' in scope
394 |
395 | @_alwaysEmitIntoClient
396 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
397 |
398 | #if os(Linux) || os(Android)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:410:49: error: cannot find 'MSG_DONTROUTE' in scope
408 |
409 | @_alwaysEmitIntoClient
410 | internal var _MSG_DONTROUTE: CInt { numericCast(MSG_DONTROUTE) } /* send without using routing tables */
    |                                                 `- error: cannot find 'MSG_DONTROUTE' in scope
411 |
412 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:413:43: error: cannot find 'MSG_EOR' in scope
411 |
412 | @_alwaysEmitIntoClient
413 | internal var _MSG_EOR: CInt { numericCast(MSG_EOR) } /* data completes record */
    |                                           `- error: cannot find 'MSG_EOR' in scope
414 |
415 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:416:43: error: cannot find 'MSG_OOB' in scope
414 |
415 | @_alwaysEmitIntoClient
416 | internal var _MSG_OOB: CInt { numericCast(MSG_OOB) } /* process out-of-band data */
    |                                           `- error: cannot find 'MSG_OOB' in scope
417 |
418 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:419:44: error: cannot find 'MSG_PEEK' in scope
417 |
418 | @_alwaysEmitIntoClient
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
    |                                            `- error: cannot find 'MSG_PEEK' in scope
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:421:45: error: cannot find 'MSG_TRUNC' in scope
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
    |                                             `- error: cannot find 'MSG_TRUNC' in scope
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:423:46: error: cannot find 'MSG_CTRUNC' in scope
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
    |                                              `- error: cannot find 'MSG_CTRUNC' in scope
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:425:47: error: cannot find 'MSG_WAITALL' in scope
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
    |                                               `- error: cannot find 'MSG_WAITALL' in scope
426 |
427 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:428:48: error: cannot find 'MSG_DONTWAIT' in scope
426 |
427 | @_alwaysEmitIntoClient
428 | internal var _MSG_DONTWAIT: CInt { numericCast(MSG_DONTWAIT) } /* this message should be nonblocking */
    |                                                `- error: cannot find 'MSG_DONTWAIT' in scope
429 |
430 | #if canImport(Darwin)
[151/299] Compiling Socket FileChange.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:60:29: error: cannot find type 'addrinfo' in scope
58 |
59 |     /// The C `addrinfo` type
60 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
61 |
62 |     /// The C `in_addr` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:43:34: error: cannot find 'O_NONBLOCK' in scope
 41 |
 42 | @_alwaysEmitIntoClient
 43 | internal var _O_NONBLOCK: CInt { O_NONBLOCK }
    |                                  `- error: cannot find 'O_NONBLOCK' in scope
 44 | #endif
 45 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:47:32: error: cannot find 'O_APPEND' in scope
 45 |
 46 | @_alwaysEmitIntoClient
 47 | internal var _O_APPEND: CInt { O_APPEND }
    |                                `- error: cannot find 'O_APPEND' in scope
 48 |
 49 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:60:31: error: cannot find 'O_ASYNC' in scope
 58 | // TODO: API?
 59 | @_alwaysEmitIntoClient
 60 | internal var _O_ASYNC: CInt { O_ASYNC }
    |                               `- error: cannot find 'O_ASYNC' in scope
 61 |
 62 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:67:31: error: cannot find 'O_CREAT' in scope
 65 |
 66 | @_alwaysEmitIntoClient
 67 | internal var _O_CREAT: CInt { O_CREAT }
    |                               `- error: cannot find 'O_CREAT' in scope
 68 |
 69 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:70:31: error: cannot find 'O_TRUNC' in scope
 68 |
 69 | @_alwaysEmitIntoClient
 70 | internal var _O_TRUNC: CInt { O_TRUNC }
    |                               `- error: cannot find 'O_TRUNC' in scope
 71 |
 72 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:73:30: error: cannot find 'O_EXCL' in scope
 71 |
 72 | @_alwaysEmitIntoClient
 73 | internal var _O_EXCL: CInt { O_EXCL }
    |                              `- error: cannot find 'O_EXCL' in scope
 74 |
 75 | #if canImport(Darwin)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:15:9: note: macro 'O_EXCL' unavailable: structure not supported
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
   |         `- note: macro 'O_EXCL' unavailable: structure not supported
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
17 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:86:35: error: cannot find 'O_DIRECTORY' in scope
 84 |
 85 | @_alwaysEmitIntoClient
 86 | internal var _O_DIRECTORY: CInt { O_DIRECTORY }
    |                                   `- error: cannot find 'O_DIRECTORY' in scope
 87 | #endif
 88 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:14:9: note: macro 'O_DIRECTORY' unavailable: structure not supported
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
   |         `- note: macro 'O_DIRECTORY' unavailable: structure not supported
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:120:31: error: cannot find 'F_DUPFD' in scope
118 |
119 | @_alwaysEmitIntoClient
120 | internal var _F_DUPFD: CInt { F_DUPFD }
    |                               `- error: cannot find 'F_DUPFD' in scope
121 |
122 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:123:39: error: cannot find 'F_DUPFD_CLOEXEC' in scope
121 |
122 | @_alwaysEmitIntoClient
123 | internal var _F_DUPFD_CLOEXEC: CInt { F_DUPFD_CLOEXEC }
    |                                       `- error: cannot find 'F_DUPFD_CLOEXEC' in scope
124 |
125 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:141:31: error: cannot find 'POLLPRI' in scope
139 |
140 | @_alwaysEmitIntoClient
141 | internal var _POLLPRI: CInt { POLLPRI }
    |                               `- error: cannot find 'POLLPRI' in scope
142 |
143 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:153:34: error: cannot find 'POLLRDBAND' in scope
151 |
152 | @_alwaysEmitIntoClient
153 | internal var _POLLRDBAND: CInt { POLLRDBAND }
    |                                  `- error: cannot find 'POLLRDBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:156:34: error: cannot find 'POLLWRBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
156 | internal var _POLLWRBAND: CInt { POLLWRBAND }
    |                                  `- error: cannot find 'POLLWRBAND' in scope
157 |
158 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:200:30: error: cannot find 'AF_IPX' in scope
198 |
199 | @_alwaysEmitIntoClient
200 | internal var _AF_IPX: CInt { AF_IPX }
    |                              `- error: cannot find 'AF_IPX' in scope
201 |
202 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:203:36: error: cannot find 'AF_APPLETALK' in scope
201 |
202 | @_alwaysEmitIntoClient
203 | internal var _AF_APPLETALK: CInt { AF_APPLETALK }
    |                                    `- error: cannot find 'AF_APPLETALK' in scope
204 |
205 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:207:33: error: cannot find 'AF_DECnet' in scope
205 | #if !os(Windows)
206 | @_alwaysEmitIntoClient
207 | internal var _AF_DECnet: CInt { AF_DECnet }
    |                                 `- error: cannot find 'AF_DECnet' in scope
208 |
209 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:210:32: error: cannot find 'AF_VSOCK' in scope
208 |
209 | @_alwaysEmitIntoClient
210 | internal var _AF_VSOCK: CInt { AF_VSOCK }
    |                                `- error: cannot find 'AF_VSOCK' in scope
211 |
212 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:213:31: error: cannot find 'AF_ISDN' in scope
211 |
212 | @_alwaysEmitIntoClient
213 | internal var _AF_ISDN: CInt { AF_ISDN }
    |                               `- error: cannot find 'AF_ISDN' in scope
214 | #endif
215 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:341:33: error: cannot find 'SOMAXCONN' in scope
339 | /// Maximum queue length specifiable by listen.
340 | @_alwaysEmitIntoClient
341 | internal var _SOMAXCONN: CInt { SOMAXCONN }
    |                                 `- error: cannot find 'SOMAXCONN' in scope
342 |
343 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:347:32: error: cannot find 'SO_DEBUG' in scope
345 |
346 | @_alwaysEmitIntoClient
347 | internal var _SO_DEBUG: CInt { SO_DEBUG }
    |                                `- error: cannot find 'SO_DEBUG' in scope
348 |
349 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:350:37: error: cannot find 'SO_ACCEPTCONN' in scope
348 |
349 | @_alwaysEmitIntoClient
350 | internal var _SO_ACCEPTCONN: CInt { SO_ACCEPTCONN }
    |                                     `- error: cannot find 'SO_ACCEPTCONN' in scope
351 |
352 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:353:36: error: cannot find 'SO_REUSEADDR' in scope
351 |
352 | @_alwaysEmitIntoClient
353 | internal var _SO_REUSEADDR: CInt { SO_REUSEADDR }
    |                                    `- error: cannot find 'SO_REUSEADDR' in scope
354 |
355 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:356:36: error: cannot find 'SO_KEEPALIVE' in scope
354 |
355 | @_alwaysEmitIntoClient
356 | internal var _SO_KEEPALIVE: CInt { SO_KEEPALIVE }
    |                                    `- error: cannot find 'SO_KEEPALIVE' in scope
357 |
358 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:359:36: error: cannot find 'SO_DONTROUTE' in scope
357 |
358 | @_alwaysEmitIntoClient
359 | internal var _SO_DONTROUTE: CInt { SO_DONTROUTE }
    |                                    `- error: cannot find 'SO_DONTROUTE' in scope
360 |
361 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:362:36: error: cannot find 'SO_BROADCAST' in scope
360 |
361 | @_alwaysEmitIntoClient
362 | internal var _SO_BROADCAST: CInt { SO_BROADCAST }
    |                                    `- error: cannot find 'SO_BROADCAST' in scope
363 |
364 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:370:33: error: cannot find 'SO_LINGER' in scope
368 |
369 | @_alwaysEmitIntoClient
370 | internal var _SO_LINGER: CInt { SO_LINGER }
    |                                 `- error: cannot find 'SO_LINGER' in scope
371 |
372 | #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:384:50: error: cannot find 'SOCK_STREAM' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
385 |
386 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:387:49: error: cannot find 'SOCK_DGRAM' in scope
385 |
386 | @_alwaysEmitIntoClient
387 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
388 |
389 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:390:47: error: cannot find 'SOCK_RAW' in scope
388 |
389 | @_alwaysEmitIntoClient
390 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
391 |
392 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:393:47: error: cannot find 'SOCK_RDM' in scope
391 |
392 | @_alwaysEmitIntoClient
393 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
394 |
395 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:396:53: error: cannot find 'SOCK_SEQPACKET' in scope
394 |
395 | @_alwaysEmitIntoClient
396 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
397 |
398 | #if os(Linux) || os(Android)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:410:49: error: cannot find 'MSG_DONTROUTE' in scope
408 |
409 | @_alwaysEmitIntoClient
410 | internal var _MSG_DONTROUTE: CInt { numericCast(MSG_DONTROUTE) } /* send without using routing tables */
    |                                                 `- error: cannot find 'MSG_DONTROUTE' in scope
411 |
412 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:413:43: error: cannot find 'MSG_EOR' in scope
411 |
412 | @_alwaysEmitIntoClient
413 | internal var _MSG_EOR: CInt { numericCast(MSG_EOR) } /* data completes record */
    |                                           `- error: cannot find 'MSG_EOR' in scope
414 |
415 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:416:43: error: cannot find 'MSG_OOB' in scope
414 |
415 | @_alwaysEmitIntoClient
416 | internal var _MSG_OOB: CInt { numericCast(MSG_OOB) } /* process out-of-band data */
    |                                           `- error: cannot find 'MSG_OOB' in scope
417 |
418 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:419:44: error: cannot find 'MSG_PEEK' in scope
417 |
418 | @_alwaysEmitIntoClient
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
    |                                            `- error: cannot find 'MSG_PEEK' in scope
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:421:45: error: cannot find 'MSG_TRUNC' in scope
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
    |                                             `- error: cannot find 'MSG_TRUNC' in scope
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:423:46: error: cannot find 'MSG_CTRUNC' in scope
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
    |                                              `- error: cannot find 'MSG_CTRUNC' in scope
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:425:47: error: cannot find 'MSG_WAITALL' in scope
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
    |                                               `- error: cannot find 'MSG_WAITALL' in scope
426 |
427 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:428:48: error: cannot find 'MSG_DONTWAIT' in scope
426 |
427 | @_alwaysEmitIntoClient
428 | internal var _MSG_DONTWAIT: CInt { numericCast(MSG_DONTWAIT) } /* this message should be nonblocking */
    |                                                `- error: cannot find 'MSG_DONTWAIT' in scope
429 |
430 | #if canImport(Darwin)
[152/299] Compiling Socket FileEvent.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:60:29: error: cannot find type 'addrinfo' in scope
58 |
59 |     /// The C `addrinfo` type
60 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
61 |
62 |     /// The C `in_addr` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:43:34: error: cannot find 'O_NONBLOCK' in scope
 41 |
 42 | @_alwaysEmitIntoClient
 43 | internal var _O_NONBLOCK: CInt { O_NONBLOCK }
    |                                  `- error: cannot find 'O_NONBLOCK' in scope
 44 | #endif
 45 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:47:32: error: cannot find 'O_APPEND' in scope
 45 |
 46 | @_alwaysEmitIntoClient
 47 | internal var _O_APPEND: CInt { O_APPEND }
    |                                `- error: cannot find 'O_APPEND' in scope
 48 |
 49 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:60:31: error: cannot find 'O_ASYNC' in scope
 58 | // TODO: API?
 59 | @_alwaysEmitIntoClient
 60 | internal var _O_ASYNC: CInt { O_ASYNC }
    |                               `- error: cannot find 'O_ASYNC' in scope
 61 |
 62 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:67:31: error: cannot find 'O_CREAT' in scope
 65 |
 66 | @_alwaysEmitIntoClient
 67 | internal var _O_CREAT: CInt { O_CREAT }
    |                               `- error: cannot find 'O_CREAT' in scope
 68 |
 69 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:70:31: error: cannot find 'O_TRUNC' in scope
 68 |
 69 | @_alwaysEmitIntoClient
 70 | internal var _O_TRUNC: CInt { O_TRUNC }
    |                               `- error: cannot find 'O_TRUNC' in scope
 71 |
 72 | @_alwaysEmitIntoClient
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:73:30: error: cannot find 'O_EXCL' in scope
 71 |
 72 | @_alwaysEmitIntoClient
 73 | internal var _O_EXCL: CInt { O_EXCL }
    |                              `- error: cannot find 'O_EXCL' in scope
 74 |
 75 | #if canImport(Darwin)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:15:9: note: macro 'O_EXCL' unavailable: structure not supported
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
   |         `- note: macro 'O_EXCL' unavailable: structure not supported
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
17 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:86:35: error: cannot find 'O_DIRECTORY' in scope
 84 |
 85 | @_alwaysEmitIntoClient
 86 | internal var _O_DIRECTORY: CInt { O_DIRECTORY }
    |                                   `- error: cannot find 'O_DIRECTORY' in scope
 87 | #endif
 88 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:14:9: note: macro 'O_DIRECTORY' unavailable: structure not supported
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
   |         `- note: macro 'O_DIRECTORY' unavailable: structure not supported
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:120:31: error: cannot find 'F_DUPFD' in scope
118 |
119 | @_alwaysEmitIntoClient
120 | internal var _F_DUPFD: CInt { F_DUPFD }
    |                               `- error: cannot find 'F_DUPFD' in scope
121 |
122 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:123:39: error: cannot find 'F_DUPFD_CLOEXEC' in scope
121 |
122 | @_alwaysEmitIntoClient
123 | internal var _F_DUPFD_CLOEXEC: CInt { F_DUPFD_CLOEXEC }
    |                                       `- error: cannot find 'F_DUPFD_CLOEXEC' in scope
124 |
125 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:141:31: error: cannot find 'POLLPRI' in scope
139 |
140 | @_alwaysEmitIntoClient
141 | internal var _POLLPRI: CInt { POLLPRI }
    |                               `- error: cannot find 'POLLPRI' in scope
142 |
143 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:153:34: error: cannot find 'POLLRDBAND' in scope
151 |
152 | @_alwaysEmitIntoClient
153 | internal var _POLLRDBAND: CInt { POLLRDBAND }
    |                                  `- error: cannot find 'POLLRDBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:156:34: error: cannot find 'POLLWRBAND' in scope
154 |
155 | @_alwaysEmitIntoClient
156 | internal var _POLLWRBAND: CInt { POLLWRBAND }
    |                                  `- error: cannot find 'POLLWRBAND' in scope
157 |
158 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:200:30: error: cannot find 'AF_IPX' in scope
198 |
199 | @_alwaysEmitIntoClient
200 | internal var _AF_IPX: CInt { AF_IPX }
    |                              `- error: cannot find 'AF_IPX' in scope
201 |
202 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:203:36: error: cannot find 'AF_APPLETALK' in scope
201 |
202 | @_alwaysEmitIntoClient
203 | internal var _AF_APPLETALK: CInt { AF_APPLETALK }
    |                                    `- error: cannot find 'AF_APPLETALK' in scope
204 |
205 | #if !os(Windows)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:207:33: error: cannot find 'AF_DECnet' in scope
205 | #if !os(Windows)
206 | @_alwaysEmitIntoClient
207 | internal var _AF_DECnet: CInt { AF_DECnet }
    |                                 `- error: cannot find 'AF_DECnet' in scope
208 |
209 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:210:32: error: cannot find 'AF_VSOCK' in scope
208 |
209 | @_alwaysEmitIntoClient
210 | internal var _AF_VSOCK: CInt { AF_VSOCK }
    |                                `- error: cannot find 'AF_VSOCK' in scope
211 |
212 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:213:31: error: cannot find 'AF_ISDN' in scope
211 |
212 | @_alwaysEmitIntoClient
213 | internal var _AF_ISDN: CInt { AF_ISDN }
    |                               `- error: cannot find 'AF_ISDN' in scope
214 | #endif
215 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:341:33: error: cannot find 'SOMAXCONN' in scope
339 | /// Maximum queue length specifiable by listen.
340 | @_alwaysEmitIntoClient
341 | internal var _SOMAXCONN: CInt { SOMAXCONN }
    |                                 `- error: cannot find 'SOMAXCONN' in scope
342 |
343 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:347:32: error: cannot find 'SO_DEBUG' in scope
345 |
346 | @_alwaysEmitIntoClient
347 | internal var _SO_DEBUG: CInt { SO_DEBUG }
    |                                `- error: cannot find 'SO_DEBUG' in scope
348 |
349 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:350:37: error: cannot find 'SO_ACCEPTCONN' in scope
348 |
349 | @_alwaysEmitIntoClient
350 | internal var _SO_ACCEPTCONN: CInt { SO_ACCEPTCONN }
    |                                     `- error: cannot find 'SO_ACCEPTCONN' in scope
351 |
352 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:353:36: error: cannot find 'SO_REUSEADDR' in scope
351 |
352 | @_alwaysEmitIntoClient
353 | internal var _SO_REUSEADDR: CInt { SO_REUSEADDR }
    |                                    `- error: cannot find 'SO_REUSEADDR' in scope
354 |
355 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:356:36: error: cannot find 'SO_KEEPALIVE' in scope
354 |
355 | @_alwaysEmitIntoClient
356 | internal var _SO_KEEPALIVE: CInt { SO_KEEPALIVE }
    |                                    `- error: cannot find 'SO_KEEPALIVE' in scope
357 |
358 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:359:36: error: cannot find 'SO_DONTROUTE' in scope
357 |
358 | @_alwaysEmitIntoClient
359 | internal var _SO_DONTROUTE: CInt { SO_DONTROUTE }
    |                                    `- error: cannot find 'SO_DONTROUTE' in scope
360 |
361 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:362:36: error: cannot find 'SO_BROADCAST' in scope
360 |
361 | @_alwaysEmitIntoClient
362 | internal var _SO_BROADCAST: CInt { SO_BROADCAST }
    |                                    `- error: cannot find 'SO_BROADCAST' in scope
363 |
364 | #if canImport(Darwin)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:370:33: error: cannot find 'SO_LINGER' in scope
368 |
369 | @_alwaysEmitIntoClient
370 | internal var _SO_LINGER: CInt { SO_LINGER }
    |                                 `- error: cannot find 'SO_LINGER' in scope
371 |
372 | #if os(Linux)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:384:50: error: cannot find 'SOCK_STREAM' in scope
382 |
383 | @_alwaysEmitIntoClient
384 | internal var _SOCK_STREAM: CInterop.SocketType { SOCK_STREAM }
    |                                                  `- error: cannot find 'SOCK_STREAM' in scope
385 |
386 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:387:49: error: cannot find 'SOCK_DGRAM' in scope
385 |
386 | @_alwaysEmitIntoClient
387 | internal var _SOCK_DGRAM: CInterop.SocketType { SOCK_DGRAM }
    |                                                 `- error: cannot find 'SOCK_DGRAM' in scope
388 |
389 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:390:47: error: cannot find 'SOCK_RAW' in scope
388 |
389 | @_alwaysEmitIntoClient
390 | internal var _SOCK_RAW: CInterop.SocketType { SOCK_RAW }
    |                                               `- error: cannot find 'SOCK_RAW' in scope
391 |
392 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:393:47: error: cannot find 'SOCK_RDM' in scope
391 |
392 | @_alwaysEmitIntoClient
393 | internal var _SOCK_RDM: CInterop.SocketType { SOCK_RDM }
    |                                               `- error: cannot find 'SOCK_RDM' in scope
394 |
395 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:396:53: error: cannot find 'SOCK_SEQPACKET' in scope
394 |
395 | @_alwaysEmitIntoClient
396 | internal var _SOCK_SEQPACKET: CInterop.SocketType { SOCK_SEQPACKET }
    |                                                     `- error: cannot find 'SOCK_SEQPACKET' in scope
397 |
398 | #if os(Linux) || os(Android)
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:410:49: error: cannot find 'MSG_DONTROUTE' in scope
408 |
409 | @_alwaysEmitIntoClient
410 | internal var _MSG_DONTROUTE: CInt { numericCast(MSG_DONTROUTE) } /* send without using routing tables */
    |                                                 `- error: cannot find 'MSG_DONTROUTE' in scope
411 |
412 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:413:43: error: cannot find 'MSG_EOR' in scope
411 |
412 | @_alwaysEmitIntoClient
413 | internal var _MSG_EOR: CInt { numericCast(MSG_EOR) } /* data completes record */
    |                                           `- error: cannot find 'MSG_EOR' in scope
414 |
415 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:416:43: error: cannot find 'MSG_OOB' in scope
414 |
415 | @_alwaysEmitIntoClient
416 | internal var _MSG_OOB: CInt { numericCast(MSG_OOB) } /* process out-of-band data */
    |                                           `- error: cannot find 'MSG_OOB' in scope
417 |
418 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:419:44: error: cannot find 'MSG_PEEK' in scope
417 |
418 | @_alwaysEmitIntoClient
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
    |                                            `- error: cannot find 'MSG_PEEK' in scope
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:421:45: error: cannot find 'MSG_TRUNC' in scope
419 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
420 | @_alwaysEmitIntoClient
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
    |                                             `- error: cannot find 'MSG_TRUNC' in scope
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:423:46: error: cannot find 'MSG_CTRUNC' in scope
421 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
422 | @_alwaysEmitIntoClient
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
    |                                              `- error: cannot find 'MSG_CTRUNC' in scope
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:425:47: error: cannot find 'MSG_WAITALL' in scope
423 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
424 | @_alwaysEmitIntoClient
425 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
    |                                               `- error: cannot find 'MSG_WAITALL' in scope
426 |
427 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Constants.swift:428:48: error: cannot find 'MSG_DONTWAIT' in scope
426 |
427 | @_alwaysEmitIntoClient
428 | internal var _MSG_DONTWAIT: CInt { numericCast(MSG_DONTWAIT) } /* this message should be nonblocking */
    |                                                `- error: cannot find 'MSG_DONTWAIT' in scope
429 |
430 | #if canImport(Darwin)
[153/299] Compiling Socket Socket.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketManager/AsyncSocketManager.swift:280:25: error: type 'Errno' has no member 'socketShutdown'
278 |     ) throws -> AsyncSocketManager.SocketState {
279 |         guard let socket = state.sockets[fileDescriptor] else {
280 |             throw Errno.socketShutdown
    |                         `- error: type 'Errno' has no member 'socketShutdown'
281 |         }
282 |         return socket
[154/299] Compiling Socket SocketContinuation.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketManager/AsyncSocketManager.swift:280:25: error: type 'Errno' has no member 'socketShutdown'
278 |     ) throws -> AsyncSocketManager.SocketState {
279 |         guard let socket = state.sockets[fileDescriptor] else {
280 |             throw Errno.socketShutdown
    |                         `- error: type 'Errno' has no member 'socketShutdown'
281 |         }
282 |         return socket
[155/299] Compiling Socket SocketManager.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketManager/AsyncSocketManager.swift:280:25: error: type 'Errno' has no member 'socketShutdown'
278 |     ) throws -> AsyncSocketManager.SocketState {
279 |         guard let socket = state.sockets[fileDescriptor] else {
280 |             throw Errno.socketShutdown
    |                         `- error: type 'Errno' has no member 'socketShutdown'
281 |         }
282 |         return socket
[156/299] Compiling Socket AsyncSocketManager.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketManager/AsyncSocketManager.swift:280:25: error: type 'Errno' has no member 'socketShutdown'
278 |     ) throws -> AsyncSocketManager.SocketState {
279 |         guard let socket = state.sockets[fileDescriptor] else {
280 |             throw Errno.socketShutdown
    |                         `- error: type 'Errno' has no member 'socketShutdown'
281 |         }
282 |         return socket
[157/299] Compiling Socket CFSocketManager.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketManager/AsyncSocketManager.swift:280:25: error: type 'Errno' has no member 'socketShutdown'
278 |     ) throws -> AsyncSocketManager.SocketState {
279 |         guard let socket = state.sockets[fileDescriptor] else {
280 |             throw Errno.socketShutdown
    |                         `- error: type 'Errno' has no member 'socketShutdown'
281 |         }
282 |         return socket
[158/299] Compiling Socket CInternetAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/SocketManager/AsyncSocketManager.swift:280:25: error: type 'Errno' has no member 'socketShutdown'
278 |     ) throws -> AsyncSocketManager.SocketState {
279 |         guard let socket = state.sockets[fileDescriptor] else {
280 |             throw Errno.socketShutdown
    |                         `- error: type 'Errno' has no member 'socketShutdown'
281 |         }
282 |         return socket
[159/299] Compiling Socket UnixProtocol.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:60:29: error: cannot find type 'addrinfo' in scope
58 |
59 |     /// The C `addrinfo` type
60 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
61 |
62 |     /// The C `in_addr` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:176:10: error: cannot find 'socket' in scope
174 |   if mockingEnabled { return _mock(fd, fd2, fd3) }
175 |   #endif
176 |   return socket(fd, fd2, fd3)
    |          `- error: cannot find 'socket' in scope
177 | }
178 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:183:10: error: cannot find 'setsockopt' in scope
181 |   if mockingEnabled { return _mock(fd, fd2, fd3, pointer, dataLength) }
182 |   #endif
183 |   return setsockopt(fd, fd2, fd3, pointer, dataLength)
    |          `- error: cannot find 'setsockopt' in scope
184 | }
185 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:207:10: error: cannot find 'bind' in scope
205 |   if mockingEnabled { return _mock(socket, address, length) }
206 |   #endif
207 |   return bind(socket, address, length)
    |          `- error: cannot find 'bind' in scope
208 | }
209 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:218:10: error: cannot find 'connect' in scope
216 |   if mockingEnabled { return _mock(socket, addr, len) }
217 |   #endif
218 |   return connect(socket, addr, len)
    |          `- error: cannot find 'connect' in scope
219 | }
220 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:245:10: error: cannot find 'getaddrinfo' in scope
243 |   }
244 |   #endif
245 |   return getaddrinfo(hostname, servname, hints, res)
    |          `- error: cannot find 'getaddrinfo' in scope
246 | }
247 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:262:10: error: cannot find 'getnameinfo' in scope
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |          `- error: cannot find 'getnameinfo' in scope
263 | }
264 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:262:39: error: generic parameter 'U' could not be inferred
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |                                       `- error: generic parameter 'U' could not be inferred
263 | }
264 |
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/Socket/Sources/Socket/System/Syscalls.swift:262:67: error: generic parameter 'U' could not be inferred
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |                                                                   `- error: generic parameter 'U' could not be inferred
263 | }
264 |
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/Socket/Sources/Socket/System/Syscalls.swift:274:10: error: cannot find 'freeaddrinfo' in scope
272 |   }
273 |   #endif
274 |   return freeaddrinfo(addrinfo)
    |          `- error: cannot find 'freeaddrinfo' in scope
275 | }
276 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:281:10: error: cannot find 'gai_strerror' in scope
279 |   // FIXME
280 |   #endif
281 |   return gai_strerror(error)
    |          `- error: cannot find 'gai_strerror' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:295:10: error: cannot find 'listen' in scope
293 |   if mockingEnabled { return _mock(socket, backlog) }
294 |   #endif
295 |   return listen(socket, backlog)
    |          `- error: cannot find 'listen' in scope
296 | }
297 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:335:10: error: cannot find 'sendto' in scope
333 |   }
334 |   #endif
335 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |          `- error: cannot find 'sendto' in scope
336 | }
337 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:351:10: error: cannot find 'recvfrom' in scope
349 |   }
350 |   #endif
351 |   return recvfrom(socket, buffer, length, flags, address, addres_len)
    |          `- error: cannot find 'recvfrom' in scope
352 | }
353 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:373:10: error: cannot find 'sendmsg' in scope
371 |   if mockingEnabled { return _mockInt(socket, message, flags) }
372 |   #endif
373 |   return sendmsg(socket, message, flags)
    |          `- error: cannot find 'sendmsg' in scope
374 | }
375 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:384:10: error: cannot find 'recvmsg' in scope
382 |   if mockingEnabled { return _mockInt(socket, message, flags) }
383 |   #endif
384 |   return recvmsg(socket, message, flags)
    |          `- error: cannot find 'recvmsg' in scope
385 | }
386 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:479:12: error: cannot find 'if_freenameindex' in scope
477 |   if mockingEnabled { return _mock(pointer) }
478 | #endif
479 |     return if_freenameindex(pointer)
    |            `- error: cannot find 'if_freenameindex' in scope
480 | }
481 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:516:12: error: cannot find 'getsockname' in scope
514 |     if mockingEnabled { return _mock(fd, address) }
515 | #endif
516 |     return getsockname(fd, address, length)
    |            `- error: cannot find 'getsockname' in scope
517 | }
518 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:523:12: error: cannot find 'getpeername' in scope
521 |     if mockingEnabled { return _mock(fd, address) }
522 | #endif
523 |     return getpeername(fd, address, length)
    |            `- error: cannot find 'getpeername' in scope
524 | }
525 |
[160/299] Compiling Socket SocketType.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:60:29: error: cannot find type 'addrinfo' in scope
58 |
59 |     /// The C `addrinfo` type
60 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
61 |
62 |     /// The C `in_addr` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:176:10: error: cannot find 'socket' in scope
174 |   if mockingEnabled { return _mock(fd, fd2, fd3) }
175 |   #endif
176 |   return socket(fd, fd2, fd3)
    |          `- error: cannot find 'socket' in scope
177 | }
178 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:183:10: error: cannot find 'setsockopt' in scope
181 |   if mockingEnabled { return _mock(fd, fd2, fd3, pointer, dataLength) }
182 |   #endif
183 |   return setsockopt(fd, fd2, fd3, pointer, dataLength)
    |          `- error: cannot find 'setsockopt' in scope
184 | }
185 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:207:10: error: cannot find 'bind' in scope
205 |   if mockingEnabled { return _mock(socket, address, length) }
206 |   #endif
207 |   return bind(socket, address, length)
    |          `- error: cannot find 'bind' in scope
208 | }
209 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:218:10: error: cannot find 'connect' in scope
216 |   if mockingEnabled { return _mock(socket, addr, len) }
217 |   #endif
218 |   return connect(socket, addr, len)
    |          `- error: cannot find 'connect' in scope
219 | }
220 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:245:10: error: cannot find 'getaddrinfo' in scope
243 |   }
244 |   #endif
245 |   return getaddrinfo(hostname, servname, hints, res)
    |          `- error: cannot find 'getaddrinfo' in scope
246 | }
247 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:262:10: error: cannot find 'getnameinfo' in scope
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |          `- error: cannot find 'getnameinfo' in scope
263 | }
264 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:262:39: error: generic parameter 'U' could not be inferred
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |                                       `- error: generic parameter 'U' could not be inferred
263 | }
264 |
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/Socket/Sources/Socket/System/Syscalls.swift:262:67: error: generic parameter 'U' could not be inferred
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |                                                                   `- error: generic parameter 'U' could not be inferred
263 | }
264 |
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/Socket/Sources/Socket/System/Syscalls.swift:274:10: error: cannot find 'freeaddrinfo' in scope
272 |   }
273 |   #endif
274 |   return freeaddrinfo(addrinfo)
    |          `- error: cannot find 'freeaddrinfo' in scope
275 | }
276 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:281:10: error: cannot find 'gai_strerror' in scope
279 |   // FIXME
280 |   #endif
281 |   return gai_strerror(error)
    |          `- error: cannot find 'gai_strerror' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:295:10: error: cannot find 'listen' in scope
293 |   if mockingEnabled { return _mock(socket, backlog) }
294 |   #endif
295 |   return listen(socket, backlog)
    |          `- error: cannot find 'listen' in scope
296 | }
297 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:335:10: error: cannot find 'sendto' in scope
333 |   }
334 |   #endif
335 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |          `- error: cannot find 'sendto' in scope
336 | }
337 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:351:10: error: cannot find 'recvfrom' in scope
349 |   }
350 |   #endif
351 |   return recvfrom(socket, buffer, length, flags, address, addres_len)
    |          `- error: cannot find 'recvfrom' in scope
352 | }
353 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:373:10: error: cannot find 'sendmsg' in scope
371 |   if mockingEnabled { return _mockInt(socket, message, flags) }
372 |   #endif
373 |   return sendmsg(socket, message, flags)
    |          `- error: cannot find 'sendmsg' in scope
374 | }
375 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:384:10: error: cannot find 'recvmsg' in scope
382 |   if mockingEnabled { return _mockInt(socket, message, flags) }
383 |   #endif
384 |   return recvmsg(socket, message, flags)
    |          `- error: cannot find 'recvmsg' in scope
385 | }
386 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:479:12: error: cannot find 'if_freenameindex' in scope
477 |   if mockingEnabled { return _mock(pointer) }
478 | #endif
479 |     return if_freenameindex(pointer)
    |            `- error: cannot find 'if_freenameindex' in scope
480 | }
481 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:516:12: error: cannot find 'getsockname' in scope
514 |     if mockingEnabled { return _mock(fd, address) }
515 | #endif
516 |     return getsockname(fd, address, length)
    |            `- error: cannot find 'getsockname' in scope
517 | }
518 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:523:12: error: cannot find 'getpeername' in scope
521 |     if mockingEnabled { return _mock(fd, address) }
522 | #endif
523 |     return getpeername(fd, address, length)
    |            `- error: cannot find 'getpeername' in scope
524 | }
525 |
[161/299] Compiling Socket Syscalls.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:60:29: error: cannot find type 'addrinfo' in scope
58 |
59 |     /// The C `addrinfo` type
60 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
61 |
62 |     /// The C `in_addr` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:176:10: error: cannot find 'socket' in scope
174 |   if mockingEnabled { return _mock(fd, fd2, fd3) }
175 |   #endif
176 |   return socket(fd, fd2, fd3)
    |          `- error: cannot find 'socket' in scope
177 | }
178 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:183:10: error: cannot find 'setsockopt' in scope
181 |   if mockingEnabled { return _mock(fd, fd2, fd3, pointer, dataLength) }
182 |   #endif
183 |   return setsockopt(fd, fd2, fd3, pointer, dataLength)
    |          `- error: cannot find 'setsockopt' in scope
184 | }
185 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:207:10: error: cannot find 'bind' in scope
205 |   if mockingEnabled { return _mock(socket, address, length) }
206 |   #endif
207 |   return bind(socket, address, length)
    |          `- error: cannot find 'bind' in scope
208 | }
209 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:218:10: error: cannot find 'connect' in scope
216 |   if mockingEnabled { return _mock(socket, addr, len) }
217 |   #endif
218 |   return connect(socket, addr, len)
    |          `- error: cannot find 'connect' in scope
219 | }
220 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:245:10: error: cannot find 'getaddrinfo' in scope
243 |   }
244 |   #endif
245 |   return getaddrinfo(hostname, servname, hints, res)
    |          `- error: cannot find 'getaddrinfo' in scope
246 | }
247 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:262:10: error: cannot find 'getnameinfo' in scope
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |          `- error: cannot find 'getnameinfo' in scope
263 | }
264 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:262:39: error: generic parameter 'U' could not be inferred
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |                                       `- error: generic parameter 'U' could not be inferred
263 | }
264 |
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/Socket/Sources/Socket/System/Syscalls.swift:262:67: error: generic parameter 'U' could not be inferred
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |                                                                   `- error: generic parameter 'U' could not be inferred
263 | }
264 |
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/Socket/Sources/Socket/System/Syscalls.swift:274:10: error: cannot find 'freeaddrinfo' in scope
272 |   }
273 |   #endif
274 |   return freeaddrinfo(addrinfo)
    |          `- error: cannot find 'freeaddrinfo' in scope
275 | }
276 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:281:10: error: cannot find 'gai_strerror' in scope
279 |   // FIXME
280 |   #endif
281 |   return gai_strerror(error)
    |          `- error: cannot find 'gai_strerror' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:295:10: error: cannot find 'listen' in scope
293 |   if mockingEnabled { return _mock(socket, backlog) }
294 |   #endif
295 |   return listen(socket, backlog)
    |          `- error: cannot find 'listen' in scope
296 | }
297 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:335:10: error: cannot find 'sendto' in scope
333 |   }
334 |   #endif
335 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |          `- error: cannot find 'sendto' in scope
336 | }
337 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:351:10: error: cannot find 'recvfrom' in scope
349 |   }
350 |   #endif
351 |   return recvfrom(socket, buffer, length, flags, address, addres_len)
    |          `- error: cannot find 'recvfrom' in scope
352 | }
353 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:373:10: error: cannot find 'sendmsg' in scope
371 |   if mockingEnabled { return _mockInt(socket, message, flags) }
372 |   #endif
373 |   return sendmsg(socket, message, flags)
    |          `- error: cannot find 'sendmsg' in scope
374 | }
375 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:384:10: error: cannot find 'recvmsg' in scope
382 |   if mockingEnabled { return _mockInt(socket, message, flags) }
383 |   #endif
384 |   return recvmsg(socket, message, flags)
    |          `- error: cannot find 'recvmsg' in scope
385 | }
386 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:479:12: error: cannot find 'if_freenameindex' in scope
477 |   if mockingEnabled { return _mock(pointer) }
478 | #endif
479 |     return if_freenameindex(pointer)
    |            `- error: cannot find 'if_freenameindex' in scope
480 | }
481 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:516:12: error: cannot find 'getsockname' in scope
514 |     if mockingEnabled { return _mock(fd, address) }
515 | #endif
516 |     return getsockname(fd, address, length)
    |            `- error: cannot find 'getsockname' in scope
517 | }
518 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:523:12: error: cannot find 'getpeername' in scope
521 |     if mockingEnabled { return _mock(fd, address) }
522 | #endif
523 |     return getpeername(fd, address, length)
    |            `- error: cannot find 'getpeername' in scope
524 | }
525 |
[162/299] Compiling Socket TCPSocketOption.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:60:29: error: cannot find type 'addrinfo' in scope
58 |
59 |     /// The C `addrinfo` type
60 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
61 |
62 |     /// The C `in_addr` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:176:10: error: cannot find 'socket' in scope
174 |   if mockingEnabled { return _mock(fd, fd2, fd3) }
175 |   #endif
176 |   return socket(fd, fd2, fd3)
    |          `- error: cannot find 'socket' in scope
177 | }
178 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:183:10: error: cannot find 'setsockopt' in scope
181 |   if mockingEnabled { return _mock(fd, fd2, fd3, pointer, dataLength) }
182 |   #endif
183 |   return setsockopt(fd, fd2, fd3, pointer, dataLength)
    |          `- error: cannot find 'setsockopt' in scope
184 | }
185 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:207:10: error: cannot find 'bind' in scope
205 |   if mockingEnabled { return _mock(socket, address, length) }
206 |   #endif
207 |   return bind(socket, address, length)
    |          `- error: cannot find 'bind' in scope
208 | }
209 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:218:10: error: cannot find 'connect' in scope
216 |   if mockingEnabled { return _mock(socket, addr, len) }
217 |   #endif
218 |   return connect(socket, addr, len)
    |          `- error: cannot find 'connect' in scope
219 | }
220 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:245:10: error: cannot find 'getaddrinfo' in scope
243 |   }
244 |   #endif
245 |   return getaddrinfo(hostname, servname, hints, res)
    |          `- error: cannot find 'getaddrinfo' in scope
246 | }
247 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:262:10: error: cannot find 'getnameinfo' in scope
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |          `- error: cannot find 'getnameinfo' in scope
263 | }
264 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:262:39: error: generic parameter 'U' could not be inferred
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |                                       `- error: generic parameter 'U' could not be inferred
263 | }
264 |
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/Socket/Sources/Socket/System/Syscalls.swift:262:67: error: generic parameter 'U' could not be inferred
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |                                                                   `- error: generic parameter 'U' could not be inferred
263 | }
264 |
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/Socket/Sources/Socket/System/Syscalls.swift:274:10: error: cannot find 'freeaddrinfo' in scope
272 |   }
273 |   #endif
274 |   return freeaddrinfo(addrinfo)
    |          `- error: cannot find 'freeaddrinfo' in scope
275 | }
276 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:281:10: error: cannot find 'gai_strerror' in scope
279 |   // FIXME
280 |   #endif
281 |   return gai_strerror(error)
    |          `- error: cannot find 'gai_strerror' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:295:10: error: cannot find 'listen' in scope
293 |   if mockingEnabled { return _mock(socket, backlog) }
294 |   #endif
295 |   return listen(socket, backlog)
    |          `- error: cannot find 'listen' in scope
296 | }
297 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:335:10: error: cannot find 'sendto' in scope
333 |   }
334 |   #endif
335 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |          `- error: cannot find 'sendto' in scope
336 | }
337 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:351:10: error: cannot find 'recvfrom' in scope
349 |   }
350 |   #endif
351 |   return recvfrom(socket, buffer, length, flags, address, addres_len)
    |          `- error: cannot find 'recvfrom' in scope
352 | }
353 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:373:10: error: cannot find 'sendmsg' in scope
371 |   if mockingEnabled { return _mockInt(socket, message, flags) }
372 |   #endif
373 |   return sendmsg(socket, message, flags)
    |          `- error: cannot find 'sendmsg' in scope
374 | }
375 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:384:10: error: cannot find 'recvmsg' in scope
382 |   if mockingEnabled { return _mockInt(socket, message, flags) }
383 |   #endif
384 |   return recvmsg(socket, message, flags)
    |          `- error: cannot find 'recvmsg' in scope
385 | }
386 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:479:12: error: cannot find 'if_freenameindex' in scope
477 |   if mockingEnabled { return _mock(pointer) }
478 | #endif
479 |     return if_freenameindex(pointer)
    |            `- error: cannot find 'if_freenameindex' in scope
480 | }
481 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:516:12: error: cannot find 'getsockname' in scope
514 |     if mockingEnabled { return _mock(fd, address) }
515 | #endif
516 |     return getsockname(fd, address, length)
    |            `- error: cannot find 'getsockname' in scope
517 | }
518 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:523:12: error: cannot find 'getpeername' in scope
521 |     if mockingEnabled { return _mock(fd, address) }
522 | #endif
523 |     return getpeername(fd, address, length)
    |            `- error: cannot find 'getpeername' in scope
524 | }
525 |
[163/299] Compiling Socket Util.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:60:29: error: cannot find type 'addrinfo' in scope
58 |
59 |     /// The C `addrinfo` type
60 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
61 |
62 |     /// The C `in_addr` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:176:10: error: cannot find 'socket' in scope
174 |   if mockingEnabled { return _mock(fd, fd2, fd3) }
175 |   #endif
176 |   return socket(fd, fd2, fd3)
    |          `- error: cannot find 'socket' in scope
177 | }
178 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:183:10: error: cannot find 'setsockopt' in scope
181 |   if mockingEnabled { return _mock(fd, fd2, fd3, pointer, dataLength) }
182 |   #endif
183 |   return setsockopt(fd, fd2, fd3, pointer, dataLength)
    |          `- error: cannot find 'setsockopt' in scope
184 | }
185 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:207:10: error: cannot find 'bind' in scope
205 |   if mockingEnabled { return _mock(socket, address, length) }
206 |   #endif
207 |   return bind(socket, address, length)
    |          `- error: cannot find 'bind' in scope
208 | }
209 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:218:10: error: cannot find 'connect' in scope
216 |   if mockingEnabled { return _mock(socket, addr, len) }
217 |   #endif
218 |   return connect(socket, addr, len)
    |          `- error: cannot find 'connect' in scope
219 | }
220 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:245:10: error: cannot find 'getaddrinfo' in scope
243 |   }
244 |   #endif
245 |   return getaddrinfo(hostname, servname, hints, res)
    |          `- error: cannot find 'getaddrinfo' in scope
246 | }
247 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:262:10: error: cannot find 'getnameinfo' in scope
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |          `- error: cannot find 'getnameinfo' in scope
263 | }
264 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:262:39: error: generic parameter 'U' could not be inferred
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |                                       `- error: generic parameter 'U' could not be inferred
263 | }
264 |
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/Socket/Sources/Socket/System/Syscalls.swift:262:67: error: generic parameter 'U' could not be inferred
260 |   }
261 |   #endif
262 |   return getnameinfo(sa, salen, host, numericCast(hostlen), serv, numericCast(servlen), flags)
    |                                                                   `- error: generic parameter 'U' could not be inferred
263 | }
264 |
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/Socket/Sources/Socket/System/Syscalls.swift:274:10: error: cannot find 'freeaddrinfo' in scope
272 |   }
273 |   #endif
274 |   return freeaddrinfo(addrinfo)
    |          `- error: cannot find 'freeaddrinfo' in scope
275 | }
276 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:281:10: error: cannot find 'gai_strerror' in scope
279 |   // FIXME
280 |   #endif
281 |   return gai_strerror(error)
    |          `- error: cannot find 'gai_strerror' in scope
282 | }
283 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:295:10: error: cannot find 'listen' in scope
293 |   if mockingEnabled { return _mock(socket, backlog) }
294 |   #endif
295 |   return listen(socket, backlog)
    |          `- error: cannot find 'listen' in scope
296 | }
297 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:335:10: error: cannot find 'sendto' in scope
333 |   }
334 |   #endif
335 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |          `- error: cannot find 'sendto' in scope
336 | }
337 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:351:10: error: cannot find 'recvfrom' in scope
349 |   }
350 |   #endif
351 |   return recvfrom(socket, buffer, length, flags, address, addres_len)
    |          `- error: cannot find 'recvfrom' in scope
352 | }
353 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:373:10: error: cannot find 'sendmsg' in scope
371 |   if mockingEnabled { return _mockInt(socket, message, flags) }
372 |   #endif
373 |   return sendmsg(socket, message, flags)
    |          `- error: cannot find 'sendmsg' in scope
374 | }
375 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:384:10: error: cannot find 'recvmsg' in scope
382 |   if mockingEnabled { return _mockInt(socket, message, flags) }
383 |   #endif
384 |   return recvmsg(socket, message, flags)
    |          `- error: cannot find 'recvmsg' in scope
385 | }
386 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:479:12: error: cannot find 'if_freenameindex' in scope
477 |   if mockingEnabled { return _mock(pointer) }
478 | #endif
479 |     return if_freenameindex(pointer)
    |            `- error: cannot find 'if_freenameindex' in scope
480 | }
481 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:516:12: error: cannot find 'getsockname' in scope
514 |     if mockingEnabled { return _mock(fd, address) }
515 | #endif
516 |     return getsockname(fd, address, length)
    |            `- error: cannot find 'getsockname' in scope
517 | }
518 |
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:523:12: error: cannot find 'getpeername' in scope
521 |     if mockingEnabled { return _mock(fd, address) }
522 | #endif
523 |     return getpeername(fd, address, length)
    |            `- error: cannot find 'getpeername' in scope
524 | }
525 |
[164/299] Emitting module ArgumentParser
[174/305] Compiling Socket MessageFlags.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:107:59: error: missing argument label 'index:' in call
105 |             }
106 |             // get interfaces
107 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                           `- error: missing argument label 'index:' in call
108 |         }
109 |     }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:107:70: error: missing argument for parameter 'name' in call
 81 | // MARK: - Supporting Types
 82 |
 83 | public struct NetworkInterfaceID: Equatable, Hashable, Sendable {
    |               `- note: 'init(index:name:)' declared here
 84 |
 85 |     /// Interface index.
    :
105 |             }
106 |             // get interfaces
107 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                                      `- error: missing argument for parameter 'name' in call
108 |         }
109 |     }
[178/305] Compiling Socket NetworkInterface.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:107:59: error: missing argument label 'index:' in call
105 |             }
106 |             // get interfaces
107 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                           `- error: missing argument label 'index:' in call
108 |         }
109 |     }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:107:70: error: missing argument for parameter 'name' in call
 81 | // MARK: - Supporting Types
 82 |
 83 | public struct NetworkInterfaceID: Equatable, Hashable, Sendable {
    |               `- note: 'init(index:name:)' declared here
 84 |
 85 |     /// Interface index.
    :
105 |             }
106 |             // get interfaces
107 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                                      `- error: missing argument for parameter 'name' in call
108 |         }
109 |     }
[179/305] Compiling ArgumentParser Tree.swift
[180/305] Compiling Socket NetworkOrder.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:107:59: error: missing argument label 'index:' in call
105 |             }
106 |             // get interfaces
107 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                           `- error: missing argument label 'index:' in call
108 |         }
109 |     }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:107:70: error: missing argument for parameter 'name' in call
 81 | // MARK: - Supporting Types
 82 |
 83 | public struct NetworkInterfaceID: Equatable, Hashable, Sendable {
    |               `- note: 'init(index:name:)' declared here
 84 |
 85 |     /// Interface index.
    :
105 |             }
106 |             // get interfaces
107 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                                      `- error: missing argument for parameter 'name' in call
108 |         }
109 |     }
[181/305] Compiling Socket Poll.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:107:59: error: missing argument label 'index:' in call
105 |             }
106 |             // get interfaces
107 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                           `- error: missing argument label 'index:' in call
108 |         }
109 |     }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:107:70: error: missing argument for parameter 'name' in call
 81 | // MARK: - Supporting Types
 82 |
 83 | public struct NetworkInterfaceID: Equatable, Hashable, Sendable {
    |               `- note: 'init(index:name:)' declared here
 84 |
 85 |     /// Interface index.
    :
105 |             }
106 |             // get interfaces
107 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                                      `- error: missing argument for parameter 'name' in call
108 |         }
109 |     }
[182/305] Compiling Socket SocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:107:59: error: missing argument label 'index:' in call
105 |             }
106 |             // get interfaces
107 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                           `- error: missing argument label 'index:' in call
108 |         }
109 |     }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:107:70: error: missing argument for parameter 'name' in call
 81 | // MARK: - Supporting Types
 82 |
 83 | public struct NetworkInterfaceID: Equatable, Hashable, Sendable {
    |               `- note: 'init(index:name:)' declared here
 84 |
 85 |     /// Interface index.
    :
105 |             }
106 |             // get interfaces
107 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                                      `- error: missing argument for parameter 'name' in call
108 |         }
109 |     }
[183/305] Compiling Socket IPv4SocketAddress.swift
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/CInterop.swift:91:36: error: cannot find type 'if_nameindex' in scope
89 |
90 |     /// The C `if_nameindex` type
91 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
92 |
93 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:107:59: error: missing argument label 'index:' in call
105 |             }
106 |             // get interfaces
107 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                           `- error: missing argument label 'index:' in call
108 |         }
109 |     }
/host/spi-builder-workspace/.build/checkouts/Socket/Sources/Socket/System/NetworkInterface.swift:107:70: error: missing argument for parameter 'name' in call
 81 | // MARK: - Supporting Types
 82 |
 83 | public struct NetworkInterfaceID: Equatable, Hashable, Sendable {
    |               `- note: 'init(index:name:)' declared here
 84 |
 85 |     /// Interface index.
    :
105 |             }
106 |             // get interfaces
107 |             return (0 ..< count).map { NetworkInterfaceID(pointer[$0]) }
    |                                                                      `- error: missing argument for parameter 'name' in call
108 |         }
109 |     }
[184/305] Compiling Socket SocketFlags.swift
[185/305] Compiling Socket SocketHelpers.swift
[186/305] Compiling Socket SocketOperations.swift
[187/305] Compiling Socket SocketOption.swift
[188/305] Compiling Socket SocketOptionID.swift
[189/305] Compiling Socket FileFlags.swift
[190/305] Compiling Socket IOControl.swift
[191/305] Compiling Socket IODirection.swift
[192/305] Compiling Socket IOOperations.swift
[193/305] Compiling Socket IOType.swift
[194/305] Compiling Socket InternetProtocol.swift
BUILD FAILURE 6.1 wasm