The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MCP, reference v2.1.2 (ff6b02), with Swift 6.4 for Linux on 23 Oct 2026 19:27:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tannerdsilva/swift-mcp.git
Reference: v2.1.2
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/tannerdsilva/swift-mcp
 * tag               v2.1.2     -> FETCH_HEAD
HEAD is now at ff6b02e fix(client): the shutdown ladder follows the child's placement
Cloned https://github.com/tannerdsilva/swift-mcp.git
Revision (git rev-parse @):
ff6b02e2f44071a72352e7664033f2b2183fef8f
SUCCESS checkout https://github.com/tannerdsilva/swift-mcp.git at v2.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/tannerdsilva/swift-mcp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ad3afec1d6cff9a88dbd06b5b923cd7d46d6f55cc44d4c49fe48cde94ee812a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/tannerdsilva/QuickJSON.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/tannerdsilva/SwiftSlash.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2345] Fetching swift-docc-plugin
[2/6623] Fetching swift-docc-plugin, swiftslash
[408/7157] Fetching swift-docc-plugin, swiftslash, quickjson
Fetched https://github.com/tannerdsilva/SwiftSlash.git (0.45s)
Fetching https://github.com/apple/swift-log.git
[1/19271] Fetching swift-argument-parser
[19272/27644] Fetching swift-argument-parser, swift-log
[20026/30524] Fetching swift-argument-parser, swift-log, swift-service-lifecycle
Fetched https://github.com/apple/swift-argument-parser.git (0.94s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.94s)
Fetched https://github.com/apple/swift-log.git (0.51s)
[1/81056] Fetching swift-syntax
[35666/167699] Fetching swift-syntax, swift-nio
Fetched https://github.com/tannerdsilva/QuickJSON.git (4.15s)
Fetched https://github.com/apple/swift-docc-plugin.git (4.16s)
Fetched https://github.com/swiftlang/swift-syntax.git (4.18s)
Fetched https://github.com/apple/swift-nio.git (3.99s)
Computing version for https://github.com/tannerdsilva/SwiftSlash.git
Computed https://github.com/tannerdsilva/SwiftSlash.git at 6.0.0 (5.10s)
Computing version for https://github.com/tannerdsilva/QuickJSON.git
Computed https://github.com/tannerdsilva/QuickJSON.git at 2.0.3 (0.14s)
Fetching https://github.com/ibireme/yyjson.git
[1/5194] Fetching yyjson
Fetched https://github.com/ibireme/yyjson.git (1.00s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (1.98s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (0.16s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.15s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.5.0 (0.17s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3847] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.79s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.14s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6821] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.57s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.76s)
Fetching https://github.com/apple/swift-collections.git
[1/29301] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (2.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.4 (2.26s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.16s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.27s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1889] Fetching swift-atomics
[1890/9262] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (0.70s)
Fetched https://github.com/apple/swift-system.git (0.70s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.86s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.17s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.4
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/tannerdsilva/SwiftSlash.git
Working copy of https://github.com/tannerdsilva/SwiftSlash.git resolved at 6.0.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/tannerdsilva/QuickJSON.git
Working copy of https://github.com/tannerdsilva/QuickJSON.git resolved at 2.0.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.18s)
Building for debugging...
[Computing dependencies]
[Provisioning 2 / 94]
[Pre-planning 1 / 2189]
[Planning 1088 / 2189]
[Planning 1908 / 2189]
[Planning deferred tasks]
[Constructing 3887 / 4651]
[88 / 808] SwiftSyntax510
[402 / 813]
[428 / 825] __cswiftslash_eventtrigger
[433 / 825] _AtomicsShims
[439 / 825] SwiftSyntax601
[441 / 825] _NIODataStructures
[461 / 832] __cswiftslash_eventtrigger
[463 / 834] SwiftSlashOneShotLatch
[463 / 835] __cswiftslash_eventtrigger
[482 / 839] _NIOBase64
[494 / 861] SwiftSyntax603
[503 / 883] ConcurrencyHelpers
[521 / 884] SwiftSlashFHHelpers
[526 / 884] Logging
[533 / 885] SwiftSlashFHHelpers
[536 / 886] Logging
[540 / 886] _NIODataStructures
[545 / 886] InternalCollectionsUtilities
[551 / 886] InternalCollectionsUtilities
[555 / 887] InternalCollectionsUtilities
[558 / 887] UnixSignals
[562 / 887] Atomics
[566 / 888] Atomics
[574 / 889] UnixSignals
[576 / 892] UnixSignals
[589 / 893] Logging
[603 / 904] CNIOAtomics
[606 / 905] InternalCollectionsUtilities
[610 / 906] ArgumentParserToolInfo
[617 / 906] UnixSignals
[626 / 914] CNIOLinux
[635 / 914] CNIOFreeBSD
[655 / 915] NIOConcurrencyHelpers
[663 / 923] Atomics
[668 / 932] SwiftSyntax
[673 / 933] SwiftSlashPThread
[678 / 934] SwiftSyntax
[679 / 935] SwiftSyntax
[679 / 935] SwiftSlashPThread
[680 / 935] SwiftSlashPThreadSerialExecutor
[683 / 935] SwiftSlashFuture
[687 / 935]
[692 / 938] SwiftSlashPThreadSerialExecutor
[695 / 939] SwiftSlashPThreadSerialExecutor
[706 / 956] SwiftSlashGlobalSerialization
[711 / 965] SpanPreview
[715 / 965] SpanPreview
[717 / 966] SpanPreview
[720 / 966] QuickJSON
[726 / 966] QuickJSON-product
[727 / 966] QuickJSON-product
[728 / 966] QuickJSON-product
[730 / 966] QuickJSON
[731 / 966] OrderedCollections
[731 / 966] QuickJSON
[739 / 967] QuickJSON
[741 / 967] QuickJSON
[742 / 967] OrderedCollections-product
[743 / 967] OrderedCollections
[745 / 967] OrderedCollections
[745 / 967] MCPToolTestKit
[749 / 968] QuickJSON
[754 / 980] SwiftSlashGlobalSerialization
[762 / 982] SwiftSlashGlobalSerialization
[764 / 982] SwiftSlashEventTrigger
[773 / 982] SwiftSyntax
[775 / 982] SwiftSyntax
[779 / 982] SwiftSyntax
[780 / 982] SwiftSyntax-product
[781 / 982] SwiftSyntax-product
[784 / 986] MCPToolTestKit
[784 / 995] ArgumentParser
[785 / 995] MCPToolTestKit
[786 / 995] ArgumentParser
[789 / 995] MCPToolTestKit
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile SpawnedTool.swift
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:148:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
146 |
147 |         var fileActions: posix_spawn_file_actions_t?
148 |         posix_spawn_file_actions_init(&fileActions)
    |                                       |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
    |                                       `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
149 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], STDIN_FILENO)
150 |         posix_spawn_file_actions_adddup2(&fileActions, stdoutPipe[1], STDOUT_FILENO)
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:149:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
147 |         var fileActions: posix_spawn_file_actions_t?
148 |         posix_spawn_file_actions_init(&fileActions)
149 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], STDIN_FILENO)
    |                                          |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
    |                                          `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
150 |         posix_spawn_file_actions_adddup2(&fileActions, stdoutPipe[1], STDOUT_FILENO)
151 |         posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], STDERR_FILENO)
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:150:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
148 |         posix_spawn_file_actions_init(&fileActions)
149 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], STDIN_FILENO)
150 |         posix_spawn_file_actions_adddup2(&fileActions, stdoutPipe[1], STDOUT_FILENO)
    |                                          |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
    |                                          `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
151 |         posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], STDERR_FILENO)
152 |
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:151:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
149 |         posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], STDIN_FILENO)
150 |         posix_spawn_file_actions_adddup2(&fileActions, stdoutPipe[1], STDOUT_FILENO)
151 |         posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], STDERR_FILENO)
    |                                          |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
    |                                          `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
152 |
153 |         var argv: [UnsafeMutablePointer<CChar>?] = ([path] + arguments).map { strdup($0) }
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:169:51: error: cannot convert value of type 'UnsafePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafePointer<posix_spawn_file_actions_t>'
167 |         let spawnResult: Int32
168 |         if environment.isEmpty {
169 |             spawnResult = posix_spawn(&pid, path, &fileActions, nil, &argv, nil)
    |                                                   |- error: cannot convert value of type 'UnsafePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafePointer<posix_spawn_file_actions_t>'
    |                                                   `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
170 |         } else {
171 |             spawnResult = posix_spawn(&pid, path, &fileActions, nil, &argv, &envp)
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:171:51: error: cannot convert value of type 'UnsafePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafePointer<posix_spawn_file_actions_t>'
169 |             spawnResult = posix_spawn(&pid, path, &fileActions, nil, &argv, nil)
170 |         } else {
171 |             spawnResult = posix_spawn(&pid, path, &fileActions, nil, &argv, &envp)
    |                                                   |- error: cannot convert value of type 'UnsafePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafePointer<posix_spawn_file_actions_t>'
    |                                                   `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
172 |         }
173 |         posix_spawn_file_actions_destroy(&fileActions)
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:173:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
171 |             spawnResult = posix_spawn(&pid, path, &fileActions, nil, &argv, &envp)
172 |         }
173 |         posix_spawn_file_actions_destroy(&fileActions)
    |                                          |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
    |                                          `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
174 |         // the child owns its ends now; the parent must close them or the
175 |         // output pipes never reach EOF.
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:220:39: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
218 |
219 |         var fileActions: posix_spawn_file_actions_t?
220 |         posix_spawn_file_actions_init(&fileActions)
    |                                       |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
    |                                       `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
