The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Socket, reference 0.3.3 (9945ad), with Swift 6.3 for Wasm on 14 Apr 2026 14:06:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

133 |
134 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:135:34: error: cannot find 'POLLRDNORM' in scope
133 |
134 | @_alwaysEmitIntoClient
135 | internal var _POLLRDNORM: CInt { POLLRDNORM }
    |                                  `- error: cannot find 'POLLRDNORM' in scope
136 |
137 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:138:34: error: cannot find 'POLLWRNORM' in scope
136 |
137 | @_alwaysEmitIntoClient
138 | internal var _POLLWRNORM: CInt { POLLWRNORM }
    |                                  `- error: cannot find 'POLLWRNORM' in scope
139 |
140 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:141:34: error: cannot find 'POLLRDBAND' in scope
139 |
140 | @_alwaysEmitIntoClient
141 | internal var _POLLRDBAND: CInt { POLLRDBAND }
    |                                  `- error: cannot find 'POLLRDBAND' in scope
142 |
143 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:144:34: error: cannot find 'POLLWRBAND' in scope
142 |
143 | @_alwaysEmitIntoClient
144 | internal var _POLLWRBAND: CInt { POLLWRBAND }
    |                                  `- error: cannot find 'POLLWRBAND' in scope
145 |
146 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:147:31: error: cannot find 'POLLERR' in scope
145 |
146 | @_alwaysEmitIntoClient
147 | internal var _POLLERR: CInt { POLLERR }
    |                               `- error: cannot find 'POLLERR' in scope
148 |
149 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:150:31: error: cannot find 'POLLHUP' in scope
148 |
149 | @_alwaysEmitIntoClient
150 | internal var _POLLHUP: CInt { POLLHUP }
    |                               `- error: cannot find 'POLLHUP' in scope
151 |
152 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:153:32: error: cannot find 'POLLNVAL' in scope
151 |
152 | @_alwaysEmitIntoClient
153 | internal var _POLLNVAL: CInt { POLLNVAL }
    |                                `- error: cannot find 'POLLNVAL' in scope
154 |
155 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:156:39: error: cannot find 'INET_ADDRSTRLEN' in scope
154 |
155 | @_alwaysEmitIntoClient
156 | internal var _INET_ADDRSTRLEN: CInt { INET_ADDRSTRLEN }
    |                                       `- error: cannot find 'INET_ADDRSTRLEN' in scope
157 |
158 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:159:40: error: cannot find 'INET6_ADDRSTRLEN' in scope
157 |
158 | @_alwaysEmitIntoClient
159 | internal var _INET6_ADDRSTRLEN: CInt { INET6_ADDRSTRLEN }
    |                                        `- error: cannot find 'INET6_ADDRSTRLEN' in scope
160 |
161 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:162:79: error: cannot find 'INADDR_ANY' in scope
160 |
161 | @_alwaysEmitIntoClient
162 | internal var _INADDR_ANY: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_ANY) }
    |                                                                               `- error: cannot find 'INADDR_ANY' in scope
163 |
164 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:165:84: error: cannot find 'INADDR_LOOPBACK' in scope
163 |
164 | @_alwaysEmitIntoClient
165 | internal var _INADDR_LOOPBACK: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_LOOPBACK) }
    |                                                                                    `- error: cannot find 'INADDR_LOOPBACK' in scope
166 |
167 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:168:51: error: cannot find 'in6addr_any' in scope
166 |
167 | @_alwaysEmitIntoClient
168 | internal var _INADDR6_ANY: CInterop.IPv6Address { in6addr_any }
    |                                                   `- error: cannot find 'in6addr_any' in scope
169 |
170 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:171:56: error: cannot find 'in6addr_loopback' in scope
169 |
170 | @_alwaysEmitIntoClient
171 | internal var _INADDR6_LOOPBACK: CInterop.IPv6Address { in6addr_loopback }
    |                                                        `- error: cannot find 'in6addr_loopback' in scope
172 |
173 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:174:31: error: cannot find 'AF_UNIX' in scope
172 |
173 | @_alwaysEmitIntoClient
174 | internal var _AF_UNIX: CInt { AF_UNIX }
    |                               `- error: cannot find 'AF_UNIX' in scope
175 |
176 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:177:31: error: cannot find 'AF_INET' in scope
175 |
176 | @_alwaysEmitIntoClient
177 | internal var _AF_INET: CInt { AF_INET }
    |                               `- error: cannot find 'AF_INET' in scope
178 |
179 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:180:32: error: cannot find 'AF_INET6' in scope
178 |
179 | @_alwaysEmitIntoClient
180 | internal var _AF_INET6: CInt { AF_INET6 }
    |                                `- error: cannot find 'AF_INET6' in scope
181 |
182 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:183:30: error: cannot find 'AF_IPX' in scope
181 |
182 | @_alwaysEmitIntoClient
183 | internal var _AF_IPX: CInt { AF_IPX }
    |                              `- error: cannot find 'AF_IPX' in scope
184 |
185 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:186:36: error: cannot find 'AF_APPLETALK' in scope
184 |
185 | @_alwaysEmitIntoClient
186 | internal var _AF_APPLETALK: CInt { AF_APPLETALK }
    |                                    `- error: cannot find 'AF_APPLETALK' in scope
187 |
188 | #if !os(Windows)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:190:33: error: cannot find 'AF_DECnet' in scope
188 | #if !os(Windows)
189 | @_alwaysEmitIntoClient
190 | internal var _AF_DECnet: CInt { AF_DECnet }
    |                                 `- error: cannot find 'AF_DECnet' in scope
191 |
192 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:193:32: error: cannot find 'AF_VSOCK' in scope
191 |
192 | @_alwaysEmitIntoClient
193 | internal var _AF_VSOCK: CInt { AF_VSOCK }
    |                                `- error: cannot find 'AF_VSOCK' in scope
194 |
195 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:196:31: error: cannot find 'AF_ISDN' in scope
194 |
195 | @_alwaysEmitIntoClient
196 | internal var _AF_ISDN: CInt { AF_ISDN }
    |                               `- error: cannot find 'AF_ISDN' in scope
197 | #endif
198 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:311:47: error: cannot find 'IPPROTO_RAW' in scope
309 |
310 | @_alwaysEmitIntoClient
311 | internal var _IPPROTO_RAW: CInt { numericCast(IPPROTO_RAW) }
    |                                               `- error: cannot find 'IPPROTO_RAW' in scope
312 |
313 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:314:47: error: cannot find 'IPPROTO_TCP' in scope
312 |
313 | @_alwaysEmitIntoClient
314 | internal var _IPPROTO_TCP: CInt { numericCast(IPPROTO_TCP) }
    |                                               `- error: cannot find 'IPPROTO_TCP' in scope
315 |
316 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:317:47: error: cannot find 'IPPROTO_UDP' in scope
315 |
316 | @_alwaysEmitIntoClient
317 | internal var _IPPROTO_UDP: CInt { numericCast(IPPROTO_UDP) }
    |                                               `- error: cannot find 'IPPROTO_UDP' in scope
318 |
319 | /// Maximum queue length specifiable by listen.
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:321:33: error: cannot find 'SOMAXCONN' in scope
319 | /// Maximum queue length specifiable by listen.
320 | @_alwaysEmitIntoClient
321 | internal var _SOMAXCONN: CInt { SOMAXCONN }
    |                                 `- error: cannot find 'SOMAXCONN' in scope
322 |
323 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:324:34: error: cannot find 'SOL_SOCKET' in scope
322 |
323 | @_alwaysEmitIntoClient
324 | internal var _SOL_SOCKET: CInt { SOL_SOCKET }
    |                                  `- error: cannot find 'SOL_SOCKET' in scope
325 |
326 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:327:32: error: cannot find 'SO_DEBUG' in scope
325 |
326 | @_alwaysEmitIntoClient
327 | internal var _SO_DEBUG: CInt { SO_DEBUG }
    |                                `- error: cannot find 'SO_DEBUG' in scope
328 |
329 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:330:37: error: cannot find 'SO_ACCEPTCONN' in scope
328 |
329 | @_alwaysEmitIntoClient
330 | internal var _SO_ACCEPTCONN: CInt { SO_ACCEPTCONN }
    |                                     `- error: cannot find 'SO_ACCEPTCONN' in scope
331 |
332 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:333:36: error: cannot find 'SO_REUSEADDR' in scope
331 |
332 | @_alwaysEmitIntoClient
333 | internal var _SO_REUSEADDR: CInt { SO_REUSEADDR }
    |                                    `- error: cannot find 'SO_REUSEADDR' in scope
334 |
335 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:336:36: error: cannot find 'SO_KEEPALIVE' in scope
334 |
335 | @_alwaysEmitIntoClient
336 | internal var _SO_KEEPALIVE: CInt { SO_KEEPALIVE }
    |                                    `- error: cannot find 'SO_KEEPALIVE' in scope
337 |
338 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:339:36: error: cannot find 'SO_DONTROUTE' in scope
337 |
338 | @_alwaysEmitIntoClient
339 | internal var _SO_DONTROUTE: CInt { SO_DONTROUTE }
    |                                    `- error: cannot find 'SO_DONTROUTE' in scope
340 |
341 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:342:36: error: cannot find 'SO_BROADCAST' in scope
340 |
341 | @_alwaysEmitIntoClient
342 | internal var _SO_BROADCAST: CInt { SO_BROADCAST }
    |                                    `- error: cannot find 'SO_BROADCAST' in scope
343 |
344 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:350:33: error: cannot find 'SO_LINGER' in scope
348 |
349 | @_alwaysEmitIntoClient
350 | internal var _SO_LINGER: CInt { SO_LINGER }
    |                                 `- error: cannot find 'SO_LINGER' in scope
351 |
352 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:364:49: error: cannot find 'MSG_DONTROUTE' in scope
362 |
363 | @_alwaysEmitIntoClient
364 | internal var _MSG_DONTROUTE: CInt { numericCast(MSG_DONTROUTE) } /* send without using routing tables */
    |                                                 `- error: cannot find 'MSG_DONTROUTE' in scope
365 |
366 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:367:43: error: cannot find 'MSG_EOR' in scope
365 |
366 | @_alwaysEmitIntoClient
367 | internal var _MSG_EOR: CInt { numericCast(MSG_EOR) } /* data completes record */
    |                                           `- error: cannot find 'MSG_EOR' in scope
368 |
369 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:370:43: error: cannot find 'MSG_OOB' in scope
368 |
369 | @_alwaysEmitIntoClient
370 | internal var _MSG_OOB: CInt { numericCast(MSG_OOB) } /* process out-of-band data */
    |                                           `- error: cannot find 'MSG_OOB' in scope
371 |
372 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:373:44: error: cannot find 'MSG_PEEK' in scope
371 |
372 | @_alwaysEmitIntoClient
373 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
    |                                            `- error: cannot find 'MSG_PEEK' in scope
374 | @_alwaysEmitIntoClient
375 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:45: error: cannot find 'MSG_TRUNC' in scope
373 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
374 | @_alwaysEmitIntoClient
375 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
    |                                             `- error: cannot find 'MSG_TRUNC' in scope
376 | @_alwaysEmitIntoClient
377 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:377:46: error: cannot find 'MSG_CTRUNC' in scope
375 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
376 | @_alwaysEmitIntoClient
377 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
    |                                              `- error: cannot find 'MSG_CTRUNC' in scope
378 | @_alwaysEmitIntoClient
379 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:379:47: error: cannot find 'MSG_WAITALL' in scope
377 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
378 | @_alwaysEmitIntoClient
379 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
    |                                               `- error: cannot find 'MSG_WAITALL' in scope
380 |
381 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:382:48: error: cannot find 'MSG_DONTWAIT' in scope
380 |
381 | @_alwaysEmitIntoClient
382 | internal var _MSG_DONTWAIT: CInt { numericCast(MSG_DONTWAIT) } /* this message should be nonblocking */
    |                                                `- error: cannot find 'MSG_DONTWAIT' in scope
383 |
384 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/85] Emitting module Socket
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/NetworkInterface.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
  7 |
  8 | import SystemPackage
  9 | @_implementationOnly import CSocket
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
 10 |
 11 | /// UNIX Network Interface
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:51:29: error: cannot find type 'in_addr' in scope
49 |
50 |     /// The C `in_addr` type
51 |     typealias IPv4Address = in_addr
   |                             `- error: cannot find type 'in_addr' in scope
52 |
53 |     /// The C `in6_addr` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:54:29: error: cannot find type 'in6_addr' in scope
52 |
53 |     /// The C `in6_addr` type
54 |     typealias IPv6Address = in6_addr
   |                             `- error: cannot find type 'in6_addr' in scope
55 |
56 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:18:35: error: cannot find type 'fd_set' in scope
16 |
17 |     /// The platform file descriptor set.
18 |     typealias FileDescriptorSet = fd_set
   |                                   `- error: cannot find type 'fd_set' in scope
19 |
20 |     typealias PollFileDescriptor = pollfd
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:20:36: error: cannot find type 'pollfd' in scope
18 |     typealias FileDescriptorSet = fd_set
19 |
20 |     typealias PollFileDescriptor = pollfd
   |                                    `- error: cannot find type 'pollfd' in scope
21 |
22 |     typealias FileDescriptorCount = nfds_t
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:22:37: error: cannot find type 'nfds_t' in scope
20 |     typealias PollFileDescriptor = pollfd
21 |
22 |     typealias FileDescriptorCount = nfds_t
   |                                     `- error: cannot find type 'nfds_t' in scope
23 |
24 |     typealias FileEvent = Int16
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:35:32: error: cannot find type 'msghdr' in scope
33 |
34 |     /// The C `msghdr` type
35 |      typealias MessageHeader = msghdr
   |                                `- error: cannot find type 'msghdr' in scope
36 |
37 |     /// The C `sa_family_t` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:38:38: error: cannot find type 'sa_family_t' in scope
36 |
37 |     /// The C `sa_family_t` type
38 |      typealias SocketAddressFamily = sa_family_t
   |                                      `- error: cannot find type 'sa_family_t' in scope
39 |
40 |     /// Socket Type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:48:29: error: cannot find type 'addrinfo' in scope
46 |
47 |     /// The C `addrinfo` type
48 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
49 |
50 |     /// The C `in_addr` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:57:31: error: cannot find type 'sockaddr' in scope
55 |
56 |     /// The C `sockaddr_in` type
57 |     typealias SocketAddress = sockaddr
   |                               `- error: cannot find type 'sockaddr' in scope
58 |
59 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:60:35: error: cannot find type 'sockaddr_un' in scope
58 |
59 |     /// The C `sockaddr_in` type
60 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
61 |
62 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:63:35: error: cannot find type 'sockaddr_in' in scope
61 |
62 |     /// The C `sockaddr_in` type
63 |     typealias IPv4SocketAddress = sockaddr_in
   |                                   `- error: cannot find type 'sockaddr_in' in scope
64 |
65 |     /// The C `sockaddr_in6` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:66:35: error: cannot find type 'sockaddr_in6' in scope
64 |
65 |     /// The C `sockaddr_in6` type
66 |     typealias IPv6SocketAddress = sockaddr_in6
   |                                   `- error: cannot find type 'sockaddr_in6' in scope
67 |
68 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:77:36: error: cannot find type 'if_nameindex' in scope
75 |
76 |     /// The C `if_nameindex` type
77 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
78 |
79 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:80:37: error: cannot find type 'ifaddrs' in scope
78 |
79 |     /// The C  `ifaddrs` type
80 |     typealias InterfaceLinkedList = ifaddrs
   |                                     `- error: cannot find type 'ifaddrs' in scope
81 | }
82 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:17:32: error: cannot find 'O_RDONLY' in scope
 15 |
 16 | @_alwaysEmitIntoClient
 17 | internal var _O_RDONLY: CInt { O_RDONLY }
    |                                `- error: cannot find 'O_RDONLY' in scope
 18 |
 19 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:20:32: error: cannot find 'O_WRONLY' in scope
 18 |
 19 | @_alwaysEmitIntoClient
 20 | internal var _O_WRONLY: CInt { O_WRONLY }
    |                                `- error: cannot find 'O_WRONLY' in scope
 21 |
 22 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:23:30: error: cannot find 'O_RDWR' in scope
 21 |
 22 | @_alwaysEmitIntoClient
 23 | internal var _O_RDWR: CInt { O_RDWR }
    |                              `- error: cannot find 'O_RDWR' in scope
 24 |
 25 | #if !os(Windows)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:28:33: error: cannot find 'O_ACCMODE' in scope
 26 | // TODO: API?
 27 | @_alwaysEmitIntoClient
 28 | internal var _O_ACCMODE: CInt { O_ACCMODE }
    |                                 `- error: cannot find 'O_ACCMODE' in scope
 29 |
 30 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:31:34: error: cannot find 'O_NONBLOCK' in scope
 29 |
 30 | @_alwaysEmitIntoClient
 31 | internal var _O_NONBLOCK: CInt { O_NONBLOCK }
    |                                  `- error: cannot find 'O_NONBLOCK' in scope
 32 | #endif
 33 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:35:32: error: cannot find 'O_APPEND' in scope
 33 |
 34 | @_alwaysEmitIntoClient
 35 | internal var _O_APPEND: CInt { O_APPEND }
    |                                `- error: cannot find 'O_APPEND' in scope
 36 |
 37 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:48:31: error: cannot find 'O_ASYNC' in scope
 46 | // TODO: API?
 47 | @_alwaysEmitIntoClient
 48 | internal var _O_ASYNC: CInt { O_ASYNC }
    |                               `- error: cannot find 'O_ASYNC' in scope
 49 |
 50 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:51:34: error: cannot find 'O_NOFOLLOW' in scope
 49 |
 50 | @_alwaysEmitIntoClient
 51 | internal var _O_NOFOLLOW: CInt { O_NOFOLLOW }
    |                                  `- error: cannot find 'O_NOFOLLOW' in scope
 52 | #endif
 53 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:55:31: error: cannot find 'O_CREAT' in scope
 53 |
 54 | @_alwaysEmitIntoClient
 55 | internal var _O_CREAT: CInt { O_CREAT }
    |                               `- error: cannot find 'O_CREAT' in scope
 56 |
 57 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:58:31: error: cannot find 'O_TRUNC' in scope
 56 |
 57 | @_alwaysEmitIntoClient
 58 | internal var _O_TRUNC: CInt { O_TRUNC }
    |                               `- error: cannot find 'O_TRUNC' in scope
 59 |
 60 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:61:30: error: cannot find 'O_EXCL' in scope
 59 |
 60 | @_alwaysEmitIntoClient
 61 | internal var _O_EXCL: CInt { O_EXCL }
    |                              `- error: cannot find 'O_EXCL' in scope
 62 |
 63 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:71:32: error: cannot find 'O_NOCTTY' in scope
 69 | // TODO: API?
 70 | @_alwaysEmitIntoClient
 71 | internal var _O_NOCTTY: CInt { O_NOCTTY }
    |                                `- error: cannot find 'O_NOCTTY' in scope
 72 |
 73 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:74:35: error: cannot find 'O_DIRECTORY' in scope
 72 |
 73 | @_alwaysEmitIntoClient
 74 | internal var _O_DIRECTORY: CInt { O_DIRECTORY }
    |                                   `- error: cannot find 'O_DIRECTORY' in scope
 75 | #endif
 76 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:84:33: error: cannot find 'O_CLOEXEC' in scope
 82 | #if !os(Windows)
 83 | @_alwaysEmitIntoClient
 84 | internal var _O_CLOEXEC: CInt { O_CLOEXEC }
    |                                 `- error: cannot find 'O_CLOEXEC' in scope
 85 | #endif
 86 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:88:32: error: cannot find 'SEEK_SET' in scope
 86 |
 87 | @_alwaysEmitIntoClient
 88 | internal var _SEEK_SET: CInt { SEEK_SET }
    |                                `- error: cannot find 'SEEK_SET' in scope
 89 |
 90 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:91:32: error: cannot find 'SEEK_CUR' in scope
 89 |
 90 | @_alwaysEmitIntoClient
 91 | internal var _SEEK_CUR: CInt { SEEK_CUR }
    |                                `- error: cannot find 'SEEK_CUR' in scope
 92 |
 93 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:94:32: error: cannot find 'SEEK_END' in scope
 92 |
 93 | @_alwaysEmitIntoClient
 94 | internal var _SEEK_END: CInt { SEEK_END }
    |                                `- error: cannot find 'SEEK_END' in scope
 95 |
 96 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:105:34: error: cannot find 'FD_CLOEXEC' in scope
103 |
104 | @_alwaysEmitIntoClient
105 | internal var _FD_CLOEXEC: CInt { FD_CLOEXEC }
    |                                  `- error: cannot find 'FD_CLOEXEC' in scope
106 |
107 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:108:31: error: cannot find 'F_DUPFD' in scope
106 |
107 | @_alwaysEmitIntoClient
108 | internal var _F_DUPFD: CInt { F_DUPFD }
    |                               `- error: cannot find 'F_DUPFD' in scope
109 |
110 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:111:39: error: cannot find 'F_DUPFD_CLOEXEC' in scope
109 |
110 | @_alwaysEmitIntoClient
111 | internal var _F_DUPFD_CLOEXEC: CInt { F_DUPFD_CLOEXEC }
    |                                       `- error: cannot find 'F_DUPFD_CLOEXEC' in scope
112 |
113 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:114:31: error: cannot find 'F_GETFD' in scope
112 |
113 | @_alwaysEmitIntoClient
114 | internal var _F_GETFD: CInt { F_GETFD }
    |                               `- error: cannot find 'F_GETFD' in scope
115 |
116 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:117:31: error: cannot find 'F_SETFD' in scope
115 |
116 | @_alwaysEmitIntoClient
117 | internal var _F_SETFD: CInt { F_SETFD }
    |                               `- error: cannot find 'F_SETFD' in scope
118 |
119 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:120:31: error: cannot find 'F_GETFL' in scope
118 |
119 | @_alwaysEmitIntoClient
120 | internal var _F_GETFL: CInt { F_GETFL }
    |                               `- error: cannot find 'F_GETFL' in scope
121 |
122 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:123:31: error: cannot find 'F_SETFL' in scope
121 |
122 | @_alwaysEmitIntoClient
123 | internal var _F_SETFL: CInt { F_SETFL }
    |                               `- error: cannot find 'F_SETFL' in scope
124 |
125 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:126:30: error: cannot find 'POLLIN' in scope
124 |
125 | @_alwaysEmitIntoClient
126 | internal var _POLLIN: CInt { POLLIN }
    |                              `- error: cannot find 'POLLIN' in scope
127 |
128 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:129:31: error: cannot find 'POLLPRI' in scope
127 |
128 | @_alwaysEmitIntoClient
129 | internal var _POLLPRI: CInt { POLLPRI }
    |                               `- error: cannot find 'POLLPRI' in scope
130 |
131 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:132:31: error: cannot find 'POLLOUT' in scope
130 |
131 | @_alwaysEmitIntoClient
132 | internal var _POLLOUT: CInt { POLLOUT }
    |                               `- error: cannot find 'POLLOUT' in scope
133 |
134 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:135:34: error: cannot find 'POLLRDNORM' in scope
133 |
134 | @_alwaysEmitIntoClient
135 | internal var _POLLRDNORM: CInt { POLLRDNORM }
    |                                  `- error: cannot find 'POLLRDNORM' in scope
136 |
137 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:138:34: error: cannot find 'POLLWRNORM' in scope
136 |
137 | @_alwaysEmitIntoClient
138 | internal var _POLLWRNORM: CInt { POLLWRNORM }
    |                                  `- error: cannot find 'POLLWRNORM' in scope
139 |
140 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:141:34: error: cannot find 'POLLRDBAND' in scope
139 |
140 | @_alwaysEmitIntoClient
141 | internal var _POLLRDBAND: CInt { POLLRDBAND }
    |                                  `- error: cannot find 'POLLRDBAND' in scope
142 |
143 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:144:34: error: cannot find 'POLLWRBAND' in scope
142 |
143 | @_alwaysEmitIntoClient
144 | internal var _POLLWRBAND: CInt { POLLWRBAND }
    |                                  `- error: cannot find 'POLLWRBAND' in scope
145 |
146 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:147:31: error: cannot find 'POLLERR' in scope
145 |
146 | @_alwaysEmitIntoClient
147 | internal var _POLLERR: CInt { POLLERR }
    |                               `- error: cannot find 'POLLERR' in scope
148 |
149 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:150:31: error: cannot find 'POLLHUP' in scope
148 |
149 | @_alwaysEmitIntoClient
150 | internal var _POLLHUP: CInt { POLLHUP }
    |                               `- error: cannot find 'POLLHUP' in scope
151 |
152 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:153:32: error: cannot find 'POLLNVAL' in scope
151 |
152 | @_alwaysEmitIntoClient
153 | internal var _POLLNVAL: CInt { POLLNVAL }
    |                                `- error: cannot find 'POLLNVAL' in scope
154 |
155 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:156:39: error: cannot find 'INET_ADDRSTRLEN' in scope
154 |
155 | @_alwaysEmitIntoClient
156 | internal var _INET_ADDRSTRLEN: CInt { INET_ADDRSTRLEN }
    |                                       `- error: cannot find 'INET_ADDRSTRLEN' in scope
157 |
158 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:159:40: error: cannot find 'INET6_ADDRSTRLEN' in scope
157 |
158 | @_alwaysEmitIntoClient
159 | internal var _INET6_ADDRSTRLEN: CInt { INET6_ADDRSTRLEN }
    |                                        `- error: cannot find 'INET6_ADDRSTRLEN' in scope
160 |
161 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:162:79: error: cannot find 'INADDR_ANY' in scope
160 |
161 | @_alwaysEmitIntoClient
162 | internal var _INADDR_ANY: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_ANY) }
    |                                                                               `- error: cannot find 'INADDR_ANY' in scope
163 |
164 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:165:84: error: cannot find 'INADDR_LOOPBACK' in scope
163 |
164 | @_alwaysEmitIntoClient
165 | internal var _INADDR_LOOPBACK: CInterop.IPv4Address { CInterop.IPv4Address(s_addr: INADDR_LOOPBACK) }
    |                                                                                    `- error: cannot find 'INADDR_LOOPBACK' in scope
166 |
167 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:168:51: error: cannot find 'in6addr_any' in scope
166 |
167 | @_alwaysEmitIntoClient
168 | internal var _INADDR6_ANY: CInterop.IPv6Address { in6addr_any }
    |                                                   `- error: cannot find 'in6addr_any' in scope
169 |
170 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:171:56: error: cannot find 'in6addr_loopback' in scope
169 |
170 | @_alwaysEmitIntoClient
171 | internal var _INADDR6_LOOPBACK: CInterop.IPv6Address { in6addr_loopback }
    |                                                        `- error: cannot find 'in6addr_loopback' in scope
172 |
173 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:174:31: error: cannot find 'AF_UNIX' in scope
172 |
173 | @_alwaysEmitIntoClient
174 | internal var _AF_UNIX: CInt { AF_UNIX }
    |                               `- error: cannot find 'AF_UNIX' in scope
175 |
176 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:177:31: error: cannot find 'AF_INET' in scope
175 |
176 | @_alwaysEmitIntoClient
177 | internal var _AF_INET: CInt { AF_INET }
    |                               `- error: cannot find 'AF_INET' in scope
178 |
179 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:180:32: error: cannot find 'AF_INET6' in scope
178 |
179 | @_alwaysEmitIntoClient
180 | internal var _AF_INET6: CInt { AF_INET6 }
    |                                `- error: cannot find 'AF_INET6' in scope
181 |
182 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:183:30: error: cannot find 'AF_IPX' in scope
181 |
182 | @_alwaysEmitIntoClient
183 | internal var _AF_IPX: CInt { AF_IPX }
    |                              `- error: cannot find 'AF_IPX' in scope
184 |
185 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:186:36: error: cannot find 'AF_APPLETALK' in scope
184 |
185 | @_alwaysEmitIntoClient
186 | internal var _AF_APPLETALK: CInt { AF_APPLETALK }
    |                                    `- error: cannot find 'AF_APPLETALK' in scope
187 |
188 | #if !os(Windows)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:190:33: error: cannot find 'AF_DECnet' in scope
188 | #if !os(Windows)
189 | @_alwaysEmitIntoClient
190 | internal var _AF_DECnet: CInt { AF_DECnet }
    |                                 `- error: cannot find 'AF_DECnet' in scope
191 |
192 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:193:32: error: cannot find 'AF_VSOCK' in scope
191 |
192 | @_alwaysEmitIntoClient
193 | internal var _AF_VSOCK: CInt { AF_VSOCK }
    |                                `- error: cannot find 'AF_VSOCK' in scope
194 |
195 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:196:31: error: cannot find 'AF_ISDN' in scope
194 |
195 | @_alwaysEmitIntoClient
196 | internal var _AF_ISDN: CInt { AF_ISDN }
    |                               `- error: cannot find 'AF_ISDN' in scope
197 | #endif
198 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:311:47: error: cannot find 'IPPROTO_RAW' in scope
309 |
310 | @_alwaysEmitIntoClient
311 | internal var _IPPROTO_RAW: CInt { numericCast(IPPROTO_RAW) }
    |                                               `- error: cannot find 'IPPROTO_RAW' in scope
312 |
313 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:314:47: error: cannot find 'IPPROTO_TCP' in scope
312 |
313 | @_alwaysEmitIntoClient
314 | internal var _IPPROTO_TCP: CInt { numericCast(IPPROTO_TCP) }
    |                                               `- error: cannot find 'IPPROTO_TCP' in scope
315 |
316 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:317:47: error: cannot find 'IPPROTO_UDP' in scope
315 |
316 | @_alwaysEmitIntoClient
317 | internal var _IPPROTO_UDP: CInt { numericCast(IPPROTO_UDP) }
    |                                               `- error: cannot find 'IPPROTO_UDP' in scope
318 |
319 | /// Maximum queue length specifiable by listen.
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:321:33: error: cannot find 'SOMAXCONN' in scope
319 | /// Maximum queue length specifiable by listen.
320 | @_alwaysEmitIntoClient
321 | internal var _SOMAXCONN: CInt { SOMAXCONN }
    |                                 `- error: cannot find 'SOMAXCONN' in scope
322 |
323 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:324:34: error: cannot find 'SOL_SOCKET' in scope
322 |
323 | @_alwaysEmitIntoClient
324 | internal var _SOL_SOCKET: CInt { SOL_SOCKET }
    |                                  `- error: cannot find 'SOL_SOCKET' in scope
325 |
326 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:327:32: error: cannot find 'SO_DEBUG' in scope
325 |
326 | @_alwaysEmitIntoClient
327 | internal var _SO_DEBUG: CInt { SO_DEBUG }
    |                                `- error: cannot find 'SO_DEBUG' in scope
328 |
329 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:330:37: error: cannot find 'SO_ACCEPTCONN' in scope
328 |
329 | @_alwaysEmitIntoClient
330 | internal var _SO_ACCEPTCONN: CInt { SO_ACCEPTCONN }
    |                                     `- error: cannot find 'SO_ACCEPTCONN' in scope
331 |
332 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:333:36: error: cannot find 'SO_REUSEADDR' in scope
331 |
332 | @_alwaysEmitIntoClient
333 | internal var _SO_REUSEADDR: CInt { SO_REUSEADDR }
    |                                    `- error: cannot find 'SO_REUSEADDR' in scope
334 |
335 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:336:36: error: cannot find 'SO_KEEPALIVE' in scope
334 |
335 | @_alwaysEmitIntoClient
336 | internal var _SO_KEEPALIVE: CInt { SO_KEEPALIVE }
    |                                    `- error: cannot find 'SO_KEEPALIVE' in scope
337 |
338 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:339:36: error: cannot find 'SO_DONTROUTE' in scope
337 |
338 | @_alwaysEmitIntoClient
339 | internal var _SO_DONTROUTE: CInt { SO_DONTROUTE }
    |                                    `- error: cannot find 'SO_DONTROUTE' in scope
340 |
341 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:342:36: error: cannot find 'SO_BROADCAST' in scope
340 |
341 | @_alwaysEmitIntoClient
342 | internal var _SO_BROADCAST: CInt { SO_BROADCAST }
    |                                    `- error: cannot find 'SO_BROADCAST' in scope
343 |
344 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:350:33: error: cannot find 'SO_LINGER' in scope
348 |
349 | @_alwaysEmitIntoClient
350 | internal var _SO_LINGER: CInt { SO_LINGER }
    |                                 `- error: cannot find 'SO_LINGER' in scope
351 |
352 | #if os(Linux)
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:364:49: error: cannot find 'MSG_DONTROUTE' in scope
362 |
363 | @_alwaysEmitIntoClient
364 | internal var _MSG_DONTROUTE: CInt { numericCast(MSG_DONTROUTE) } /* send without using routing tables */
    |                                                 `- error: cannot find 'MSG_DONTROUTE' in scope
365 |
366 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:367:43: error: cannot find 'MSG_EOR' in scope
365 |
366 | @_alwaysEmitIntoClient
367 | internal var _MSG_EOR: CInt { numericCast(MSG_EOR) } /* data completes record */
    |                                           `- error: cannot find 'MSG_EOR' in scope
368 |
369 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:370:43: error: cannot find 'MSG_OOB' in scope
368 |
369 | @_alwaysEmitIntoClient
370 | internal var _MSG_OOB: CInt { numericCast(MSG_OOB) } /* process out-of-band data */
    |                                           `- error: cannot find 'MSG_OOB' in scope
371 |
372 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:373:44: error: cannot find 'MSG_PEEK' in scope
371 |
372 | @_alwaysEmitIntoClient
373 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
    |                                            `- error: cannot find 'MSG_PEEK' in scope
374 | @_alwaysEmitIntoClient
375 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:375:45: error: cannot find 'MSG_TRUNC' in scope
373 | internal var _MSG_PEEK: CInt { numericCast(MSG_PEEK) } /* peek at incoming message */
374 | @_alwaysEmitIntoClient
375 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
    |                                             `- error: cannot find 'MSG_TRUNC' in scope
376 | @_alwaysEmitIntoClient
377 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:377:46: error: cannot find 'MSG_CTRUNC' in scope
375 | internal var _MSG_TRUNC: CInt { numericCast(MSG_TRUNC) } /* data discarded before delivery */
376 | @_alwaysEmitIntoClient
377 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
    |                                              `- error: cannot find 'MSG_CTRUNC' in scope
378 | @_alwaysEmitIntoClient
379 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:379:47: error: cannot find 'MSG_WAITALL' in scope
377 | internal var _MSG_CTRUNC: CInt { numericCast(MSG_CTRUNC) } /* control data lost before delivery */
378 | @_alwaysEmitIntoClient
379 | internal var _MSG_WAITALL: CInt { numericCast(MSG_WAITALL) } /* wait for full request or error */
    |                                               `- error: cannot find 'MSG_WAITALL' in scope
380 |
381 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:382:48: error: cannot find 'MSG_DONTWAIT' in scope
380 |
381 | @_alwaysEmitIntoClient
382 | internal var _MSG_DONTWAIT: CInt { numericCast(MSG_DONTWAIT) } /* this message should be nonblocking */
    |                                                `- error: cannot find 'MSG_DONTWAIT' in scope
383 |
384 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Socket/System/InternetProtocol.swift:82:19: error: missing argument label 'rawValue:' in call
 80 |     @_alwaysEmitIntoClient
 81 |     init(_ byte0: UInt8, _ byte1: UInt8, _ byte2: UInt8, _ byte3: UInt8) {
 82 |         self.init(unsafeBitCast((byte0, byte1, byte2, byte3), to: CInterop.IPv4Address.self))
    |                   `- error: missing argument label 'rawValue:' in call
 83 |     }
 84 | }
/host/spi-builder-workspace/Sources/Socket/System/InternetProtocol.swift:98:47: error: missing argument label 'from:' in call
 96 |
 97 |     @_alwaysEmitIntoClient
 98 |     static var any: IPv4Address { IPv4Address(_INADDR_ANY) }
    |                                               `- error: missing argument label 'from:' in call
 99 |
100 |     @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/InternetProtocol.swift:101:52: error: missing argument label 'from:' in call
 99 |
100 |     @_alwaysEmitIntoClient
101 |     static var loopback: IPv4Address { IPv4Address(_INADDR_LOOPBACK) }
    |                                                    `- error: missing argument label 'from:' in call
102 | }
103 |
/host/spi-builder-workspace/Sources/Socket/System/InternetProtocol.swift:111:14: error: no exact matches in call to initializer
105 |
106 |     @_alwaysEmitIntoClient
107 |     public init?(rawValue: String) {
    |            `- note: incorrect labels for candidate (have: '(_:)', expected: '(rawValue:)')
108 |         guard let bytes = CInterop.IPv4Address(rawValue) else {
109 |             return nil
110 |         }
111 |         self.init(bytes)
    |              `- error: no exact matches in call to initializer
112 |     }
113 |
Swift.RawRepresentable<String>.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(from:)')
1 | protocol RawRepresentable {
2 | public init(from decoder: any Decoder) throws}
  |        `- note: incorrect labels for candidate (have: '(_:)', expected: '(from:)')
3 |
/host/spi-builder-workspace/Sources/Socket/System/InternetProtocol.swift:154:19: error: missing argument label 'rawValue:' in call
152 |     @_alwaysEmitIntoClient
153 |     init(_ byte0: UInt16, _ byte1: UInt16, _ byte2: UInt16, _ byte3: UInt16, _ byte4: UInt16, _ byte5: UInt16, _ byte6: UInt16, _ byte7: UInt16) {
154 |         self.init(unsafeBitCast((byte0.bigEndian, byte1.bigEndian, byte2.bigEndian, byte3.bigEndian, byte4.bigEndian, byte5.bigEndian, byte6.bigEndian, byte7.bigEndian), to: CInterop.IPv6Address.self))
    |                   `- error: missing argument label 'rawValue:' in call
155 |     }
156 | }
/host/spi-builder-workspace/Sources/Socket/System/InternetProtocol.swift:170:47: error: missing argument label 'from:' in call
168 |
169 |     @_alwaysEmitIntoClient
170 |     static var any: IPv6Address { IPv6Address(_INADDR6_ANY) }
    |                                               `- error: missing argument label 'from:' in call
171 |
172 |     @_alwaysEmitIntoClient
/host/spi-builder-workspace/Sources/Socket/System/InternetProtocol.swift:173:52: error: missing argument label 'from:' in call
171 |
172 |     @_alwaysEmitIntoClient
173 |     static var loopback: IPv6Address { IPv6Address(_INADDR6_LOOPBACK) }
    |                                                    `- error: missing argument label 'from:' in call
174 | }
175 |
/host/spi-builder-workspace/Sources/Socket/System/InternetProtocol.swift:183:14: error: no exact matches in call to initializer
177 |
178 |     @_alwaysEmitIntoClient
179 |     public init?(rawValue: String) {
    |            `- note: incorrect labels for candidate (have: '(_:)', expected: '(rawValue:)')
180 |         guard let bytes = CInterop.IPv6Address(rawValue) else {
181 |             return nil
182 |         }
183 |         self.init(bytes)
    |              `- error: no exact matches in call to initializer
184 |     }
185 |
Swift.RawRepresentable<String>.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(from:)')
1 | protocol RawRepresentable {
2 | public init(from decoder: any Decoder) throws}
  |        `- note: incorrect labels for candidate (have: '(_:)', expected: '(from:)')
3 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:186:25: error: cannot find type 'sockaddr' in scope
184 | internal func system_connect(
185 |   _ socket: CInt,
186 |   _ addr: UnsafePointer<sockaddr>?,
    |                         `- error: cannot find type 'sockaddr' in scope
187 |   _ len: socklen_t
188 | ) -> CInt {
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:187:10: error: cannot find type 'socklen_t' in scope
185 |   _ socket: CInt,
186 |   _ addr: UnsafePointer<sockaddr>?,
187 |   _ len: socklen_t
    |          `- error: cannot find type 'socklen_t' in scope
188 | ) -> CInt {
189 |   #if ENABLE_MOCKING
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:197:32: error: cannot find type 'sockaddr' in scope
195 | internal func system_accept(
196 |   _ socket: CInt,
197 |   _ addr: UnsafeMutablePointer<sockaddr>?,
    |                                `- error: cannot find type 'sockaddr' in scope
198 |   _ len: UnsafeMutablePointer<socklen_t>?
199 | ) -> CInt {
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:198:31: error: cannot find type 'socklen_t' in scope
196 |   _ socket: CInt,
197 |   _ addr: UnsafeMutablePointer<sockaddr>?,
198 |   _ len: UnsafeMutablePointer<socklen_t>?
    |                               `- error: cannot find type 'socklen_t' in scope
199 | ) -> CInt {
200 |   #if ENABLE_MOCKING
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[70/85] Compiling Socket LinkLayerProtocol.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:57:31: error: cannot find type 'sockaddr' in scope
55 |
56 |     /// The C `sockaddr_in` type
57 |     typealias SocketAddress = sockaddr
   |                               `- error: cannot find type 'sockaddr' in scope
58 |
59 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:186:25: error: cannot find type 'sockaddr' in scope
184 | internal func system_connect(
185 |   _ socket: CInt,
186 |   _ addr: UnsafePointer<sockaddr>?,
    |                         `- error: cannot find type 'sockaddr' in scope
187 |   _ len: socklen_t
188 | ) -> CInt {
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:187:10: error: cannot find type 'socklen_t' in scope
185 |   _ socket: CInt,
186 |   _ addr: UnsafePointer<sockaddr>?,
187 |   _ len: socklen_t
    |          `- error: cannot find type 'socklen_t' in scope
188 | ) -> CInt {
189 |   #if ENABLE_MOCKING
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:197:32: error: cannot find type 'sockaddr' in scope
195 | internal func system_accept(
196 |   _ socket: CInt,
197 |   _ addr: UnsafeMutablePointer<sockaddr>?,
    |                                `- error: cannot find type 'sockaddr' in scope
198 |   _ len: UnsafeMutablePointer<socklen_t>?
199 | ) -> CInt {
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:198:31: error: cannot find type 'socklen_t' in scope
196 |   _ socket: CInt,
197 |   _ addr: UnsafeMutablePointer<sockaddr>?,
198 |   _ len: UnsafeMutablePointer<socklen_t>?
    |                               `- error: cannot find type 'socklen_t' in scope
199 | ) -> CInt {
200 |   #if ENABLE_MOCKING
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:48:29: error: cannot find type 'addrinfo' in scope
46 |
47 |     /// The C `addrinfo` type
48 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
49 |
50 |     /// The C `in_addr` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:20:36: error: cannot find type 'pollfd' in scope
18 |     typealias FileDescriptorSet = fd_set
19 |
20 |     typealias PollFileDescriptor = pollfd
   |                                    `- error: cannot find type 'pollfd' in scope
21 |
22 |     typealias FileDescriptorCount = nfds_t
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:22:37: error: cannot find type 'nfds_t' in scope
20 |     typealias PollFileDescriptor = pollfd
21 |
22 |     typealias FileDescriptorCount = nfds_t
   |                                     `- error: cannot find type 'nfds_t' in scope
23 |
24 |     typealias FileEvent = Int16
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:35:32: error: cannot find type 'msghdr' in scope
33 |
34 |     /// The C `msghdr` type
35 |      typealias MessageHeader = msghdr
   |                                `- error: cannot find type 'msghdr' in scope
36 |
37 |     /// The C `sa_family_t` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:77:36: error: cannot find type 'if_nameindex' in scope
75 |
76 |     /// The C `if_nameindex` type
77 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
78 |
79 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:80:37: error: cannot find type 'ifaddrs' in scope
78 |
79 |     /// The C  `ifaddrs` type
80 |     typealias InterfaceLinkedList = ifaddrs
   |                                     `- error: cannot find type 'ifaddrs' in scope
81 | }
82 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:96:9: error: cannot find 'Glibc' in scope
 94 | #else
 95 | internal var system_errno: CInt {
 96 |   get { Glibc.errno }
    |         `- error: cannot find 'Glibc' in scope
 97 |   set { Glibc.errno = newValue }
 98 | }
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:97:9: error: cannot find 'Glibc' in scope
 95 | internal var system_errno: CInt {
 96 |   get { Glibc.errno }
 97 |   set { Glibc.errno = newValue }
    |         `- error: cannot find 'Glibc' in scope
 98 | }
 99 | #endif
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:106:10: error: cannot find 'close' in scope
104 |   if mockingEnabled { return _mock(fd) }
105 | #endif
106 |   return close(fd)
    |          `- error: cannot find 'close' in scope
107 | }
108 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:116:10: error: cannot find 'write' in scope
114 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
115 | #endif
116 |   return write(fd, buf, nbyte)
    |          `- error: cannot find 'write' in scope
117 | }
118 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:126:10: error: cannot find 'read' in scope
124 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
125 | #endif
126 |   return read(fd, buf, nbyte)
    |          `- error: cannot find 'read' in scope
127 | }
128 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:136:10: error: cannot find 'inet_pton' in scope
134 |   if mockingEnabled { return _mock(family, cString, address) }
135 |   #endif
136 |   return inet_pton(family, cString, address)
    |          `- error: cannot find 'inet_pton' in scope
137 | }
138 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:143:10: error: cannot find 'inet_ntop' in scope
141 |   //if mockingEnabled { return _mock(family, pointer, string, length) }
142 |   #endif
143 |   return inet_ntop(family, pointer, string, length)
    |          `- error: cannot find 'inet_ntop' in scope
144 | }
145 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:150:10: error: cannot find 'socket' in scope
148 |   if mockingEnabled { return _mock(fd, fd2, fd3) }
149 |   #endif
150 |   return socket(fd, fd2, fd3)
    |          `- error: cannot find 'socket' in scope
151 | }
152 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:157:10: error: cannot find 'setsockopt' in scope
155 |   if mockingEnabled { return _mock(fd, fd2, fd3, pointer, dataLength) }
156 |   #endif
157 |   return setsockopt(fd, fd2, fd3, pointer, dataLength)
    |          `- error: cannot find 'setsockopt' in scope
158 | }
159 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:170:10: error: cannot find 'getsockopt' in scope
168 |   if mockingEnabled { return _mock(socket, level, option, value, length) }
169 |   #endif
170 |   return getsockopt(socket, level, option, value, length)
    |          `- error: cannot find 'getsockopt' in scope
171 | }
172 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:181:10: error: cannot find 'bind' in scope
179 |   if mockingEnabled { return _mock(socket, address, length) }
180 |   #endif
181 |   return bind(socket, address, length)
    |          `- error: cannot find 'bind' in scope
182 | }
183 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:192:10: error: cannot find 'connect' in scope
190 |   if mockingEnabled { return _mock(socket, addr, len) }
191 |   #endif
192 |   return connect(socket, addr, len)
    |          `- error: cannot find 'connect' in scope
193 | }
194 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:203:10: error: cannot find 'accept' in scope
201 |   if mockingEnabled { return _mock(socket, addr, len) }
202 |   #endif
203 |   return accept(socket, addr, len)
    |          `- error: cannot find 'accept' in scope
204 | }
205 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:219:10: error: cannot find 'getaddrinfo' in scope
217 |   }
218 |   #endif
219 |   return getaddrinfo(hostname, servname, hints, res)
    |          `- error: cannot find 'getaddrinfo' in scope
220 | }
221 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:236:10: error: cannot find 'getnameinfo' in scope
234 |   }
235 |   #endif
236 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |          `- error: cannot find 'getnameinfo' in scope
237 | }
238 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:248:10: error: cannot find 'freeaddrinfo' in scope
246 |   }
247 |   #endif
248 |   return freeaddrinfo(addrinfo)
    |          `- error: cannot find 'freeaddrinfo' in scope
249 | }
250 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:255:10: error: cannot find 'gai_strerror' in scope
253 |   // FIXME
254 |   #endif
255 |   return gai_strerror(error)
    |          `- error: cannot find 'gai_strerror' in scope
256 | }
257 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:262:10: error: cannot find 'shutdown' in scope
260 |   if mockingEnabled { return _mock(socket, how) }
261 |   #endif
262 |   return shutdown(socket, how)
    |          `- error: cannot find 'shutdown' in scope
263 | }
264 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:269:10: error: cannot find 'listen' in scope
267 |   if mockingEnabled { return _mock(socket, backlog) }
268 |   #endif
269 |   return listen(socket, backlog)
    |          `- error: cannot find 'listen' in scope
270 | }
271 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:278:10: error: cannot find 'send' in scope
276 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
277 |   #endif
278 |   return send(socket, buffer, len, flags)
    |          `- error: cannot find 'send' in scope
279 | }
280 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:290:10: error: cannot find 'recv' in scope
288 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
289 |   #endif
290 |   return recv(socket, buffer, len, flags)
    |          `- error: cannot find 'recv' in scope
291 | }
292 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:306:10: error: cannot find 'sendto' in scope
304 |   }
305 |   #endif
306 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |          `- error: cannot find 'sendto' in scope
307 | }
308 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:322:10: error: cannot find 'recvfrom' in scope
320 |   }
321 |   #endif
322 |   return recvfrom(socket, buffer, length, flags, address, addres_len)
    |          `- error: cannot find 'recvfrom' in scope
323 | }
324 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:333:10: error: cannot find 'poll' in scope
331 |   if mockingEnabled { return _mock(fileDescriptors, fileDescriptorsCount, timeout) }
332 |   #endif
333 |   return poll(fileDescriptors, fileDescriptorsCount, timeout)
    |          `- error: cannot find 'poll' in scope
334 | }
335 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:344:10: error: cannot find 'sendmsg' in scope
342 |   if mockingEnabled { return _mockInt(socket, message, flags) }
343 |   #endif
344 |   return sendmsg(socket, message, flags)
    |          `- error: cannot find 'sendmsg' in scope
345 | }
346 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:355:10: error: cannot find 'recvmsg' in scope
353 |   if mockingEnabled { return _mockInt(socket, message, flags) }
354 |   #endif
355 |   return recvmsg(socket, message, flags)
    |          `- error: cannot find 'recvmsg' in scope
356 | }
357 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:365:10: error: cannot find 'fcntl' in scope
363 |   if mockingEnabled { return _mock(fd, cmd) }
364 | #endif
365 |   return fcntl(fd, cmd)
    |          `- error: cannot find 'fcntl' in scope
366 | }
367 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:376:10: error: cannot find 'fcntl' in scope
374 |   if mockingEnabled { return _mock(fd, cmd, value) }
375 | #endif
376 |   return fcntl(fd, cmd, value)
    |          `- error: cannot find 'fcntl' in scope
377 | }
378 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:387:10: error: cannot find 'fcntl' in scope
385 |   if mockingEnabled { return _mock(fd, cmd, pointer) }
386 | #endif
387 |   return fcntl(fd, cmd, pointer)
    |          `- error: cannot find 'fcntl' in scope
388 | }
389 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:398:10: error: cannot find 'ioctl' in scope
396 |   if mockingEnabled { return _mock(fd, request) }
397 | #endif
398 |   return ioctl(fd, request)
    |          `- error: cannot find 'ioctl' in scope
399 | }
400 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:410:10: error: cannot find 'ioctl' in scope
408 |   if mockingEnabled { return _mock(fd, request, value) }
409 | #endif
410 |   return ioctl(fd, request, value)
    |          `- error: cannot find 'ioctl' in scope
411 | }
412 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:422:10: error: cannot find 'ioctl' in scope
420 |   if mockingEnabled { return _mock(fd, request, pointer) }
421 | #endif
422 |   return ioctl(fd, request, pointer)
    |          `- error: cannot find 'ioctl' in scope
423 | }
424 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:430:12: error: cannot find 'if_nameindex' in scope
428 |   if mockingEnabled { return _mock() }
429 | #endif
430 |     return if_nameindex()
    |            `- error: cannot find 'if_nameindex' in scope
431 | }
432 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:438:12: error: cannot find 'if_freenameindex' in scope
436 |   if mockingEnabled { return _mock(pointer) }
437 | #endif
438 |     return if_freenameindex(pointer)
    |            `- error: cannot find 'if_freenameindex' in scope
439 | }
440 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:445:12: error: cannot find 'getifaddrs' in scope
443 |     if mockingEnabled { return _mock(pointer) }
444 | #endif
445 |     return getifaddrs(pointer)
    |            `- error: cannot find 'getifaddrs' in scope
446 | }
447 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:452:12: error: cannot find 'freeifaddrs' in scope
450 |     if mockingEnabled { return _mock(pointer) }
451 | #endif
452 |     return freeifaddrs(pointer)
    |            `- error: cannot find 'freeifaddrs' in scope
453 | }
454 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:475:12: error: cannot find 'getsockname' in scope
473 |     if mockingEnabled { return _mock(fd, address) }
474 | #endif
475 |     return getsockname(fd, address, length)
    |            `- error: cannot find 'getsockname' in scope
476 | }
477 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:482:12: error: cannot find 'getpeername' in scope
480 |     if mockingEnabled { return _mock(fd, address) }
481 | #endif
482 |     return getpeername(fd, address, length)
    |            `- error: cannot find 'getpeername' in scope
483 | }
484 |
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[71/85] Compiling Socket UnixProtocol.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:57:31: error: cannot find type 'sockaddr' in scope
55 |
56 |     /// The C `sockaddr_in` type
57 |     typealias SocketAddress = sockaddr
   |                               `- error: cannot find type 'sockaddr' in scope
58 |
59 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:186:25: error: cannot find type 'sockaddr' in scope
184 | internal func system_connect(
185 |   _ socket: CInt,
186 |   _ addr: UnsafePointer<sockaddr>?,
    |                         `- error: cannot find type 'sockaddr' in scope
187 |   _ len: socklen_t
188 | ) -> CInt {
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:187:10: error: cannot find type 'socklen_t' in scope
185 |   _ socket: CInt,
186 |   _ addr: UnsafePointer<sockaddr>?,
187 |   _ len: socklen_t
    |          `- error: cannot find type 'socklen_t' in scope
188 | ) -> CInt {
189 |   #if ENABLE_MOCKING
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:197:32: error: cannot find type 'sockaddr' in scope
195 | internal func system_accept(
196 |   _ socket: CInt,
197 |   _ addr: UnsafeMutablePointer<sockaddr>?,
    |                                `- error: cannot find type 'sockaddr' in scope
198 |   _ len: UnsafeMutablePointer<socklen_t>?
199 | ) -> CInt {
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:198:31: error: cannot find type 'socklen_t' in scope
196 |   _ socket: CInt,
197 |   _ addr: UnsafeMutablePointer<sockaddr>?,
198 |   _ len: UnsafeMutablePointer<socklen_t>?
    |                               `- error: cannot find type 'socklen_t' in scope
199 | ) -> CInt {
200 |   #if ENABLE_MOCKING
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:48:29: error: cannot find type 'addrinfo' in scope
46 |
47 |     /// The C `addrinfo` type
48 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
49 |
50 |     /// The C `in_addr` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:20:36: error: cannot find type 'pollfd' in scope
18 |     typealias FileDescriptorSet = fd_set
19 |
20 |     typealias PollFileDescriptor = pollfd
   |                                    `- error: cannot find type 'pollfd' in scope
21 |
22 |     typealias FileDescriptorCount = nfds_t
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:22:37: error: cannot find type 'nfds_t' in scope
20 |     typealias PollFileDescriptor = pollfd
21 |
22 |     typealias FileDescriptorCount = nfds_t
   |                                     `- error: cannot find type 'nfds_t' in scope
23 |
24 |     typealias FileEvent = Int16
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:35:32: error: cannot find type 'msghdr' in scope
33 |
34 |     /// The C `msghdr` type
35 |      typealias MessageHeader = msghdr
   |                                `- error: cannot find type 'msghdr' in scope
36 |
37 |     /// The C `sa_family_t` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:77:36: error: cannot find type 'if_nameindex' in scope
75 |
76 |     /// The C `if_nameindex` type
77 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
78 |
79 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:80:37: error: cannot find type 'ifaddrs' in scope
78 |
79 |     /// The C  `ifaddrs` type
80 |     typealias InterfaceLinkedList = ifaddrs
   |                                     `- error: cannot find type 'ifaddrs' in scope
81 | }
82 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:96:9: error: cannot find 'Glibc' in scope
 94 | #else
 95 | internal var system_errno: CInt {
 96 |   get { Glibc.errno }
    |         `- error: cannot find 'Glibc' in scope
 97 |   set { Glibc.errno = newValue }
 98 | }
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:97:9: error: cannot find 'Glibc' in scope
 95 | internal var system_errno: CInt {
 96 |   get { Glibc.errno }
 97 |   set { Glibc.errno = newValue }
    |         `- error: cannot find 'Glibc' in scope
 98 | }
 99 | #endif
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:106:10: error: cannot find 'close' in scope
104 |   if mockingEnabled { return _mock(fd) }
105 | #endif
106 |   return close(fd)
    |          `- error: cannot find 'close' in scope
107 | }
108 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:116:10: error: cannot find 'write' in scope
114 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
115 | #endif
116 |   return write(fd, buf, nbyte)
    |          `- error: cannot find 'write' in scope
117 | }
118 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:126:10: error: cannot find 'read' in scope
124 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
125 | #endif
126 |   return read(fd, buf, nbyte)
    |          `- error: cannot find 'read' in scope
127 | }
128 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:136:10: error: cannot find 'inet_pton' in scope
134 |   if mockingEnabled { return _mock(family, cString, address) }
135 |   #endif
136 |   return inet_pton(family, cString, address)
    |          `- error: cannot find 'inet_pton' in scope
137 | }
138 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:143:10: error: cannot find 'inet_ntop' in scope
141 |   //if mockingEnabled { return _mock(family, pointer, string, length) }
142 |   #endif
143 |   return inet_ntop(family, pointer, string, length)
    |          `- error: cannot find 'inet_ntop' in scope
144 | }
145 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:150:10: error: cannot find 'socket' in scope
148 |   if mockingEnabled { return _mock(fd, fd2, fd3) }
149 |   #endif
150 |   return socket(fd, fd2, fd3)
    |          `- error: cannot find 'socket' in scope
151 | }
152 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:157:10: error: cannot find 'setsockopt' in scope
155 |   if mockingEnabled { return _mock(fd, fd2, fd3, pointer, dataLength) }
156 |   #endif
157 |   return setsockopt(fd, fd2, fd3, pointer, dataLength)
    |          `- error: cannot find 'setsockopt' in scope
158 | }
159 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:170:10: error: cannot find 'getsockopt' in scope
168 |   if mockingEnabled { return _mock(socket, level, option, value, length) }
169 |   #endif
170 |   return getsockopt(socket, level, option, value, length)
    |          `- error: cannot find 'getsockopt' in scope
171 | }
172 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:181:10: error: cannot find 'bind' in scope
179 |   if mockingEnabled { return _mock(socket, address, length) }
180 |   #endif
181 |   return bind(socket, address, length)
    |          `- error: cannot find 'bind' in scope
182 | }
183 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:192:10: error: cannot find 'connect' in scope
190 |   if mockingEnabled { return _mock(socket, addr, len) }
191 |   #endif
192 |   return connect(socket, addr, len)
    |          `- error: cannot find 'connect' in scope
193 | }
194 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:203:10: error: cannot find 'accept' in scope
201 |   if mockingEnabled { return _mock(socket, addr, len) }
202 |   #endif
203 |   return accept(socket, addr, len)
    |          `- error: cannot find 'accept' in scope
204 | }
205 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:219:10: error: cannot find 'getaddrinfo' in scope
217 |   }
218 |   #endif
219 |   return getaddrinfo(hostname, servname, hints, res)
    |          `- error: cannot find 'getaddrinfo' in scope
220 | }
221 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:236:10: error: cannot find 'getnameinfo' in scope
234 |   }
235 |   #endif
236 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |          `- error: cannot find 'getnameinfo' in scope
237 | }
238 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:248:10: error: cannot find 'freeaddrinfo' in scope
246 |   }
247 |   #endif
248 |   return freeaddrinfo(addrinfo)
    |          `- error: cannot find 'freeaddrinfo' in scope
249 | }
250 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:255:10: error: cannot find 'gai_strerror' in scope
253 |   // FIXME
254 |   #endif
255 |   return gai_strerror(error)
    |          `- error: cannot find 'gai_strerror' in scope
256 | }
257 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:262:10: error: cannot find 'shutdown' in scope
260 |   if mockingEnabled { return _mock(socket, how) }
261 |   #endif
262 |   return shutdown(socket, how)
    |          `- error: cannot find 'shutdown' in scope
263 | }
264 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:269:10: error: cannot find 'listen' in scope
267 |   if mockingEnabled { return _mock(socket, backlog) }
268 |   #endif
269 |   return listen(socket, backlog)
    |          `- error: cannot find 'listen' in scope
270 | }
271 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:278:10: error: cannot find 'send' in scope
276 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
277 |   #endif
278 |   return send(socket, buffer, len, flags)
    |          `- error: cannot find 'send' in scope
279 | }
280 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:290:10: error: cannot find 'recv' in scope
288 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
289 |   #endif
290 |   return recv(socket, buffer, len, flags)
    |          `- error: cannot find 'recv' in scope
291 | }
292 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:306:10: error: cannot find 'sendto' in scope
304 |   }
305 |   #endif
306 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |          `- error: cannot find 'sendto' in scope
307 | }
308 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:322:10: error: cannot find 'recvfrom' in scope
320 |   }
321 |   #endif
322 |   return recvfrom(socket, buffer, length, flags, address, addres_len)
    |          `- error: cannot find 'recvfrom' in scope
323 | }
324 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:333:10: error: cannot find 'poll' in scope
331 |   if mockingEnabled { return _mock(fileDescriptors, fileDescriptorsCount, timeout) }
332 |   #endif
333 |   return poll(fileDescriptors, fileDescriptorsCount, timeout)
    |          `- error: cannot find 'poll' in scope
334 | }
335 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:344:10: error: cannot find 'sendmsg' in scope
342 |   if mockingEnabled { return _mockInt(socket, message, flags) }
343 |   #endif
344 |   return sendmsg(socket, message, flags)
    |          `- error: cannot find 'sendmsg' in scope
345 | }
346 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:355:10: error: cannot find 'recvmsg' in scope
353 |   if mockingEnabled { return _mockInt(socket, message, flags) }
354 |   #endif
355 |   return recvmsg(socket, message, flags)
    |          `- error: cannot find 'recvmsg' in scope
356 | }
357 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:365:10: error: cannot find 'fcntl' in scope
363 |   if mockingEnabled { return _mock(fd, cmd) }
364 | #endif
365 |   return fcntl(fd, cmd)
    |          `- error: cannot find 'fcntl' in scope
366 | }
367 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:376:10: error: cannot find 'fcntl' in scope
374 |   if mockingEnabled { return _mock(fd, cmd, value) }
375 | #endif
376 |   return fcntl(fd, cmd, value)
    |          `- error: cannot find 'fcntl' in scope
377 | }
378 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:387:10: error: cannot find 'fcntl' in scope
385 |   if mockingEnabled { return _mock(fd, cmd, pointer) }
386 | #endif
387 |   return fcntl(fd, cmd, pointer)
    |          `- error: cannot find 'fcntl' in scope
388 | }
389 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:398:10: error: cannot find 'ioctl' in scope
396 |   if mockingEnabled { return _mock(fd, request) }
397 | #endif
398 |   return ioctl(fd, request)
    |          `- error: cannot find 'ioctl' in scope
399 | }
400 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:410:10: error: cannot find 'ioctl' in scope
408 |   if mockingEnabled { return _mock(fd, request, value) }
409 | #endif
410 |   return ioctl(fd, request, value)
    |          `- error: cannot find 'ioctl' in scope
411 | }
412 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:422:10: error: cannot find 'ioctl' in scope
420 |   if mockingEnabled { return _mock(fd, request, pointer) }
421 | #endif
422 |   return ioctl(fd, request, pointer)
    |          `- error: cannot find 'ioctl' in scope
423 | }
424 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:430:12: error: cannot find 'if_nameindex' in scope
428 |   if mockingEnabled { return _mock() }
429 | #endif
430 |     return if_nameindex()
    |            `- error: cannot find 'if_nameindex' in scope
431 | }
432 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:438:12: error: cannot find 'if_freenameindex' in scope
436 |   if mockingEnabled { return _mock(pointer) }
437 | #endif
438 |     return if_freenameindex(pointer)
    |            `- error: cannot find 'if_freenameindex' in scope
439 | }
440 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:445:12: error: cannot find 'getifaddrs' in scope
443 |     if mockingEnabled { return _mock(pointer) }
444 | #endif
445 |     return getifaddrs(pointer)
    |            `- error: cannot find 'getifaddrs' in scope
446 | }
447 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:452:12: error: cannot find 'freeifaddrs' in scope
450 |     if mockingEnabled { return _mock(pointer) }
451 | #endif
452 |     return freeifaddrs(pointer)
    |            `- error: cannot find 'freeifaddrs' in scope
453 | }
454 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:475:12: error: cannot find 'getsockname' in scope
473 |     if mockingEnabled { return _mock(fd, address) }
474 | #endif
475 |     return getsockname(fd, address, length)
    |            `- error: cannot find 'getsockname' in scope
476 | }
477 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:482:12: error: cannot find 'getpeername' in scope
480 |     if mockingEnabled { return _mock(fd, address) }
481 | #endif
482 |     return getpeername(fd, address, length)
    |            `- error: cannot find 'getpeername' in scope
483 | }
484 |
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[72/85] Compiling Socket SocketType.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:57:31: error: cannot find type 'sockaddr' in scope
55 |
56 |     /// The C `sockaddr_in` type
57 |     typealias SocketAddress = sockaddr
   |                               `- error: cannot find type 'sockaddr' in scope
58 |
59 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:186:25: error: cannot find type 'sockaddr' in scope
184 | internal func system_connect(
185 |   _ socket: CInt,
186 |   _ addr: UnsafePointer<sockaddr>?,
    |                         `- error: cannot find type 'sockaddr' in scope
187 |   _ len: socklen_t
188 | ) -> CInt {
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:187:10: error: cannot find type 'socklen_t' in scope
185 |   _ socket: CInt,
186 |   _ addr: UnsafePointer<sockaddr>?,
187 |   _ len: socklen_t
    |          `- error: cannot find type 'socklen_t' in scope
188 | ) -> CInt {
189 |   #if ENABLE_MOCKING
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:197:32: error: cannot find type 'sockaddr' in scope
195 | internal func system_accept(
196 |   _ socket: CInt,
197 |   _ addr: UnsafeMutablePointer<sockaddr>?,
    |                                `- error: cannot find type 'sockaddr' in scope
198 |   _ len: UnsafeMutablePointer<socklen_t>?
199 | ) -> CInt {
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:198:31: error: cannot find type 'socklen_t' in scope
196 |   _ socket: CInt,
197 |   _ addr: UnsafeMutablePointer<sockaddr>?,
198 |   _ len: UnsafeMutablePointer<socklen_t>?
    |                               `- error: cannot find type 'socklen_t' in scope
199 | ) -> CInt {
200 |   #if ENABLE_MOCKING
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:48:29: error: cannot find type 'addrinfo' in scope
46 |
47 |     /// The C `addrinfo` type
48 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
49 |
50 |     /// The C `in_addr` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:20:36: error: cannot find type 'pollfd' in scope
18 |     typealias FileDescriptorSet = fd_set
19 |
20 |     typealias PollFileDescriptor = pollfd
   |                                    `- error: cannot find type 'pollfd' in scope
21 |
22 |     typealias FileDescriptorCount = nfds_t
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:22:37: error: cannot find type 'nfds_t' in scope
20 |     typealias PollFileDescriptor = pollfd
21 |
22 |     typealias FileDescriptorCount = nfds_t
   |                                     `- error: cannot find type 'nfds_t' in scope
23 |
24 |     typealias FileEvent = Int16
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:35:32: error: cannot find type 'msghdr' in scope
33 |
34 |     /// The C `msghdr` type
35 |      typealias MessageHeader = msghdr
   |                                `- error: cannot find type 'msghdr' in scope
36 |
37 |     /// The C `sa_family_t` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:77:36: error: cannot find type 'if_nameindex' in scope
75 |
76 |     /// The C `if_nameindex` type
77 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
78 |
79 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:80:37: error: cannot find type 'ifaddrs' in scope
78 |
79 |     /// The C  `ifaddrs` type
80 |     typealias InterfaceLinkedList = ifaddrs
   |                                     `- error: cannot find type 'ifaddrs' in scope
81 | }
82 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:96:9: error: cannot find 'Glibc' in scope
 94 | #else
 95 | internal var system_errno: CInt {
 96 |   get { Glibc.errno }
    |         `- error: cannot find 'Glibc' in scope
 97 |   set { Glibc.errno = newValue }
 98 | }
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:97:9: error: cannot find 'Glibc' in scope
 95 | internal var system_errno: CInt {
 96 |   get { Glibc.errno }
 97 |   set { Glibc.errno = newValue }
    |         `- error: cannot find 'Glibc' in scope
 98 | }
 99 | #endif
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:106:10: error: cannot find 'close' in scope
104 |   if mockingEnabled { return _mock(fd) }
105 | #endif
106 |   return close(fd)
    |          `- error: cannot find 'close' in scope
107 | }
108 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:116:10: error: cannot find 'write' in scope
114 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
115 | #endif
116 |   return write(fd, buf, nbyte)
    |          `- error: cannot find 'write' in scope
117 | }
118 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:126:10: error: cannot find 'read' in scope
124 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
125 | #endif
126 |   return read(fd, buf, nbyte)
    |          `- error: cannot find 'read' in scope
127 | }
128 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:136:10: error: cannot find 'inet_pton' in scope
134 |   if mockingEnabled { return _mock(family, cString, address) }
135 |   #endif
136 |   return inet_pton(family, cString, address)
    |          `- error: cannot find 'inet_pton' in scope
137 | }
138 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:143:10: error: cannot find 'inet_ntop' in scope
141 |   //if mockingEnabled { return _mock(family, pointer, string, length) }
142 |   #endif
143 |   return inet_ntop(family, pointer, string, length)
    |          `- error: cannot find 'inet_ntop' in scope
144 | }
145 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:150:10: error: cannot find 'socket' in scope
148 |   if mockingEnabled { return _mock(fd, fd2, fd3) }
149 |   #endif
150 |   return socket(fd, fd2, fd3)
    |          `- error: cannot find 'socket' in scope
151 | }
152 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:157:10: error: cannot find 'setsockopt' in scope
155 |   if mockingEnabled { return _mock(fd, fd2, fd3, pointer, dataLength) }
156 |   #endif
157 |   return setsockopt(fd, fd2, fd3, pointer, dataLength)
    |          `- error: cannot find 'setsockopt' in scope
158 | }
159 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:170:10: error: cannot find 'getsockopt' in scope
168 |   if mockingEnabled { return _mock(socket, level, option, value, length) }
169 |   #endif
170 |   return getsockopt(socket, level, option, value, length)
    |          `- error: cannot find 'getsockopt' in scope
171 | }
172 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:181:10: error: cannot find 'bind' in scope
179 |   if mockingEnabled { return _mock(socket, address, length) }
180 |   #endif
181 |   return bind(socket, address, length)
    |          `- error: cannot find 'bind' in scope
182 | }
183 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:192:10: error: cannot find 'connect' in scope
190 |   if mockingEnabled { return _mock(socket, addr, len) }
191 |   #endif
192 |   return connect(socket, addr, len)
    |          `- error: cannot find 'connect' in scope
193 | }
194 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:203:10: error: cannot find 'accept' in scope
201 |   if mockingEnabled { return _mock(socket, addr, len) }
202 |   #endif
203 |   return accept(socket, addr, len)
    |          `- error: cannot find 'accept' in scope
204 | }
205 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:219:10: error: cannot find 'getaddrinfo' in scope
217 |   }
218 |   #endif
219 |   return getaddrinfo(hostname, servname, hints, res)
    |          `- error: cannot find 'getaddrinfo' in scope
220 | }
221 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:236:10: error: cannot find 'getnameinfo' in scope
234 |   }
235 |   #endif
236 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |          `- error: cannot find 'getnameinfo' in scope
237 | }
238 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:248:10: error: cannot find 'freeaddrinfo' in scope
246 |   }
247 |   #endif
248 |   return freeaddrinfo(addrinfo)
    |          `- error: cannot find 'freeaddrinfo' in scope
249 | }
250 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:255:10: error: cannot find 'gai_strerror' in scope
253 |   // FIXME
254 |   #endif
255 |   return gai_strerror(error)
    |          `- error: cannot find 'gai_strerror' in scope
256 | }
257 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:262:10: error: cannot find 'shutdown' in scope
260 |   if mockingEnabled { return _mock(socket, how) }
261 |   #endif
262 |   return shutdown(socket, how)
    |          `- error: cannot find 'shutdown' in scope
263 | }
264 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:269:10: error: cannot find 'listen' in scope
267 |   if mockingEnabled { return _mock(socket, backlog) }
268 |   #endif
269 |   return listen(socket, backlog)
    |          `- error: cannot find 'listen' in scope
270 | }
271 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:278:10: error: cannot find 'send' in scope
276 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
277 |   #endif
278 |   return send(socket, buffer, len, flags)
    |          `- error: cannot find 'send' in scope
279 | }
280 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:290:10: error: cannot find 'recv' in scope
288 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
289 |   #endif
290 |   return recv(socket, buffer, len, flags)
    |          `- error: cannot find 'recv' in scope
291 | }
292 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:306:10: error: cannot find 'sendto' in scope
304 |   }
305 |   #endif
306 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |          `- error: cannot find 'sendto' in scope
307 | }
308 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:322:10: error: cannot find 'recvfrom' in scope
320 |   }
321 |   #endif
322 |   return recvfrom(socket, buffer, length, flags, address, addres_len)
    |          `- error: cannot find 'recvfrom' in scope
323 | }
324 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:333:10: error: cannot find 'poll' in scope
331 |   if mockingEnabled { return _mock(fileDescriptors, fileDescriptorsCount, timeout) }
332 |   #endif
333 |   return poll(fileDescriptors, fileDescriptorsCount, timeout)
    |          `- error: cannot find 'poll' in scope
334 | }
335 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:344:10: error: cannot find 'sendmsg' in scope
342 |   if mockingEnabled { return _mockInt(socket, message, flags) }
343 |   #endif
344 |   return sendmsg(socket, message, flags)
    |          `- error: cannot find 'sendmsg' in scope
345 | }
346 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:355:10: error: cannot find 'recvmsg' in scope
353 |   if mockingEnabled { return _mockInt(socket, message, flags) }
354 |   #endif
355 |   return recvmsg(socket, message, flags)
    |          `- error: cannot find 'recvmsg' in scope
356 | }
357 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:365:10: error: cannot find 'fcntl' in scope
363 |   if mockingEnabled { return _mock(fd, cmd) }
364 | #endif
365 |   return fcntl(fd, cmd)
    |          `- error: cannot find 'fcntl' in scope
366 | }
367 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:376:10: error: cannot find 'fcntl' in scope
374 |   if mockingEnabled { return _mock(fd, cmd, value) }
375 | #endif
376 |   return fcntl(fd, cmd, value)
    |          `- error: cannot find 'fcntl' in scope
377 | }
378 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:387:10: error: cannot find 'fcntl' in scope
385 |   if mockingEnabled { return _mock(fd, cmd, pointer) }
386 | #endif
387 |   return fcntl(fd, cmd, pointer)
    |          `- error: cannot find 'fcntl' in scope
388 | }
389 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:398:10: error: cannot find 'ioctl' in scope
396 |   if mockingEnabled { return _mock(fd, request) }
397 | #endif
398 |   return ioctl(fd, request)
    |          `- error: cannot find 'ioctl' in scope
399 | }
400 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:410:10: error: cannot find 'ioctl' in scope
408 |   if mockingEnabled { return _mock(fd, request, value) }
409 | #endif
410 |   return ioctl(fd, request, value)
    |          `- error: cannot find 'ioctl' in scope
411 | }
412 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:422:10: error: cannot find 'ioctl' in scope
420 |   if mockingEnabled { return _mock(fd, request, pointer) }
421 | #endif
422 |   return ioctl(fd, request, pointer)
    |          `- error: cannot find 'ioctl' in scope
423 | }
424 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:430:12: error: cannot find 'if_nameindex' in scope
428 |   if mockingEnabled { return _mock() }
429 | #endif
430 |     return if_nameindex()
    |            `- error: cannot find 'if_nameindex' in scope
431 | }
432 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:438:12: error: cannot find 'if_freenameindex' in scope
436 |   if mockingEnabled { return _mock(pointer) }
437 | #endif
438 |     return if_freenameindex(pointer)
    |            `- error: cannot find 'if_freenameindex' in scope
439 | }
440 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:445:12: error: cannot find 'getifaddrs' in scope
443 |     if mockingEnabled { return _mock(pointer) }
444 | #endif
445 |     return getifaddrs(pointer)
    |            `- error: cannot find 'getifaddrs' in scope
446 | }
447 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:452:12: error: cannot find 'freeifaddrs' in scope
450 |     if mockingEnabled { return _mock(pointer) }
451 | #endif
452 |     return freeifaddrs(pointer)
    |            `- error: cannot find 'freeifaddrs' in scope
453 | }
454 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:475:12: error: cannot find 'getsockname' in scope
473 |     if mockingEnabled { return _mock(fd, address) }
474 | #endif
475 |     return getsockname(fd, address, length)
    |            `- error: cannot find 'getsockname' in scope
476 | }
477 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:482:12: error: cannot find 'getpeername' in scope
480 |     if mockingEnabled { return _mock(fd, address) }
481 | #endif
482 |     return getpeername(fd, address, length)
    |            `- error: cannot find 'getpeername' in scope
483 | }
484 |
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[73/85] Compiling Socket Syscalls.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:57:31: error: cannot find type 'sockaddr' in scope
55 |
56 |     /// The C `sockaddr_in` type
57 |     typealias SocketAddress = sockaddr
   |                               `- error: cannot find type 'sockaddr' in scope
58 |
59 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:186:25: error: cannot find type 'sockaddr' in scope
184 | internal func system_connect(
185 |   _ socket: CInt,
186 |   _ addr: UnsafePointer<sockaddr>?,
    |                         `- error: cannot find type 'sockaddr' in scope
187 |   _ len: socklen_t
188 | ) -> CInt {
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:187:10: error: cannot find type 'socklen_t' in scope
185 |   _ socket: CInt,
186 |   _ addr: UnsafePointer<sockaddr>?,
187 |   _ len: socklen_t
    |          `- error: cannot find type 'socklen_t' in scope
188 | ) -> CInt {
189 |   #if ENABLE_MOCKING
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:197:32: error: cannot find type 'sockaddr' in scope
195 | internal func system_accept(
196 |   _ socket: CInt,
197 |   _ addr: UnsafeMutablePointer<sockaddr>?,
    |                                `- error: cannot find type 'sockaddr' in scope
198 |   _ len: UnsafeMutablePointer<socklen_t>?
199 | ) -> CInt {
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:198:31: error: cannot find type 'socklen_t' in scope
196 |   _ socket: CInt,
197 |   _ addr: UnsafeMutablePointer<sockaddr>?,
198 |   _ len: UnsafeMutablePointer<socklen_t>?
    |                               `- error: cannot find type 'socklen_t' in scope
199 | ) -> CInt {
200 |   #if ENABLE_MOCKING
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:48:29: error: cannot find type 'addrinfo' in scope
46 |
47 |     /// The C `addrinfo` type
48 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
49 |
50 |     /// The C `in_addr` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:20:36: error: cannot find type 'pollfd' in scope
18 |     typealias FileDescriptorSet = fd_set
19 |
20 |     typealias PollFileDescriptor = pollfd
   |                                    `- error: cannot find type 'pollfd' in scope
21 |
22 |     typealias FileDescriptorCount = nfds_t
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:22:37: error: cannot find type 'nfds_t' in scope
20 |     typealias PollFileDescriptor = pollfd
21 |
22 |     typealias FileDescriptorCount = nfds_t
   |                                     `- error: cannot find type 'nfds_t' in scope
23 |
24 |     typealias FileEvent = Int16
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:35:32: error: cannot find type 'msghdr' in scope
33 |
34 |     /// The C `msghdr` type
35 |      typealias MessageHeader = msghdr
   |                                `- error: cannot find type 'msghdr' in scope
36 |
37 |     /// The C `sa_family_t` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:77:36: error: cannot find type 'if_nameindex' in scope
75 |
76 |     /// The C `if_nameindex` type
77 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
78 |
79 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:80:37: error: cannot find type 'ifaddrs' in scope
78 |
79 |     /// The C  `ifaddrs` type
80 |     typealias InterfaceLinkedList = ifaddrs
   |                                     `- error: cannot find type 'ifaddrs' in scope
81 | }
82 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:96:9: error: cannot find 'Glibc' in scope
 94 | #else
 95 | internal var system_errno: CInt {
 96 |   get { Glibc.errno }
    |         `- error: cannot find 'Glibc' in scope
 97 |   set { Glibc.errno = newValue }
 98 | }
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:97:9: error: cannot find 'Glibc' in scope
 95 | internal var system_errno: CInt {
 96 |   get { Glibc.errno }
 97 |   set { Glibc.errno = newValue }
    |         `- error: cannot find 'Glibc' in scope
 98 | }
 99 | #endif
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:106:10: error: cannot find 'close' in scope
104 |   if mockingEnabled { return _mock(fd) }
105 | #endif
106 |   return close(fd)
    |          `- error: cannot find 'close' in scope
107 | }
108 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:116:10: error: cannot find 'write' in scope
114 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
115 | #endif
116 |   return write(fd, buf, nbyte)
    |          `- error: cannot find 'write' in scope
117 | }
118 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:126:10: error: cannot find 'read' in scope
124 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
125 | #endif
126 |   return read(fd, buf, nbyte)
    |          `- error: cannot find 'read' in scope
127 | }
128 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:136:10: error: cannot find 'inet_pton' in scope
134 |   if mockingEnabled { return _mock(family, cString, address) }
135 |   #endif
136 |   return inet_pton(family, cString, address)
    |          `- error: cannot find 'inet_pton' in scope
137 | }
138 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:143:10: error: cannot find 'inet_ntop' in scope
141 |   //if mockingEnabled { return _mock(family, pointer, string, length) }
142 |   #endif
143 |   return inet_ntop(family, pointer, string, length)
    |          `- error: cannot find 'inet_ntop' in scope
144 | }
145 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:150:10: error: cannot find 'socket' in scope
148 |   if mockingEnabled { return _mock(fd, fd2, fd3) }
149 |   #endif
150 |   return socket(fd, fd2, fd3)
    |          `- error: cannot find 'socket' in scope
