Build Information
Failed to build swift-capstone, reference main (33998b), with Swift 6.3 for Android on 4 Oct 2026 09:09:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MxIris-Reverse-Engineering/swift-capstone.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/MxIris-Reverse-Engineering/swift-capstone
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 33998b4 chore: remove the legacy XCTest LinuxMain entry point
Cloned https://github.com/MxIris-Reverse-Engineering/swift-capstone.git
Revision (git rev-parse @):
33998b4516d65fef2e0bb23876b2b04a91d47bfc
SUCCESS checkout https://github.com/MxIris-Reverse-Engineering/swift-capstone.git at main
========================================
Build
========================================
Selected platform: android
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-54344843-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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:8ca9e1e6d70fd53f5b05e4f64d92569d697563f7f457a1485802bc9eb2cd1382
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-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.40s)
[1/48870] Fetching capstone
Fetched https://github.com/MxIris-Reverse-Engineering/capstone from cache (4.89s)
Computing version for https://github.com/MxIris-Reverse-Engineering/capstone
Computed https://github.com/MxIris-Reverse-Engineering/capstone at 5.0.100 (5.20s)
Computing version for https://github.com/MxIris-DeveloperTool/swift-clang
Computed https://github.com/MxIris-DeveloperTool/swift-clang at 0.3.0 (0.25s)
Creating working copy for https://github.com/MxIris-Reverse-Engineering/capstone
Working copy of https://github.com/MxIris-Reverse-Engineering/capstone resolved at 5.0.100
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/104] Write sources
[4/104] Compiling AArch64Disassembler.c
[5/104] Compiling Cclang clang.c
[6/104] Write sources
[10/104] Compiling Ccapstone MCInstrDesc.c
[11/104] Compiling Cclang clang.c
[12/104] Compiling Ccapstone MCInst.c
[13/104] Compiling Ccapstone Mapping.c
[14/104] Compiling XCoreModule.c
[15/104] Compiling Ccapstone SStream.c
[16/104] Compiling Ccapstone MCRegisterInfo.c
[17/104] Write swift-version-272D24FF697CF451.txt
[18/104] Compiling XCoreInstPrinter.c
[19/104] Compiling Ccapstone utils.c
[20/104] Compiling X86Mapping.c
[21/105] Compiling X86Module.c
[22/105] Compiling XCoreDisassembler.c
[23/106] Compiling X86InstPrinterCommon.c
[24/106] Compiling XCoreMapping.c
[25/107] Compiling X86IntelInstPrinter.c
[26/107] Compiling X86Disassembler.c
[27/107] Compiling X86DisassemblerDecoder.c
[28/110] Compiling WASMMapping.c
[29/110] Compiling WASMModule.c
[30/110] Compiling WASMInstPrinter.c
[31/110] Compiling WASMDisassembler.c
[32/110] Compiling TriCoreDisassembler.c
[32/110] Compiling Ccapstone cs.c
[34/110] Compiling X86ATTInstPrinter.c
[35/110] Compiling TriCoreMapping.c
[36/110] Compiling TMS320C64xDisassembler.c
[37/110] Compiling TriCoreModule.c
[38/110] Compiling TMS320C64xMapping.c
[39/110] Compiling TriCoreInstPrinter.c
[39/110] Compiling TMS320C64xModule.c
[39/110] Compiling TMS320C64xInstPrinter.c
[42/110] Compiling SystemZMapping.c
[43/110] Compiling SystemZModule.c
[44/110] Compiling SystemZDisassembler.c
[45/110] Compiling SystemZMCTargetDesc.c
[46/110] Compiling SparcModule.c
[46/110] Compiling SystemZInstPrinter.c
[48/110] Compiling SparcMapping.c
[49/110] Compiling SparcDisassembler.c
[50/110] Compiling SparcInstPrinter.c
[51/110] Compiling SHInstPrinter.c
[52/110] Compiling SHModule.c
[53/110] Compiling RISCVMapping.c
[54/110] Compiling RISCVModule.c
[55/110] Compiling SHDisassembler.c
[56/110] Compiling RISCVInstPrinter.c
[57/110] Compiling RISCVDisassembler.c
[58/110] Compiling PPCInstPrinter.c
[59/110] Compiling PPCMapping.c
[60/110] Compiling PPCModule.c
[61/110] Compiling PPCDisassembler.c
[62/110] Compiling MipsInstPrinter.c
[63/110] Compiling M68KModule.c
[64/110] Compiling MOS65XXModule.c
[65/110] Compiling MipsModule.c
[66/110] Compiling MipsMapping.c
[67/110] Compiling MOS65XXDisassembler.c
[68/110] Compiling MipsDisassembler.c
[69/110] Compiling M68KInstPrinter.c
[70/110] Compiling M680XInstPrinter.c
[71/110] Compiling M68KDisassembler.c
[72/110] Compiling M680XModule.c
[73/110] Compiling M680XDisassembler.c
[74/110] Compiling EVMMapping.c
[75/110] Compiling BPFMapping.c
[76/110] Compiling BPFModule.c
[77/110] Compiling EVMModule.c
[78/110] Compiling EVMDisassembler.c
[79/110] Compiling EVMInstPrinter.c
[80/110] Compiling BPFInstPrinter.c
[81/110] Compiling ARMModule.c
[82/110] Compiling ARMInstPrinter.c
[82/110] Compiling AArch64Module.c
[84/110] Compiling ARMMapping.c
[85/110] Compiling ARMDisassembler.c
[86/110] Compiling BPFDisassembler.c
[87/110] Compiling AArch64InstPrinter.c
[88/110] Compiling AArch64BaseInfo.c
[89/110] Compiling AArch64Mapping.c
[89/110] Write sources
error: emit-module command failed with exit code 1 (use -v to see invocation)
[93/149] 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 | }
[94/149] Emitting module Capstone
[95/154] Compiling CclangWrapper library_wrapper_Clang_C.swift
[96/154] Compiling Capstone WasmEnums.swift
[97/154] Compiling Capstone X86.swift
[98/154] Compiling Capstone X86Enums.swift
[99/154] Compiling Capstone Xcore.swift
[100/154] Compiling Capstone XcoreEnums.swift
[101/154] 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 |
[102/154] Compiling Capstone Ppc.swift
[103/154] Compiling Capstone PpcEnums.swift
[104/154] Compiling Capstone Riscv.swift
[105/154] Compiling Capstone RiscvEnums.swift
[106/154] Compiling Capstone ShEnums.swift
[107/154] Compiling Capstone Sparc.swift
[108/154] Compiling Capstone SparcEnums.swift
[109/154] Compiling Capstone Syntax.swift
[110/154] Compiling Capstone Sysz.swift
[111/154] Compiling Capstone SyszEnums.swift
[112/154] Compiling Capstone InstructionDetails.swift
[113/154] Compiling Capstone M680x.swift
[114/154] Compiling Capstone M680xEnums.swift
[115/154] Compiling Capstone M68k.swift
[116/154] Compiling Capstone M68kEnums.swift
[117/154] Compiling Capstone Mips.swift
[118/154] 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)
[119/154] 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 |
[120/154] Compiling Capstone TMS320C64x.swift
[121/154] Compiling Capstone TMS320C64xEnums.swift
[122/154] Compiling Capstone TricoreEnums.swift
[123/154] Compiling Capstone Utils.swift
[124/154] Compiling Capstone Wasm.swift
[125/154] Compiling Capstone Architecture.swift
[126/154] Compiling Capstone Arm.swift
[127/154] Compiling Capstone Arm64.swift
[128/154] Compiling Capstone Arm64Enums.swift
[129/154] Compiling Capstone ArmEnums.swift
[130/154] Compiling Capstone Bpf.swift
BUILD FAILURE 6.3 android