The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-sh, reference 3.6.0 (fb4b86), with Swift 6.2 for Wasm on 28 Sep 2026 11:12:00 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-things/swift-sh.git
Reference: 3.6.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/swift-things/swift-sh
 * tag               3.6.0      -> FETCH_HEAD
HEAD is now at fb4b86f Merge branch 'feat/frizlab/better_swift_versions' into develop
Cloned https://github.com/swift-things/swift-sh.git
Revision (git rev-parse @):
fb4b86f679abfe855e9bdcfcaa4549c4fdd46b58
SUCCESS checkout https://github.com/swift-things/swift-sh.git at 3.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swift-things/swift-sh.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/mxcl/Version.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/xcode-actions/swift-process-invocation.git
Fetching https://github.com/Frizlab/swift-xdg.git
[1/179] Fetching legibleerror
[28/228] Fetching legibleerror, unwraporthrow
[160/460] Fetching legibleerror, unwraporthrow, swift-xdg
[406/1329] Fetching legibleerror, unwraporthrow, swift-xdg, clt-logger
[1009/1925] Fetching legibleerror, unwraporthrow, swift-xdg, clt-logger, swift-process-invocation
Fetched https://github.com/xcode-actions/swift-process-invocation.git from cache (0.51s)
Fetching https://github.com/Frizlab/stream-reader.git
[1060/1329] Fetching legibleerror, unwraporthrow, swift-xdg, clt-logger
Fetched https://github.com/mxcl/LegibleError.git from cache (0.56s)
Fetching https://github.com/Frizlab/InlineObjectConfig.git
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.56s)
Fetching https://github.com/apple/swift-log.git
[1/311] Fetching version
Fetched https://github.com/Frizlab/swift-xdg.git from cache (0.81s)
Fetched https://github.com/mxcl/Version.git from cache (0.81s)
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.81s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1058] Fetching stream-reader
Fetched https://github.com/Frizlab/stream-reader.git from cache (0.41s)
[1/27] Fetching inlineobjectconfig
Fetched https://github.com/Frizlab/InlineObjectConfig.git from cache (0.43s)
[1/8165] Fetching swift-log
[491/26727] Fetching swift-log, swift-crypto
[8723/45675] Fetching swift-log, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (0.81s)
[2062/37510] Fetching swift-crypto, swift-argument-parser
[4902/44496] Fetching swift-crypto, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.84s)
[10699/25548] Fetching swift-crypto, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.37s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.38s)
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.37s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.1.0 (1.02s)
Computing version for https://github.com/Frizlab/swift-xdg.git
Computed https://github.com/Frizlab/swift-xdg.git at 2.0.1 (0.20s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (0.16s)
Computing version for https://github.com/Frizlab/InlineObjectConfig.git
Computed https://github.com/Frizlab/InlineObjectConfig.git at 1.2.1 (0.20s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 2.2.1 (0.21s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.20s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.19s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.16s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.19s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.22s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.51s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.70s)
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.25s)
Fetching https://github.com/xcode-actions/swift-signal-handling.git
[1/572] Fetching swift-signal-handling
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.45s)
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.61s)
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/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.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.8.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
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.7.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 2.2.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/Frizlab/InlineObjectConfig.git
Working copy of https://github.com/Frizlab/InlineObjectConfig.git resolved at 1.2.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/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/swift-xdg.git
Working copy of https://github.com/Frizlab/swift-xdg.git resolved at 2.0.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/417] Write sources
[18/417] Compiling CXKCPShims shims.c
[19/417] Compiling SimpleFIPS202.c
[20/417] Write swift-version-24593BA9C3E375BF.txt
[21/417] Compiling KeccakSponge.c
[22/426] Compiling x_spki.cc
[23/426] Compiling x509_vfy.cc
[24/426] Compiling x509name.cc
[25/426] Compiling x509_v3.cc
[26/426] Compiling x509cset.cc
[27/426] Compiling x509_vpm.cc
[28/448] Compiling KeccakHash.c
[29/448] Compiling CSystem shims.c
[31/488] Emitting module LegibleError
[32/488] Compiling Logging LoggingSystem.swift
[33/489] Compiling SystemPackage IOCompletion.swift
[34/489] Compiling SystemPackage IORequest.swift
[35/489] Compiling SystemPackage IORing+Util.swift
[36/489] Compiling SystemPackage IORing.swift
[37/489] Compiling SystemPackage RawIORequest.swift
[38/494] Compiling Version Version+Range.swift
[39/494] Compiling Version Version.swift
[40/494] Emitting module SystemPackage
[41/494] Compiling SystemPackage FilePathComponentView.swift
[42/494] Compiling SystemPackage FilePathComponents.swift
[43/494] Compiling SystemPackage FilePathParsing.swift
[44/494] Compiling SystemPackage FilePathString.swift
[45/494] Compiling SystemPackage FilePathSyntax.swift
[46/494] Compiling SystemPackage Errno.swift
[47/494] Compiling SystemPackage ErrnoWindows.swift
[48/494] Compiling SystemPackage FileDescriptor.swift
[49/494] Compiling SystemPackage FileHelpers.swift
[50/494] Compiling SystemPackage FileOperations.swift
[51/494] Compiling SystemPackage FilePath.swift
[54/494] Compiling Logging Logger.swift
[55/494] Compiling Logging Logger+Attributes.swift
[56/494] Compiling Logging Logger+With.swift
[57/494] Compiling Logging MetadataProvider.swift
[60/494] Compiling SystemPackage Backcompat.swift
[61/494] Compiling SystemPackage CInterop.swift
[62/494] Compiling SystemPackage Constants.swift
[63/494] Compiling SystemPackage Exports.swift
[64/494] Compiling SystemPackage Mocking.swift
[65/494] Compiling SystemPackage RawBuffer.swift
[66/494] Compiling SystemPackage Syscalls.swift
[67/494] Compiling SystemPackage WindowsSyscallAdapters.swift
[68/494] Compiling SystemPackage MachPort.swift
[69/494] Compiling SystemPackage PlatformString.swift
[70/494] Compiling SystemPackage FileFlags.swift
[71/494] Compiling SystemPackage FileMode.swift
[72/494] Compiling SystemPackage FileType.swift
[73/494] Compiling SystemPackage Identifiers.swift
[74/494] Compiling SystemPackage Stat.swift
[75/494] Compiling SystemPackage FilePathTemp.swift
[76/494] Compiling SystemPackage FilePathTempPosix.swift
[77/494] Compiling SystemPackage FilePathTempWindows.swift
[78/494] Compiling SystemPackage FilePathWindows.swift
[79/494] Compiling SystemPackage FilePermissions.swift
[82/494] Emitting module Logging
[84/495] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[85/495] Compiling StreamReader InputStreamReader.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[86/495] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:63:45: error: cannot find 'object_getClassName' in scope
61 |         let foo: Any = self
62 |         let nativeClassNames = ["_SwiftNativeNSError", "__SwiftNativeNSError"]
63 |         let selfClassName = String(cString: object_getClassName(self))
   |                                             `- error: cannot find 'object_getClassName' in scope
64 |         let isNSError = !nativeClassNames.contains(selfClassName) && foo is NSObject
65 |         // ^^ ∵ otherwise implicit bridging implicitly casts as for other tests
[89/495] Emitting module StreamReader
/host/spi-builder-workspace/.build/checkouts/stream-reader/Sources/StreamReader/Conveniences/URLSessionStreamTaskReader.swift:16:1: error: non-nominal type 'URLSessionStreamTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 |
15 | @available(macOS 10.11, *)
16 | extension URLSessionStreamTask : GenericReadStream {
   | `- error: non-nominal type 'URLSessionStreamTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
17 |
18 | 	public func read(_ buffer: UnsafeMutableRawPointer, maxLength len: Int) throws -> Int {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/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.
[89/496] Compiling CMacroExports exports.c
[89/496] Compiling KeccakP-1600-opt64.c
[90/496] Compiling Version Version+Comparable.swift
[91/496] Compiling Version Version+Codable.swift
[92/496] Emitting module InlineObjectConfig
[93/496] Compiling InlineObjectConfig InlineObjectConfig.swift
[94/496] Emitting module UnwrapOrThrow
[95/496] Emitting module Version
BUILD FAILURE 6.2 wasm