151 | }
152 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:157:10: error: cannot find 'setsockopt' in scope
155 |   if mockingEnabled { return _mock(fd, fd2, fd3, pointer, dataLength) }
156 |   #endif
157 |   return setsockopt(fd, fd2, fd3, pointer, dataLength)
    |          `- error: cannot find 'setsockopt' in scope
158 | }
159 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:170:10: error: cannot find 'getsockopt' in scope
168 |   if mockingEnabled { return _mock(socket, level, option, value, length) }
169 |   #endif
170 |   return getsockopt(socket, level, option, value, length)
    |          `- error: cannot find 'getsockopt' in scope
171 | }
172 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:181:10: error: cannot find 'bind' in scope
179 |   if mockingEnabled { return _mock(socket, address, length) }
180 |   #endif
181 |   return bind(socket, address, length)
    |          `- error: cannot find 'bind' in scope
182 | }
183 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:192:10: error: cannot find 'connect' in scope
190 |   if mockingEnabled { return _mock(socket, addr, len) }
191 |   #endif
192 |   return connect(socket, addr, len)
    |          `- error: cannot find 'connect' in scope
193 | }
194 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:203:10: error: cannot find 'accept' in scope
201 |   if mockingEnabled { return _mock(socket, addr, len) }
202 |   #endif
203 |   return accept(socket, addr, len)
    |          `- error: cannot find 'accept' in scope
204 | }
205 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:219:10: error: cannot find 'getaddrinfo' in scope
217 |   }
218 |   #endif
219 |   return getaddrinfo(hostname, servname, hints, res)
    |          `- error: cannot find 'getaddrinfo' in scope
220 | }
221 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:236:10: error: cannot find 'getnameinfo' in scope
234 |   }
235 |   #endif
236 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |          `- error: cannot find 'getnameinfo' in scope
237 | }
238 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:248:10: error: cannot find 'freeaddrinfo' in scope
246 |   }
247 |   #endif
248 |   return freeaddrinfo(addrinfo)
    |          `- error: cannot find 'freeaddrinfo' in scope
249 | }
250 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:255:10: error: cannot find 'gai_strerror' in scope
253 |   // FIXME
254 |   #endif
255 |   return gai_strerror(error)
    |          `- error: cannot find 'gai_strerror' in scope
256 | }
257 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:262:10: error: cannot find 'shutdown' in scope
260 |   if mockingEnabled { return _mock(socket, how) }
261 |   #endif
262 |   return shutdown(socket, how)
    |          `- error: cannot find 'shutdown' in scope
263 | }
264 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:269:10: error: cannot find 'listen' in scope
267 |   if mockingEnabled { return _mock(socket, backlog) }
268 |   #endif
269 |   return listen(socket, backlog)
    |          `- error: cannot find 'listen' in scope
270 | }
271 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:278:10: error: cannot find 'send' in scope
276 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
277 |   #endif
278 |   return send(socket, buffer, len, flags)
    |          `- error: cannot find 'send' in scope
279 | }
280 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:290:10: error: cannot find 'recv' in scope
288 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
289 |   #endif
290 |   return recv(socket, buffer, len, flags)
    |          `- error: cannot find 'recv' in scope
291 | }
292 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:306:10: error: cannot find 'sendto' in scope
304 |   }
305 |   #endif
306 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |          `- error: cannot find 'sendto' in scope
307 | }
308 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:322:10: error: cannot find 'recvfrom' in scope
320 |   }
321 |   #endif
322 |   return recvfrom(socket, buffer, length, flags, address, addres_len)
    |          `- error: cannot find 'recvfrom' in scope
323 | }
324 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:333:10: error: cannot find 'poll' in scope
331 |   if mockingEnabled { return _mock(fileDescriptors, fileDescriptorsCount, timeout) }
332 |   #endif
333 |   return poll(fileDescriptors, fileDescriptorsCount, timeout)
    |          `- error: cannot find 'poll' in scope
334 | }
335 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:344:10: error: cannot find 'sendmsg' in scope
342 |   if mockingEnabled { return _mockInt(socket, message, flags) }
343 |   #endif
344 |   return sendmsg(socket, message, flags)
    |          `- error: cannot find 'sendmsg' in scope
345 | }
346 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:355:10: error: cannot find 'recvmsg' in scope
353 |   if mockingEnabled { return _mockInt(socket, message, flags) }
354 |   #endif
355 |   return recvmsg(socket, message, flags)
    |          `- error: cannot find 'recvmsg' in scope
356 | }
357 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:365:10: error: cannot find 'fcntl' in scope
363 |   if mockingEnabled { return _mock(fd, cmd) }
364 | #endif
365 |   return fcntl(fd, cmd)
    |          `- error: cannot find 'fcntl' in scope
366 | }
367 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:376:10: error: cannot find 'fcntl' in scope
374 |   if mockingEnabled { return _mock(fd, cmd, value) }
375 | #endif
376 |   return fcntl(fd, cmd, value)
    |          `- error: cannot find 'fcntl' in scope
377 | }
378 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:387:10: error: cannot find 'fcntl' in scope
385 |   if mockingEnabled { return _mock(fd, cmd, pointer) }
386 | #endif
387 |   return fcntl(fd, cmd, pointer)
    |          `- error: cannot find 'fcntl' in scope
388 | }
389 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:398:10: error: cannot find 'ioctl' in scope
396 |   if mockingEnabled { return _mock(fd, request) }
397 | #endif
398 |   return ioctl(fd, request)
    |          `- error: cannot find 'ioctl' in scope
399 | }
400 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:410:10: error: cannot find 'ioctl' in scope
408 |   if mockingEnabled { return _mock(fd, request, value) }
409 | #endif
410 |   return ioctl(fd, request, value)
    |          `- error: cannot find 'ioctl' in scope
411 | }
412 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:422:10: error: cannot find 'ioctl' in scope
420 |   if mockingEnabled { return _mock(fd, request, pointer) }
421 | #endif
422 |   return ioctl(fd, request, pointer)
    |          `- error: cannot find 'ioctl' in scope
423 | }
424 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:430:12: error: cannot find 'if_nameindex' in scope
428 |   if mockingEnabled { return _mock() }
429 | #endif
430 |     return if_nameindex()
    |            `- error: cannot find 'if_nameindex' in scope
431 | }
432 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:438:12: error: cannot find 'if_freenameindex' in scope
436 |   if mockingEnabled { return _mock(pointer) }
437 | #endif
438 |     return if_freenameindex(pointer)
    |            `- error: cannot find 'if_freenameindex' in scope
439 | }
440 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:445:12: error: cannot find 'getifaddrs' in scope
443 |     if mockingEnabled { return _mock(pointer) }
444 | #endif
445 |     return getifaddrs(pointer)
    |            `- error: cannot find 'getifaddrs' in scope
446 | }
447 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:452:12: error: cannot find 'freeifaddrs' in scope
450 |     if mockingEnabled { return _mock(pointer) }
451 | #endif
452 |     return freeifaddrs(pointer)
    |            `- error: cannot find 'freeifaddrs' in scope
453 | }
454 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:475:12: error: cannot find 'getsockname' in scope
473 |     if mockingEnabled { return _mock(fd, address) }
474 | #endif
475 |     return getsockname(fd, address, length)
    |            `- error: cannot find 'getsockname' in scope
476 | }
477 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:482:12: error: cannot find 'getpeername' in scope
480 |     if mockingEnabled { return _mock(fd, address) }
481 | #endif
482 |     return getpeername(fd, address, length)
    |            `- error: cannot find 'getpeername' in scope
483 | }
484 |
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[74/85] Compiling Socket Util.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
 3 | #endif
 4 | import SystemPackage
 5 | @_implementationOnly import CSocket
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Socket' may lead to instability during execution [#ImplementationOnlyDeprecated]
 6 |
 7 | /// POSIX Socket Type
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:34:48: error: cannot find 'SOCK_STREAM' in scope
32 |     /// Provides sequenced, reliable, two-way, connection-based byte streams.
33 |     /// An out-of-band data transmission mechanism may be supported.
34 |     static var stream: SocketType { SocketType(SOCK_STREAM) }
   |                                                `- error: cannot find 'SOCK_STREAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:37:50: error: cannot find 'SOCK_DGRAM' in scope
35 |
36 |     /// Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
37 |     static var datagram: SocketType { SocketType(SOCK_DGRAM) }
   |                                                  `- error: cannot find 'SOCK_DGRAM' in scope
38 |
39 |     /// Provides raw network protocol access.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:40:45: error: cannot find 'SOCK_RAW' in scope
38 |
39 |     /// Provides raw network protocol access.
40 |     static var raw: SocketType { SocketType(SOCK_RAW) }
   |                                             `- error: cannot find 'SOCK_RAW' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:43:65: error: cannot find 'SOCK_RDM' in scope
41 |
42 |     /// Provides a reliable datagram layer that does not guarantee ordering.
43 |     static var reliableDatagramMessage: SocketType { SocketType(SOCK_RDM) }
   |                                                                 `- error: cannot find 'SOCK_RDM' in scope
44 |
45 |     /// Provides a sequenced, reliable, two-way connection-based data transmission
/host/spi-builder-workspace/Sources/Socket/System/SocketType.swift:48:57: error: cannot find 'SOCK_SEQPACKET' in scope
46 |     /// path for datagrams of fixed maximum length; a consumer is required to read
47 |     /// an entire packet with each input system call.
48 |     static var sequencedPacket: SocketType { SocketType(SOCK_SEQPACKET) }
   |                                                         `- error: cannot find 'SOCK_SEQPACKET' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:57:31: error: cannot find type 'sockaddr' in scope
55 |
56 |     /// The C `sockaddr_in` type
57 |     typealias SocketAddress = sockaddr
   |                               `- error: cannot find type 'sockaddr' in scope
58 |
59 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:186:25: error: cannot find type 'sockaddr' in scope
184 | internal func system_connect(
185 |   _ socket: CInt,
186 |   _ addr: UnsafePointer<sockaddr>?,
    |                         `- error: cannot find type 'sockaddr' in scope
187 |   _ len: socklen_t
188 | ) -> CInt {
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:187:10: error: cannot find type 'socklen_t' in scope
185 |   _ socket: CInt,
186 |   _ addr: UnsafePointer<sockaddr>?,
187 |   _ len: socklen_t
    |          `- error: cannot find type 'socklen_t' in scope
188 | ) -> CInt {
189 |   #if ENABLE_MOCKING
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:197:32: error: cannot find type 'sockaddr' in scope
195 | internal func system_accept(
196 |   _ socket: CInt,
197 |   _ addr: UnsafeMutablePointer<sockaddr>?,
    |                                `- error: cannot find type 'sockaddr' in scope
198 |   _ len: UnsafeMutablePointer<socklen_t>?
199 | ) -> CInt {
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:198:31: error: cannot find type 'socklen_t' in scope
196 |   _ socket: CInt,
197 |   _ addr: UnsafeMutablePointer<sockaddr>?,
198 |   _ len: UnsafeMutablePointer<socklen_t>?
    |                               `- error: cannot find type 'socklen_t' in scope
199 | ) -> CInt {
200 |   #if ENABLE_MOCKING
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:48:29: error: cannot find type 'addrinfo' in scope
46 |
47 |     /// The C `addrinfo` type
48 |     typealias AddressInfo = addrinfo
   |                             `- error: cannot find type 'addrinfo' in scope
49 |
50 |     /// The C `in_addr` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:20:36: error: cannot find type 'pollfd' in scope
18 |     typealias FileDescriptorSet = fd_set
19 |
20 |     typealias PollFileDescriptor = pollfd
   |                                    `- error: cannot find type 'pollfd' in scope
21 |
22 |     typealias FileDescriptorCount = nfds_t
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:22:37: error: cannot find type 'nfds_t' in scope
20 |     typealias PollFileDescriptor = pollfd
21 |
22 |     typealias FileDescriptorCount = nfds_t
   |                                     `- error: cannot find type 'nfds_t' in scope
23 |
24 |     typealias FileEvent = Int16
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:35:32: error: cannot find type 'msghdr' in scope
33 |
34 |     /// The C `msghdr` type
35 |      typealias MessageHeader = msghdr
   |                                `- error: cannot find type 'msghdr' in scope
36 |
37 |     /// The C `sa_family_t` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:77:36: error: cannot find type 'if_nameindex' in scope
75 |
76 |     /// The C `if_nameindex` type
77 |     typealias InterfaceNameIndex = if_nameindex
   |                                    `- error: cannot find type 'if_nameindex' in scope
78 |
79 |     /// The C  `ifaddrs` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:80:37: error: cannot find type 'ifaddrs' in scope
78 |
79 |     /// The C  `ifaddrs` type
80 |     typealias InterfaceLinkedList = ifaddrs
   |                                     `- error: cannot find type 'ifaddrs' in scope
81 | }
82 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:96:9: error: cannot find 'Glibc' in scope
 94 | #else
 95 | internal var system_errno: CInt {
 96 |   get { Glibc.errno }
    |         `- error: cannot find 'Glibc' in scope
 97 |   set { Glibc.errno = newValue }
 98 | }
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:97:9: error: cannot find 'Glibc' in scope
 95 | internal var system_errno: CInt {
 96 |   get { Glibc.errno }
 97 |   set { Glibc.errno = newValue }
    |         `- error: cannot find 'Glibc' in scope
 98 | }
 99 | #endif
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:106:10: error: cannot find 'close' in scope
104 |   if mockingEnabled { return _mock(fd) }
105 | #endif
106 |   return close(fd)
    |          `- error: cannot find 'close' in scope
107 | }
108 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:116:10: error: cannot find 'write' in scope
114 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
115 | #endif
116 |   return write(fd, buf, nbyte)
    |          `- error: cannot find 'write' in scope
117 | }
118 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:126:10: error: cannot find 'read' in scope
124 |   if mockingEnabled { return _mockInt(fd, buf, nbyte) }
125 | #endif
126 |   return read(fd, buf, nbyte)
    |          `- error: cannot find 'read' in scope
127 | }
128 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:136:10: error: cannot find 'inet_pton' in scope
134 |   if mockingEnabled { return _mock(family, cString, address) }
135 |   #endif
136 |   return inet_pton(family, cString, address)
    |          `- error: cannot find 'inet_pton' in scope
137 | }
138 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:143:10: error: cannot find 'inet_ntop' in scope
141 |   //if mockingEnabled { return _mock(family, pointer, string, length) }
142 |   #endif
143 |   return inet_ntop(family, pointer, string, length)
    |          `- error: cannot find 'inet_ntop' in scope
144 | }
145 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:150:10: error: cannot find 'socket' in scope
148 |   if mockingEnabled { return _mock(fd, fd2, fd3) }
149 |   #endif
150 |   return socket(fd, fd2, fd3)
    |          `- error: cannot find 'socket' in scope
151 | }
152 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:157:10: error: cannot find 'setsockopt' in scope
155 |   if mockingEnabled { return _mock(fd, fd2, fd3, pointer, dataLength) }
156 |   #endif
157 |   return setsockopt(fd, fd2, fd3, pointer, dataLength)
    |          `- error: cannot find 'setsockopt' in scope
158 | }
159 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:170:10: error: cannot find 'getsockopt' in scope
168 |   if mockingEnabled { return _mock(socket, level, option, value, length) }
169 |   #endif
170 |   return getsockopt(socket, level, option, value, length)
    |          `- error: cannot find 'getsockopt' in scope
171 | }
172 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:181:10: error: cannot find 'bind' in scope
179 |   if mockingEnabled { return _mock(socket, address, length) }
180 |   #endif
181 |   return bind(socket, address, length)
    |          `- error: cannot find 'bind' in scope
182 | }
183 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:192:10: error: cannot find 'connect' in scope
190 |   if mockingEnabled { return _mock(socket, addr, len) }
191 |   #endif
192 |   return connect(socket, addr, len)
    |          `- error: cannot find 'connect' in scope
193 | }
194 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:203:10: error: cannot find 'accept' in scope
201 |   if mockingEnabled { return _mock(socket, addr, len) }
202 |   #endif
203 |   return accept(socket, addr, len)
    |          `- error: cannot find 'accept' in scope
204 | }
205 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:219:10: error: cannot find 'getaddrinfo' in scope
217 |   }
218 |   #endif
219 |   return getaddrinfo(hostname, servname, hints, res)
    |          `- error: cannot find 'getaddrinfo' in scope
