The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-process-invocation, reference main (984ae1), with Swift 6.2 for Wasm on 22 Jun 2025 04:11:42 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/swift-process-invocation.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 984ae12 Add a License to the project
Cloned https://github.com/xcode-actions/swift-process-invocation.git
Revision (git rev-parse @):
984ae12e0753ab9f8bdb7a8d21d4972d5c8ecadf
SUCCESS checkout https://github.com/xcode-actions/swift-process-invocation.git at main
========================================
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" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/xcode-actions/stream-reader.git
Fetching https://github.com/xcode-actions/swift-signal-handling.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
[1/1051] Fetching stream-reader
[1052/1839] Fetching stream-reader, clt-logger
[1470/1870] Fetching stream-reader, clt-logger, unwraporthrow
[1501/2386] Fetching stream-reader, clt-logger, unwraporthrow, swift-signal-handling
[2025/6222] Fetching stream-reader, clt-logger, unwraporthrow, swift-signal-handling, swift-log
[2634/10658] Fetching stream-reader, clt-logger, unwraporthrow, swift-signal-handling, swift-log, swift-system
Fetched https://github.com/xcode-actions/stream-reader.git from cache (0.35s)
[4314/9607] Fetching clt-logger, unwraporthrow, swift-signal-handling, swift-log, swift-system
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.51s)
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.59s)
Fetched https://github.com/apple/swift-system.git from cache (0.59s)
Fetched https://github.com/apple/swift-log.git from cache (0.60s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.61s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.00s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (1.79s)
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.3 (0.44s)
Computing version for https://github.com/xcode-actions/stream-reader.git
Computed https://github.com/xcode-actions/stream-reader.git at 3.6.1 (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.46s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.46s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 1.0.0-rc.1 (0.67s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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.5.1
Creating working copy for https://github.com/xcode-actions/stream-reader.git
Working copy of https://github.com/xcode-actions/stream-reader.git resolved at 3.6.1
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.3
Creating working copy for https://github.com/Frizlab/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.0.1
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-rc.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling CSystem shims.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.
[13/32] Compiling CGNUSourceExportsForTests exports_for_tests.c
[13/32] Compiling CGNUSourceExports exports.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.
[13/32] Compiling CMacroExports exports.c
[13/32] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm