The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-signal-handling, reference 1.2.0-beta.2 (aff1c6), with Swift 6.4 for Android on 21 Sep 2026 15:50:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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: 1.2.0-beta.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/xcode-actions/swift-signal-handling
 * tag               1.2.0-beta.2 -> FETCH_HEAD
HEAD is now at aff1c6b Make the dependency on swift-system explicit
Cloned https://github.com/xcode-actions/swift-signal-handling.git
Revision (git rev-parse @):
aff1c6ba4279ee4f7b27e935710489fd3e28e0e8
SUCCESS checkout https://github.com/xcode-actions/swift-signal-handling.git at 1.2.0-beta.2
========================================
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-54344845-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/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Frizlab/GlobalConfModule.git
Fetching https://github.com/xcode-actions/clt-logger.git
[1/8132] Fetching swift-log
[1384/8809] Fetching swift-log, globalconfmodule
Fetched https://github.com/Frizlab/GlobalConfModule.git (0.46s)
[4473/8132] Fetching swift-log
[7971/9001] Fetching swift-log, clt-logger
Fetched https://github.com/apple/swift-log.git (0.53s)
[600/869] Fetching clt-logger
Fetching https://github.com/apple/swift-system.git
[870/19787] Fetching clt-logger, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.80s)
[1/6898] Fetching swift-system
Fetched https://github.com/xcode-actions/clt-logger.git (1.29s)
Fetched https://github.com/apple/swift-system.git (0.74s)
Computing version for https://github.com/Frizlab/GlobalConfModule.git
Computed https://github.com/Frizlab/GlobalConfModule.git at 0.4.5 (1.47s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/1364] Fetching swift-service-context
[1365/81363] Fetching swift-service-context, swift-syntax
Fetched https://github.com/apple/swift-service-context.git (3.42s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.44s)
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.64s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (1.25s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.23s)
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.19s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.21s)
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.18s)
Creating working copy for https://github.com/Frizlab/GlobalConfModule.git
Working copy of https://github.com/Frizlab/GlobalConfModule.git resolved at 0.4.5
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/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/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-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/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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 917]
[Planning 761 / 917]
[Planning deferred tasks]
[Starting]
[79 / 378] ServiceContextModule
[196 / 399] SwiftSyntax510
[222 / 411] SwiftSyntax600
[230 / 420] ServiceContextModule
[241 / 420] SystemPackage
[242 / 420] Logging
[252 / 420] SystemPackage-product
[253 / 421] SystemPackage-product
[254 / 422] SystemPackage-product
[256 / 422] SwiftSyntax602
[260 / 423] SwiftSyntax603
[265 / 424] SwiftSyntax509
[268 / 426] SwiftSyntax509
[273 / 426] ServiceContextModule
[277 / 427] ServiceContextModule
[279 / 427] Logging
[281 / 427] Logging
[282 / 427] Logging
[284 / 427] SwiftSyntax602
[296 / 432]
[300 / 441] CLTLogger
[302 / 450] SwiftSyntax
[302 / 451] Logging
[310 / 452] ArgumentParserToolInfo
[312 / 453] SwiftSyntax
[312 / 453] SystemPackage
[314 / 453] SwiftSyntax
[315 / 453] SwiftSyntax
[315 / 453] CLTLogger
[322 / 453] SwiftSyntax
[325 / 453] Logging
[326 / 453] CLTLogger
[327 / 453] CLTLogger
[329 / 453] CLTLogger-product
[330 / 453] CLTLogger-product
[332 / 454] ArgumentParser
[336 / 455] SystemPackage-product
[339 / 464] ArgumentParser
[340 / 464] ArgumentParser
[341 / 464] ArgumentParser
[343 / 464] ArgumentParser
[347 / 464] ArgumentParser
[348 / 464] ArgumentParser-product
[349 / 464] ArgumentParser-product
[350 / 464] ArgumentParser-product
[351 / 464] ArgumentParserToolInfo
[351 / 464] ArgumentParser
[352 / 465] ArgumentParser
[354 / 465] ArgumentParser
[354 / 465] SwiftSyntax
[366 / 484] SwiftDiagnostics
[367 / 493] SwiftParser
[368 / 493] SwiftDiagnostics
[378 / 493] SwiftBasicFormat
[381 / 493] SwiftParser
[382 / 493] SwiftParser
[383 / 493] SwiftParser
[384 / 493] SwiftParser
[389 / 493] SwiftParser
[390 / 493] SwiftParser
[391 / 493] SwiftDiagnostics
[393 / 493] SwiftDiagnostics
[394 / 493] SwiftDiagnostics
[395 / 493] SwiftOperators
[396 / 493] SwiftOperators
[397 / 493] SwiftParser
[398 / 493] SwiftBasicFormat
[400 / 494] SwiftParserDiagnostics
[403 / 494] SwiftDiagnostics
[404 / 494]
[407 / 504] SwiftParserDiagnostics
[408 / 504] SwiftParserDiagnostics
[409 / 505] SwiftParserDiagnostics
[411 / 505] SwiftParserDiagnostics
[416 / 505] SwiftParserDiagnostics
[417 / 506] SwiftSyntaxBuilder
[418 / 506] SwiftSyntaxBuilder
[420 / 506] SwiftParser
[425 / 509] SwiftOperators
[428 / 526] SwiftSyntaxBuilder
[429 / 526] SwiftOperators
[430 / 526] SwiftSyntaxBuilder
[436 / 526] SwiftSyntaxBuilder
[437 / 526] SwiftSyntaxBuilder
[438 / 526] SwiftSyntaxBuilder
[440 / 526] SwiftSyntaxBuilder
[444 / 526] SwiftSyntaxBuilder
[446 / 526] SwiftSyntaxBuilder
[447 / 527] SwiftParserDiagnostics
[448 / 527] SwiftOperators
[451 / 527] SwiftOperators
[452 / 527] SwiftOperators
[453 / 527] SwiftOperators
[455 / 527] SwiftIfConfig
[459 / 537] SwiftIfConfig
[460 / 537] SwiftIfConfig
[461 / 537] SwiftIfConfig
[464 / 539] SwiftOperators
[466 / 539] SwiftIfConfig
[469 / 539] SwiftIfConfig
[478 / 549] SwiftSyntaxMacros
[480 / 549] SwiftSyntaxMacros
[482 / 549] SwiftSyntaxMacros
[489 / 549] SwiftSyntaxMacros-product
[493 / 559] SwiftSyntaxMacroExpansion
[496 / 559] SwiftSyntaxMacroExpansion
[499 / 561] SwiftSyntaxMacros
[501 / 561] SwiftSyntaxMacros
[511 / 571] SwiftIfConfig
[514 / 571] SwiftCompilerPluginMessageHandling
[515 / 571] SwiftCompilerPluginMessageHandling
[516 / 571] SwiftCompilerPluginMessageHandling
[518 / 571] SwiftCompilerPluginMessageHandling
[520 / 571] SwiftCompilerPluginMessageHandling
[526 / 574] SwiftCompilerPlugin
[531 / 575] SwiftCompilerPlugin
[535 / 576] SwiftCompilerPluginMessageHandling
[537 / 577] SwiftSyntax
[540 / 578] SwiftSyntax
[546 / 578] SwiftSyntaxBuilder
[556 / 579] GlobalConfMacros
[565 / 588] GlobalConfMacros
[566 / 588] GlobalConfMacros
[567 / 589] GlobalConfMacros
[570 / 589] GlobalConfMacros
[580 / 599] GlobalConfModule
[595 / 610] SignalHandling
[596 / 610] GlobalConfModule
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionHandler.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile SigactionHandler.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Signal.swift
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionHandler.swift:38:73: error: cannot find 'SIG_IGN' in scope
36 | 	var asOpaquePointer: OpaquePointer? {
37 | 		switch self {
38 | 			case .ignoreHandler:  return OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self))
   |                                                                         `- error: cannot find 'SIG_IGN' in scope
39 | 			case .defaultHandler: return OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self))
40 | 			case .ansiC(let h):   return OpaquePointer(bitPattern: unsafeBitCast(h, to: Int.self))
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionHandler.swift:39:73: error: cannot find 'SIG_DFL' in scope
37 | 		switch self {
38 | 			case .ignoreHandler:  return OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self))
39 | 			case .defaultHandler: return OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self))
   |                                                                         `- error: cannot find 'SIG_DFL' in scope
