Build Information
Failed to build swift-capstone, reference v7.0.0 (9f892f), with Swift 6.3 for Linux on 24 Oct 2026 09:48:53 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:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 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: 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-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:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:caade26a8dd5b9e237c5c17486feb4a843d699145c768feadca9f1b811831234
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-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.46s)
[1/49005] Fetching capstone
Fetched https://github.com/MxIris-Reverse-Engineering/capstone from cache (3.87s)
Computing version for https://github.com/MxIris-Reverse-Engineering/capstone
Computed https://github.com/MxIris-Reverse-Engineering/capstone at 6.0.101 (4.05s)
Computing version for https://github.com/MxIris-DeveloperTool/swift-clang
Computed https://github.com/MxIris-DeveloperTool/swift-clang at 0.3.0 (0.13s)
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 ARCDisassembler.c
[2/133] Compiling LoongArchMapping.c
[2/133] Compiling EVMInstPrinter.c
[4/133] Write sources
[10/133] Compiling Ccapstone MCInstrDesc.c
[11/133] Compiling Cclang clang.c
[13/133] Compiling XtensaMapping.c
[14/133] Compiling XtensaModule.c
[15/133] Compiling XtensaInstPrinter.c
[16/133] Compiling Ccapstone MCRegisterInfo.c
[17/133] Compiling XCoreModule.c
[17/133] Compiling XtensaDisassembler.c
[19/133] Write swift-version-24593BA9C3E375BF.txt
[20/133] Compiling XCoreMapping.c
[21/133] Compiling XCoreDisassembler.c
[22/133] Compiling XCoreInstPrinter.c
[23/133] Compiling X86Module.c
[24/133] Compiling X86Mapping.c
[25/133] Compiling X86IntelInstPrinter.c
[26/133] Compiling X86InstPrinterCommon.c
[27/133] Compiling X86DisassemblerDecoder.c
[28/135] Compiling X86Disassembler.c
[29/139] Compiling WASMModule.c
[30/139] Compiling X86ATTInstPrinter.c
[31/139] Compiling Ccapstone MCInst.c
[32/139] Compiling Ccapstone utils.c
[33/139] Compiling Ccapstone MCInstPrinter.c
[34/139] Compiling WASMMapping.c
[35/139] Compiling WASMInstPrinter.c
[36/139] Compiling TriCoreMapping.c
[36/139] Compiling TriCoreInstPrinter.c
[37/139] Compiling WASMDisassembler.c
[39/139] Compiling TriCoreModule.c
[40/139] Compiling TriCoreDisassembler.c
[40/139] Compiling TMS320C64xMapping.c
[42/139] Compiling TMS320C64xInstPrinter.c
[42/139] Compiling TMS320C64xModule.c
[44/139] Compiling TMS320C64xDisassembler.c
[45/139] Compiling SystemZModule.c
[45/139] Compiling SystemZMapping.c
[47/139] Compiling SystemZInstPrinter.c
[48/139] Compiling SystemZMCTargetDesc.c
[48/139] Compiling Ccapstone cs.c
[50/139] Compiling SystemZDisassemblerExtension.c
[51/139] Compiling SystemZDisassembler.c
[52/139] Compiling SparcMapping.c
[52/139] Compiling SparcModule.c
[54/139] Compiling SparcDisassemblerExtension.c
[55/139] Compiling SparcInstPrinter.c
[56/139] Compiling SparcDisassembler.c
[57/139] Compiling SHModule.c
[58/139] Compiling SHInstPrinter.c
[59/139] Compiling SHDisassembler.c
[60/139] Compiling RISCVModule.c
[61/139] Compiling RISCVDisassembler.c
[61/139] Compiling RISCVInstPrinter.c
[63/139] Compiling RISCVBaseInfo.c
[64/139] Compiling RISCVDisassemblerExtension.c
[65/139] Compiling PPCInstPrinter.c
[66/139] Compiling PPCModule.c
[67/139] Compiling PPCDisassembler.c
[67/139] Compiling MipsModule.c
[69/139] Compiling RISCVMapping.c
[70/139] Compiling MipsMapping.c
[71/139] Compiling MipsInstPrinter.c
[72/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 M680XModule.c
[80/139] Compiling LoongArchModule.c
[81/139] Compiling LoongArchInstPrinter.c
[82/139] Compiling LoongArchDisassembler.c
[83/139] Compiling HPPAModule.c
[84/139] Compiling LoongArchDisassemblerExtension.c
[85/139] Compiling HPPAMapping.c
[86/139] Compiling HPPAInstPrinter.c
[87/139] Compiling EVMModule.c
[88/139] Compiling HPPADisassembler.c
[89/139] Compiling PPCMapping.c
[90/139] Compiling EVMMapping.c
[91/139] Compiling EVMDisassembler.c
[92/139] Compiling BPFModule.c
[93/139] Compiling BPFInstPrinter.c
[94/139] Compiling BPFMapping.c
[95/139] Compiling BPFDisassembler.c
[96/139] Compiling AlphaModule.c
[97/139] Compiling AlphaMapping.c
[98/139] Compiling AlphaInstPrinter.c
[99/139] Compiling AlphaDisassembler.c
[100/139] Compiling ARMMapping.c
[101/139] Compiling ARMInstPrinter.c
[102/139] Compiling ARMDisassemblerExtension.c
[102/139] Compiling ARMDisassembler.c
[104/139] Compiling ARMBaseInfo.c
[105/139] Compiling ARCModule.c
[106/139] Compiling M680XDisassembler.c
[107/139] Compiling ARCInstPrinter.c
[107/139] Compiling ARCMapping.c
[109/139] Compiling ARMModule.c
[110/139] Compiling AArch64Module.c
[111/139] Compiling Ccapstone SStream.c
[112/139] Compiling AArch64DisassemblerExtension.c
[113/139] Write sources
[116/139] Compiling Ccapstone Mapping.c
[117/139] Compiling AArch64BaseInfo.c
[118/139] Compiling AArch64InstPrinter.c
[119/139] Compiling AArch64Disassembler.c
[120/139] Compiling AArch64Mapping.c
[122/173] Compiling CclangWrapper library_wrapper_Clang_C.swift
[123/173] Compiling Capstone PpcEnums.swift
[124/173] Compiling Capstone RiscvEnums.swift
[125/173] Compiling Capstone ShEnums.swift
[126/173] Compiling Capstone SparcEnums.swift
[127/177] Compiling CclangWrapper library_wrapper_Clang_C.swift
[128/177] 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>
[129/177] 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>
[130/177] 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>
[131/177] 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>
[132/177] Compiling Capstone WasmEnums.swift
[133/177] Compiling Capstone X86Enums.swift
[134/177] Compiling Capstone XcoreEnums.swift
[135/177] Compiling Capstone XtensaEnums.swift
[136/177] Compiling Capstone LoongArchEnums.swift
[137/177] Compiling Capstone M680xEnums.swift
[138/177] Compiling Capstone M68kEnums.swift
[139/177] Compiling Capstone MipsEnums.swift
[140/177] Compiling Capstone Mos65xxEnums.swift
[141/177] Compiling Capstone Access.swift
[142/177] Compiling Capstone AlphaEnums.swift
[143/177] Compiling Capstone ArcEnums.swift
[144/177] Compiling Capstone Architecture+Generated.swift
[145/177] Compiling Capstone Architecture.swift
[146/177] Compiling Capstone EngineVersion.swift
[147/177] Compiling Capstone Error.swift
[148/177] Compiling Capstone EvmEnums.swift
[149/177] Compiling Capstone HppaEnums.swift
[150/177] Compiling Capstone InstructionView.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[151/177] 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 | }
[152/177] 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)
[153/177] 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 | }
/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 linux