Build Information
Failed to build swift-capstone, reference v7.0.0 (9f892f), with Swift 6.2 for Android on 24 Oct 2026 09:47:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build 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: android
Swift version: 6.2
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-54344846-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:9e4b64e17859f153444a8085b41803f96a8252f8f76139cd5e69e2540803aa5a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/MxIris-Reverse-Engineering/capstone
Fetching https://github.com/MxIris-DeveloperTool/swift-clang
[1/176] Fetching swift-clang
[177/49181] Fetching swift-clang, capstone
Fetched https://github.com/MxIris-DeveloperTool/swift-clang from cache (3.75s)
Fetched https://github.com/MxIris-Reverse-Engineering/capstone from cache (3.79s)
Computing version for https://github.com/MxIris-Reverse-Engineering/capstone
Computed https://github.com/MxIris-Reverse-Engineering/capstone at 6.0.101 (3.98s)
Computing version for https://github.com/MxIris-DeveloperTool/swift-clang
Computed https://github.com/MxIris-DeveloperTool/swift-clang at 0.3.0 (0.15s)
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
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
[1/1] Compiling plugin CapstoneEnumsGeneratePlugin
Building for debugging...
[1/133] Compiling Ccapstone MCRegisterInfo.c
[1/133] Write sources
[5/133] Compiling Cclang clang.c
[5/133] Write sources
[10/133] Compiling Cclang clang.c
[11/133] Write swift-version--11D90AFD9DD3AB2.txt
[12/133] Compiling Ccapstone SStream.c
[13/133] Compiling Ccapstone utils.c
[14/133] Compiling Ccapstone Mapping.c
[15/133] Compiling ARCDisassembler.c
[16/133] Compiling AArch64DisassemblerExtension.c
[17/139] Compiling AArch64BaseInfo.c
[18/139] Compiling XtensaModule.c
[19/139] Compiling Ccapstone cs.c
[20/139] Compiling XCoreModule.c
[21/139] Compiling XtensaInstPrinter.c
[22/139] Compiling XCoreMapping.c
[23/139] Compiling XCoreInstPrinter.c
[24/139] Compiling XtensaMapping.c
[25/139] Compiling X86Module.c
[26/139] Compiling XCoreDisassembler.c
[27/139] Compiling X86InstPrinterCommon.c
[28/139] Compiling X86IntelInstPrinter.c
[29/139] Compiling X86Disassembler.c
[30/139] Compiling XtensaDisassembler.c
[31/139] Compiling AArch64Disassembler.c
[32/139] Compiling X86ATTInstPrinter.c
[33/139] Compiling WASMMapping.c
[33/139] Compiling WASMInstPrinter.c
[35/139] Compiling WASMModule.c
[36/139] Compiling WASMDisassembler.c
[37/139] Compiling TriCoreModule.c
[38/139] Compiling TriCoreInstPrinter.c
[39/139] Compiling TriCoreMapping.c
[40/139] Compiling TMS320C64xMapping.c
[41/139] Compiling TriCoreDisassembler.c
[42/139] Compiling X86Mapping.c
[43/139] Compiling TMS320C64xModule.c
[44/139] Compiling SystemZModule.c
[45/139] Compiling TMS320C64xInstPrinter.c
[46/139] Compiling TMS320C64xDisassembler.c
[47/139] Compiling X86DisassemblerDecoder.c
[48/139] Compiling SystemZDisassemblerExtension.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/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 | }
[50/139] Compiling SystemZInstPrinter.c
[51/139] Compiling SystemZMCTargetDesc.c
[52/139] Compiling SparcModule.c
[53/139] Compiling SparcDisassemblerExtension.c
[54/139] Compiling SparcMapping.c
[55/139] Compiling SHModule.c
[56/139] Compiling SparcInstPrinter.c
[57/139] Compiling SparcDisassembler.c
[58/139] Compiling SHInstPrinter.c
[59/139] Compiling RISCVModule.c
[60/139] Compiling SystemZMapping.c
[61/139] Compiling SHDisassembler.c
[62/139] Compiling RISCVDisassemblerExtension.c
[63/139] Compiling RISCVBaseInfo.c
[64/139] Compiling PPCModule.c
[65/139] Compiling RISCVInstPrinter.c
[66/139] Compiling SystemZDisassembler.c
[67/139] Compiling PPCInstPrinter.c
[68/139] Compiling MipsModule.c
[69/139] Compiling PPCMapping.c
[70/139] Compiling MipsInstPrinter.c
[71/139] Compiling PPCDisassembler.c
[72/139] Compiling RISCVDisassembler.c
[73/139] Compiling MOS65XXModule.c
[74/139] Compiling MipsMapping.c
[75/139] Compiling MOS65XXDisassembler.c
[76/139] Compiling M680XModule.c
[77/139] Compiling M68KModule.c
[78/139] Compiling M68KInstPrinter.c
[79/139] Compiling M680XInstPrinter.c
[80/139] Compiling RISCVMapping.c
[81/139] Compiling LoongArchModule.c
[82/139] Compiling M680XDisassembler.c
[83/139] Compiling LoongArchDisassemblerExtension.c
[84/139] Compiling LoongArchInstPrinter.c
[85/139] Compiling HPPAModule.c
[86/139] Compiling LoongArchDisassembler.c
[87/139] Compiling HPPAInstPrinter.c
[88/139] Compiling HPPAMapping.c
[89/139] Compiling LoongArchMapping.c
[90/139] Compiling EVMModule.c
[91/139] Compiling HPPADisassembler.c
[92/139] Compiling EVMInstPrinter.c
[93/139] Compiling EVMMapping.c
[94/139] Compiling EVMDisassembler.c
[95/139] Compiling BPFModule.c
[96/139] Compiling BPFMapping.c
[97/139] Compiling BPFInstPrinter.c
[98/139] Compiling AlphaModule.c
[99/139] Compiling BPFDisassembler.c
[100/139] Compiling MipsDisassembler.c
[101/139] Compiling AlphaInstPrinter.c
[102/139] Compiling M68KDisassembler.c
[103/139] Compiling AlphaDisassembler.c
[104/139] Compiling ARMModule.c
[105/139] Compiling ARMBaseInfo.c
[106/139] Compiling ARMDisassemblerExtension.c
[107/139] Compiling AlphaMapping.c
[108/139] Compiling ARCModule.c
[109/139] Compiling ARMInstPrinter.c
[110/139] Compiling ARCMapping.c
[111/139] Compiling ARCInstPrinter.c
[112/139] Compiling Ccapstone MCInstrDesc.c
[113/139] Compiling AArch64Module.c
[114/139] Compiling Ccapstone MCInstPrinter.c
[115/139] Write sources
[117/139] Compiling Ccapstone MCInst.c
[118/139] Compiling AArch64InstPrinter.c
[120/139] Compiling CclangWrapper library_wrapper_Clang_C.swift
[120/139] Compiling ARMMapping.c
[121/139] Compiling ARMDisassembler.c
[122/139] Compiling AArch64Mapping.c
[124/173] 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 |
[125/173] Compiling CclangWrapper library_wrapper.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 | }
/host/spi-builder-workspace/.build/checkouts/swift-clang/Sources/CclangWrapper/library_wrapper.swift:42:91: error: value of type 'String' has no member 'isFile'
40 |
41 | func load(path: String) -> DynamicLinkLibrary {
42 | let fullPaths = searchPaths.map { $0.appending(pathComponent: path) }.filter { $0.isFile }
| `- error: value of type 'String' has no member 'isFile'
43 |
44 | // try all fullPaths that contains target file,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[126/173] 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 |
BUILD FAILURE 6.2 android