The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftyESBuild, reference main (ba86ab), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 17:51:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/tuist/SwiftyESBuild.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/tuist/SwiftyESBuild
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ba86abe Update dependency swift-server/async-http-client to from: "1.23.0"
Cloned https://github.com/tuist/SwiftyESBuild.git
Revision (git rev-parse @):
ba86abefb8e6bd538cbbedf118ae0bf898a85ded
SUCCESS checkout https://github.com/tuist/SwiftyESBuild.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tuist/SwiftyESBuild.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
[231/8937] Fetching swift-docc-plugin, swift-tools-support-core
[4639/12773] Fetching swift-docc-plugin, swift-tools-support-core, swift-log
[12029/26787] Fetching swift-docc-plugin, swift-tools-support-core, swift-log, async-http-client
Fetched https://github.com/apple/swift-docc-plugin from cache (0.92s)
[19520/24705] Fetching swift-tools-support-core, swift-log, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (0.95s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.95s)
[10931/14014] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.53s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.6.1 (4.40s)
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.75s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.23.1 (1.27s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
[1/5942] Fetching swift-nio-extras
[61/7739] Fetching swift-nio-extras, swift-atomics
[1784/13698] Fetching swift-nio-extras, swift-atomics, swift-algorithms
[4580/25230] Fetching swift-nio-extras, swift-atomics, swift-algorithms, swift-nio-http2
[12585/40120] Fetching swift-nio-extras, swift-atomics, swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (0.70s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.70s)
[10548/32381] Fetching swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.73s)
[5151/26422] Fetching swift-nio-http2, swift-nio-ssl
[21808/102755] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.61s)
[24050/91223] Fetching swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.33s)
[49617/76333] Fetching swift-nio
[50381/79000] Fetching swift-nio, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.44s)
[54197/76333] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.67s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (7.14s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.25s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.61s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.59s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.61s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.76s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.85s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.93s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.19s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.68s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.80s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (4.16s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (1.25s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/904] Fetching swift-http-types
[246/2073] Fetching swift-http-types, swift-http-structured-headers
[312/3689] Fetching swift-http-types, swift-http-structured-headers, swift-asn1
[1646/6115] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[4201/11100] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-async-algorithms
[9955/17284] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.61s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.62s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.63s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.63s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.63s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.67s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.31s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.76s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.07s)
Fetching https://github.com/apple/swift-crypto.git
[1/15419] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.07s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.68s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.63s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.43s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.47s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.52s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.23.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.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.5.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.32.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.6.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/449] Write sources
[24/449] Compiling TSCclibc libc.c
[24/449] Compiling CSystem shims.c
[26/449] Compiling CNIOWASI CNIOWASI.c
[27/449] Write sources
[30/449] Compiling CNIOWindows WSAStartup.c
[31/449] Compiling CNIOWindows shim.c
[32/449] Compiling CNIOLinux shim.c
[33/449] Compiling _NumericsShims _NumericsShims.c
[34/449] Compiling _AtomicsShims.c
[35/449] Compiling CNIOLinux liburing_shims.c
[36/449] Compiling CNIOExtrasZlib empty.c
[37/449] Compiling CNIOLLHTTP c_nio_http.c
[38/449] Write swift-version-24593BA9C3E375BF.txt
[39/449] Compiling TSCclibc process.c
[40/449] Compiling CNIODarwin shim.c
[41/449] Compiling fiat_p256_adx_mul.S
[42/449] Compiling fiat_p256_adx_sqr.S
[43/449] Compiling CNIOLLHTTP c_nio_api.c
[44/453] Compiling fiat_curve25519_adx_square.S
[45/500] Compiling CNIOBoringSSLShims shims.c
[46/514] Compiling CNIOLLHTTP c_nio_llhttp.c
[47/514] Compiling fiat_curve25519_adx_mul.S
[48/514] Compiling tls_record.cc
[50/514] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[51/514] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[52/514] Compiling SystemPackage MachPort.swift
[53/514] Compiling SystemPackage PlatformString.swift
[54/514] Compiling SystemPackage SystemString.swift
[55/518] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/518] Compiling InternalCollectionsUtilities Integer rank.swift
[57/518] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[58/518] Compiling InternalCollectionsUtilities UInt+reversed.swift
[59/518] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[60/518] Compiling RealModule Real.swift
[61/519] Emitting module InternalCollectionsUtilities
[66/519] Compiling RealModule RealFunctions.swift
[67/519] Compiling RealModule ElementaryFunctions.swift
[68/519] Compiling RealModule Float80+Real.swift
[69/519] Compiling InternalCollectionsUtilities Descriptions.swift
[70/519] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[71/519] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[72/519] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[73/519] Compiling InternalCollectionsUtilities _SortedCollection.swift
[74/519] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[75/519] Compiling InternalCollectionsUtilities Debugging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[76/519] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:19:19: error: no such module 'Darwin.C'
 17 | @_exported import WinSDK
 18 | #else
 19 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 20 | #endif
 21 |
[77/519] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:19:19: error: no such module 'Darwin.C'
 17 | @_exported import WinSDK
 18 | #else
 19 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 20 | #endif
 21 |
[78/519] Compiling RealModule Float+Real.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
[79/519] Compiling RealModule Float16+Real.swift
[80/519] Emitting module _NIODataStructures
[81/519] Compiling Logging Locks.swift
[82/519] Emitting module Logging
[82/519] Compiling tls_method.cc
[83/519] Emitting module RealModule
[84/519] Emitting module _NIOBase64
BUILD FAILURE 6.2 wasm