The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-capstone, reference v7.0.0 (9f892f), with Swift 6.3 for Wasm on 24 Oct 2026 09:47:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MxIris-Reverse-Engineering/swift-capstone.git
Reference: v7.0.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-Reverse-Engineering/swift-capstone
 * tag               v7.0.0     -> FETCH_HEAD
HEAD is now at 9f892f0 build: require capstone 6.0.101, drop the workaround it makes unnecessary
Cloned https://github.com/MxIris-Reverse-Engineering/swift-capstone.git
Revision (git rev-parse @):
9f892f09452e92f3d5943a7a656299d24ec19c63
SUCCESS checkout https://github.com/MxIris-Reverse-Engineering/swift-capstone.git at v7.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/MxIris-Reverse-Engineering/swift-capstone.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:eea66feda95ad8894091082dbcb77ec1fc917891d37888fd1938b0b68455d992
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/MxIris-Reverse-Engineering/capstone
Fetching https://github.com/MxIris-DeveloperTool/swift-clang
[1/176] Fetching swift-clang
Fetched https://github.com/MxIris-DeveloperTool/swift-clang from cache (0.39s)
[1/49005] Fetching capstone
Fetched https://github.com/MxIris-Reverse-Engineering/capstone from cache (4.04s)
Computing version for https://github.com/MxIris-Reverse-Engineering/capstone
Computed https://github.com/MxIris-Reverse-Engineering/capstone at 6.0.101 (4.22s)
Computing version for https://github.com/MxIris-DeveloperTool/swift-clang
Computed https://github.com/MxIris-DeveloperTool/swift-clang at 0.3.0 (0.12s)
Creating working copy for https://github.com/MxIris-Reverse-Engineering/capstone
Working copy of https://github.com/MxIris-Reverse-Engineering/capstone resolved at 6.0.101
Creating working copy for https://github.com/MxIris-DeveloperTool/swift-clang
Working copy of https://github.com/MxIris-DeveloperTool/swift-clang resolved at 0.3.0
[1/1] Compiling plugin CapstoneEnumsGeneratePlugin
Building for debugging...
[1/133] Write sources
[4/133] Compiling LoongArchDisassemblerExtension.c
[5/133] Compiling ARMBaseInfo.c
[6/133] Write sources
[8/133] Compiling Cclang clang.c
[9/133] Write sources
[11/133] Compiling Cclang clang.c
[12/133] Compiling Ccapstone MCRegisterInfo.c
[13/133] Compiling XtensaMapping.c
[13/133] Compiling XtensaModule.c
[15/133] Compiling XtensaInstPrinter.c
[16/133] Compiling XtensaDisassembler.c
[17/133] Compiling XCoreMapping.c
[17/133] Compiling XCoreModule.c
[19/133] Write swift-version-24593BA9C3E375BF.txt
[20/133] Compiling XCoreDisassembler.c
[21/133] Compiling XCoreInstPrinter.c
[22/133] Compiling X86Module.c
[23/133] Compiling X86Mapping.c
[24/139] Compiling X86IntelInstPrinter.c
[25/139] Compiling X86InstPrinterCommon.c
[26/139] Compiling Ccapstone utils.c
[27/139] Compiling Ccapstone Mapping.c
[28/139] Compiling X86DisassemblerDecoder.c
[29/139] Compiling X86Disassembler.c
[30/139] Compiling Ccapstone cs.c
[31/139] Compiling WASMModule.c
[32/139] Compiling X86ATTInstPrinter.c
[33/139] Compiling WASMMapping.c
[34/139] Compiling WASMDisassembler.c
[35/139] Compiling WASMInstPrinter.c
[36/139] Compiling TriCoreModule.c
[37/139] Compiling AArch64DisassemblerExtension.c
[38/139] Compiling TriCoreMapping.c
[39/139] Compiling TriCoreInstPrinter.c
[40/139] Compiling TMS320C64xModule.c
[40/139] Compiling TriCoreDisassembler.c
[42/139] Compiling TMS320C64xMapping.c
[43/139] Compiling TMS320C64xInstPrinter.c
[44/139] Compiling TMS320C64xDisassembler.c
[45/139] Compiling SystemZModule.c
[46/139] Compiling SystemZMapping.c
[46/139] Compiling SystemZMCTargetDesc.c
[48/139] Compiling SystemZDisassemblerExtension.c
[49/139] Compiling SystemZInstPrinter.c
[49/139] Compiling SparcModule.c
[49/139] Compiling SystemZDisassembler.c
[52/139] Compiling SparcMapping.c
[53/139] Compiling SparcDisassemblerExtension.c
[53/139] Compiling SparcInstPrinter.c
[53/139] Compiling SHModule.c
[56/139] Compiling SHInstPrinter.c
[57/139] Compiling SparcDisassembler.c
[58/139] Compiling SHDisassembler.c
[59/139] Compiling AArch64BaseInfo.c
[60/139] Compiling RISCVModule.c
[61/139] Compiling RISCVInstPrinter.c
[61/139] Compiling RISCVDisassembler.c
[61/139] Compiling RISCVDisassemblerExtension.c
[64/139] Compiling RISCVMapping.c
[65/139] Compiling RISCVBaseInfo.c
[66/139] Compiling PPCModule.c
[66/139] Compiling PPCInstPrinter.c
[68/139] Compiling PPCDisassembler.c
[69/139] Compiling MipsMapping.c
[70/139] Compiling MipsInstPrinter.c
[70/139] Compiling MipsModule.c
[71/139] Compiling MOS65XXModule.c
[73/139] Compiling MipsDisassembler.c
[74/139] Compiling MOS65XXDisassembler.c
[75/139] Compiling M68KModule.c
[76/139] Compiling M68KInstPrinter.c
[77/139] Compiling M68KDisassembler.c
[78/139] Compiling M680XInstPrinter.c
[79/139] Compiling LoongArchModule.c
[80/139] Compiling M680XModule.c
[81/139] Compiling LoongArchMapping.c
[82/139] Compiling LoongArchDisassembler.c
[82/139] Compiling LoongArchInstPrinter.c
[84/139] Compiling HPPAModule.c
[85/139] Compiling HPPAInstPrinter.c
[86/139] Compiling HPPAMapping.c
[86/139] Compiling HPPADisassembler.c
[88/139] Compiling EVMModule.c
[89/139] Compiling EVMDisassembler.c
[90/139] Compiling EVMInstPrinter.c
[91/139] Compiling PPCMapping.c
[92/139] Compiling EVMMapping.c
[93/139] Compiling BPFMapping.c
[94/139] Compiling BPFModule.c
[94/139] Compiling BPFDisassembler.c
[94/139] Compiling BPFInstPrinter.c
[94/139] Compiling AlphaModule.c
[98/139] Compiling AlphaMapping.c
[99/139] Compiling AlphaInstPrinter.c
[100/139] Compiling AlphaDisassembler.c
[101/139] Compiling M680XDisassembler.c
[102/139] Compiling ARMMapping.c
[103/139] Compiling ARMDisassemblerExtension.c
[104/139] Compiling ARMInstPrinter.c
[105/139] Compiling ARCMapping.c
[105/139] Compiling ARMDisassembler.c
[105/139] Compiling ARCModule.c
[108/139] Compiling ARCInstPrinter.c
[109/139] Compiling ARCDisassembler.c
[110/139] Compiling ARMModule.c
[111/139] Compiling Ccapstone MCInstrDesc.c
[112/139] Compiling AArch64Module.c
[113/139] Compiling Ccapstone SStream.c
[114/139] Write sources
[116/139] Compiling Ccapstone MCInstPrinter.c
[117/139] Compiling Ccapstone MCInst.c
[118/139] Compiling AArch64InstPrinter.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[120/139] Emitting module CclangWrapper
/host/spi-builder-workspace/.build/checkouts/swift-clang/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/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/CXSourceLocation.h"
 7 | #include "/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/CXString.h"
 8 | #include "/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/Documentation.h"
   |          `- note: in file included from <module-includes>:8:
 9 | #include "/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/ExternC.h"
10 | #include "/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/FatalErrorHandler.h"
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/Documentation.h:20:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/swift-clang/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/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/Documentation.h:20:
 21 |
 22 | LLVM_CLANG_C_EXTERN_C_BEGIN
[120/139] Compiling AArch64Disassembler.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[122/139] Emitting module CclangWrapper
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/CclangWrapper/library_wrapper.swift:91:30: error: cannot find 'Exec' in scope
 89 | /// If available, uses `swiftenv` to determine the user's active Swift root.
 90 | internal let linuxFindSwiftenvActiveLibPath: String? = {
 91 |     guard let swiftenvPath = Exec.run("/usr/bin/env", "which", "swiftenv", stderr: .discard).string else {
    |                              `- error: cannot find 'Exec' in scope
 92 |         return nil
 93 |     }
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/CclangWrapper/library_wrapper.swift:95:30: error: cannot find 'Exec' in scope
 93 |     }
 94 |
 95 |     guard let swiftenvRoot = Exec.run(swiftenvPath, "prefix").string else {
    |                              `- error: cannot find 'Exec' in scope
 96 |         return nil
 97 |     }
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/CclangWrapper/library_wrapper.swift:91:85: error: cannot infer contextual base in reference to member 'discard'
 89 | /// If available, uses `swiftenv` to determine the user's active Swift root.
 90 | internal let linuxFindSwiftenvActiveLibPath: String? = {
 91 |     guard let swiftenvPath = Exec.run("/usr/bin/env", "which", "swiftenv", stderr: .discard).string else {
    |                                                                                     `- error: cannot infer contextual base in reference to member 'discard'
 92 |         return nil
 93 |     }
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/CclangWrapper/library_wrapper.swift:105:27: error: cannot find 'Exec' in scope
103 | /// the `swift` binary on the path.
104 | internal let linuxFindSwiftInstallationLibPath: String? = {
105 |     guard let swiftPath = Exec.run("/usr/bin/env", "which", "swift", stderr: .discard).string else {
    |                           `- error: cannot find 'Exec' in scope
106 |         return nil
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/CclangWrapper/library_wrapper.swift:105:79: error: cannot infer contextual base in reference to member 'discard'
103 | /// the `swift` binary on the path.
104 | internal let linuxFindSwiftInstallationLibPath: String? = {
105 |     guard let swiftPath = Exec.run("/usr/bin/env", "which", "swift", stderr: .discard).string else {
    |                                                                               `- error: cannot infer contextual base in reference to member 'discard'
106 |         return nil
107 |     }
[122/139] Compiling AArch64Mapping.c
[124/173] Compiling Capstone SystemZEnums.swift
/host/spi-builder-workspace/Sources/Capstone/Utils.swift:53:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
51 | /// imports as a tuple, never reading past the array's end.
52 | internal func string<Characters>(fromCharacters characters: Characters) -> String {
53 |     withUnsafeBytes(of: characters) { bytes in
   |     |                               `- note: argument #1 in call to global function 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> String'
   |     `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
54 |         let length = unsafe bytes.firstIndex(of: 0) ?? bytes.count
55 |         return unsafe String(decoding: bytes[..<length], as: UTF8.self)
/host/spi-builder-workspace/Sources/Capstone/Utils.swift:62:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
60 | /// a tuple, never reading past the array's end.
61 | internal func elements<Element, Elements>(of array: Elements, count: Int, as _: Element.Type) -> [Element] {
62 |     withUnsafeBytes(of: array) { bytes in
   |     |                          `- note: argument #1 in call to global function 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> [Element]'
   |     `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 |         let capacity = bytes.count / MemoryLayout<Element>.stride
64 |         return (0 ..< min(max(count, 0), capacity)).map { index in
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[125/173] Compiling Capstone TMS320C64xEnums.swift
/host/spi-builder-workspace/Sources/Capstone/Utils.swift:53:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
51 | /// imports as a tuple, never reading past the array's end.
52 | internal func string<Characters>(fromCharacters characters: Characters) -> String {
53 |     withUnsafeBytes(of: characters) { bytes in
   |     |                               `- note: argument #1 in call to global function 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> String'
   |     `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
54 |         let length = unsafe bytes.firstIndex(of: 0) ?? bytes.count
55 |         return unsafe String(decoding: bytes[..<length], as: UTF8.self)
/host/spi-builder-workspace/Sources/Capstone/Utils.swift:62:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
60 | /// a tuple, never reading past the array's end.
61 | internal func elements<Element, Elements>(of array: Elements, count: Int, as _: Element.Type) -> [Element] {
62 |     withUnsafeBytes(of: array) { bytes in
   |     |                          `- note: argument #1 in call to global function 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> [Element]'
   |     `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 |         let capacity = bytes.count / MemoryLayout<Element>.stride
64 |         return (0 ..< min(max(count, 0), capacity)).map { index in
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[126/173] Compiling Capstone TricoreEnums.swift
/host/spi-builder-workspace/Sources/Capstone/Utils.swift:53:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
51 | /// imports as a tuple, never reading past the array's end.
52 | internal func string<Characters>(fromCharacters characters: Characters) -> String {
53 |     withUnsafeBytes(of: characters) { bytes in
   |     |                               `- note: argument #1 in call to global function 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> String'
   |     `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
54 |         let length = unsafe bytes.firstIndex(of: 0) ?? bytes.count
55 |         return unsafe String(decoding: bytes[..<length], as: UTF8.self)
/host/spi-builder-workspace/Sources/Capstone/Utils.swift:62:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
60 | /// a tuple, never reading past the array's end.
61 | internal func elements<Element, Elements>(of array: Elements, count: Int, as _: Element.Type) -> [Element] {
62 |     withUnsafeBytes(of: array) { bytes in
   |     |                          `- note: argument #1 in call to global function 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> [Element]'
   |     `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 |         let capacity = bytes.count / MemoryLayout<Element>.stride
64 |         return (0 ..< min(max(count, 0), capacity)).map { index in
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[127/173] Compiling Capstone Utils.swift
/host/spi-builder-workspace/Sources/Capstone/Utils.swift:53:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
51 | /// imports as a tuple, never reading past the array's end.
52 | internal func string<Characters>(fromCharacters characters: Characters) -> String {
53 |     withUnsafeBytes(of: characters) { bytes in
   |     |                               `- note: argument #1 in call to global function 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> String'
   |     `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
54 |         let length = unsafe bytes.firstIndex(of: 0) ?? bytes.count
55 |         return unsafe String(decoding: bytes[..<length], as: UTF8.self)
/host/spi-builder-workspace/Sources/Capstone/Utils.swift:62:5: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
60 | /// a tuple, never reading past the array's end.
61 | internal func elements<Element, Elements>(of array: Elements, count: Int, as _: Element.Type) -> [Element] {
62 |     withUnsafeBytes(of: array) { bytes in
   |     |                          `- note: argument #1 in call to global function 'withUnsafeBytes' has unsafe type '(UnsafeRawBufferPointer) -> [Element]'
   |     `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
63 |         let capacity = bytes.count / MemoryLayout<Element>.stride
64 |         return (0 ..< min(max(count, 0), capacity)).map { index in
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[128/177] Compiling CclangWrapper library_wrapper_Clang_C.swift
/host/spi-builder-workspace/.build/checkouts/swift-clang/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/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/CXSourceLocation.h"
 7 | #include "/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/CXString.h"
 8 | #include "/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/Documentation.h"
   |          `- note: in file included from <module-includes>:8:
 9 | #include "/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/ExternC.h"
10 | #include "/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/FatalErrorHandler.h"
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/Documentation.h:20:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/swift-clang/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/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/Documentation.h:20:
 21 |
 22 | LLVM_CLANG_C_EXTERN_C_BEGIN
[130/177] Compiling Capstone WasmEnums.swift
[131/177] Compiling Capstone X86Enums.swift
[132/177] Compiling Capstone XcoreEnums.swift
[133/177] Compiling Capstone XtensaEnums.swift
[134/177] Compiling Capstone EngineVersion.swift
[135/177] Compiling Capstone Error.swift
[136/177] Compiling Capstone EvmEnums.swift
[137/177] Compiling Capstone HppaEnums.swift
[138/177] Compiling Capstone InstructionView.swift
[139/177] Compiling CclangWrapper library_wrapper.swift
/host/spi-builder-workspace/.build/checkouts/swift-clang/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/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/CXSourceLocation.h"
 7 | #include "/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/CXString.h"
 8 | #include "/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/Documentation.h"
   |          `- note: in file included from <module-includes>:8:
 9 | #include "/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/ExternC.h"
10 | #include "/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/FatalErrorHandler.h"
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/Documentation.h:20:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/swift-clang/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/.build/checkouts/swift-clang/Sources/Cclang/include/clang-c/Documentation.h:20:
 21 |
 22 | LLVM_CLANG_C_EXTERN_C_BEGIN
[140/177] Compiling Capstone Access.swift
[141/177] Compiling Capstone AlphaEnums.swift
[142/177] Compiling Capstone ArcEnums.swift
[143/177] Compiling Capstone Architecture+Generated.swift
[144/177] Compiling Capstone Architecture.swift
[145/177] Compiling Capstone PpcEnums.swift
[146/177] Compiling Capstone RiscvEnums.swift
[147/177] Compiling Capstone ShEnums.swift
[148/177] Compiling Capstone SparcEnums.swift
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/CclangWrapper/library_wrapper.swift:91:30: error: cannot find 'Exec' in scope
 89 | /// If available, uses `swiftenv` to determine the user's active Swift root.
 90 | internal let linuxFindSwiftenvActiveLibPath: String? = {
 91 |     guard let swiftenvPath = Exec.run("/usr/bin/env", "which", "swiftenv", stderr: .discard).string else {
    |                              `- error: cannot find 'Exec' in scope
 92 |         return nil
 93 |     }
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/CclangWrapper/library_wrapper.swift:95:30: error: cannot find 'Exec' in scope
 93 |     }
 94 |
 95 |     guard let swiftenvRoot = Exec.run(swiftenvPath, "prefix").string else {
    |                              `- error: cannot find 'Exec' in scope
 96 |         return nil
 97 |     }
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/CclangWrapper/library_wrapper.swift:91:85: error: cannot infer contextual base in reference to member 'discard'
 89 | /// If available, uses `swiftenv` to determine the user's active Swift root.
 90 | internal let linuxFindSwiftenvActiveLibPath: String? = {
 91 |     guard let swiftenvPath = Exec.run("/usr/bin/env", "which", "swiftenv", stderr: .discard).string else {
    |                                                                                     `- error: cannot infer contextual base in reference to member 'discard'
 92 |         return nil
 93 |     }
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/CclangWrapper/library_wrapper.swift:105:27: error: cannot find 'Exec' in scope
103 | /// the `swift` binary on the path.
104 | internal let linuxFindSwiftInstallationLibPath: String? = {
105 |     guard let swiftPath = Exec.run("/usr/bin/env", "which", "swift", stderr: .discard).string else {
    |                           `- error: cannot find 'Exec' in scope
106 |         return nil
107 |     }
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/CclangWrapper/library_wrapper.swift:105:79: error: cannot infer contextual base in reference to member 'discard'
103 | /// the `swift` binary on the path.
104 | internal let linuxFindSwiftInstallationLibPath: String? = {
105 |     guard let swiftPath = Exec.run("/usr/bin/env", "which", "swift", stderr: .discard).string else {
    |                                                                               `- error: cannot infer contextual base in reference to member 'discard'
106 |         return nil
107 |     }
BUILD FAILURE 6.3 wasm