The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-signal-handling, reference main (3dcac5), with Swift 6.4 for Android on 21 Sep 2026 15:51:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/swift-signal-handling.git
Reference: main
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/xcode-actions/swift-signal-handling
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3dcac57 Add a comment about an expected test failure on Linux
Cloned https://github.com/xcode-actions/swift-signal-handling.git
Revision (git rev-parse @):
3dcac579d3fa07cbdfde41de59fe5e60b7a5ff50
SUCCESS checkout https://github.com/xcode-actions/swift-signal-handling.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/xcode-actions/swift-signal-handling.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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: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:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/Frizlab/GlobalConfModule.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/xcode-actions/clt-logger.git
[1/869] Fetching clt-logger
[549/9001] Fetching clt-logger, swift-log
[8433/9678] Fetching clt-logger, swift-log, globalconfmodule
Fetched https://github.com/xcode-actions/clt-logger.git (0.58s)
[8701/8809] Fetching swift-log, globalconfmodule
[8810/27727] Fetching swift-log, globalconfmodule, swift-argument-parser
Fetched https://github.com/Frizlab/GlobalConfModule.git (0.60s)
[8322/27050] Fetching swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log.git (0.82s)
Fetched https://github.com/apple/swift-argument-parser.git (0.82s)
Computing version for https://github.com/Frizlab/GlobalConfModule.git
Computed https://github.com/Frizlab/GlobalConfModule.git at 0.4.5 (0.99s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-service-context.git
[1/79999] Fetching swift-syntax
[12801/81363] Fetching swift-syntax, swift-service-context
Fetched https://github.com/apple/swift-service-context.git (1.49s)
[17600/79999] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.09s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (3.28s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (1.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.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.19s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 1.0.0 (0.15s)
Creating working copy for https://github.com/xcode-actions/clt-logger.git
Working copy of https://github.com/xcode-actions/clt-logger.git resolved at 1.0.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-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.15.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/Frizlab/GlobalConfModule.git
Working copy of https://github.com/Frizlab/GlobalConfModule.git resolved at 0.4.5
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 857]
[Planning deferred tasks]
[187 / 384] SwiftSyntax509
[225 / 393] SwiftSyntax510
[226 / 393] Logging
[237 / 393] SwiftSyntax
[245 / 396] Logging
[248 / 397] SwiftSyntax510
[252 / 398] ServiceContextModule
[265 / 400] SwiftSyntax601
[270 / 404]
[276 / 423] ArgumentParserToolInfo
[282 / 424] SwiftSyntax
[284 / 425] SwiftSyntax
[286 / 425] SwiftSyntax
[286 / 425] CLTLogger
[295 / 425] Logging
[297 / 425] Logging
[298 / 425] Logging
[299 / 425] CLTLogger
[302 / 425] CLTLogger-product
[309 / 435] ArgumentParser
[310 / 436] CLTLogger
[318 / 436] ArgumentParser
[319 / 436] ArgumentParser-product
[320 / 436] ArgumentParser
[322 / 436] ArgumentParser
[323 / 436] ArgumentParser
[326 / 437] SwiftSyntax
[339 / 465] SwiftParser
[341 / 465] SwiftBasicFormat
[344 / 465] SwiftDiagnostics
[355 / 465] SwiftBasicFormat
[360 / 465] SwiftParser
[361 / 465] SwiftParser
[362 / 465] SwiftParser
[363 / 465] SwiftDiagnostics
[364 / 465] SwiftDiagnostics
[365 / 465] SwiftDiagnostics
[367 / 465] SwiftDiagnostics
[368 / 465] SwiftDiagnostics
[370 / 465] SwiftOperators
[372 / 465] SwiftBasicFormat
[373 / 466] SwiftBasicFormat
[374 / 466] SwiftParserDiagnostics
[377 / 467] SwiftParserDiagnostics
[381 / 486] SwiftParserDiagnostics
[383 / 486] SwiftParserDiagnostics
[386 / 487] SwiftOperators
[391 / 488] SwiftParserDiagnostics
[392 / 488] SwiftParserDiagnostics
[394 / 488] SwiftParserDiagnostics
[398 / 488] SwiftParserDiagnostics
[399 / 488] SwiftSyntaxBuilder
[404 / 488] SwiftOperators
[406 / 488] SwiftOperators
[409 / 488] SwiftBasicFormat
[414 / 498] SwiftSyntaxBuilder
[415 / 499] SwiftSyntaxBuilder
[417 / 499] SwiftSyntaxBuilder
[418 / 500] SwiftSyntaxBuilder
[420 / 500] SwiftSyntaxBuilder
[430 / 501] SwiftSyntaxBuilder
[434 / 510] SwiftIfConfig
[436 / 510] SwiftIfConfig
[439 / 511] SwiftSyntaxBuilder
[449 / 521] SwiftSyntaxMacros
[452 / 521] SwiftSyntaxMacros
[459 / 521] SwiftSyntaxMacros
[464 / 531] SwiftSyntaxMacros
[466 / 532] SwiftSyntaxMacros
[472 / 533] SwiftSyntaxMacroExpansion
[473 / 533] SwiftSyntaxMacroExpansion
[484 / 543] SwiftCompilerPluginMessageHandling
[486 / 543] SwiftCompilerPluginMessageHandling
[487 / 543] SwiftCompilerPluginMessageHandling
[490 / 543] SwiftCompilerPluginMessageHandling
[494 / 543] SwiftCompilerPluginMessageHandling
[500 / 547] SwiftSyntaxMacroExpansion
[505 / 548] SwiftCompilerPlugin
[507 / 548] SwiftCompilerPluginMessageHandling
[509 / 549] SwiftSyntax
[512 / 550] SwiftSyntax
[519 / 550] SwiftIfConfig
[528 / 551] GlobalConfMacros
[537 / 560] GlobalConfMacros
[539 / 561] GlobalConfMacros
[542 / 561] GlobalConfMacros
[552 / 571] GlobalConfModule
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/SignalHandling/Utils.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Utils.swift
/host/spi-builder-workspace/Sources/SignalHandling/Utils.swift:13:7: error: cannot find 'write' in scope
11 | 	(str + "\n").utf8CString.withUnsafeBytes{ buffer in
12 | 		guard buffer.count > 0 else {return}
13 | 		_ = write(2, buffer.baseAddress! /* buffer size > 0, so !-safe */, buffer.count)
   |       `- error: cannot find 'write' in scope
14 | 	}
15 | }
/host/spi-builder-workspace/Sources/SignalHandling/Utils.swift:11:7: error: referencing operator function '+' on 'Sequence' requires the types 'String.Element' (aka 'Character') and 'String' be equivalent
 9 | @available(*, deprecated, message: "This method should never be called in production.")
10 | internal func loggerLessThreadSafeDebugLog(_ str: String) {
11 | 	(str + "\n").utf8CString.withUnsafeBytes{ buffer in
   |       `- error: referencing operator function '+' on 'Sequence' requires the types 'String.Element' (aka 'Character') and 'String' be equivalent
12 | 		guard buffer.count > 0 else {return}
13 | 		_ = write(2, buffer.baseAddress! /* buffer size > 0, so !-safe */, buffer.count)
Swift.Sequence:1:11: note: where 'Self.Element' = 'String.Element' (aka 'Character')
1 | extension Sequence where Self.Element == String {
  |           `- note: where 'Self.Element' = 'String.Element' (aka 'Character')
2 |     @available(*, unavailable, message: "Operator '+' cannot be used to append a String to a sequence of strings")
3 |     public static func + (lhs: Self, rhs: String) -> Never
/host/spi-builder-workspace/Sources/SignalHandling/Utils.swift:11:15: error: value of type 'Never' has no member 'utf8CString'
 9 | @available(*, deprecated, message: "This method should never be called in production.")
10 | internal func loggerLessThreadSafeDebugLog(_ str: String) {
11 | 	(str + "\n").utf8CString.withUnsafeBytes{ buffer in
   |               `- error: value of type 'Never' has no member 'utf8CString'
12 | 		guard buffer.count > 0 else {return}
13 | 		_ = write(2, buffer.baseAddress! /* buffer size > 0, so !-safe */, buffer.count)
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SignalHandling/\ Config.swift /host/spi-builder-workspace/Sources/SignalHandling/\ Errors.swift /host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift /host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift /host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionHandler.swift /host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift /host/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/DelayedSigaction.swift /host/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/DelayedSigactionHandler.swift /host/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift /host/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift /host/spi-builder-workspace/Sources/SignalHandling/ErrnoWithoutSystem.swift -primary-file /host/spi-builder-workspace/Sources/SignalHandling/Utils.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/Utils.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/Utils.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/Utils.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/Utils.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/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 SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/GlobalConfMacros\#GlobalConfMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -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/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SignalHandling -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/SignalHandling_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/Utils.o -index-unit-output-path /swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/Utils.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android