The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-clang, reference 0.3.0 (89195b), with Swift 6.2 for Wasm on 24 Jun 2026 21:30:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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 swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4071e0796c748d991a0123890d2f0ecadc8fcc8c
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MxIris-DeveloperTool/swift-clang.git
Reference: 0.3.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/MxIris-DeveloperTool/swift-clang
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 89195b5 refactor: introduce FunctionLikeCursor protocol and expand ObjC cursor APIs
Cloned https://github.com/MxIris-DeveloperTool/swift-clang.git
Revision (git rev-parse @):
89195b5191f6678da7e782cec24f2cbc8d75cf79
SUCCESS checkout https://github.com/MxIris-DeveloperTool/swift-clang.git at 0.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MxIris-DeveloperTool/swift-clang.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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 swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:7f35f7a63421c3ef050c9375efcbb60196c0ee099fe4e9f14f3ceef5fa7b1aa5
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Building for debugging...
[0/4] Write sources
[2/4] Compiling Cclang clang.c
[2/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module CclangWrapper
/host/spi-builder-workspace/Sources/CclangWrapper/library_wrapper_Clang_C.swift:6:8: error: no such module 'Darwin'
  4 | import WinSDK
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
<module-includes>:8:10: note: in file included from <module-includes>:8:
 6 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/CXSourceLocation.h"
 7 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/CXString.h"
 8 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/Documentation.h"
   |          `- note: in file included from <module-includes>:8:
 9 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/ExternC.h"
10 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/FatalErrorHandler.h"
/host/spi-builder-workspace/Sources/Cclang/include/clang-c/Documentation.h:20:10: note: in file included from /host/spi-builder-workspace/Sources/Cclang/include/clang-c/Documentation.h:20:
 18 | #include "clang-c/CXErrorCode.h"
 19 | #include "clang-c/ExternC.h"
 20 | #include "clang-c/Index.h"
    |          `- note: in file included from /host/spi-builder-workspace/Sources/Cclang/include/clang-c/Documentation.h:20:
 21 |
 22 | LLVM_CLANG_C_EXTERN_C_BEGIN
[6/7] Compiling CclangWrapper library_wrapper_Clang_C.swift
/host/spi-builder-workspace/Sources/CclangWrapper/library_wrapper_Clang_C.swift:6:8: error: no such module 'Darwin'
  4 | import WinSDK
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
<module-includes>:8:10: note: in file included from <module-includes>:8:
 6 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/CXSourceLocation.h"
 7 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/CXString.h"
 8 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/Documentation.h"
   |          `- note: in file included from <module-includes>:8:
 9 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/ExternC.h"
10 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/FatalErrorHandler.h"
/host/spi-builder-workspace/Sources/Cclang/include/clang-c/Documentation.h:20:10: note: in file included from /host/spi-builder-workspace/Sources/Cclang/include/clang-c/Documentation.h:20:
 18 | #include "clang-c/CXErrorCode.h"
 19 | #include "clang-c/ExternC.h"
 20 | #include "clang-c/Index.h"
    |          `- note: in file included from /host/spi-builder-workspace/Sources/Cclang/include/clang-c/Documentation.h:20:
 21 |
 22 | LLVM_CLANG_C_EXTERN_C_BEGIN
[7/7] Compiling CclangWrapper library_wrapper.swift
/host/spi-builder-workspace/Sources/CclangWrapper/library_wrapper_Clang_C.swift:6:8: error: no such module 'Darwin'
  4 | import WinSDK
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
<module-includes>:8:10: note: in file included from <module-includes>:8:
 6 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/CXSourceLocation.h"
 7 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/CXString.h"
 8 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/Documentation.h"
   |          `- note: in file included from <module-includes>:8:
 9 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/ExternC.h"
10 | #include "/host/spi-builder-workspace/Sources/Cclang/include/clang-c/FatalErrorHandler.h"
/host/spi-builder-workspace/Sources/Cclang/include/clang-c/Documentation.h:20:10: note: in file included from /host/spi-builder-workspace/Sources/Cclang/include/clang-c/Documentation.h:20:
 18 | #include "clang-c/CXErrorCode.h"
 19 | #include "clang-c/ExternC.h"
 20 | #include "clang-c/Index.h"
    |          `- note: in file included from /host/spi-builder-workspace/Sources/Cclang/include/clang-c/Documentation.h:20:
 21 |
 22 | LLVM_CLANG_C_EXTERN_C_BEGIN
BUILD FAILURE 6.2 wasm