The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-process-invocation, reference 1.3.0-beta.5.0.1 (3e4efd), with Swift 6.2 for Wasm on 22 Jan 2026 03:32:56 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/swift-process-invocation.git
Reference: 1.3.0-beta.5.0.1
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/xcode-actions/swift-process-invocation
 * tag               1.3.0-beta.5.0.1 -> FETCH_HEAD
HEAD is now at 3e4efde Fix some trivial warnings
Cloned https://github.com/xcode-actions/swift-process-invocation.git
Revision (git rev-parse @):
3e4efde516af4b01ab8a3da687541aad94523f3e
SUCCESS checkout https://github.com/xcode-actions/swift-process-invocation.git at 1.3.0-beta.5.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/xcode-actions/swift-process-invocation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:e45aebddbd3fb4404abe9276e0d450e6fc2ef4836b534e79623bcca11b80d266
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/Frizlab/stream-reader.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/xcode-actions/swift-signal-handling.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
[1/1051] Fetching stream-reader
[1052/1920] Fetching stream-reader, clt-logger
[1600/2484] Fetching stream-reader, clt-logger, swift-signal-handling
[2199/8295] Fetching stream-reader, clt-logger, swift-signal-handling, swift-log
[8296/13720] Fetching stream-reader, clt-logger, swift-signal-handling, swift-log, swift-system
[9164/13769] Fetching stream-reader, clt-logger, swift-signal-handling, swift-log, swift-system, unwraporthrow
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.53s)
[12195/12900] Fetching stream-reader, swift-signal-handling, swift-log, swift-system, unwraporthrow
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.85s)
Fetched https://github.com/apple/swift-log.git from cache (0.85s)
Fetched https://github.com/Frizlab/stream-reader.git from cache (0.85s)
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.86s)
[1/17113] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (0.87s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.12s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 1.0.0 (2.13s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (0.36s)
Computing version for https://github.com/xcode-actions/swift-signal-handling.git
Computed https://github.com/xcode-actions/swift-signal-handling.git at 1.1.4 (0.40s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.1.0 (0.46s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.53s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/xcode-actions/swift-signal-handling.git
Working copy of https://github.com/xcode-actions/swift-signal-handling.git resolved at 1.1.4
Creating working copy for https://github.com/Frizlab/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.9.1
Creating working copy for https://github.com/Frizlab/stream-reader.git
Working copy of https://github.com/Frizlab/stream-reader.git resolved at 3.6.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
Creating working copy for https://github.com/xcode-actions/clt-logger.git
Working copy of https://github.com/xcode-actions/clt-logger.git resolved at 1.0.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/33] Write sources
[13/33] Compiling CSystem shims.c
/host/spi-builder-workspace/Sources/CGNUSourceExports/exports.c:8:9: error: call to undeclared function 'execvpe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    8 |         return execvpe(file, argv, envp);
      |                ^
/host/spi-builder-workspace/Sources/CGNUSourceExports/exports.c:13:9: error: call to undeclared function 'ptsname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   13 |         return ptsname(fd);
      |                ^
/host/spi-builder-workspace/Sources/CGNUSourceExports/exports.c:13:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'char *' [-Wint-conversion]
   13 |         return ptsname(fd);
      |                ^~~~~~~~~~~
3 errors generated.
[14/33] Compiling CGNUSourceExports exports.c
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:8:9: error: call to undeclared function 'posix_openpt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    8 |         return posix_openpt(fd);
      |                ^
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:12:9: error: call to undeclared function 'grantpt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   12 |         return grantpt(fd);
      |                ^
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:16:9: error: call to undeclared function 'unlockpt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   16 |         return unlockpt(fd);
      |                ^
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:20:9: error: call to undeclared function 'ptsname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   20 |         return ptsname(fd);
      |                ^
/host/spi-builder-workspace/Sources/CGNUSourceExportsForTests/exports_for_tests.c:20:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'char *' [-Wint-conversion]
   20 |         return ptsname(fd);
      |                ^~~~~~~~~~~
5 errors generated.
[14/33] Compiling CGNUSourceExportsForTests exports_for_tests.c
In file included from /host/spi-builder-workspace/Sources/CMacroExports/exports.c:4:
/host/spi-builder-workspace/Sources/CMacroExports/include/exports.h:10:37: warning: declaration of 'struct cmsghdr' will not be visible outside of this function [-Wvisibility]
   10 | unsigned char *SPI_CMSG_DATA(struct cmsghdr *cmsg);
      |                                     ^
/host/spi-builder-workspace/Sources/CMacroExports/exports.c:9:9: error: call to undeclared function 'CMSG_LEN'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    9 |         return CMSG_LEN(s);
      |                ^
/host/spi-builder-workspace/Sources/CMacroExports/exports.c:13:9: error: call to undeclared function 'CMSG_SPACE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   13 |         return CMSG_SPACE(s);
      |                ^
/host/spi-builder-workspace/Sources/CMacroExports/exports.c:17:16: error: conflicting types for 'SPI_CMSG_DATA'
   17 | unsigned char *SPI_CMSG_DATA(struct cmsghdr *cmsg) {
      |                ^
/host/spi-builder-workspace/Sources/CMacroExports/include/exports.h:10:16: note: previous declaration is here
   10 | unsigned char *SPI_CMSG_DATA(struct cmsghdr *cmsg);
      |                ^
/host/spi-builder-workspace/Sources/CMacroExports/exports.c:18:9: error: call to undeclared function 'CMSG_DATA'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   18 |         return CMSG_DATA(cmsg);
      |                ^
/host/spi-builder-workspace/Sources/CMacroExports/exports.c:18:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'unsigned char *' [-Wint-conversion]
   18 |         return CMSG_DATA(cmsg);
      |                ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CMacroExports/exports.c:22:9: error: call to undeclared function 'CMSG_FIRSTHDR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   22 |         return CMSG_FIRSTHDR(msgh);
      |                ^
/host/spi-builder-workspace/Sources/CMacroExports/exports.c:22:9: note: did you mean 'SPI_CMSG_FIRSTHDR'?
/host/spi-builder-workspace/Sources/CMacroExports/exports.c:21:17: note: 'SPI_CMSG_FIRSTHDR' declared here
   21 | struct cmsghdr *SPI_CMSG_FIRSTHDR(struct msghdr *msgh) {
      |                 ^
   22 |         return CMSG_FIRSTHDR(msgh);
      |                ~~~~~~~~~~~~~
      |                SPI_CMSG_FIRSTHDR
/host/spi-builder-workspace/Sources/CMacroExports/exports.c:22:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'struct cmsghdr *' [-Wint-conversion]
   22 |         return CMSG_FIRSTHDR(msgh);
      |                ^~~~~~~~~~~~~~~~~~~
1 warning and 7 errors generated.
[14/33] Compiling CMacroExports exports.c
[14/33] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm