The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xcsift, reference master (a905c9), with Swift 6.4 for Android on 31 Oct 2026 06:06:52 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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ldomaradzki/xcsift.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/ldomaradzki/xcsift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a905c95 fix: count Swift Testing results from xcbeautify in the test totals (#106)
Cloned https://github.com/ldomaradzki/xcsift.git
Revision (git rev-parse @):
a905c959ca59ca3ea0c47b9f585421455931a4e9
SUCCESS checkout https://github.com/ldomaradzki/xcsift.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ldomaradzki/xcsift.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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/mattt/swift-toml
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/toon-format/toon-swift.git
[1/2345] Fetching swift-docc-plugin
[25/2700] Fetching swift-docc-plugin, swift-toml
[2514/4180] Fetching swift-docc-plugin, swift-toml, toon-swift
[4181/23500] Fetching swift-docc-plugin, swift-toml, toon-swift, swift-argument-parser
Fetched https://github.com/toon-format/toon-swift.git (0.51s)
Fetched https://github.com/swiftlang/swift-docc-plugin (0.52s)
[742/19675] Fetching swift-toml, swift-argument-parser
Fetched https://github.com/mattt/swift-toml (0.78s)
Fetched https://github.com/apple/swift-argument-parser (0.78s)
Computing version for https://github.com/toon-format/toon-swift.git
Computed https://github.com/toon-format/toon-swift.git at 0.5.1 (0.92s)
Computing version for https://github.com/mattt/swift-toml
Computed https://github.com/mattt/swift-toml at 2.1.0 (0.13s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.88s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3850] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.74s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/mattt/swift-toml
Working copy of https://github.com/mattt/swift-toml resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/toon-format/toon-swift.git
Working copy of https://github.com/toon-format/toon-swift.git resolved at 0.5.1
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 302]
[Constructing 522 / 644]
[79 / 145] TOML
[79 / 145] ToonFormat
[92 / 145] TOML
[100 / 145] XCSiftCore
[101 / 145] XCSiftCore
[103 / 146] XCSiftCore
[103 / 146] ToonFormat
[106 / 146] ToonFormat
[113 / 146] ToonFormat
[113 / 146] TestUtils
[115 / 146] TOML-product
[116 / 146] TOML-product
[117 / 146] TOML-product
[118 / 146] CTomlPlusPlus
[123 / 149]
[134 / 160] TestUtils
[135 / 160] TOML
[138 / 160] ArgumentParser
[140 / 162] TOML
[143 / 162] ToonFormat
[153 / 163]
[155 / 172] xcsift-product
[156 / 172] xcsift-product
[159 / 172] xcsift-product
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile MCPProxyRunner.swift
/host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift:71:25: error: cannot find 'SIG_IGN' in scope
 69 |         // A closed pipe must surface as a short write, not as a signal that kills the proxy while
 70 |         // the other direction still has messages to deliver.
 71 |         signal(SIGPIPE, SIG_IGN)
    |                         `- error: cannot find 'SIG_IGN' in scope
 72 |
 73 |         guard let executable = Self.resolve(command) else {
/host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift:98:56: error: cannot find 'STDOUT_FILENO' in scope
 96 |
 97 |         let toServer = FileDescriptorWriter(owning: serverInput.fileHandleForWriting)
 98 |         let toClient = FileDescriptorWriter(borrowing: STDOUT_FILENO)
    |                                                        `- error: cannot find 'STDOUT_FILENO' in scope
 99 |         let toLog = FileDescriptorWriter(borrowing: STDERR_FILENO)
100 |         let activity = ProxyActivity()
/host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift:99:53: error: cannot find 'STDERR_FILENO' in scope
 97 |         let toServer = FileDescriptorWriter(owning: serverInput.fileHandleForWriting)
 98 |         let toClient = FileDescriptorWriter(borrowing: STDOUT_FILENO)
 99 |         let toLog = FileDescriptorWriter(borrowing: STDERR_FILENO)
    |                                                     `- error: cannot find 'STDERR_FILENO' in scope
100 |         let activity = ProxyActivity()
101 |
/host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift:110:29: error: cannot find 'STDIN_FILENO' in scope
108 |         let clientPump = Thread {
109 |             let end = Self.pump(
110 |                 descriptor: STDIN_FILENO,
    |                             `- error: cannot find 'STDIN_FILENO' in scope
111 |                 passthrough: toServer,
112 |                 toServer: toServer,
/host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift:395:33: error: cannot find 'errno' in scope
393 |                     continue
394 |                 }
395 |                 if written < 0, errno == EINTR { continue }
    |                                 `- error: cannot find 'errno' in scope
396 |                 if written < 0, errno == EAGAIN || errno == EWOULDBLOCK {
397 |                     // A non-blocking peer that has not drained its pipe is still a live peer.
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift:396:33: error: cannot find 'errno' in scope
394 |                 }
395 |                 if written < 0, errno == EINTR { continue }
396 |                 if written < 0, errno == EAGAIN || errno == EWOULDBLOCK {
    |                                 `- error: cannot find 'errno' in scope
397 |                     // A non-blocking peer that has not drained its pipe is still a live peer.
398 |                     // Waiting is the only way to avoid delivering half a message.
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift:396:52: error: cannot find 'errno' in scope
394 |                 }
395 |                 if written < 0, errno == EINTR { continue }
396 |                 if written < 0, errno == EAGAIN || errno == EWOULDBLOCK {
    |                                                    `- error: cannot find 'errno' in scope
397 |                     // A non-blocking peer that has not drained its pipe is still a live peer.
398 |                     // Waiting is the only way to avoid delivering half a message.
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift:399:43: error: cannot find 'pollfd' in scope
397 |                     // A non-blocking peer that has not drained its pipe is still a live peer.
398 |                     // Waiting is the only way to avoid delivering half a message.
399 |                     var descriptorEvent = pollfd(fd: descriptor, events: Int16(POLLOUT), revents: 0)
    |                                           `- error: cannot find 'pollfd' in scope
400 |                     _ = poll(&descriptorEvent, 1, 1000)
401 |                     continue
/host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift:399:80: error: cannot find 'POLLOUT' in scope
397 |                     // A non-blocking peer that has not drained its pipe is still a live peer.
398 |                     // Waiting is the only way to avoid delivering half a message.
399 |                     var descriptorEvent = pollfd(fd: descriptor, events: Int16(POLLOUT), revents: 0)
    |                                                                                `- error: cannot find 'POLLOUT' in scope
400 |                     _ = poll(&descriptorEvent, 1, 1000)
401 |                     continue
/host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift:400:25: error: cannot find 'poll' in scope
398 |                     // Waiting is the only way to avoid delivering half a message.
399 |                     var descriptorEvent = pollfd(fd: descriptor, events: Int16(POLLOUT), revents: 0)
400 |                     _ = poll(&descriptorEvent, 1, 1000)
    |                         `- error: cannot find 'poll' in scope
401 |                     continue
402 |                 }
/host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift:404:33: error: cannot find 'errno' in scope
402 |                 }
403 |
404 |                 report(failure: errno, written: buffer.count - remaining, of: buffer.count)
    |                                 `- error: cannot find 'errno' in scope
405 |                 return
406 |             }
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift:383:14: error: generic parameter 'ContentType' could not be inferred
381 |         guard !isClosed else { return }
382 |
383 |         data.withUnsafeBytes { buffer in
    |              `- error: generic parameter 'ContentType' could not be inferred
384 |             guard var pointer = buffer.baseAddress else { return }
385 |             var remaining = buffer.count
FoundationEssentials.Data.withUnsafeBytes:3:15: note: in call to function 'withUnsafeBytes'
1 | struct Data {
2 | @available(swift, deprecated: 5, message: "use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead")
3 |   public func withUnsafeBytes<ResultType, ContentType>(_ body: (UnsafePointer<ContentType>) throws -> ResultType) rethrows -> ResultType}
  |               `- note: in call to function 'withUnsafeBytes'
4 |
/host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift:384:40: error: value of type 'UnsafePointer<ContentType>' has no member 'baseAddress'
382 |
383 |         data.withUnsafeBytes { buffer in
384 |             guard var pointer = buffer.baseAddress else { return }
    |                                        `- error: value of type 'UnsafePointer<ContentType>' has no member 'baseAddress'
385 |             var remaining = buffer.count
386 |
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/xcsift/ConfigLoader.swift /host/spi-builder-workspace/Sources/xcsift/ConfigMerger.swift /host/spi-builder-workspace/Sources/xcsift/Configuration.swift /host/spi-builder-workspace/Sources/xcsift/Install/ClaudeCodeInstaller.swift /host/spi-builder-workspace/Sources/xcsift/Install/CodexInstaller.swift /host/spi-builder-workspace/Sources/xcsift/Install/CursorInstaller.swift /host/spi-builder-workspace/Sources/xcsift/Install/InstallCommands.swift /host/spi-builder-workspace/Sources/xcsift/Install/MCPServerInstaller.swift /host/spi-builder-workspace/Sources/xcsift/Install/Templates/CodexTemplates.swift /host/spi-builder-workspace/Sources/xcsift/Install/Templates/CursorTemplates.swift /host/spi-builder-workspace/Sources/xcsift/Install/Templates/SharedTemplates.swift /host/spi-builder-workspace/Sources/xcsift/MCP/BuildLogReference.swift /host/spi-builder-workspace/Sources/xcsift/MCP/BuildOutputSifter.swift /host/spi-builder-workspace/Sources/xcsift/MCP/JSONValue.swift /host/spi-builder-workspace/Sources/xcsift/MCP/MCPCommand.swift -primary-file /host/spi-builder-workspace/Sources/xcsift/MCP/MCPMessageFramer.swift -primary-file /host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift -primary-file /host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxySession.swift /host/spi-builder-workspace/Sources/xcsift/ResultRenderer.swift /host/spi-builder-workspace/Sources/xcsift/SiftingOptions.swift /host/spi-builder-workspace/Sources/xcsift/StreamingLineReader.swift /host/spi-builder-workspace/Sources/xcsift/main.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/supplementaryOutputs-14 -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CTomlPlusPlus.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/swift-toml/Sources/CTomlPlusPlus/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name xcsift -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/xcsift_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/MCPMessageFramer.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/MCPProxyRunner.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/MCPProxySession.o -index-unit-output-path /xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/MCPMessageFramer.o -index-unit-output-path /xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/MCPProxyRunner.o -index-unit-output-path /xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/MCPProxySession.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android