220 | }
221 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:236:10: error: cannot find 'getnameinfo' in scope
234 |   }
235 |   #endif
236 |   return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
    |          `- error: cannot find 'getnameinfo' in scope
237 | }
238 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:248:10: error: cannot find 'freeaddrinfo' in scope
246 |   }
247 |   #endif
248 |   return freeaddrinfo(addrinfo)
    |          `- error: cannot find 'freeaddrinfo' in scope
249 | }
250 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:255:10: error: cannot find 'gai_strerror' in scope
253 |   // FIXME
254 |   #endif
255 |   return gai_strerror(error)
    |          `- error: cannot find 'gai_strerror' in scope
256 | }
257 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:262:10: error: cannot find 'shutdown' in scope
260 |   if mockingEnabled { return _mock(socket, how) }
261 |   #endif
262 |   return shutdown(socket, how)
    |          `- error: cannot find 'shutdown' in scope
263 | }
264 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:269:10: error: cannot find 'listen' in scope
267 |   if mockingEnabled { return _mock(socket, backlog) }
268 |   #endif
269 |   return listen(socket, backlog)
    |          `- error: cannot find 'listen' in scope
270 | }
271 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:278:10: error: cannot find 'send' in scope
276 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
277 |   #endif
278 |   return send(socket, buffer, len, flags)
    |          `- error: cannot find 'send' in scope
279 | }
280 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:290:10: error: cannot find 'recv' in scope
288 |   if mockingEnabled { return _mockInt(socket, buffer, len, flags) }
289 |   #endif
290 |   return recv(socket, buffer, len, flags)
    |          `- error: cannot find 'recv' in scope
291 | }
292 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:306:10: error: cannot find 'sendto' in scope
304 |   }
305 |   #endif
306 |   return sendto(socket, buffer, length, flags, dest_addr, dest_len)
    |          `- error: cannot find 'sendto' in scope
307 | }
308 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:322:10: error: cannot find 'recvfrom' in scope
320 |   }
321 |   #endif
322 |   return recvfrom(socket, buffer, length, flags, address, addres_len)
    |          `- error: cannot find 'recvfrom' in scope
323 | }
324 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:333:10: error: cannot find 'poll' in scope
331 |   if mockingEnabled { return _mock(fileDescriptors, fileDescriptorsCount, timeout) }
332 |   #endif
333 |   return poll(fileDescriptors, fileDescriptorsCount, timeout)
    |          `- error: cannot find 'poll' in scope
334 | }
335 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:344:10: error: cannot find 'sendmsg' in scope
342 |   if mockingEnabled { return _mockInt(socket, message, flags) }
343 |   #endif
344 |   return sendmsg(socket, message, flags)
    |          `- error: cannot find 'sendmsg' in scope
345 | }
346 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:355:10: error: cannot find 'recvmsg' in scope
353 |   if mockingEnabled { return _mockInt(socket, message, flags) }
354 |   #endif
355 |   return recvmsg(socket, message, flags)
    |          `- error: cannot find 'recvmsg' in scope
356 | }
357 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:365:10: error: cannot find 'fcntl' in scope
363 |   if mockingEnabled { return _mock(fd, cmd) }
364 | #endif
365 |   return fcntl(fd, cmd)
    |          `- error: cannot find 'fcntl' in scope
366 | }
367 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:376:10: error: cannot find 'fcntl' in scope
374 |   if mockingEnabled { return _mock(fd, cmd, value) }
375 | #endif
376 |   return fcntl(fd, cmd, value)
    |          `- error: cannot find 'fcntl' in scope
377 | }
378 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:387:10: error: cannot find 'fcntl' in scope
385 |   if mockingEnabled { return _mock(fd, cmd, pointer) }
386 | #endif
387 |   return fcntl(fd, cmd, pointer)
    |          `- error: cannot find 'fcntl' in scope
388 | }
389 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:398:10: error: cannot find 'ioctl' in scope
396 |   if mockingEnabled { return _mock(fd, request) }
397 | #endif
398 |   return ioctl(fd, request)
    |          `- error: cannot find 'ioctl' in scope
399 | }
400 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:410:10: error: cannot find 'ioctl' in scope
408 |   if mockingEnabled { return _mock(fd, request, value) }
409 | #endif
410 |   return ioctl(fd, request, value)
    |          `- error: cannot find 'ioctl' in scope
411 | }
412 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:422:10: error: cannot find 'ioctl' in scope
420 |   if mockingEnabled { return _mock(fd, request, pointer) }
421 | #endif
422 |   return ioctl(fd, request, pointer)
    |          `- error: cannot find 'ioctl' in scope
423 | }
424 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:430:12: error: cannot find 'if_nameindex' in scope
428 |   if mockingEnabled { return _mock() }
429 | #endif
430 |     return if_nameindex()
    |            `- error: cannot find 'if_nameindex' in scope
431 | }
432 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:438:12: error: cannot find 'if_freenameindex' in scope
436 |   if mockingEnabled { return _mock(pointer) }
437 | #endif
438 |     return if_freenameindex(pointer)
    |            `- error: cannot find 'if_freenameindex' in scope
439 | }
440 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:445:12: error: cannot find 'getifaddrs' in scope
443 |     if mockingEnabled { return _mock(pointer) }
444 | #endif
445 |     return getifaddrs(pointer)
    |            `- error: cannot find 'getifaddrs' in scope
446 | }
447 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:452:12: error: cannot find 'freeifaddrs' in scope
450 |     if mockingEnabled { return _mock(pointer) }
451 | #endif
452 |     return freeifaddrs(pointer)
    |            `- error: cannot find 'freeifaddrs' in scope
453 | }
454 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:475:12: error: cannot find 'getsockname' in scope
473 |     if mockingEnabled { return _mock(fd, address) }
474 | #endif
475 |     return getsockname(fd, address, length)
    |            `- error: cannot find 'getsockname' in scope
476 | }
477 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:482:12: error: cannot find 'getpeername' in scope
480 |     if mockingEnabled { return _mock(fd, address) }
481 | #endif
482 |     return getpeername(fd, address, length)
    |            `- error: cannot find 'getpeername' in scope
483 | }
484 |
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[75/85] Compiling Socket IPv4SocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:63:35: error: cannot find type 'sockaddr_in' in scope
61 |
62 |     /// The C `sockaddr_in` type
63 |     typealias IPv4SocketAddress = sockaddr_in
   |                                   `- error: cannot find type 'sockaddr_in' in scope
64 |
65 |     /// The C `sockaddr_in6` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:57:31: error: cannot find type 'sockaddr' in scope
55 |
56 |     /// The C `sockaddr_in` type
57 |     typealias SocketAddress = sockaddr
   |                               `- error: cannot find type 'sockaddr' in scope
58 |
59 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:51:29: error: cannot find type 'in_addr' in scope
49 |
50 |     /// The C `in_addr` type
51 |     typealias IPv4Address = in_addr
   |                             `- error: cannot find type 'in_addr' in scope
52 |
53 |     /// The C `in6_addr` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:29:34: error: missing argument label 'from:' in call
27 |     internal init(_ cValue: CInterop.IPv4SocketAddress) {
28 |         self.init(
29 |             address: IPv4Address(cValue.sin_addr),
   |                                  `- error: missing argument label 'from:' in call
30 |             port: cValue.sin_port.networkOrder
31 |         )
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:49:30: error: missing argument label 'address:' in call
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv4SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                              `- error: missing argument label 'address:' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:49:45: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv4Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv4SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                                             `- error: missing argument for parameter 'port' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:58:26: error: missing argument label 'address:' in call
56 |         var socketAddress = CInterop.IPv4SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                          `- error: missing argument label 'address:' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:58:39: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv4Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
56 |         var socketAddress = CInterop.IPv4SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                                       `- error: missing argument for parameter 'port' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:66:35: error: cannot find type 'sockaddr_in6' in scope
64 |
65 |     /// The C `sockaddr_in6` type
66 |     typealias IPv6SocketAddress = sockaddr_in6
   |                                   `- error: cannot find type 'sockaddr_in6' in scope
67 |
68 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:54:29: error: cannot find type 'in6_addr' in scope
52 |
53 |     /// The C `in6_addr` type
54 |     typealias IPv6Address = in6_addr
   |                             `- error: cannot find type 'in6_addr' in scope
55 |
56 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:29:34: error: missing argument label 'from:' in call
27 |     internal init(_ cValue: CInterop.IPv6SocketAddress) {
28 |         self.init(
29 |             address: IPv6Address(cValue.sin6_addr),
   |                                  `- error: missing argument label 'from:' in call
30 |             port: cValue.sin6_port.networkOrder
31 |         )
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:49:30: error: missing argument label 'address:' in call
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv6SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                              `- error: missing argument label 'address:' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:49:45: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv6Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv6SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                                             `- error: missing argument for parameter 'port' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:58:26: error: missing argument label 'address:' in call
56 |         var socketAddress = CInterop.IPv6SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                          `- error: missing argument label 'address:' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:58:39: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv6Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
56 |         var socketAddress = CInterop.IPv6SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                                       `- error: missing argument for parameter 'port' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:60:35: error: cannot find type 'sockaddr_un' in scope
58 |
59 |     /// The C `sockaddr_in` type
60 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
61 |
62 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:49:26: error: missing argument label 'path:' in call
47 |         var socketAddress = CInterop.UnixSocketAddress()
48 |         try socketAddress.withUnsafeMutablePointer(body)
49 |         return self.init(socketAddress)
   |                          `- error: missing argument label 'path:' in call
50 |     }
51 |
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:56:23: error: missing argument label 'path:' in call
54 |     ) -> Self {
55 |         pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) { pointer in
56 |             Self.init(pointer.pointee)
   |                       `- error: missing argument label 'path:' in call
57 |         }
58 |     }
[76/85] Compiling Socket IPv6SocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:63:35: error: cannot find type 'sockaddr_in' in scope
61 |
62 |     /// The C `sockaddr_in` type
63 |     typealias IPv4SocketAddress = sockaddr_in
   |                                   `- error: cannot find type 'sockaddr_in' in scope
64 |
65 |     /// The C `sockaddr_in6` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:57:31: error: cannot find type 'sockaddr' in scope
55 |
56 |     /// The C `sockaddr_in` type
57 |     typealias SocketAddress = sockaddr
   |                               `- error: cannot find type 'sockaddr' in scope
58 |
59 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:51:29: error: cannot find type 'in_addr' in scope
49 |
50 |     /// The C `in_addr` type
51 |     typealias IPv4Address = in_addr
   |                             `- error: cannot find type 'in_addr' in scope
52 |
53 |     /// The C `in6_addr` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:29:34: error: missing argument label 'from:' in call
27 |     internal init(_ cValue: CInterop.IPv4SocketAddress) {
28 |         self.init(
29 |             address: IPv4Address(cValue.sin_addr),
   |                                  `- error: missing argument label 'from:' in call
30 |             port: cValue.sin_port.networkOrder
31 |         )
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:49:30: error: missing argument label 'address:' in call
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv4SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                              `- error: missing argument label 'address:' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:49:45: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv4Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv4SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                                             `- error: missing argument for parameter 'port' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:58:26: error: missing argument label 'address:' in call
56 |         var socketAddress = CInterop.IPv4SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                          `- error: missing argument label 'address:' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:58:39: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv4Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
56 |         var socketAddress = CInterop.IPv4SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                                       `- error: missing argument for parameter 'port' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:66:35: error: cannot find type 'sockaddr_in6' in scope
64 |
65 |     /// The C `sockaddr_in6` type
66 |     typealias IPv6SocketAddress = sockaddr_in6
   |                                   `- error: cannot find type 'sockaddr_in6' in scope
67 |
68 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:54:29: error: cannot find type 'in6_addr' in scope
52 |
53 |     /// The C `in6_addr` type
54 |     typealias IPv6Address = in6_addr
   |                             `- error: cannot find type 'in6_addr' in scope
55 |
56 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:29:34: error: missing argument label 'from:' in call
27 |     internal init(_ cValue: CInterop.IPv6SocketAddress) {
28 |         self.init(
29 |             address: IPv6Address(cValue.sin6_addr),
   |                                  `- error: missing argument label 'from:' in call
30 |             port: cValue.sin6_port.networkOrder
31 |         )
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:49:30: error: missing argument label 'address:' in call
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv6SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                              `- error: missing argument label 'address:' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:49:45: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv6Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv6SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                                             `- error: missing argument for parameter 'port' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:58:26: error: missing argument label 'address:' in call
56 |         var socketAddress = CInterop.IPv6SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                          `- error: missing argument label 'address:' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:58:39: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv6Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
56 |         var socketAddress = CInterop.IPv6SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                                       `- error: missing argument for parameter 'port' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:60:35: error: cannot find type 'sockaddr_un' in scope
58 |
59 |     /// The C `sockaddr_in` type
60 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
61 |
62 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:49:26: error: missing argument label 'path:' in call
47 |         var socketAddress = CInterop.UnixSocketAddress()
48 |         try socketAddress.withUnsafeMutablePointer(body)
49 |         return self.init(socketAddress)
   |                          `- error: missing argument label 'path:' in call
50 |     }
51 |
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:56:23: error: missing argument label 'path:' in call
54 |     ) -> Self {
55 |         pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) { pointer in
56 |             Self.init(pointer.pointee)
   |                       `- error: missing argument label 'path:' in call
57 |         }
58 |     }
[77/85] Compiling Socket LinkLayerSocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:63:35: error: cannot find type 'sockaddr_in' in scope
61 |
62 |     /// The C `sockaddr_in` type
63 |     typealias IPv4SocketAddress = sockaddr_in
   |                                   `- error: cannot find type 'sockaddr_in' in scope
64 |
65 |     /// The C `sockaddr_in6` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:57:31: error: cannot find type 'sockaddr' in scope
55 |
56 |     /// The C `sockaddr_in` type
57 |     typealias SocketAddress = sockaddr
   |                               `- error: cannot find type 'sockaddr' in scope
58 |
59 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:51:29: error: cannot find type 'in_addr' in scope
49 |
50 |     /// The C `in_addr` type
51 |     typealias IPv4Address = in_addr
   |                             `- error: cannot find type 'in_addr' in scope
52 |
53 |     /// The C `in6_addr` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:29:34: error: missing argument label 'from:' in call
27 |     internal init(_ cValue: CInterop.IPv4SocketAddress) {
28 |         self.init(
29 |             address: IPv4Address(cValue.sin_addr),
   |                                  `- error: missing argument label 'from:' in call
30 |             port: cValue.sin_port.networkOrder
31 |         )
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:49:30: error: missing argument label 'address:' in call
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv4SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                              `- error: missing argument label 'address:' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:49:45: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv4Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv4SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                                             `- error: missing argument for parameter 'port' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:58:26: error: missing argument label 'address:' in call
56 |         var socketAddress = CInterop.IPv4SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                          `- error: missing argument label 'address:' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:58:39: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv4Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
56 |         var socketAddress = CInterop.IPv4SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                                       `- error: missing argument for parameter 'port' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:66:35: error: cannot find type 'sockaddr_in6' in scope
64 |
65 |     /// The C `sockaddr_in6` type
66 |     typealias IPv6SocketAddress = sockaddr_in6
   |                                   `- error: cannot find type 'sockaddr_in6' in scope
67 |
68 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:54:29: error: cannot find type 'in6_addr' in scope
52 |
53 |     /// The C `in6_addr` type
54 |     typealias IPv6Address = in6_addr
   |                             `- error: cannot find type 'in6_addr' in scope