40 | 			case .ansiC(let h):   return OpaquePointer(bitPattern: unsafeBitCast(h, to: Int.self))
41 | 			case .posix(let h):   return OpaquePointer(bitPattern: unsafeBitCast(h, to: Int.self))
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:91:62: error: cannot find 'SIGEMT' in scope
 89 | 	public static let traceBreakpointTrap    = Signal(rawValue: SIGTRAP)
 90 | #if !os(Linux)
 91 | 	public static let emulatorTrap           = Signal(rawValue: SIGEMT)
    |                                                              `- error: cannot find 'SIGEMT' in scope
 92 | #endif
 93 | 	public static let badSystemCall          = Signal(rawValue: SIGSYS)
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:213:58: error: cannot find 'SIGINFO' in scope
211 | 	public static let windowSizeChanges  = Signal(rawValue: SIGWINCH)
212 | #if !os(Linux)
213 | 	public static let informationRequest = Signal(rawValue: SIGINFO)
    |                                                          `- error: cannot find 'SIGINFO' in scope
214 | #endif
215 |
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 -primary-file /host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionHandler.swift -primary-file /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/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/SigactionHandler.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/SigactionHandler.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/SigactionHandler.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/SigactionHandler.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/Signal.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/Signal.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/Signal.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/Signal.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 -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.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-system/Sources/CSystem/include -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/SigactionHandler.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/Signal.o -index-unit-output-path /swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/SigactionHandler.o -index-unit-output-path /swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/Signal.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Sigaction.swift
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:49:59: error: value of type 'sigaction' has no member '__sigaction_u'
 47 |
 48 | #if !os(Linux)
 49 | 		switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
    |                                                           `- error: value of type 'sigaction' has no member '__sigaction_u'
 50 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
 51 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:50:49: error: cannot find 'SIG_IGN' in scope
 48 | #if !os(Linux)
 49 | 		switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
 50 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
    |                                                 `- error: cannot find 'SIG_IGN' in scope
 51 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
 52 | 			default:
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:51:49: error: cannot find 'SIG_DFL' in scope
 49 | 		switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
 50 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
 51 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
    |                                                 `- error: cannot find 'SIG_DFL' in scope
 52 | 			default:
 53 | 				if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:53:65: error: value of type 'sigaction' has no member '__sigaction_u'
 51 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
 52 | 			default:
 53 | 				if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
    |                                                                 `- error: value of type 'sigaction' has no member '__sigaction_u'
 54 | 				else                        {self.handler = .ansiC(rawValue.__sigaction_u.__sa_handler)}
 55 | 		}
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:54:65: error: value of type 'sigaction' has no member '__sigaction_u'
 52 | 			default:
 53 | 				if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
 54 | 				else                        {self.handler = .ansiC(rawValue.__sigaction_u.__sa_handler)}
    |                                                                 `- error: value of type 'sigaction' has no member '__sigaction_u'
 55 | 		}
 56 | #else
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:74:72: error: cannot find 'errno' in scope
 72 | 		var action = sigaction()
 73 | 		guard sigaction(signal.rawValue, nil, &action) == 0 else {
 74 | 			throw SignalHandlingError.nonDestructiveSystemError(Errno(rawValue: errno))
    |                                                                        `- error: cannot find 'errno' in scope
 75 | 		}
 76 | 		self.init(rawValue: action)
