The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MCP, reference master (33bd4c), with Swift 6.4 for Linux on 10 Oct 2026 18:05:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
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 33bd4c0 fix(deps): point swift-syntax at its canonical swiftlang home
Cloned https://github.com/tannerdsilva/swift-mcp.git
Revision (git rev-parse @):
33bd4c07fafdbd1b8f98e5d248a12a8309111a1e
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-54344847-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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/tannerdsilva/SwiftSlash.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/4241] Fetching swiftslash
[4242/4775] Fetching swiftslash, quickjson
[4259/7642] Fetching swiftslash, quickjson, swift-service-lifecycle
[4973/9987] Fetching swiftslash, quickjson, swift-service-lifecycle, swift-docc-plugin
Fetched https://github.com/tannerdsilva/QuickJSON.git (0.47s)
Fetching https://github.com/apple/swift-nio.git
[5052/9453] Fetching swiftslash, swift-service-lifecycle, swift-docc-plugin
Fetched https://github.com/tannerdsilva/SwiftSlash.git (0.63s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.63s)
Fetching https://github.com/swiftlang/swift-syntax.git
[235/2345] Fetching swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-log.git
[2346/10602] Fetching swift-docc-plugin, swift-log
[10603/29698] Fetching swift-docc-plugin, swift-log, swift-argument-parser
[10794/116072] Fetching swift-docc-plugin, swift-log, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser.git (1.09s)
Fetched https://github.com/apple/swift-log.git (1.09s)
Fetched https://github.com/apple/swift-docc-plugin.git (1.97s)
[39733/86374] Fetching swift-nio
[55281/166790] Fetching swift-nio, swift-syntax
Fetched https://github.com/apple/swift-nio.git (6.15s)
Fetched https://github.com/swiftlang/swift-syntax.git (6.60s)
Computing version for https://github.com/tannerdsilva/QuickJSON.git
Computed https://github.com/tannerdsilva/QuickJSON.git at 2.0.3 (7.44s)
Fetching https://github.com/ibireme/yyjson.git
[1/5075] Fetching yyjson
Fetched https://github.com/ibireme/yyjson.git (0.93s)
Computing version for https://github.com/tannerdsilva/SwiftSlash.git
Computed https://github.com/tannerdsilva/SwiftSlash.git at 5.0.2 (1.10s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.99s)
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.16s)
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/3836] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.06s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.26s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.1 (0.14s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6819] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.72s)
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.20s)
Fetching https://github.com/apple/swift-collections.git
[1/28695] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.68s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (1.93s)
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
[493/9130] 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.18s)
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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.2
Creating working copy for https://github.com/tannerdsilva/SwiftSlash.git
Working copy of https://github.com/tannerdsilva/SwiftSlash.git resolved at 5.0.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/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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
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.1
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.12.1
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/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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.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.19s)
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 2160]
[Planning 337 / 2160]
[Planning 982 / 2160]
[Planning 1415 / 2160]
[Planning 1763 / 2160]
[Planning deferred tasks]
[Constructing 47 / 4594]
[Constructing 3059 / 4594]
[Starting]
[1 / 800]
[94 / 800] SwiftSyntax510
[260 / 800] NIOCore
[387 / 800]
[395 / 806] SwiftSyntax602
[399 / 806] _NIOBase64
[408 / 830] SwiftSyntax603
[412 / 830] SwiftSyntax603
[433 / 830] SwiftSlashOneShotLatch
[436 / 834] SwiftSlashOneShotLatch
[444 / 841] SwiftSyntax510
[451 / 841] SwiftSyntax509
[456 / 848] NIOConcurrencyHelpers
[469 / 857] ConcurrencyHelpers
[471 / 869] ConcurrencyHelpers
[482 / 869] yyjson
[487 / 880] Atomics
[490 / 880] yyjson
[494 / 880] ArgumentParserToolInfo
[508 / 880] SwiftSyntax601
[510 / 880] InternalCollectionsUtilities
[520 / 880] SwiftSyntax600
[522 / 881] SwiftSyntax509
[526 / 883] SwiftSyntax601
[533 / 884] NIOConcurrencyHelpers
[535 / 884] _NIODataStructures
[539 / 887] NIOConcurrencyHelpers
[541 / 888] SwiftSlashFHHelpers
[542 / 888] _NIOBase64
[545 / 888] SwiftSyntax509
[551 / 888] Logging
[554 / 888] Logging
[554 / 889] NIOConcurrencyHelpers
[557 / 889] _NIODataStructures
[558 / 889] Logging-product
[561 / 889] Logging
[562 / 889] NIOConcurrencyHelpers
[562 / 889] SpanPreview
[564 / 889] Logging
[564 / 890] InternalCollectionsUtilities
[566 / 890] InternalCollectionsUtilities
[568 / 890] InternalCollectionsUtilities
[571 / 891] NIOConcurrencyHelpers
[574 / 891] InternalCollectionsUtilities
[577 / 891] Atomics-product
[581 / 891] Atomics
[582 / 892] ConcurrencyHelpers
[584 / 893] ConcurrencyHelpers
[589 / 893] SwiftSyntax603
[595 / 893] SwiftSlashOneShotLatch
[600 / 893] CNIOWASI
[605 / 893] CNIOPosix
[612 / 893] CNIOFreeBSD
[618 / 894] CNIODarwin
[624 / 897] SwiftSlashFuture
[629 / 902] UnixSignals
[636 / 902] ArgumentParserToolInfo
[642 / 903] SwiftSlashFuture
[647 / 905] SwiftSlashFIFO
[651 / 920] SpanPreview
[651 / 928] CNIOAtomics
[658 / 928] SwiftSlashFIFO
[669 / 932] ArgumentParser
[674 / 942] SwiftSlashPThread
[677 / 960] SwiftSlashFIFO
[683 / 961] ArgumentParser
[685 / 962] SwiftSyntax
[691 / 962] SwiftSyntax
[692 / 962] SwiftSyntax
[694 / 962] ArgumentParser
[700 / 962] SwiftSlashPThread
[702 / 962] SwiftSlashFuture
[714 / 962] QuickJSON
[720 / 964] QuickJSON-product
[724 / 964] QuickJSON
[725 / 964] QuickJSON
[726 / 964] OrderedCollections
[727 / 964] OrderedCollections-product
[728 / 965] OrderedCollections
[731 / 965] QuickJSON
[733 / 965] OrderedCollections
[735 / 965] OrderedCollections
[737 / 965] OrderedCollections
[740 / 965] Atomics
[743 / 966] OrderedCollections
[746 / 966] ArgumentParser
[748 / 966] ArgumentParser
[748 / 966]
[753 / 970] MCPToolTestKit
[756 / 972] SwiftSlashPThreadSerialExecutor
[762 / 972] MCPToolTestKit
[776 / 974] QuickJSON
[783 / 987] SwiftSlashGlobalSerialization
[789 / 988] SwiftSlashGlobalSerialization
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