55 |
56 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:29:34: error: missing argument label 'from:' in call
27 |     internal init(_ cValue: CInterop.IPv6SocketAddress) {
28 |         self.init(
29 |             address: IPv6Address(cValue.sin6_addr),
   |                                  `- error: missing argument label 'from:' in call
30 |             port: cValue.sin6_port.networkOrder
31 |         )
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:49:30: error: missing argument label 'address:' in call
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv6SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                              `- error: missing argument label 'address:' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:49:45: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv6Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv6SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                                             `- error: missing argument for parameter 'port' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:58:26: error: missing argument label 'address:' in call
56 |         var socketAddress = CInterop.IPv6SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                          `- error: missing argument label 'address:' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:58:39: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv6Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
56 |         var socketAddress = CInterop.IPv6SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                                       `- error: missing argument for parameter 'port' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:60:35: error: cannot find type 'sockaddr_un' in scope
58 |
59 |     /// The C `sockaddr_in` type
60 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
61 |
62 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:49:26: error: missing argument label 'path:' in call
47 |         var socketAddress = CInterop.UnixSocketAddress()
48 |         try socketAddress.withUnsafeMutablePointer(body)
49 |         return self.init(socketAddress)
   |                          `- error: missing argument label 'path:' in call
50 |     }
51 |
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:56:23: error: missing argument label 'path:' in call
54 |     ) -> Self {
55 |         pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) { pointer in
56 |             Self.init(pointer.pointee)
   |                       `- error: missing argument label 'path:' in call
57 |         }
58 |     }
[78/85] Compiling Socket UnixSocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:63:35: error: cannot find type 'sockaddr_in' in scope
61 |
62 |     /// The C `sockaddr_in` type
63 |     typealias IPv4SocketAddress = sockaddr_in
   |                                   `- error: cannot find type 'sockaddr_in' in scope
64 |
65 |     /// The C `sockaddr_in6` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:57:31: error: cannot find type 'sockaddr' in scope
55 |
56 |     /// The C `sockaddr_in` type
57 |     typealias SocketAddress = sockaddr
   |                               `- error: cannot find type 'sockaddr' in scope
58 |
59 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:51:29: error: cannot find type 'in_addr' in scope
49 |
50 |     /// The C `in_addr` type
51 |     typealias IPv4Address = in_addr
   |                             `- error: cannot find type 'in_addr' in scope
52 |
53 |     /// The C `in6_addr` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:29:34: error: missing argument label 'from:' in call
27 |     internal init(_ cValue: CInterop.IPv4SocketAddress) {
28 |         self.init(
29 |             address: IPv4Address(cValue.sin_addr),
   |                                  `- error: missing argument label 'from:' in call
30 |             port: cValue.sin_port.networkOrder
31 |         )
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:49:30: error: missing argument label 'address:' in call
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv4SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                              `- error: missing argument label 'address:' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:49:45: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv4Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv4SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                                             `- error: missing argument for parameter 'port' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:58:26: error: missing argument label 'address:' in call
56 |         var socketAddress = CInterop.IPv4SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                          `- error: missing argument label 'address:' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:58:39: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv4Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
56 |         var socketAddress = CInterop.IPv4SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                                       `- error: missing argument for parameter 'port' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:66:35: error: cannot find type 'sockaddr_in6' in scope
64 |
65 |     /// The C `sockaddr_in6` type
66 |     typealias IPv6SocketAddress = sockaddr_in6
   |                                   `- error: cannot find type 'sockaddr_in6' in scope
67 |
68 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:54:29: error: cannot find type 'in6_addr' in scope
52 |
53 |     /// The C `in6_addr` type
54 |     typealias IPv6Address = in6_addr
   |                             `- error: cannot find type 'in6_addr' in scope
55 |
56 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:29:34: error: missing argument label 'from:' in call
27 |     internal init(_ cValue: CInterop.IPv6SocketAddress) {
28 |         self.init(
29 |             address: IPv6Address(cValue.sin6_addr),
   |                                  `- error: missing argument label 'from:' in call
30 |             port: cValue.sin6_port.networkOrder
31 |         )
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:49:30: error: missing argument label 'address:' in call
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv6SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                              `- error: missing argument label 'address:' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:49:45: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv6Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv6SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                                             `- error: missing argument for parameter 'port' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:58:26: error: missing argument label 'address:' in call
56 |         var socketAddress = CInterop.IPv6SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                          `- error: missing argument label 'address:' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:58:39: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv6Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
56 |         var socketAddress = CInterop.IPv6SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                                       `- error: missing argument for parameter 'port' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:60:35: error: cannot find type 'sockaddr_un' in scope
58 |
59 |     /// The C `sockaddr_in` type
60 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
61 |
62 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:49:26: error: missing argument label 'path:' in call
47 |         var socketAddress = CInterop.UnixSocketAddress()
48 |         try socketAddress.withUnsafeMutablePointer(body)
49 |         return self.init(socketAddress)
   |                          `- error: missing argument label 'path:' in call
50 |     }
51 |
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:56:23: error: missing argument label 'path:' in call
54 |     ) -> Self {
55 |         pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) { pointer in
56 |             Self.init(pointer.pointee)
   |                       `- error: missing argument label 'path:' in call
57 |         }
58 |     }
[79/85] Compiling Socket SocketAddressFamily.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:63:35: error: cannot find type 'sockaddr_in' in scope
61 |
62 |     /// The C `sockaddr_in` type
63 |     typealias IPv4SocketAddress = sockaddr_in
   |                                   `- error: cannot find type 'sockaddr_in' in scope
64 |
65 |     /// The C `sockaddr_in6` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:57:31: error: cannot find type 'sockaddr' in scope
55 |
56 |     /// The C `sockaddr_in` type
57 |     typealias SocketAddress = sockaddr
   |                               `- error: cannot find type 'sockaddr' in scope
58 |
59 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:51:29: error: cannot find type 'in_addr' in scope
49 |
50 |     /// The C `in_addr` type
51 |     typealias IPv4Address = in_addr
   |                             `- error: cannot find type 'in_addr' in scope
52 |
53 |     /// The C `in6_addr` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:29:34: error: missing argument label 'from:' in call
27 |     internal init(_ cValue: CInterop.IPv4SocketAddress) {
28 |         self.init(
29 |             address: IPv4Address(cValue.sin_addr),
   |                                  `- error: missing argument label 'from:' in call
30 |             port: cValue.sin_port.networkOrder
31 |         )
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:49:30: error: missing argument label 'address:' in call
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv4SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                              `- error: missing argument label 'address:' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:49:45: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv4Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv4SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                                             `- error: missing argument for parameter 'port' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:58:26: error: missing argument label 'address:' in call
56 |         var socketAddress = CInterop.IPv4SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                          `- error: missing argument label 'address:' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv4SocketAddress.swift:58:39: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv4Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
56 |         var socketAddress = CInterop.IPv4SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                                       `- error: missing argument for parameter 'port' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:66:35: error: cannot find type 'sockaddr_in6' in scope
64 |
65 |     /// The C `sockaddr_in6` type
66 |     typealias IPv6SocketAddress = sockaddr_in6
   |                                   `- error: cannot find type 'sockaddr_in6' in scope
67 |
68 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:54:29: error: cannot find type 'in6_addr' in scope
52 |
53 |     /// The C `in6_addr` type
54 |     typealias IPv6Address = in6_addr
   |                             `- error: cannot find type 'in6_addr' in scope
55 |
56 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:29:34: error: missing argument label 'from:' in call
27 |     internal init(_ cValue: CInterop.IPv6SocketAddress) {
28 |         self.init(
29 |             address: IPv6Address(cValue.sin6_addr),
   |                                  `- error: missing argument label 'from:' in call
30 |             port: cValue.sin6_port.networkOrder
31 |         )
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:49:30: error: missing argument label 'address:' in call
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv6SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                              `- error: missing argument label 'address:' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:49:45: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv6Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
47 |     ) -> Self {
48 |         return pointer.withMemoryRebound(to: CInterop.IPv6SocketAddress.self, capacity: 1) { pointer in
49 |             return Self.init(pointer.pointee)
   |                                             `- error: missing argument for parameter 'port' in call
50 |         }
51 |     }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:58:26: error: missing argument label 'address:' in call
56 |         var socketAddress = CInterop.IPv6SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                          `- error: missing argument label 'address:' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/IPv6SocketAddress.swift:58:39: error: missing argument for parameter 'port' in call
18 |
19 |     @_alwaysEmitIntoClient
20 |     public init(address: IPv6Address,
   |            `- note: 'init(address:port:)' declared here
21 |                 port: UInt16) {
22 |
   :
56 |         var socketAddress = CInterop.IPv6SocketAddress()
57 |         try socketAddress.withUnsafeMutablePointer(body)
58 |         return Self.init(socketAddress)
   |                                       `- error: missing argument for parameter 'port' in call
59 |     }
60 | }
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:60:35: error: cannot find type 'sockaddr_un' in scope
58 |
59 |     /// The C `sockaddr_in` type
60 |     typealias UnixSocketAddress = sockaddr_un
   |                                   `- error: cannot find type 'sockaddr_un' in scope
61 |
62 |     /// The C `sockaddr_in` type
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:49:26: error: missing argument label 'path:' in call
47 |         var socketAddress = CInterop.UnixSocketAddress()
48 |         try socketAddress.withUnsafeMutablePointer(body)
49 |         return self.init(socketAddress)
   |                          `- error: missing argument label 'path:' in call
50 |     }
51 |
/host/spi-builder-workspace/Sources/Socket/System/SocketAddress/UnixSocketAddress.swift:56:23: error: missing argument label 'path:' in call
54 |     ) -> Self {
55 |         pointer.withMemoryRebound(to: CInterop.UnixSocketAddress.self, capacity: 1) { pointer in
56 |             Self.init(pointer.pointee)
   |                       `- error: missing argument label 'path:' in call
57 |         }
58 |     }
[80/85] Compiling Socket Socket.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:277:25: error: type 'Errno' has no member 'socketShutdown'
275 |     ) throws -> AsyncSocketManager.SocketState {
276 |         guard let socket = state.sockets[fileDescriptor] else {
277 |             throw Errno.socketShutdown
    |                         `- error: type 'Errno' has no member 'socketShutdown'
278 |         }
279 |         return socket
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:20:36: error: cannot find type 'pollfd' in scope
18 |     typealias FileDescriptorSet = fd_set
19 |
20 |     typealias PollFileDescriptor = pollfd
   |                                    `- error: cannot find type 'pollfd' in scope
21 |
22 |     typealias FileDescriptorCount = nfds_t
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:51:29: error: cannot find type 'in_addr' in scope
49 |
50 |     /// The C `in_addr` type
51 |     typealias IPv4Address = in_addr
   |                             `- error: cannot find type 'in_addr' in scope
52 |
53 |     /// The C `in6_addr` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:54:29: error: cannot find type 'in6_addr' in scope
52 |
53 |     /// The C `in6_addr` type
54 |     typealias IPv6Address = in6_addr
   |                             `- error: cannot find type 'in6_addr' in scope
55 |
56 |     /// The C `sockaddr_in` type
[81/85] Compiling Socket SocketContinuation.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:277:25: error: type 'Errno' has no member 'socketShutdown'
275 |     ) throws -> AsyncSocketManager.SocketState {
276 |         guard let socket = state.sockets[fileDescriptor] else {
277 |             throw Errno.socketShutdown
    |                         `- error: type 'Errno' has no member 'socketShutdown'
278 |         }
279 |         return socket
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:20:36: error: cannot find type 'pollfd' in scope
18 |     typealias FileDescriptorSet = fd_set
19 |
20 |     typealias PollFileDescriptor = pollfd
   |                                    `- error: cannot find type 'pollfd' in scope
21 |
22 |     typealias FileDescriptorCount = nfds_t
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:51:29: error: cannot find type 'in_addr' in scope
49 |
50 |     /// The C `in_addr` type
51 |     typealias IPv4Address = in_addr
   |                             `- error: cannot find type 'in_addr' in scope
52 |
53 |     /// The C `in6_addr` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:54:29: error: cannot find type 'in6_addr' in scope
52 |
53 |     /// The C `in6_addr` type
54 |     typealias IPv6Address = in6_addr
   |                             `- error: cannot find type 'in6_addr' in scope
55 |
56 |     /// The C `sockaddr_in` type
[82/85] Compiling Socket SocketManager.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:277:25: error: type 'Errno' has no member 'socketShutdown'
275 |     ) throws -> AsyncSocketManager.SocketState {
276 |         guard let socket = state.sockets[fileDescriptor] else {
277 |             throw Errno.socketShutdown
    |                         `- error: type 'Errno' has no member 'socketShutdown'
278 |         }
279 |         return socket
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:20:36: error: cannot find type 'pollfd' in scope
18 |     typealias FileDescriptorSet = fd_set
19 |
20 |     typealias PollFileDescriptor = pollfd
   |                                    `- error: cannot find type 'pollfd' in scope
21 |
22 |     typealias FileDescriptorCount = nfds_t
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:51:29: error: cannot find type 'in_addr' in scope
49 |
50 |     /// The C `in_addr` type
51 |     typealias IPv4Address = in_addr
   |                             `- error: cannot find type 'in_addr' in scope
52 |
53 |     /// The C `in6_addr` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:54:29: error: cannot find type 'in6_addr' in scope
52 |
53 |     /// The C `in6_addr` type
54 |     typealias IPv6Address = in6_addr
   |                             `- error: cannot find type 'in6_addr' in scope
55 |
56 |     /// The C `sockaddr_in` type
[83/85] Compiling Socket AsyncSocketManager.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:277:25: error: type 'Errno' has no member 'socketShutdown'
275 |     ) throws -> AsyncSocketManager.SocketState {
276 |         guard let socket = state.sockets[fileDescriptor] else {
277 |             throw Errno.socketShutdown
    |                         `- error: type 'Errno' has no member 'socketShutdown'
278 |         }
279 |         return socket
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:20:36: error: cannot find type 'pollfd' in scope
18 |     typealias FileDescriptorSet = fd_set
19 |
20 |     typealias PollFileDescriptor = pollfd
   |                                    `- error: cannot find type 'pollfd' in scope
21 |
22 |     typealias FileDescriptorCount = nfds_t
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:51:29: error: cannot find type 'in_addr' in scope
49 |
50 |     /// The C `in_addr` type
51 |     typealias IPv4Address = in_addr
   |                             `- error: cannot find type 'in_addr' in scope
52 |
53 |     /// The C `in6_addr` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:54:29: error: cannot find type 'in6_addr' in scope
52 |
53 |     /// The C `in6_addr` type
54 |     typealias IPv6Address = in6_addr
   |                             `- error: cannot find type 'in6_addr' in scope
55 |
56 |     /// The C `sockaddr_in` type
[84/85] Compiling Socket CFSocketManager.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:277:25: error: type 'Errno' has no member 'socketShutdown'
275 |     ) throws -> AsyncSocketManager.SocketState {
276 |         guard let socket = state.sockets[fileDescriptor] else {
277 |             throw Errno.socketShutdown
    |                         `- error: type 'Errno' has no member 'socketShutdown'
278 |         }
279 |         return socket
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:20:36: error: cannot find type 'pollfd' in scope
18 |     typealias FileDescriptorSet = fd_set
19 |
20 |     typealias PollFileDescriptor = pollfd
   |                                    `- error: cannot find type 'pollfd' in scope
21 |
22 |     typealias FileDescriptorCount = nfds_t
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:51:29: error: cannot find type 'in_addr' in scope
49 |
50 |     /// The C `in_addr` type
51 |     typealias IPv4Address = in_addr
   |                             `- error: cannot find type 'in_addr' in scope
52 |
53 |     /// The C `in6_addr` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:54:29: error: cannot find type 'in6_addr' in scope
52 |
53 |     /// The C `in6_addr` type
54 |     typealias IPv6Address = in6_addr
   |                             `- error: cannot find type 'in6_addr' in scope
55 |
56 |     /// The C `sockaddr_in` type
[85/85] Compiling Socket CInternetAddress.swift
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:11:8: error: Unsupported Platform
 9 | import ucrt
10 | #else
11 | #error("Unsupported Platform")
   |        `- error: Unsupported Platform
12 | #endif
13 |
/host/spi-builder-workspace/Sources/Socket/System/Constants.swift:11:8: error: Unsupported Platform
  9 | import ucrt
 10 | #else
 11 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 12 | #endif
 13 |
/host/spi-builder-workspace/Sources/Socket/System/Syscalls.swift:10:8: error: Unsupported Platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported Platform")
    |        `- error: Unsupported Platform
 11 | #endif
 12 |
/host/spi-builder-workspace/Sources/Socket/SocketManager/AsyncSocketManager.swift:277:25: error: type 'Errno' has no member 'socketShutdown'
275 |     ) throws -> AsyncSocketManager.SocketState {
276 |         guard let socket = state.sockets[fileDescriptor] else {
277 |             throw Errno.socketShutdown
    |                         `- error: type 'Errno' has no member 'socketShutdown'
278 |         }
279 |         return socket
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:20:36: error: cannot find type 'pollfd' in scope
18 |     typealias FileDescriptorSet = fd_set
19 |
20 |     typealias PollFileDescriptor = pollfd
   |                                    `- error: cannot find type 'pollfd' in scope
21 |
22 |     typealias FileDescriptorCount = nfds_t
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:51:29: error: cannot find type 'in_addr' in scope
49 |
50 |     /// The C `in_addr` type
51 |     typealias IPv4Address = in_addr
   |                             `- error: cannot find type 'in_addr' in scope
52 |
53 |     /// The C `in6_addr` type
/host/spi-builder-workspace/Sources/Socket/System/CInterop.swift:54:29: error: cannot find type 'in6_addr' in scope
52 |
53 |     /// The C `in6_addr` type
54 |     typealias IPv6Address = in6_addr
   |                             `- error: cannot find type 'in6_addr' in scope
55 |
56 |     /// The C `sockaddr_in` type
BUILD FAILURE 6.3 wasm