/android-ndk/android-ndk-r27d/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/SignalHandling/CStructsInSwift/Sigaction.swift:90:59: error: cannot find 'SIG_IGN' in scope
 88 | #if !os(Linux)
 89 | 		switch handler {
 90 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
    |                                                           `- error: cannot find 'SIG_IGN' in scope
 91 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
 92 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:90:30: error: value of type 'sigaction' has no member '__sigaction_u'
 88 | #if !os(Linux)
 89 | 		switch handler {
 90 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
    |                              `- error: value of type 'sigaction' has no member '__sigaction_u'
 91 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
 92 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:91:59: error: cannot find 'SIG_DFL' in scope
 89 | 		switch handler {
 90 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
 91 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
    |                                                           `- error: cannot find 'SIG_DFL' in scope
 92 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
 93 | 			case .posix(let h):   ret.__sigaction_u.__sa_sigaction = h
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:91:30: error: value of type 'sigaction' has no member '__sigaction_u'
 89 | 		switch handler {
 90 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
 91 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
    |                              `- error: value of type 'sigaction' has no member '__sigaction_u'
 92 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
 93 | 			case .posix(let h):   ret.__sigaction_u.__sa_sigaction = h
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:92:30: error: value of type 'sigaction' has no member '__sigaction_u'
 90 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
 91 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
 92 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
    |                              `- error: value of type 'sigaction' has no member '__sigaction_u'
 93 | 			case .posix(let h):   ret.__sigaction_u.__sa_sigaction = h
 94 | 		}
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:93:30: error: value of type 'sigaction' has no member '__sigaction_u'
 91 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
 92 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
 93 | 			case .posix(let h):   ret.__sigaction_u.__sa_sigaction = h
    |                              `- error: value of type 'sigaction' has no member '__sigaction_u'
 94 | 		}
 95 | #else
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:132:72: error: cannot find 'errno' in scope
130 | 		var newCAction = self.rawValue
131 | 		guard sigaction(signal.rawValue, &newCAction, &oldCAction) == 0 else {
132 | 			throw SignalHandlingError.nonDestructiveSystemError(Errno(rawValue: errno))
    |                                                                        `- error: cannot find 'errno' in scope
133 | 		}
134 | 		let oldSigaction = Sigaction(rawValue: oldCAction)
/android-ndk/android-ndk-r27d/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/SignalHandling/CStructsInSwift/Sigaction.swift:137:70: error: cannot find 'errno' in scope
135 | 		if revertIfIgnored && oldSigaction == .ignoreAction {
136 | 			guard sigaction(signal.rawValue, &oldCAction, nil) == 0 else {
137 | 				throw SignalHandlingError.destructiveSystemError(Errno(rawValue: errno))
    |                                                                      `- error: cannot find 'errno' in scope
138 | 			}
139 | 			return nil
/android-ndk/android-ndk-r27d/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
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 -primary-file /host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift -primary-file /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/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/Sigaction.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/Sigaction.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/Sigaction.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/Sigaction.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/SigactionFlag.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/SigactionFlag.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/SigactionFlag.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/SigactionFlag.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 -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.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-system/Sources/CSystem/include -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/Sigaction.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/SigactionFlag.o -index-unit-output-path /swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/Sigaction.o -index-unit-output-path /swift-signal-handling.build/Debug-android-aarch64/SignalHandling-t.build/Objects-normal/aarch64/SigactionFlag.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
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 -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 -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.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-system/Sources/CSystem/include -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