The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-54344844-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-argument-parser.git
Fetching https://github.com/tannerdsilva/SwiftSlash.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/tannerdsilva/QuickJSON.git
[1/4278] Fetching swiftslash
[2/4812] Fetching swiftslash, quickjson
[77/7157] Fetching swiftslash, quickjson, swift-docc-plugin
Fetched https://github.com/tannerdsilva/QuickJSON.git (0.39s)
[1690/6623] Fetching swiftslash, swift-docc-plugin
Fetching https://github.com/apple/swift-log.git
[6624/25894] Fetching swiftslash, swift-docc-plugin, swift-argument-parser
[25895/34267] Fetching swiftslash, swift-docc-plugin, swift-argument-parser, swift-log
[34268/37147] Fetching swiftslash, swift-docc-plugin, swift-argument-parser, swift-log, swift-service-lifecycle
Fetched https://github.com/apple/swift-log.git (0.51s)
Fetching https://github.com/apple/swift-nio.git
[26643/28774] Fetching swiftslash, swift-docc-plugin, swift-argument-parser, swift-service-lifecycle
[28775/109830] Fetching swiftslash, swift-docc-plugin, swift-argument-parser, swift-service-lifecycle, swift-syntax
[83083/196473] Fetching swiftslash, swift-docc-plugin, swift-argument-parser, swift-service-lifecycle, swift-syntax, swift-nio
Fetched https://github.com/tannerdsilva/SwiftSlash.git (3.68s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (3.68s)
Fetched https://github.com/apple/swift-docc-plugin.git (3.68s)
Fetched https://github.com/apple/swift-argument-parser.git (3.68s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.70s)
[60651/86643] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (5.24s)
Computing version for https://github.com/tannerdsilva/SwiftSlash.git
Computed https://github.com/tannerdsilva/SwiftSlash.git at 6.0.0 (6.30s)
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 (0.94s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (1.92s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (0.17s)
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.59s)
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.77s)
Fetching https://github.com/apple/swift-collections.git
[1/29301] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (2.85s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.4 (3.10s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.15s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.26s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1889] Fetching swift-atomics
[1890/9262] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (0.66s)
Fetched https://github.com/apple/swift-system.git (0.66s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.82s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.18s)
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/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/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-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/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/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.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
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 3 / 94]
[Pre-planning 1 / 2189]
[Planning 1339 / 2189]
[Planning deferred tasks]
[Constructing 3226 / 4651]
[126 / 808] SwiftSlashGlobalSerialization
[408 / 816] __cswiftslash_posix_helpers
[415 / 822] SwiftSyntax602
[428 / 822] _NIOBase64
[443 / 832] SwiftSyntax601
[469 / 839] SwiftSlashFHHelpers
[473 / 843] SwiftSlashOneShotLatch
[478 / 843] SwiftSyntax603
[493 / 847] SwiftSyntax509
[499 / 847]
[508 / 868] InternalCollectionsUtilities
[515 / 877] SwiftSlashFHHelpers
[523 / 879] Logging
[527 / 879] NIOConcurrencyHelpers
[541 / 880] NIOConcurrencyHelpers
[545 / 881] NIOConcurrencyHelpers
[549 / 881] Logging
[555 / 881] Logging
[562 / 881] SpanPreview
[565 / 885] SwiftSyntax600
[587 / 887] SwiftSlashFuture
[598 / 909] SwiftSyntax
[616 / 918] SwiftSyntax
[616 / 918] SwiftSlashOneShotLatch
[619 / 919] ArgumentParserToolInfo
[624 / 920] SwiftSyntax
[625 / 920] SwiftSyntax
[626 / 920] Atomics
[635 / 920] SwiftSlashFIFO
[637 / 921] SwiftSlashFIFO
[645 / 921] ConcurrencyHelpers
[646 / 921] ConcurrencyHelpers
[649 / 922] Atomics-product
[653 / 922] Atomics
[655 / 922] ArgumentParserToolInfo
[656 / 922] Atomics
[659 / 922] ArgumentParserToolInfo
[663 / 925] QuickJSON
[668 / 939] SpanPreview
[681 / 949] SpanPreview
[687 / 950] SpanPreview
[688 / 950] QuickJSON
[690 / 950] QuickJSON
[691 / 950] QuickJSON
[692 / 950] QuickJSON
[693 / 950] QuickJSON
[694 / 950] OrderedCollections
[696 / 951] QuickJSON
[703 / 951] OrderedCollections
[704 / 951] OrderedCollections-product
[706 / 951] OrderedCollections-product
[707 / 951] OrderedCollections
[708 / 951] MCPToolTestKit
[714 / 955] UnixSignals
[716 / 955] UnixSignals
[723 / 962] UnixSignals
[735 / 964] OrderedCollections
[744 / 966] SwiftSyntax
[749 / 980] DequeModule
[753 / 990] SwiftSlashPThreadSerialExecutor
[757 / 991] SwiftSlashPThreadSerialExecutor
[767 / 991] SwiftSlashPThread
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
[770 / 991] ArgumentParser
error: Build failed
BUILD FAILURE 6.4 linux