221 |         if let stdinFile {
222 |             posix_spawn_file_actions_addopen(&fileActions, STDIN_FILENO, stdinFile, O_RDONLY, 0)
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:222:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
220 |         posix_spawn_file_actions_init(&fileActions)
221 |         if let stdinFile {
222 |             posix_spawn_file_actions_addopen(&fileActions, STDIN_FILENO, stdinFile, O_RDONLY, 0)
    |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
    |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
223 |         } else {
224 |             posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], STDIN_FILENO)
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:224:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
222 |             posix_spawn_file_actions_addopen(&fileActions, STDIN_FILENO, stdinFile, O_RDONLY, 0)
223 |         } else {
224 |             posix_spawn_file_actions_adddup2(&fileActions, stdinPipe[0], STDIN_FILENO)
    |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
    |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
225 |         }
226 |         if let stdoutFile {
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:227:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
225 |         }
226 |         if let stdoutFile {
227 |             posix_spawn_file_actions_addopen(&fileActions, STDOUT_FILENO, stdoutFile, O_WRONLY | O_CREAT | O_TRUNC, 0o644)
    |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
    |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
228 |         } else {
229 |             posix_spawn_file_actions_adddup2(&fileActions, stdoutPipe[1], STDOUT_FILENO)
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:229:46: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
227 |             posix_spawn_file_actions_addopen(&fileActions, STDOUT_FILENO, stdoutFile, O_WRONLY | O_CREAT | O_TRUNC, 0o644)
228 |         } else {
229 |             posix_spawn_file_actions_adddup2(&fileActions, stdoutPipe[1], STDOUT_FILENO)
    |                                              |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
    |                                              `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
230 |         }
231 |         posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], STDERR_FILENO)
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:231:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
229 |             posix_spawn_file_actions_adddup2(&fileActions, stdoutPipe[1], STDOUT_FILENO)
230 |         }
231 |         posix_spawn_file_actions_adddup2(&fileActions, stderrPipe[1], STDERR_FILENO)
    |                                          |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
    |                                          `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
232 |
233 |         var argv: [UnsafeMutablePointer<CChar>?] = ([path] + arguments).map { strdup($0) }
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:238:51: error: cannot convert value of type 'UnsafePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafePointer<posix_spawn_file_actions_t>'
236 |
237 |         var pid: pid_t = 0
238 |         let spawnResult = posix_spawn(&pid, path, &fileActions, nil, &argv, nil)
    |                                                   |- error: cannot convert value of type 'UnsafePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafePointer<posix_spawn_file_actions_t>'
    |                                                   `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
239 |         posix_spawn_file_actions_destroy(&fileActions)
240 |         // the parent's copies of the child's ends must go, or the pipes never
/host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift:239:42: error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
237 |         var pid: pid_t = 0
238 |         let spawnResult = posix_spawn(&pid, path, &fileActions, nil, &argv, nil)
239 |         posix_spawn_file_actions_destroy(&fileActions)
    |                                          |- error: cannot convert value of type 'UnsafeMutablePointer<posix_spawn_file_actions_t?>' to expected argument type 'UnsafeMutablePointer<posix_spawn_file_actions_t>'
    |                                          `- note: arguments to generic parameter 'Pointee' ('posix_spawn_file_actions_t?' and 'posix_spawn_file_actions_t') are expected to be equal
240 |         // the parent's copies of the child's ends must go, or the pipes never
241 |         // reach EOF.
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/MCPToolTestKit/SpawnedTool.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCP.build/Debug-linux-x86_64/MCPToolTestKit-t.build/Objects-normal/x86_64/SpawnedTool.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCP.build/Debug-linux-x86_64/MCPToolTestKit-t.build/Objects-normal/x86_64/SpawnedTool.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCP.build/Debug-linux-x86_64/MCPToolTestKit-t.build/Objects-normal/x86_64/SpawnedTool.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCP.build/Debug-linux-x86_64/MCPToolTestKit-t.build/Objects-normal/x86_64/SpawnedTool.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/yyjson.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/yyjson/src -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MCP.build/Debug-linux-x86_64/MCPToolTestKit-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MCP.build/Debug-linux-x86_64/MCPToolTestKit-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MCP.build/Debug-linux-x86_64/MCPToolTestKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MCPToolTestKit -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCP.build/Debug-linux-x86_64/MCPToolTestKit-t.build/Objects-normal/x86_64/MCPToolTestKit_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MCP.build/Debug-linux-x86_64/MCPToolTestKit-t.build/Objects-normal/x86_64/SpawnedTool.o -index-unit-output-path /MCP.build/Debug-linux-x86_64/MCPToolTestKit-t.build/Objects-normal/x86_64/SpawnedTool.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux