The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftIO, reference 0.1.0 (92d5cc), with Swift 6.1 for Wasm on 30 May 2025 00:22:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/madmachineio/SwiftIO.git
Reference: 0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/madmachineio/SwiftIO
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 92d5ccc Update action logic
Cloned https://github.com/madmachineio/SwiftIO.git
Revision (git rev-parse @):
92d5cccfdc19cef8e0e7dbb01237d5457d5b209f
SUCCESS checkout https://github.com/madmachineio/SwiftIO.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/madmachineio/SwiftIO.git
https://github.com/madmachineio/SwiftIO.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftIO",
  "name" : "SwiftIO",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftIO",
      "targets" : [
        "SwiftIO"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CSwiftIO",
      "targets" : [
        "CSwiftIO"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftIO",
      "module_type" : "SwiftTarget",
      "name" : "SwiftIO",
      "path" : "Sources/SwiftIO",
      "product_memberships" : [
        "SwiftIO"
      ],
      "sources" : [
        "AnalogIn.swift",
        "BoardId.swift",
        "Counter.swift",
        "DigitalIn.swift",
        "DigitalInOut.swift",
        "DigitalOut.swift",
        "Errno.swift",
        "Ethernet.swift",
        "FileDescriptor.swift",
        "I2C.swift",
        "I2S.swift",
        "KernelTiming.swift",
        "PWMOut.swift",
        "SPI.swift",
        "Thread.swift",
        "Timer.swift",
        "UART.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "CSwiftIO"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSwiftIO",
      "module_type" : "ClangTarget",
      "name" : "CSwiftIO",
      "path" : "Sources/CSwiftIO",
      "product_memberships" : [
        "SwiftIO",
        "CSwiftIO"
      ],
      "sources" : [
        "empty.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling CSwiftIO empty.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/20] Emitting module SwiftIO
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:48:49: error: cannot find 'EPERM' in scope
 46 |   /// The corresponding C error is `EPERM`.
 47 |   @_alwaysEmitIntoClient
 48 |   public static var notPermitted: Errno { Errno(EPERM) }
    |                                                 `- error: cannot find 'EPERM' in scope
 49 |
 50 |   /// No such file or directory.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:57:58: error: cannot find 'ENOENT' in scope
 55 |   /// The corresponding C error is `ENOENT`.
 56 |   @_alwaysEmitIntoClient
 57 |   public static var noSuchFileOrDirectory: Errno { Errno(ENOENT) }
    |                                                          `- error: cannot find 'ENOENT' in scope
 58 |
 59 |   /// No such process.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:65:50: error: cannot find 'ESRCH' in scope
 63 |   /// The corresponding C error is `ESRCH`.
 64 |   @_alwaysEmitIntoClient
 65 |   public static var noSuchProcess: Errno { Errno(ESRCH) }
    |                                                  `- error: cannot find 'ESRCH' in scope
 66 |
 67 |   /// Interrupted function call.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:76:48: error: cannot find 'EINTR' in scope
 74 |   /// The corresponding C error is `EINTR`.
 75 |   @_alwaysEmitIntoClient
 76 |   public static var interrupted: Errno { Errno(EINTR) }
    |                                                `- error: cannot find 'EINTR' in scope
 77 |
 78 |   /// Input/output error.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:87:44: error: cannot find 'EIO' in scope
 85 |   /// The corresponding C error is `EIO`.
 86 |   @_alwaysEmitIntoClient
 87 |   public static var ioError: Errno { Errno(EIO) }
    |                                            `- error: cannot find 'EIO' in scope
 88 |
 89 |   /// No such device or address.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:98:58: error: cannot find 'ENXIO' in scope
 96 |   /// The corresponding C error is `ENXIO`.
 97 |   @_alwaysEmitIntoClient
 98 |   public static var noSuchAddressOrDevice: Errno { Errno(ENXIO) }
    |                                                          `- error: cannot find 'ENXIO' in scope
 99 |
100 |   /// The argument list is too long.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:108:51: error: cannot find 'E2BIG' in scope
106 |   /// The corresponding C error is `E2BIG`.
107 |   @_alwaysEmitIntoClient
108 |   public static var argListTooLong: Errno { Errno(E2BIG) }
    |                                                   `- error: cannot find 'E2BIG' in scope
109 |
110 |   /// Executable format error.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:118:52: error: cannot find 'ENOEXEC' in scope
116 |   /// The corresponding C error is `ENOEXEC`.
117 |   @_alwaysEmitIntoClient
118 |   public static var execFormatError: Errno { Errno(ENOEXEC) }
    |                                                    `- error: cannot find 'ENOEXEC' in scope
119 |
120 |   /// Bad file descriptor.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:129:54: error: cannot find 'EBADF' in scope
127 |   /// The corresponding C error is `EBADF`.
128 |   @_alwaysEmitIntoClient
129 |   public static var badFileDescriptor: Errno { Errno(EBADF) }
    |                                                      `- error: cannot find 'EBADF' in scope
130 |
131 |   /// No child processes.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:139:51: error: cannot find 'ECHILD' in scope
137 |   /// The corresponding C error is `ECHILD`.
138 |   @_alwaysEmitIntoClient
139 |   public static var noChildProcess: Errno { Errno(ECHILD) }
    |                                                   `- error: cannot find 'ECHILD' in scope
140 |
141 |   /// Resource deadlock avoided.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:148:45: error: cannot find 'EDEADLK' in scope
146 |   /// The corresponding C error is `EDEADLK`.
147 |   @_alwaysEmitIntoClient
148 |   public static var deadlock: Errno { Errno(EDEADLK) }
    |                                             `- error: cannot find 'EDEADLK' in scope
149 |
150 |   /// Can't allocate memory.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:161:45: error: cannot find 'ENOMEM' in scope
159 |   /// The corresponding C error is `ENOMEM`.
160 |   @_alwaysEmitIntoClient
161 |   public static var noMemory: Errno { Errno(ENOMEM) }
    |                                             `- error: cannot find 'ENOMEM' in scope
162 |
163 |   /// Permission denied.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:170:53: error: cannot find 'EACCES' in scope
168 |   /// The corresponding C error is `EACCES`.
169 |   @_alwaysEmitIntoClient
170 |   public static var permissionDenied: Errno { Errno(EACCES) }
    |                                                     `- error: cannot find 'EACCES' in scope
171 |
172 |   /// Bad address.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:178:47: error: cannot find 'EFAULT' in scope
176 |   /// The corresponding C error is `EFAULT`.
177 |   @_alwaysEmitIntoClient
178 |   public static var badAddress: Errno { Errno(EFAULT) }
    |                                               `- error: cannot find 'EFAULT' in scope
179 |
180 |   /// Resource busy.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:187:49: error: cannot find 'EBUSY' in scope
185 |   /// The corresponding C error is `EBUSY`.
186 |   @_alwaysEmitIntoClient
187 |   public static var resourceBusy: Errno { Errno(EBUSY) }
    |                                                 `- error: cannot find 'EBUSY' in scope
188 |
189 |   /// File exists.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:196:47: error: cannot find 'EEXIST' in scope
194 |   /// The corresponding C error is `EEXIST`.
195 |   @_alwaysEmitIntoClient
196 |   public static var fileExists: Errno { Errno(EEXIST) }
    |                                               `- error: cannot find 'EEXIST' in scope
197 |
198 |   /// Improper link.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:204:49: error: cannot find 'EXDEV' in scope
202 |   /// The corresponding C error is `EXDEV`.
203 |   @_alwaysEmitIntoClient
204 |   public static var improperLink: Errno { Errno(EXDEV) }
    |                                                 `- error: cannot find 'EXDEV' in scope
205 |
206 |   /// Operation not supported by device.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:213:66: error: cannot find 'ENODEV' in scope
211 |   /// The corresponding C error is `ENODEV`.
212 |   @_alwaysEmitIntoClient
213 |   public static var operationNotSupportedByDevice: Errno { Errno(ENODEV) }
    |                                                                  `- error: cannot find 'ENODEV' in scope
214 |
215 |   /// Not a directory.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:223:49: error: cannot find 'ENOTDIR' in scope
221 |   /// The corresponding C error is `ENOTDIR`.
222 |   @_alwaysEmitIntoClient
223 |   public static var notDirectory: Errno { Errno(ENOTDIR) }
    |                                                 `- error: cannot find 'ENOTDIR' in scope
224 |
225 |   /// Is a directory.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:232:48: error: cannot find 'EISDIR' in scope
230 |   /// The corresponding C error is `EISDIR`.
231 |   @_alwaysEmitIntoClient
232 |   public static var isDirectory: Errno { Errno(EISDIR) }
    |                                                `- error: cannot find 'EISDIR' in scope
233 |
234 |   /// Invalid argument.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:241:52: error: cannot find 'EINVAL' in scope
239 |   /// The corresponding C error is `EINVAL`.
240 |   @_alwaysEmitIntoClient
241 |   public static var invalidArgument: Errno { Errno(EINVAL) }
    |                                                    `- error: cannot find 'EINVAL' in scope
242 |
243 |   /// The system has too many open files.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:252:61: error: cannot find 'ENFILE' in scope
250 |   /// The corresponding C error is `ENFILE`.
251 |   @_alwaysEmitIntoClient
252 |   public static var tooManyOpenFilesInSystem: Errno { Errno(ENFILE) }
    |                                                             `- error: cannot find 'ENFILE' in scope
253 |
254 |   /// This process has too many open files.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:261:53: error: cannot find 'EMFILE' in scope
259 |   /// The corresponding C error is `EMFILE`.
260 |   @_alwaysEmitIntoClient
261 |   public static var tooManyOpenFiles: Errno { Errno(EMFILE) }
    |                                                     `- error: cannot find 'EMFILE' in scope
262 |
263 |   /// Inappropriate control function.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:271:64: error: cannot find 'ENOTTY' in scope
269 |   /// The corresponding C error is `ENOTTY`.
270 |   @_alwaysEmitIntoClient
271 |   public static var inappropriateIOCTLForDevice: Errno { Errno(ENOTTY) }
    |                                                                `- error: cannot find 'ENOTTY' in scope
272 |
273 |   /// Text file busy.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:282:49: error: cannot find 'ETXTBSY' in scope
280 |   /// The corresponding C error is `ETXTBSY`.
281 |   @_alwaysEmitIntoClient
282 |   public static var textFileBusy: Errno { Errno(ETXTBSY) }
    |                                                 `- error: cannot find 'ETXTBSY' in scope
283 |
284 |   /// The file is too large.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:292:49: error: cannot find 'EFBIG' in scope
290 |   /// The corresponding C error is `EFBIG`.
291 |   @_alwaysEmitIntoClient
292 |   public static var fileTooLarge: Errno { Errno(EFBIG) }
    |                                                 `- error: cannot find 'EFBIG' in scope
293 |
294 |   /// Device out of space.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:305:44: error: cannot find 'ENOSPC' in scope
303 |   /// The corresponding C error is `ENOSPC`.
304 |   @_alwaysEmitIntoClient
305 |   public static var noSpace: Errno { Errno(ENOSPC) }
    |                                            `- error: cannot find 'ENOSPC' in scope
306 |
307 |   /// Illegal seek.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:313:48: error: cannot find 'ESPIPE' in scope
311 |   /// The corresponding C error is `ESPIPE`.
312 |   @_alwaysEmitIntoClient
313 |   public static var illegalSeek: Errno { Errno(ESPIPE) }
    |                                                `- error: cannot find 'ESPIPE' in scope
314 |
315 |   /// Read-only file system.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:322:55: error: cannot find 'EROFS' in scope
320 |   /// The corresponding C error is `EROFS`.
321 |   @_alwaysEmitIntoClient
322 |   public static var readOnlyFileSystem: Errno { Errno(EROFS) }
    |                                                       `- error: cannot find 'EROFS' in scope
323 |
324 |   /// Too many links.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:331:49: error: cannot find 'EMLINK' in scope
329 |   /// The corresponding C error is `EMLINK`.
330 |   @_alwaysEmitIntoClient
331 |   public static var tooManyLinks: Errno { Errno(EMLINK) }
    |                                                 `- error: cannot find 'EMLINK' in scope
332 |
333 |   /// Broken pipe.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:340:47: error: cannot find 'EPIPE' in scope
338 |   /// The corresponding C error is `EPIPE`.
339 |   @_alwaysEmitIntoClient
340 |   public static var brokenPipe: Errno { Errno(EPIPE) }
    |                                               `- error: cannot find 'EPIPE' in scope
341 |
342 |   /// Numerical argument out of domain.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:349:48: error: cannot find 'EDOM' in scope
347 |   /// The corresponding C error is `EDOM`.
348 |   @_alwaysEmitIntoClient
349 |   public static var outOfDomain: Errno { Errno(EDOM) }
    |                                                `- error: cannot find 'EDOM' in scope
350 |
351 |   /// Numerical result out of range.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:360:47: error: cannot find 'ERANGE' in scope
358 |   /// The corresponding C error is `ERANGE`.
359 |   @_alwaysEmitIntoClient
360 |   public static var outOfRange: Errno { Errno(ERANGE) }
    |                                               `- error: cannot find 'ERANGE' in scope
361 |
362 |   /// Resource temporarily unavailable.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:370:67: error: cannot find 'EAGAIN' in scope
368 |   /// The corresponding C error is `EAGAIN`.
369 |   @_alwaysEmitIntoClient
370 |   public static var resourceTemporarilyUnavailable: Errno { Errno(EAGAIN) }
    |                                                                   `- error: cannot find 'EAGAIN' in scope
371 |
372 |   /// Operation now in progress.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:381:50: error: cannot find 'EINPROGRESS' in scope
379 |   /// The corresponding C error is `EINPROGRESS`.
380 |   @_alwaysEmitIntoClient
381 |   public static var nowInProgress: Errno { Errno(EINPROGRESS) }
    |                                                  `- error: cannot find 'EINPROGRESS' in scope
382 |
383 |   /// Operation already in progress.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:390:53: error: cannot find 'EALREADY' in scope
388 |   /// The corresponding C error is `EALREADY`.
389 |   @_alwaysEmitIntoClient
390 |   public static var alreadyInProcess: Errno { Errno(EALREADY) }
    |                                                     `- error: cannot find 'EALREADY' in scope
391 |
392 |   /// A socket operation was performed on something that isn't a socket.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:396:46: error: cannot find 'ENOTSOCK' in scope
394 |   /// The corresponding C error is `ENOTSOCK`.
395 |   @_alwaysEmitIntoClient
396 |   public static var notSocket: Errno { Errno(ENOTSOCK) }
    |                                              `- error: cannot find 'ENOTSOCK' in scope
397 |
398 |   /// Destination address required.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:404:52: error: cannot find 'EDESTADDRREQ' in scope
402 |   /// The corresponding C error is `EDESTADDRREQ`.
403 |   @_alwaysEmitIntoClient
404 |   public static var addressRequired: Errno { Errno(EDESTADDRREQ) }
    |                                                    `- error: cannot find 'EDESTADDRREQ' in scope
405 |
406 |   /// Message too long.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:413:51: error: cannot find 'EMSGSIZE' in scope
411 |   /// The corresponding C error is `EMSGSIZE`.
412 |   @_alwaysEmitIntoClient
413 |   public static var messageTooLong: Errno { Errno(EMSGSIZE) }
    |                                                   `- error: cannot find 'EMSGSIZE' in scope
414 |
415 |   /// Protocol wrong for socket type.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:424:63: error: cannot find 'EPROTOTYPE' in scope
422 |   /// The corresponding C error is `EPROTOTYPE`.
423 |   @_alwaysEmitIntoClient
424 |   public static var protocolWrongTypeForSocket: Errno { Errno(EPROTOTYPE) }
    |                                                               `- error: cannot find 'EPROTOTYPE' in scope
425 |
426 |   /// Protocol not available.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:433:57: error: cannot find 'ENOPROTOOPT' in scope
431 |   /// The corresponding C error is `ENOPROTOOPT`.
432 |   @_alwaysEmitIntoClient
433 |   public static var protocolNotAvailable: Errno { Errno(ENOPROTOOPT) }
    |                                                         `- error: cannot find 'ENOPROTOOPT' in scope
434 |
435 |   /// Protocol not supported.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:442:57: error: cannot find 'EPROTONOSUPPORT' in scope
440 |   /// The corresponding C error is `EPROTONOSUPPORT`.
441 |   @_alwaysEmitIntoClient
442 |   public static var protocolNotSupported: Errno { Errno(EPROTONOSUPPORT) }
    |                                                         `- error: cannot find 'EPROTONOSUPPORT' in scope
443 |
444 |   /// Not supported.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:451:49: error: cannot find 'ENOTSUP' in scope
449 |   /// The corresponding C error is `ENOTSUP`.
450 |   @_alwaysEmitIntoClient
451 |   public static var notSupported: Errno { Errno(ENOTSUP) }
    |                                                 `- error: cannot find 'ENOTSUP' in scope
452 |
453 |   /// Protocol family not supported.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:460:63: error: cannot find 'EPFNOSUPPORT' in scope
458 |   /// The corresponding C error is `EPFNOSUPPORT`.
459 |   @_alwaysEmitIntoClient
460 |   public static var protocolFamilyNotSupported: Errno { Errno(EPFNOSUPPORT) }
    |                                                               `- error: cannot find 'EPFNOSUPPORT' in scope
461 |
462 |   /// The address family isn't supported by the protocol family.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:470:62: error: cannot find 'EAFNOSUPPORT' in scope
468 |   /// The corresponding C error is `EAFNOSUPPORT`.
469 |   @_alwaysEmitIntoClient
470 |   public static var addressFamilyNotSupported: Errno { Errno(EAFNOSUPPORT) }
    |                                                              `- error: cannot find 'EAFNOSUPPORT' in scope
471 |
472 |   /// Address already in use.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:478:49: error: cannot find 'EADDRINUSE' in scope
476 |   /// The corresponding C error is `EADDRINUSE`.
477 |   @_alwaysEmitIntoClient
478 |   public static var addressInUse: Errno { Errno(EADDRINUSE) }
    |                                                 `- error: cannot find 'EADDRINUSE' in scope
479 |
480 |   /// Can't assign the requested address.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:487:56: error: cannot find 'EADDRNOTAVAIL' in scope
485 |   /// The corresponding C error is `EADDRNOTAVAIL`.
486 |   @_alwaysEmitIntoClient
487 |   public static var addressNotAvailable: Errno { Errno(EADDRNOTAVAIL) }
    |                                                        `- error: cannot find 'EADDRNOTAVAIL' in scope
488 |
489 |   /// Network is down.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:495:48: error: cannot find 'ENETDOWN' in scope
493 |   /// The corresponding C error is `ENETDOWN`.
494 |   @_alwaysEmitIntoClient
495 |   public static var networkDown: Errno { Errno(ENETDOWN) }
    |                                                `- error: cannot find 'ENETDOWN' in scope
496 |
497 |   /// Network is unreachable.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:503:55: error: cannot find 'ENETUNREACH' in scope
501 |   /// The corresponding C error is `ENETUNREACH`.
502 |   @_alwaysEmitIntoClient
503 |   public static var networkUnreachable: Errno { Errno(ENETUNREACH) }
    |                                                       `- error: cannot find 'ENETUNREACH' in scope
504 |
505 |   /// Network dropped connection on reset.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:511:49: error: cannot find 'ENETRESET' in scope
509 |   /// The corresponding C error is `ENETRESET`.
510 |   @_alwaysEmitIntoClient
511 |   public static var networkReset: Errno { Errno(ENETRESET) }
    |                                                 `- error: cannot find 'ENETRESET' in scope
512 |
513 |   /// Software caused a connection abort.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:519:52: error: cannot find 'ECONNABORTED' in scope
517 |   /// The corresponding C error is `ECONNABORTED`.
518 |   @_alwaysEmitIntoClient
519 |   public static var connectionAbort: Errno { Errno(ECONNABORTED) }
    |                                                    `- error: cannot find 'ECONNABORTED' in scope
520 |
521 |   /// Connection reset by peer.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:529:52: error: cannot find 'ECONNRESET' in scope
527 |   /// The corresponding C error is `ECONNRESET`.
528 |   @_alwaysEmitIntoClient
529 |   public static var connectionReset: Errno { Errno(ECONNRESET) }
    |                                                    `- error: cannot find 'ECONNRESET' in scope
530 |
531 |   /// No buffer space available.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:539:50: error: cannot find 'ENOBUFS' in scope
537 |   /// The corresponding C error is `ENOBUFS`.
538 |   @_alwaysEmitIntoClient
539 |   public static var noBufferSpace: Errno { Errno(ENOBUFS) }
    |                                                  `- error: cannot find 'ENOBUFS' in scope
540 |
541 |   /// Socket is already connected.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:550:54: error: cannot find 'EISCONN' in scope
548 |   /// The corresponding C error is `EISCONN`.
549 |   @_alwaysEmitIntoClient
550 |   public static var socketIsConnected: Errno { Errno(EISCONN) }
    |                                                      `- error: cannot find 'EISCONN' in scope
551 |
552 |   /// Socket is not connected.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:561:55: error: cannot find 'ENOTCONN' in scope
559 |   /// The corresponding C error is `ENOTCONN`.
560 |   @_alwaysEmitIntoClient
561 |   public static var socketNotConnected: Errno { Errno(ENOTCONN) }
    |                                                       `- error: cannot find 'ENOTCONN' in scope
562 |
563 |   /// Operation timed out.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:572:45: error: cannot find 'ETIMEDOUT' in scope
570 |   /// The corresponding C error is `ETIMEDOUT`.
571 |   @_alwaysEmitIntoClient
572 |   public static var timedOut: Errno { Errno(ETIMEDOUT) }
    |                                             `- error: cannot find 'ETIMEDOUT' in scope
573 |
574 |   /// Connection refused.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:583:54: error: cannot find 'ECONNREFUSED' in scope
581 |   /// The corresponding C error is `ECONNREFUSED`.
582 |   @_alwaysEmitIntoClient
583 |   public static var connectionRefused: Errno { Errno(ECONNREFUSED) }
    |                                                      `- error: cannot find 'ECONNREFUSED' in scope
584 |
585 |   /// Too many levels of symbolic links.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:591:62: error: cannot find 'ELOOP' in scope
589 |   /// The corresponding C error is `ELOOP`.
590 |   @_alwaysEmitIntoClient
591 |   public static var tooManySymbolicLinkLevels: Errno { Errno(ELOOP) }
    |                                                              `- error: cannot find 'ELOOP' in scope
592 |
593 |   /// The file name is too long.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:600:52: error: cannot find 'ENAMETOOLONG' in scope
598 |   /// The corresponding C error is `ENAMETOOLONG`.
599 |   @_alwaysEmitIntoClient
600 |   public static var fileNameTooLong: Errno { Errno(ENAMETOOLONG) }
    |                                                    `- error: cannot find 'ENAMETOOLONG' in scope
601 |
602 |   /// The host is down.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:608:47: error: cannot find 'EHOSTDOWN' in scope
606 |   /// The corresponding C error is `EHOSTDOWN`.
607 |   @_alwaysEmitIntoClient
608 |   public static var hostIsDown: Errno { Errno(EHOSTDOWN) }
    |                                               `- error: cannot find 'EHOSTDOWN' in scope
609 |
610 |   /// No route to host.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:616:50: error: cannot find 'EHOSTUNREACH' in scope
614 |   /// The corresponding C error is `EHOSTUNREACH`.
615 |   @_alwaysEmitIntoClient
616 |   public static var noRouteToHost: Errno { Errno(EHOSTUNREACH) }
    |                                                  `- error: cannot find 'EHOSTUNREACH' in scope
617 |
618 |   /// Directory not empty.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:625:54: error: cannot find 'ENOTEMPTY' in scope
623 |   /// The corresponding C error is `ENOTEMPTY`.
624 |   @_alwaysEmitIntoClient
625 |   public static var directoryNotEmpty: Errno { Errno(ENOTEMPTY) }
    |                                                      `- error: cannot find 'ENOTEMPTY' in scope
626 |
627 |   /// Disk quota exceeded.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:658:44: error: cannot find 'ENOLCK' in scope
656 |   /// The corresponding C error is `ENOLCK`.
657 |   @_alwaysEmitIntoClient
658 |   public static var noLocks: Errno { Errno(ENOLCK) }
    |                                            `- error: cannot find 'ENOLCK' in scope
659 |
660 |   /// Function not implemented.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:666:47: error: cannot find 'ENOSYS' in scope
664 |   /// The corresponding C error is `ENOSYS`.
665 |   @_alwaysEmitIntoClient
666 |   public static var noFunction: Errno { Errno(ENOSYS) }
    |                                               `- error: cannot find 'ENOSYS' in scope
667 |
668 |   /// Operation canceled.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:674:45: error: cannot find 'ECANCELED' in scope
672 |   /// The corresponding C error is `ECANCELED`.
673 |   @_alwaysEmitIntoClient
674 |   public static var canceled: Errno { Errno(ECANCELED) }
    |                                             `- error: cannot find 'ECANCELED' in scope
675 |
676 |   /// Illegal byte sequence.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:684:56: error: cannot find 'EILSEQ' in scope
682 |   /// The corresponding C error is `EILSEQ`.
683 |   @_alwaysEmitIntoClient
684 |   public static var illegalByteSequence: Errno { Errno(EILSEQ) }
    |                                                        `- error: cannot find 'EILSEQ' in scope
685 |
686 |   /// Bad message.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:693:47: error: cannot find 'EBADMSG' in scope
691 |   /// The corresponding C error is `EBADMSG`.
692 |   @_alwaysEmitIntoClient
693 |   public static var badMessage: Errno { Errno(EBADMSG) }
    |                                               `- error: cannot find 'EBADMSG' in scope
694 |
695 |   /// Reserved.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:709:43: error: cannot find 'ENODATA' in scope
707 |   /// The corresponding C error is `ENODATA`.
708 |   @_alwaysEmitIntoClient
709 |   public static var noData: Errno { Errno(ENODATA) }
    |                                           `- error: cannot find 'ENODATA' in scope
710 |
711 |   /// Reserved.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:725:54: error: cannot find 'ENOSR' in scope
723 |   /// The corresponding C error is `ENOSR`.
724 |   @_alwaysEmitIntoClient
725 |   public static var noStreamResources: Errno { Errno(ENOSR) }
    |                                                      `- error: cannot find 'ENOSR' in scope
726 |
727 |   /// Reserved.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:733:46: error: cannot find 'ENOSTR' in scope
731 |   /// The corresponding C error is `ENOSTR`.
732 |   @_alwaysEmitIntoClient
733 |   public static var notStream: Errno { Errno(ENOSTR) }
    |                                              `- error: cannot find 'ENOSTR' in scope
734 |
735 |   /// Protocol error.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:743:50: error: cannot find 'EPROTO' in scope
741 |   /// The corresponding C error is `EPROTO`.
742 |   @_alwaysEmitIntoClient
743 |   public static var protocolError: Errno { Errno(EPROTO) }
    |                                                  `- error: cannot find 'EPROTO' in scope
744 |
745 |   /// Reserved.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:751:44: error: cannot find 'ETIME' in scope
749 |   /// The corresponding C error is `ETIME`.
750 |   @_alwaysEmitIntoClient
751 |   public static var timeout: Errno { Errno(ETIME) }
    |                                            `- error: cannot find 'ETIME' in scope
752 |
753 |   /// Operation not supported on socket.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:760:57: error: cannot find 'EOPNOTSUPP' in scope
758 |   /// The corresponding C error is `EOPNOTSUPP`.
759 |   @_alwaysEmitIntoClient
760 |   public static var notSupportedOnSocket: Errno { Errno(EOPNOTSUPP) }
    |                                                         `- error: cannot find 'EOPNOTSUPP' in scope
761 | }
762 |
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:771:47: error: cannot find 'EWOULDBLOCK' in scope
769 |   /// The corresponding C error is `EWOULDBLOCK`.
770 |   @_alwaysEmitIntoClient
771 |   public static var wouldBlock: Errno { Errno(EWOULDBLOCK) }
    |                                               `- error: cannot find 'EWOULDBLOCK' in scope
772 | }
773 |
error: compile command failed due to signal 6 (use -v to see invocation)
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: Functions with 'no-prototype' attribute must take varargs: swifthal_timer_open
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SwiftIO/AnalogIn.swift /host/spi-builder-workspace/Sources/SwiftIO/BoardId.swift /host/spi-builder-workspace/Sources/SwiftIO/Counter.swift /host/spi-builder-workspace/Sources/SwiftIO/DigitalIn.swift /host/spi-builder-workspace/Sources/SwiftIO/DigitalInOut.swift /host/spi-builder-workspace/Sources/SwiftIO/DigitalOut.swift /host/spi-builder-workspace/Sources/SwiftIO/Errno.swift /host/spi-builder-workspace/Sources/SwiftIO/Ethernet.swift /host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift /host/spi-builder-workspace/Sources/SwiftIO/I2C.swift /host/spi-builder-workspace/Sources/SwiftIO/I2S.swift /host/spi-builder-workspace/Sources/SwiftIO/KernelTiming.swift /host/spi-builder-workspace/Sources/SwiftIO/PWMOut.swift /host/spi-builder-workspace/Sources/SwiftIO/SPI.swift -primary-file /host/spi-builder-workspace/Sources/SwiftIO/Thread.swift -primary-file /host/spi-builder-workspace/Sources/SwiftIO/Timer.swift /host/spi-builder-workspace/Sources/SwiftIO/UART.swift /host/spi-builder-workspace/Sources/SwiftIO/Utils.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Thread.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Thread.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Timer.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Timer.swiftdeps -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -strict-concurrency=complete -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/CSwiftIO.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/Sources/CSwiftIO/include -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -Xcc -g -module-name SwiftIO -package-name spi_builder_workspace -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Thread.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Timer.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1.	Swift version 6.1 (swift-6.1-RELEASE)
2.	Compiling with effective version 5.10
3.	Running pass 'Add prototypes to prototypes-less functions' on module '/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Timer.swift.o'.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend 0x0000555a91075808
1  swift-frontend 0x0000555a910735ee
2  swift-frontend 0x0000555a91075ea8
3  libc.so.6      0x00007f74aa224520
4  libc.so.6      0x00007f74aa2789fc pthread_kill + 300
5  libc.so.6      0x00007f74aa224476 raise + 22
6  libc.so.6      0x00007f74aa20a7f3 abort + 211
7  swift-frontend 0x0000555a8b0d411e
8  swift-frontend 0x0000555a90fd5149
9  swift-frontend 0x0000555a8d5d6eec
10 swift-frontend 0x0000555a90e97b25
11 swift-frontend 0x0000555a8b212f56
12 swift-frontend 0x0000555a8b212794
13 swift-frontend 0x0000555a8ae3d142
14 swift-frontend 0x0000555a8ae38c88
15 swift-frontend 0x0000555a8ae37997
16 swift-frontend 0x0000555a8ae3a2ba
17 swift-frontend 0x0000555a8ae39713
18 swift-frontend 0x0000555a8ac1686a
19 libc.so.6      0x00007f74aa20bd90
20 libc.so.6      0x00007f74aa20be40 __libc_start_main + 128
21 swift-frontend 0x0000555a8ac15cc5
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/18] Emitting module SwiftIO
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:48:49: error: cannot find 'EPERM' in scope
 46 |   /// The corresponding C error is `EPERM`.
 47 |   @_alwaysEmitIntoClient
 48 |   public static var notPermitted: Errno { Errno(EPERM) }
    |                                                 `- error: cannot find 'EPERM' in scope
 49 |
 50 |   /// No such file or directory.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:57:58: error: cannot find 'ENOENT' in scope
 55 |   /// The corresponding C error is `ENOENT`.
 56 |   @_alwaysEmitIntoClient
 57 |   public static var noSuchFileOrDirectory: Errno { Errno(ENOENT) }
    |                                                          `- error: cannot find 'ENOENT' in scope
 58 |
 59 |   /// No such process.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:65:50: error: cannot find 'ESRCH' in scope
 63 |   /// The corresponding C error is `ESRCH`.
 64 |   @_alwaysEmitIntoClient
 65 |   public static var noSuchProcess: Errno { Errno(ESRCH) }
    |                                                  `- error: cannot find 'ESRCH' in scope
 66 |
 67 |   /// Interrupted function call.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:76:48: error: cannot find 'EINTR' in scope
 74 |   /// The corresponding C error is `EINTR`.
 75 |   @_alwaysEmitIntoClient
 76 |   public static var interrupted: Errno { Errno(EINTR) }
    |                                                `- error: cannot find 'EINTR' in scope
 77 |
 78 |   /// Input/output error.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:87:44: error: cannot find 'EIO' in scope
 85 |   /// The corresponding C error is `EIO`.
 86 |   @_alwaysEmitIntoClient
 87 |   public static var ioError: Errno { Errno(EIO) }
    |                                            `- error: cannot find 'EIO' in scope
 88 |
 89 |   /// No such device or address.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:98:58: error: cannot find 'ENXIO' in scope
 96 |   /// The corresponding C error is `ENXIO`.
 97 |   @_alwaysEmitIntoClient
 98 |   public static var noSuchAddressOrDevice: Errno { Errno(ENXIO) }
    |                                                          `- error: cannot find 'ENXIO' in scope
 99 |
100 |   /// The argument list is too long.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:108:51: error: cannot find 'E2BIG' in scope
106 |   /// The corresponding C error is `E2BIG`.
107 |   @_alwaysEmitIntoClient
108 |   public static var argListTooLong: Errno { Errno(E2BIG) }
    |                                                   `- error: cannot find 'E2BIG' in scope
109 |
110 |   /// Executable format error.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:118:52: error: cannot find 'ENOEXEC' in scope
116 |   /// The corresponding C error is `ENOEXEC`.
117 |   @_alwaysEmitIntoClient
118 |   public static var execFormatError: Errno { Errno(ENOEXEC) }
    |                                                    `- error: cannot find 'ENOEXEC' in scope
119 |
120 |   /// Bad file descriptor.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:129:54: error: cannot find 'EBADF' in scope
127 |   /// The corresponding C error is `EBADF`.
128 |   @_alwaysEmitIntoClient
129 |   public static var badFileDescriptor: Errno { Errno(EBADF) }
    |                                                      `- error: cannot find 'EBADF' in scope
130 |
131 |   /// No child processes.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:139:51: error: cannot find 'ECHILD' in scope
137 |   /// The corresponding C error is `ECHILD`.
138 |   @_alwaysEmitIntoClient
139 |   public static var noChildProcess: Errno { Errno(ECHILD) }
    |                                                   `- error: cannot find 'ECHILD' in scope
140 |
141 |   /// Resource deadlock avoided.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:148:45: error: cannot find 'EDEADLK' in scope
146 |   /// The corresponding C error is `EDEADLK`.
147 |   @_alwaysEmitIntoClient
148 |   public static var deadlock: Errno { Errno(EDEADLK) }
    |                                             `- error: cannot find 'EDEADLK' in scope
149 |
150 |   /// Can't allocate memory.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:161:45: error: cannot find 'ENOMEM' in scope
159 |   /// The corresponding C error is `ENOMEM`.
160 |   @_alwaysEmitIntoClient
161 |   public static var noMemory: Errno { Errno(ENOMEM) }
    |                                             `- error: cannot find 'ENOMEM' in scope
162 |
163 |   /// Permission denied.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:170:53: error: cannot find 'EACCES' in scope
168 |   /// The corresponding C error is `EACCES`.
169 |   @_alwaysEmitIntoClient
170 |   public static var permissionDenied: Errno { Errno(EACCES) }
    |                                                     `- error: cannot find 'EACCES' in scope
171 |
172 |   /// Bad address.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:178:47: error: cannot find 'EFAULT' in scope
176 |   /// The corresponding C error is `EFAULT`.
177 |   @_alwaysEmitIntoClient
178 |   public static var badAddress: Errno { Errno(EFAULT) }
    |                                               `- error: cannot find 'EFAULT' in scope
179 |
180 |   /// Resource busy.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:187:49: error: cannot find 'EBUSY' in scope
185 |   /// The corresponding C error is `EBUSY`.
186 |   @_alwaysEmitIntoClient
187 |   public static var resourceBusy: Errno { Errno(EBUSY) }
    |                                                 `- error: cannot find 'EBUSY' in scope
188 |
189 |   /// File exists.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:196:47: error: cannot find 'EEXIST' in scope
194 |   /// The corresponding C error is `EEXIST`.
195 |   @_alwaysEmitIntoClient
196 |   public static var fileExists: Errno { Errno(EEXIST) }
    |                                               `- error: cannot find 'EEXIST' in scope
197 |
198 |   /// Improper link.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:204:49: error: cannot find 'EXDEV' in scope
202 |   /// The corresponding C error is `EXDEV`.
203 |   @_alwaysEmitIntoClient
204 |   public static var improperLink: Errno { Errno(EXDEV) }
    |                                                 `- error: cannot find 'EXDEV' in scope
205 |
206 |   /// Operation not supported by device.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:213:66: error: cannot find 'ENODEV' in scope
211 |   /// The corresponding C error is `ENODEV`.
212 |   @_alwaysEmitIntoClient
213 |   public static var operationNotSupportedByDevice: Errno { Errno(ENODEV) }
    |                                                                  `- error: cannot find 'ENODEV' in scope
214 |
215 |   /// Not a directory.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:223:49: error: cannot find 'ENOTDIR' in scope
221 |   /// The corresponding C error is `ENOTDIR`.
222 |   @_alwaysEmitIntoClient
223 |   public static var notDirectory: Errno { Errno(ENOTDIR) }
    |                                                 `- error: cannot find 'ENOTDIR' in scope
224 |
225 |   /// Is a directory.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:232:48: error: cannot find 'EISDIR' in scope
230 |   /// The corresponding C error is `EISDIR`.
231 |   @_alwaysEmitIntoClient
232 |   public static var isDirectory: Errno { Errno(EISDIR) }
    |                                                `- error: cannot find 'EISDIR' in scope
233 |
234 |   /// Invalid argument.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:241:52: error: cannot find 'EINVAL' in scope
239 |   /// The corresponding C error is `EINVAL`.
240 |   @_alwaysEmitIntoClient
241 |   public static var invalidArgument: Errno { Errno(EINVAL) }
    |                                                    `- error: cannot find 'EINVAL' in scope
242 |
243 |   /// The system has too many open files.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:252:61: error: cannot find 'ENFILE' in scope
250 |   /// The corresponding C error is `ENFILE`.
251 |   @_alwaysEmitIntoClient
252 |   public static var tooManyOpenFilesInSystem: Errno { Errno(ENFILE) }
    |                                                             `- error: cannot find 'ENFILE' in scope
253 |
254 |   /// This process has too many open files.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:261:53: error: cannot find 'EMFILE' in scope
259 |   /// The corresponding C error is `EMFILE`.
260 |   @_alwaysEmitIntoClient
261 |   public static var tooManyOpenFiles: Errno { Errno(EMFILE) }
    |                                                     `- error: cannot find 'EMFILE' in scope
262 |
263 |   /// Inappropriate control function.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:271:64: error: cannot find 'ENOTTY' in scope
269 |   /// The corresponding C error is `ENOTTY`.
270 |   @_alwaysEmitIntoClient
271 |   public static var inappropriateIOCTLForDevice: Errno { Errno(ENOTTY) }
    |                                                                `- error: cannot find 'ENOTTY' in scope
272 |
273 |   /// Text file busy.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:282:49: error: cannot find 'ETXTBSY' in scope
280 |   /// The corresponding C error is `ETXTBSY`.
281 |   @_alwaysEmitIntoClient
282 |   public static var textFileBusy: Errno { Errno(ETXTBSY) }
    |                                                 `- error: cannot find 'ETXTBSY' in scope
283 |
284 |   /// The file is too large.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:292:49: error: cannot find 'EFBIG' in scope
290 |   /// The corresponding C error is `EFBIG`.
291 |   @_alwaysEmitIntoClient
292 |   public static var fileTooLarge: Errno { Errno(EFBIG) }
    |                                                 `- error: cannot find 'EFBIG' in scope
293 |
294 |   /// Device out of space.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:305:44: error: cannot find 'ENOSPC' in scope
303 |   /// The corresponding C error is `ENOSPC`.
304 |   @_alwaysEmitIntoClient
305 |   public static var noSpace: Errno { Errno(ENOSPC) }
    |                                            `- error: cannot find 'ENOSPC' in scope
306 |
307 |   /// Illegal seek.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:313:48: error: cannot find 'ESPIPE' in scope
311 |   /// The corresponding C error is `ESPIPE`.
312 |   @_alwaysEmitIntoClient
313 |   public static var illegalSeek: Errno { Errno(ESPIPE) }
    |                                                `- error: cannot find 'ESPIPE' in scope
314 |
315 |   /// Read-only file system.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:322:55: error: cannot find 'EROFS' in scope
320 |   /// The corresponding C error is `EROFS`.
321 |   @_alwaysEmitIntoClient
322 |   public static var readOnlyFileSystem: Errno { Errno(EROFS) }
    |                                                       `- error: cannot find 'EROFS' in scope
323 |
324 |   /// Too many links.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:331:49: error: cannot find 'EMLINK' in scope
329 |   /// The corresponding C error is `EMLINK`.
330 |   @_alwaysEmitIntoClient
331 |   public static var tooManyLinks: Errno { Errno(EMLINK) }
    |                                                 `- error: cannot find 'EMLINK' in scope
332 |
333 |   /// Broken pipe.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:340:47: error: cannot find 'EPIPE' in scope
338 |   /// The corresponding C error is `EPIPE`.
339 |   @_alwaysEmitIntoClient
340 |   public static var brokenPipe: Errno { Errno(EPIPE) }
    |                                               `- error: cannot find 'EPIPE' in scope
341 |
342 |   /// Numerical argument out of domain.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:349:48: error: cannot find 'EDOM' in scope
347 |   /// The corresponding C error is `EDOM`.
348 |   @_alwaysEmitIntoClient
349 |   public static var outOfDomain: Errno { Errno(EDOM) }
    |                                                `- error: cannot find 'EDOM' in scope
350 |
351 |   /// Numerical result out of range.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:360:47: error: cannot find 'ERANGE' in scope
358 |   /// The corresponding C error is `ERANGE`.
359 |   @_alwaysEmitIntoClient
360 |   public static var outOfRange: Errno { Errno(ERANGE) }
    |                                               `- error: cannot find 'ERANGE' in scope
361 |
362 |   /// Resource temporarily unavailable.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:370:67: error: cannot find 'EAGAIN' in scope
368 |   /// The corresponding C error is `EAGAIN`.
369 |   @_alwaysEmitIntoClient
370 |   public static var resourceTemporarilyUnavailable: Errno { Errno(EAGAIN) }
    |                                                                   `- error: cannot find 'EAGAIN' in scope
371 |
372 |   /// Operation now in progress.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:381:50: error: cannot find 'EINPROGRESS' in scope
379 |   /// The corresponding C error is `EINPROGRESS`.
380 |   @_alwaysEmitIntoClient
381 |   public static var nowInProgress: Errno { Errno(EINPROGRESS) }
    |                                                  `- error: cannot find 'EINPROGRESS' in scope
382 |
383 |   /// Operation already in progress.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:390:53: error: cannot find 'EALREADY' in scope
388 |   /// The corresponding C error is `EALREADY`.
389 |   @_alwaysEmitIntoClient
390 |   public static var alreadyInProcess: Errno { Errno(EALREADY) }
    |                                                     `- error: cannot find 'EALREADY' in scope
391 |
392 |   /// A socket operation was performed on something that isn't a socket.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:396:46: error: cannot find 'ENOTSOCK' in scope
394 |   /// The corresponding C error is `ENOTSOCK`.
395 |   @_alwaysEmitIntoClient
396 |   public static var notSocket: Errno { Errno(ENOTSOCK) }
    |                                              `- error: cannot find 'ENOTSOCK' in scope
397 |
398 |   /// Destination address required.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:404:52: error: cannot find 'EDESTADDRREQ' in scope
402 |   /// The corresponding C error is `EDESTADDRREQ`.
403 |   @_alwaysEmitIntoClient
404 |   public static var addressRequired: Errno { Errno(EDESTADDRREQ) }
    |                                                    `- error: cannot find 'EDESTADDRREQ' in scope
405 |
406 |   /// Message too long.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:413:51: error: cannot find 'EMSGSIZE' in scope
411 |   /// The corresponding C error is `EMSGSIZE`.
412 |   @_alwaysEmitIntoClient
413 |   public static var messageTooLong: Errno { Errno(EMSGSIZE) }
    |                                                   `- error: cannot find 'EMSGSIZE' in scope
414 |
415 |   /// Protocol wrong for socket type.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:424:63: error: cannot find 'EPROTOTYPE' in scope
422 |   /// The corresponding C error is `EPROTOTYPE`.
423 |   @_alwaysEmitIntoClient
424 |   public static var protocolWrongTypeForSocket: Errno { Errno(EPROTOTYPE) }
    |                                                               `- error: cannot find 'EPROTOTYPE' in scope
425 |
426 |   /// Protocol not available.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:433:57: error: cannot find 'ENOPROTOOPT' in scope
431 |   /// The corresponding C error is `ENOPROTOOPT`.
432 |   @_alwaysEmitIntoClient
433 |   public static var protocolNotAvailable: Errno { Errno(ENOPROTOOPT) }
    |                                                         `- error: cannot find 'ENOPROTOOPT' in scope
434 |
435 |   /// Protocol not supported.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:442:57: error: cannot find 'EPROTONOSUPPORT' in scope
440 |   /// The corresponding C error is `EPROTONOSUPPORT`.
441 |   @_alwaysEmitIntoClient
442 |   public static var protocolNotSupported: Errno { Errno(EPROTONOSUPPORT) }
    |                                                         `- error: cannot find 'EPROTONOSUPPORT' in scope
443 |
444 |   /// Not supported.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:451:49: error: cannot find 'ENOTSUP' in scope
449 |   /// The corresponding C error is `ENOTSUP`.
450 |   @_alwaysEmitIntoClient
451 |   public static var notSupported: Errno { Errno(ENOTSUP) }
    |                                                 `- error: cannot find 'ENOTSUP' in scope
452 |
453 |   /// Protocol family not supported.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:460:63: error: cannot find 'EPFNOSUPPORT' in scope
458 |   /// The corresponding C error is `EPFNOSUPPORT`.
459 |   @_alwaysEmitIntoClient
460 |   public static var protocolFamilyNotSupported: Errno { Errno(EPFNOSUPPORT) }
    |                                                               `- error: cannot find 'EPFNOSUPPORT' in scope
461 |
462 |   /// The address family isn't supported by the protocol family.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:470:62: error: cannot find 'EAFNOSUPPORT' in scope
468 |   /// The corresponding C error is `EAFNOSUPPORT`.
469 |   @_alwaysEmitIntoClient
470 |   public static var addressFamilyNotSupported: Errno { Errno(EAFNOSUPPORT) }
    |                                                              `- error: cannot find 'EAFNOSUPPORT' in scope
471 |
472 |   /// Address already in use.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:478:49: error: cannot find 'EADDRINUSE' in scope
476 |   /// The corresponding C error is `EADDRINUSE`.
477 |   @_alwaysEmitIntoClient
478 |   public static var addressInUse: Errno { Errno(EADDRINUSE) }
    |                                                 `- error: cannot find 'EADDRINUSE' in scope
479 |
480 |   /// Can't assign the requested address.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:487:56: error: cannot find 'EADDRNOTAVAIL' in scope
485 |   /// The corresponding C error is `EADDRNOTAVAIL`.
486 |   @_alwaysEmitIntoClient
487 |   public static var addressNotAvailable: Errno { Errno(EADDRNOTAVAIL) }
    |                                                        `- error: cannot find 'EADDRNOTAVAIL' in scope
488 |
489 |   /// Network is down.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:495:48: error: cannot find 'ENETDOWN' in scope
493 |   /// The corresponding C error is `ENETDOWN`.
494 |   @_alwaysEmitIntoClient
495 |   public static var networkDown: Errno { Errno(ENETDOWN) }
    |                                                `- error: cannot find 'ENETDOWN' in scope
496 |
497 |   /// Network is unreachable.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:503:55: error: cannot find 'ENETUNREACH' in scope
501 |   /// The corresponding C error is `ENETUNREACH`.
502 |   @_alwaysEmitIntoClient
503 |   public static var networkUnreachable: Errno { Errno(ENETUNREACH) }
    |                                                       `- error: cannot find 'ENETUNREACH' in scope
504 |
505 |   /// Network dropped connection on reset.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:511:49: error: cannot find 'ENETRESET' in scope
509 |   /// The corresponding C error is `ENETRESET`.
510 |   @_alwaysEmitIntoClient
511 |   public static var networkReset: Errno { Errno(ENETRESET) }
    |                                                 `- error: cannot find 'ENETRESET' in scope
512 |
513 |   /// Software caused a connection abort.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:519:52: error: cannot find 'ECONNABORTED' in scope
517 |   /// The corresponding C error is `ECONNABORTED`.
518 |   @_alwaysEmitIntoClient
519 |   public static var connectionAbort: Errno { Errno(ECONNABORTED) }
    |                                                    `- error: cannot find 'ECONNABORTED' in scope
520 |
521 |   /// Connection reset by peer.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:529:52: error: cannot find 'ECONNRESET' in scope
527 |   /// The corresponding C error is `ECONNRESET`.
528 |   @_alwaysEmitIntoClient
529 |   public static var connectionReset: Errno { Errno(ECONNRESET) }
    |                                                    `- error: cannot find 'ECONNRESET' in scope
530 |
531 |   /// No buffer space available.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:539:50: error: cannot find 'ENOBUFS' in scope
537 |   /// The corresponding C error is `ENOBUFS`.
538 |   @_alwaysEmitIntoClient
539 |   public static var noBufferSpace: Errno { Errno(ENOBUFS) }
    |                                                  `- error: cannot find 'ENOBUFS' in scope
540 |
541 |   /// Socket is already connected.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:550:54: error: cannot find 'EISCONN' in scope
548 |   /// The corresponding C error is `EISCONN`.
549 |   @_alwaysEmitIntoClient
550 |   public static var socketIsConnected: Errno { Errno(EISCONN) }
    |                                                      `- error: cannot find 'EISCONN' in scope
551 |
552 |   /// Socket is not connected.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:561:55: error: cannot find 'ENOTCONN' in scope
559 |   /// The corresponding C error is `ENOTCONN`.
560 |   @_alwaysEmitIntoClient
561 |   public static var socketNotConnected: Errno { Errno(ENOTCONN) }
    |                                                       `- error: cannot find 'ENOTCONN' in scope
562 |
563 |   /// Operation timed out.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:572:45: error: cannot find 'ETIMEDOUT' in scope
570 |   /// The corresponding C error is `ETIMEDOUT`.
571 |   @_alwaysEmitIntoClient
572 |   public static var timedOut: Errno { Errno(ETIMEDOUT) }
    |                                             `- error: cannot find 'ETIMEDOUT' in scope
573 |
574 |   /// Connection refused.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:583:54: error: cannot find 'ECONNREFUSED' in scope
581 |   /// The corresponding C error is `ECONNREFUSED`.
582 |   @_alwaysEmitIntoClient
583 |   public static var connectionRefused: Errno { Errno(ECONNREFUSED) }
    |                                                      `- error: cannot find 'ECONNREFUSED' in scope
584 |
585 |   /// Too many levels of symbolic links.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:591:62: error: cannot find 'ELOOP' in scope
589 |   /// The corresponding C error is `ELOOP`.
590 |   @_alwaysEmitIntoClient
591 |   public static var tooManySymbolicLinkLevels: Errno { Errno(ELOOP) }
    |                                                              `- error: cannot find 'ELOOP' in scope
592 |
593 |   /// The file name is too long.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:600:52: error: cannot find 'ENAMETOOLONG' in scope
598 |   /// The corresponding C error is `ENAMETOOLONG`.
599 |   @_alwaysEmitIntoClient
600 |   public static var fileNameTooLong: Errno { Errno(ENAMETOOLONG) }
    |                                                    `- error: cannot find 'ENAMETOOLONG' in scope
601 |
602 |   /// The host is down.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:608:47: error: cannot find 'EHOSTDOWN' in scope
606 |   /// The corresponding C error is `EHOSTDOWN`.
607 |   @_alwaysEmitIntoClient
608 |   public static var hostIsDown: Errno { Errno(EHOSTDOWN) }
    |                                               `- error: cannot find 'EHOSTDOWN' in scope
609 |
610 |   /// No route to host.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:616:50: error: cannot find 'EHOSTUNREACH' in scope
614 |   /// The corresponding C error is `EHOSTUNREACH`.
615 |   @_alwaysEmitIntoClient
616 |   public static var noRouteToHost: Errno { Errno(EHOSTUNREACH) }
    |                                                  `- error: cannot find 'EHOSTUNREACH' in scope
617 |
618 |   /// Directory not empty.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:625:54: error: cannot find 'ENOTEMPTY' in scope
623 |   /// The corresponding C error is `ENOTEMPTY`.
624 |   @_alwaysEmitIntoClient
625 |   public static var directoryNotEmpty: Errno { Errno(ENOTEMPTY) }
    |                                                      `- error: cannot find 'ENOTEMPTY' in scope
626 |
627 |   /// Disk quota exceeded.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:658:44: error: cannot find 'ENOLCK' in scope
656 |   /// The corresponding C error is `ENOLCK`.
657 |   @_alwaysEmitIntoClient
658 |   public static var noLocks: Errno { Errno(ENOLCK) }
    |                                            `- error: cannot find 'ENOLCK' in scope
659 |
660 |   /// Function not implemented.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:666:47: error: cannot find 'ENOSYS' in scope
664 |   /// The corresponding C error is `ENOSYS`.
665 |   @_alwaysEmitIntoClient
666 |   public static var noFunction: Errno { Errno(ENOSYS) }
    |                                               `- error: cannot find 'ENOSYS' in scope
667 |
668 |   /// Operation canceled.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:674:45: error: cannot find 'ECANCELED' in scope
672 |   /// The corresponding C error is `ECANCELED`.
673 |   @_alwaysEmitIntoClient
674 |   public static var canceled: Errno { Errno(ECANCELED) }
    |                                             `- error: cannot find 'ECANCELED' in scope
675 |
676 |   /// Illegal byte sequence.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:684:56: error: cannot find 'EILSEQ' in scope
682 |   /// The corresponding C error is `EILSEQ`.
683 |   @_alwaysEmitIntoClient
684 |   public static var illegalByteSequence: Errno { Errno(EILSEQ) }
    |                                                        `- error: cannot find 'EILSEQ' in scope
685 |
686 |   /// Bad message.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:693:47: error: cannot find 'EBADMSG' in scope
691 |   /// The corresponding C error is `EBADMSG`.
692 |   @_alwaysEmitIntoClient
693 |   public static var badMessage: Errno { Errno(EBADMSG) }
    |                                               `- error: cannot find 'EBADMSG' in scope
694 |
695 |   /// Reserved.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:709:43: error: cannot find 'ENODATA' in scope
707 |   /// The corresponding C error is `ENODATA`.
708 |   @_alwaysEmitIntoClient
709 |   public static var noData: Errno { Errno(ENODATA) }
    |                                           `- error: cannot find 'ENODATA' in scope
710 |
711 |   /// Reserved.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:725:54: error: cannot find 'ENOSR' in scope
723 |   /// The corresponding C error is `ENOSR`.
724 |   @_alwaysEmitIntoClient
725 |   public static var noStreamResources: Errno { Errno(ENOSR) }
    |                                                      `- error: cannot find 'ENOSR' in scope
726 |
727 |   /// Reserved.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:733:46: error: cannot find 'ENOSTR' in scope
731 |   /// The corresponding C error is `ENOSTR`.
732 |   @_alwaysEmitIntoClient
733 |   public static var notStream: Errno { Errno(ENOSTR) }
    |                                              `- error: cannot find 'ENOSTR' in scope
734 |
735 |   /// Protocol error.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:743:50: error: cannot find 'EPROTO' in scope
741 |   /// The corresponding C error is `EPROTO`.
742 |   @_alwaysEmitIntoClient
743 |   public static var protocolError: Errno { Errno(EPROTO) }
    |                                                  `- error: cannot find 'EPROTO' in scope
744 |
745 |   /// Reserved.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:751:44: error: cannot find 'ETIME' in scope
749 |   /// The corresponding C error is `ETIME`.
750 |   @_alwaysEmitIntoClient
751 |   public static var timeout: Errno { Errno(ETIME) }
    |                                            `- error: cannot find 'ETIME' in scope
752 |
753 |   /// Operation not supported on socket.
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:760:57: error: cannot find 'EOPNOTSUPP' in scope
758 |   /// The corresponding C error is `EOPNOTSUPP`.
759 |   @_alwaysEmitIntoClient
760 |   public static var notSupportedOnSocket: Errno { Errno(EOPNOTSUPP) }
    |                                                         `- error: cannot find 'EOPNOTSUPP' in scope
761 | }
762 |
/host/spi-builder-workspace/Sources/SwiftIO/Errno.swift:771:47: error: cannot find 'EWOULDBLOCK' in scope
769 |   /// The corresponding C error is `EWOULDBLOCK`.
770 |   @_alwaysEmitIntoClient
771 |   public static var wouldBlock: Errno { Errno(EWOULDBLOCK) }
    |                                               `- error: cannot find 'EWOULDBLOCK' in scope
772 | }
773 |
error: compile command failed due to signal 6 (use -v to see invocation)
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: Functions with 'no-prototype' attribute must take varargs: swifthal_timer_open
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SwiftIO/AnalogIn.swift /host/spi-builder-workspace/Sources/SwiftIO/BoardId.swift /host/spi-builder-workspace/Sources/SwiftIO/Counter.swift /host/spi-builder-workspace/Sources/SwiftIO/DigitalIn.swift /host/spi-builder-workspace/Sources/SwiftIO/DigitalInOut.swift /host/spi-builder-workspace/Sources/SwiftIO/DigitalOut.swift /host/spi-builder-workspace/Sources/SwiftIO/Errno.swift /host/spi-builder-workspace/Sources/SwiftIO/Ethernet.swift /host/spi-builder-workspace/Sources/SwiftIO/FileDescriptor.swift /host/spi-builder-workspace/Sources/SwiftIO/I2C.swift /host/spi-builder-workspace/Sources/SwiftIO/I2S.swift /host/spi-builder-workspace/Sources/SwiftIO/KernelTiming.swift /host/spi-builder-workspace/Sources/SwiftIO/PWMOut.swift /host/spi-builder-workspace/Sources/SwiftIO/SPI.swift -primary-file /host/spi-builder-workspace/Sources/SwiftIO/Thread.swift -primary-file /host/spi-builder-workspace/Sources/SwiftIO/Timer.swift /host/spi-builder-workspace/Sources/SwiftIO/UART.swift /host/spi-builder-workspace/Sources/SwiftIO/Utils.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Thread.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Thread.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Timer.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Timer.swiftdeps -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/CSwiftIO.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/Sources/CSwiftIO/include -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -Xcc -g -module-name SwiftIO -package-name spi_builder_workspace -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Thread.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Timer.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1.	Swift version 6.1 (swift-6.1-RELEASE)
2.	Compiling with effective version 5.10
3.	Running pass 'Add prototypes to prototypes-less functions' on module '/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftIO.build/Timer.swift.o'.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend 0x000055893ccab808
1  swift-frontend 0x000055893cca95ee
2  swift-frontend 0x000055893ccabea8
3  libc.so.6      0x00007f04b65f0520
4  libc.so.6      0x00007f04b66449fc pthread_kill + 300
5  libc.so.6      0x00007f04b65f0476 raise + 22
6  libc.so.6      0x00007f04b65d67f3 abort + 211
7  swift-frontend 0x0000558936d0a11e
8  swift-frontend 0x000055893cc0b149
9  swift-frontend 0x000055893920ceec
10 swift-frontend 0x000055893cacdb25
11 swift-frontend 0x0000558936e48f56
12 swift-frontend 0x0000558936e48794
13 swift-frontend 0x0000558936a73142
14 swift-frontend 0x0000558936a6ec88
15 swift-frontend 0x0000558936a6d997
16 swift-frontend 0x0000558936a702ba
17 swift-frontend 0x0000558936a6f713
18 swift-frontend 0x000055893684c86a
19 libc.so.6      0x00007f04b65d7d90
20 libc.so.6      0x00007f04b65d7e40 __libc_start_main + 128
21 swift-frontend 0x000055893684bcc5
BUILD FAILURE 6.1 wasm