The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-sh, reference 3.4.0 (d2d2ed), with Swift 6.2 for Wasm on 26 Mar 2026 08:08:27 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/swift-sh.git
Reference: 3.4.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/xcode-actions/swift-sh
 * tag               3.4.0      -> FETCH_HEAD
HEAD is now at d2d2ed3 Fix missing Swift output in error when parsing REPL args fails
Cloned https://github.com/xcode-actions/swift-sh.git
Revision (git rev-parse @):
d2d2ed30de40714792332825579aee953ef59168
SUCCESS checkout https://github.com/xcode-actions/swift-sh.git at 3.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/xcode-actions/swift-sh.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:de1420b02d93a9deec3e168cca69275e06e27da7632503e71651af6daad007b1
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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/UnwrapOrThrow.git
Fetching https://github.com/mxcl/Version.git
Fetching https://github.com/xcode-actions/swift-process-invocation.git
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/Frizlab/swift-xdg.git
[1/596] Fetching swift-process-invocation
[520/774] Fetching swift-process-invocation, legibleerror
[775/823] Fetching swift-process-invocation, legibleerror, unwraporthrow
[824/1116] Fetching swift-process-invocation, legibleerror, unwraporthrow, version
Fetched https://github.com/xcode-actions/swift-process-invocation.git from cache (0.46s)
[263/520] Fetching legibleerror, unwraporthrow, version
Fetching https://github.com/Frizlab/stream-reader.git
[521/752] Fetching legibleerror, unwraporthrow, version, swift-xdg
[753/1621] Fetching legibleerror, unwraporthrow, version, swift-xdg, clt-logger
Fetched https://github.com/mxcl/Version.git from cache (0.58s)
[1016/1328] Fetching legibleerror, unwraporthrow, swift-xdg, clt-logger
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.59s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/Frizlab/InlineObjectConfig.git
Fetched https://github.com/Frizlab/swift-xdg.git from cache (0.58s)
Fetching https://github.com/apple/swift-log.git
[743/1047] Fetching legibleerror, clt-logger
[770/2098] Fetching legibleerror, clt-logger, stream-reader
[2099/7699] Fetching legibleerror, clt-logger, stream-reader, swift-system
Fetched https://github.com/Frizlab/stream-reader.git from cache (0.56s)
[1552/6648] Fetching legibleerror, clt-logger, swift-system
Fetched https://github.com/mxcl/LegibleError.git from cache (1.07s)
[1766/6470] Fetching clt-logger, swift-system
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/xcode-actions/clt-logger.git from cache (1.08s)
[1289/5601] Fetching swift-system
[1850/11847] Fetching swift-system, swift-log
[1851/11854] Fetching swift-system, swift-log, inlineobjectconfig
Fetched https://github.com/Frizlab/InlineObjectConfig.git from cache (0.57s)
[3831/11847] Fetching swift-system, swift-log
Fetched https://github.com/apple/swift-system.git from cache (0.87s)
[1/17276] Fetching swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (1.05s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/apple/swift-crypto.git from cache (3.09s)
[1/17440] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.36s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 1.0.0 (6.33s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.1.0 (3.71s)
Computing version for https://github.com/Frizlab/swift-xdg.git
Computed https://github.com/Frizlab/swift-xdg.git at 2.0.1 (0.69s)
Computing version for https://github.com/Frizlab/InlineObjectConfig.git
Computed https://github.com/Frizlab/InlineObjectConfig.git at 1.0.0 (0.69s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (0.65s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 2.2.0 (0.66s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.61s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.65s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.77s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.74s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.0 (4.91s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.54s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (1.24s)
Computing version for https://github.com/xcode-actions/swift-process-invocation.git
Computed https://github.com/xcode-actions/swift-process-invocation.git at 1.3.0-beta.5.0.1 (0.92s)
Fetching https://github.com/xcode-actions/swift-signal-handling.git
[1/564] Fetching swift-signal-handling
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.41s)
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 (1.07s)
Creating working copy for https://github.com/Frizlab/swift-xdg.git
Working copy of https://github.com/Frizlab/swift-xdg.git resolved at 2.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
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/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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.0
Creating working copy for https://github.com/Frizlab/InlineObjectConfig.git
Working copy of https://github.com/Frizlab/InlineObjectConfig.git resolved at 1.0.0
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 2.2.0
Creating working copy for https://github.com/xcode-actions/swift-process-invocation.git
Working copy of https://github.com/xcode-actions/swift-process-invocation.git resolved at 1.3.0-beta.5.0.1
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/417] Write sources
[20/417] Compiling SimpleFIPS202.c
[21/417] Compiling KeccakSponge.c
[22/417] Compiling CXKCPShims shims.c
[23/417] Compiling KeccakHash.c
[24/417] Compiling CSystem shims.c
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/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/.build/checkouts/swift-process-invocation/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/.build/checkouts/swift-process-invocation/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/.build/checkouts/swift-process-invocation/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/.build/checkouts/swift-process-invocation/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/.build/checkouts/swift-process-invocation/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/.build/checkouts/swift-process-invocation/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/.build/checkouts/swift-process-invocation/Sources/CMacroExports/exports.c:22:9: note: did you mean 'SPI_CMSG_FIRSTHDR'?
/host/spi-builder-workspace/.build/checkouts/swift-process-invocation/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/.build/checkouts/swift-process-invocation/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);
      |                ^~~~~~~~~~~~~~~~~~~
7 errors generated.
[25/417] Compiling CMacroExports exports.c
[25/417] Compiling a_bool.cc
[25/417] Compiling CCryptoBoringSSLShims shims.c
[25/417] Compiling KeccakP-1600-opt64.c
[25/417] Compiling aes.cc
[25/417] Compiling a_bitstr.cc
[25/417] Compiling CGNUSourceExports exports.c
[25/417] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm