Build Information
Failed to build swift-capstone, reference main (33998b), with Swift 6.3 for Linux on 4 Oct 2026 09:09:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
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-54344844-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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:c577f8f8f4df4f423827bf5e7d96027716bb7030ef75b2fd4a15f7fb0043ce6d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest
Fetching https://github.com/MxIris-Reverse-Engineering/capstone
Fetching https://github.com/MxIris-DeveloperTool/swift-clang
[1/176] Fetching swift-clang
[177/49046] Fetching swift-clang, capstone
Fetched https://github.com/MxIris-DeveloperTool/swift-clang from cache (7.47s)
Fetched https://github.com/MxIris-Reverse-Engineering/capstone from cache (7.57s)
Computing version for https://github.com/MxIris-Reverse-Engineering/capstone
Computed https://github.com/MxIris-Reverse-Engineering/capstone at 5.0.100 (7.99s)
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-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 5.0.100
[1/1] Compiling plugin CapstoneEnumsGeneratePlugin
Building for debugging...
[1/104] Write sources
[7/104] Compiling Cclang clang.c
[8/104] Compiling AArch64BaseInfo.c
[9/104] Compiling Ccapstone MCInstrDesc.c
[10/104] Compiling Cclang clang.c
[11/104] Compiling Ccapstone MCRegisterInfo.c
[12/104] Compiling XCoreModule.c
[13/104] Compiling XCoreMapping.c
[14/104] Compiling XCoreDisassembler.c
[15/104] Compiling XCoreInstPrinter.c
[16/104] Compiling X86Mapping.c
[17/104] Compiling X86Module.c
[18/104] Write swift-version-24593BA9C3E375BF.txt
[19/104] Compiling Ccapstone SStream.c
[20/104] Compiling Ccapstone Mapping.c
[21/104] Compiling Ccapstone MCInst.c
[22/104] Compiling Ccapstone utils.c
[23/104] Compiling Ccapstone cs.c
[24/104] Compiling X86IntelInstPrinter.c
[25/104] Compiling X86InstPrinterCommon.c
[26/104] Compiling X86DisassemblerDecoder.c
[26/104] Compiling WASMModule.c
[28/104] Compiling X86ATTInstPrinter.c
[29/104] Compiling X86Disassembler.c
[30/104] Compiling WASMMapping.c
[31/104] Compiling TriCoreModule.c
[31/104] Compiling WASMDisassembler.c
[33/104] Compiling WASMInstPrinter.c
[34/104] Compiling TriCoreInstPrinter.c
[35/104] Compiling TriCoreMapping.c
[36/104] Compiling TMS320C64xModule.c
[36/104] Compiling TMS320C64xMapping.c
[38/104] Compiling TMS320C64xInstPrinter.c
[38/104] Compiling TMS320C64xDisassembler.c
[40/104] Compiling SystemZModule.c
[40/104] Compiling TriCoreDisassembler.c
[42/107] Compiling SystemZMapping.c
[43/110] Compiling SystemZMCTargetDesc.c
[44/110] Compiling SystemZDisassembler.c
[45/110] Compiling SparcModule.c
[46/110] Compiling SparcMapping.c
[47/110] Compiling SparcInstPrinter.c
[48/110] Compiling SystemZInstPrinter.c
[49/110] Compiling SparcDisassembler.c
[50/110] Compiling SHInstPrinter.c
[50/110] Compiling RISCVModule.c
[50/110] Compiling SHModule.c
[53/110] Compiling SHDisassembler.c
[54/110] Compiling RISCVMapping.c
[55/110] Compiling PPCModule.c
[56/110] Compiling PPCDisassembler.c
[57/110] Compiling RISCVInstPrinter.c
[58/110] Compiling PPCMapping.c
[59/110] Compiling RISCVDisassembler.c
[60/110] Compiling MipsInstPrinter.c
[61/110] Compiling PPCInstPrinter.c
[62/110] Compiling MipsMapping.c
[63/110] Compiling MipsModule.c
[64/110] Compiling MOS65XXDisassembler.c
[65/110] Compiling MOS65XXModule.c
[66/110] Compiling MipsDisassembler.c
[67/110] Compiling M68KInstPrinter.c
[68/110] Compiling M68KModule.c
[69/110] Compiling M68KDisassembler.c
[70/110] Compiling M680XModule.c
[71/110] Compiling EVMMapping.c
[72/110] Compiling EVMModule.c
[73/110] Compiling M680XDisassembler.c
[74/110] Compiling EVMDisassembler.c
[75/110] Compiling EVMInstPrinter.c
[76/110] Compiling M680XInstPrinter.c
[77/110] Compiling BPFModule.c
[78/110] Compiling BPFMapping.c
[79/110] Compiling BPFInstPrinter.c
[80/110] Compiling BPFDisassembler.c
[81/110] Compiling ARMMapping.c
[81/110] Compiling ARMInstPrinter.c
[81/110] Compiling ARMModule.c
[84/110] Compiling ARMDisassembler.c
[84/110] Write sources
[88/110] Compiling AArch64Module.c
[89/110] Compiling AArch64Disassembler.c
[90/110] Compiling AArch64Mapping.c
[91/110] Compiling AArch64InstPrinter.c
[93/149] Compiling Capstone TMS320C64x.swift
[94/149] Compiling Capstone TMS320C64xEnums.swift
[95/149] Compiling Capstone TricoreEnums.swift
[96/149] Compiling Capstone Utils.swift
[97/149] Compiling Capstone Wasm.swift
[98/154] Compiling CclangWrapper library_wrapper_Clang_C.swift
[99/154] Compiling Capstone Ppc.swift
[100/154] Compiling Capstone PpcEnums.swift
[101/154] Compiling Capstone Riscv.swift
[102/154] Compiling Capstone RiscvEnums.swift
[103/154] Compiling Capstone ShEnums.swift
[104/154] Compiling Capstone WasmEnums.swift
[105/154] Compiling Capstone X86.swift
[106/154] Compiling Capstone X86Enums.swift
[107/154] Compiling Capstone Xcore.swift
[108/154] Compiling Capstone XcoreEnums.swift
[109/154] Compiling Capstone InstructionDetails.swift
[110/154] Compiling Capstone M680x.swift
[111/154] Compiling Capstone M680xEnums.swift
[112/154] Compiling Capstone M68k.swift
[113/154] Compiling Capstone M68kEnums.swift
[114/154] Compiling Capstone Mips.swift
[115/154] Compiling CclangWrapper library_wrapper_Clang_C.swift
[116/154] Compiling Capstone BpfEnums.swift
[117/154] Compiling Capstone Capstone.swift
[118/154] Compiling Capstone Error.swift
[119/154] Compiling Capstone Evm.swift
[120/154] Compiling Capstone EvmEnums.swift
[121/154] Compiling Capstone Instruction.swift
[122/154] Compiling Capstone Architecture.swift
[123/154] Compiling Capstone Arm.swift
[124/154] Compiling Capstone Arm64.swift
[125/154] Compiling Capstone Arm64Enums.swift
[126/154] Compiling Capstone ArmEnums.swift
[127/154] Compiling Capstone Bpf.swift
[128/154] Compiling Capstone Sparc.swift
[129/154] Compiling Capstone SparcEnums.swift
[130/154] Compiling Capstone Syntax.swift
[131/154] Compiling Capstone Sysz.swift
[132/154] Compiling Capstone SyszEnums.swift
[133/154] Emitting module Capstone
[134/154] Compiling Capstone MipsEnums.swift
[135/154] Compiling Capstone Mode.swift
[136/154] Compiling Capstone Mos65xx.swift
[137/154] Compiling Capstone Mos65xxEnums.swift
[138/154] Compiling Capstone Options.swift
[140/155] 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)
[141/155] 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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
/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 | }
[143/155] 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,
BUILD FAILURE 6.3 linux