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.3 for Android on 15 Apr 2026 12:25:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
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-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/Frizlab/GlobalConfModule.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
[1/669] Fetching globalconfmodule
[670/18192] Fetching globalconfmodule, swift-argument-parser
[1371/23793] Fetching globalconfmodule, swift-argument-parser, swift-system
[3089/30362] Fetching globalconfmodule, swift-argument-parser, swift-system, swift-log
[9237/31231] Fetching globalconfmodule, swift-argument-parser, swift-system, swift-log, clt-logger
Fetched https://github.com/apple/swift-system.git from cache (0.87s)
[25352/25630] Fetching globalconfmodule, swift-argument-parser, swift-log, clt-logger
Fetched https://github.com/Frizlab/GlobalConfModule.git from cache (0.99s)
Fetched https://github.com/apple/swift-log.git from cache (1.00s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (1.06s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.28s)
Computing version for https://github.com/Frizlab/GlobalConfModule.git
Computed https://github.com/Frizlab/GlobalConfModule.git at 0.4.4 (1.87s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-service-context.git
[1/1251] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.36s)
[1/74972] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.15s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (9.75s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.31s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.98s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.74s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.67s)
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.50s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/Frizlab/GlobalConfModule.git
Working copy of https://github.com/Frizlab/GlobalConfModule.git resolved at 0.4.4
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.53s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/28] Write sources
[9/28] Write swift-version--4F562202D5529B1.txt
[10/28] Write sources
[13/28] Compiling CSystem shims.c
[15/78] Emitting module GlobalConfMacros
[16/79] Compiling Logging LogEvent.swift
[17/79] Compiling SystemPackage FilePathWindows.swift
[18/79] Compiling SystemPackage FilePermissions.swift
[19/79] Compiling SystemPackage IOCompletion.swift
[20/79] Compiling SystemPackage IORequest.swift
[21/79] Compiling ServiceContextModule ServiceContextKey.swift
[22/83] Compiling SystemPackage FilePathSyntax.swift
[23/83] Compiling SystemPackage FilePathTemp.swift
[24/83] Compiling SystemPackage FilePathTempPosix.swift
[25/83] Compiling SystemPackage FilePathTempWindows.swift
[26/83] Emitting module ServiceContextModule
[27/83] Compiling ServiceContextModule ServiceContext.swift
[28/84] Emitting module SystemPackage
[30/84] Compiling SystemPackage IORing.swift
[31/84] Compiling SystemPackage RawIORequest.swift
[32/84] Compiling SystemPackage Backcompat.swift
[33/84] Compiling SystemPackage CInterop.swift
[33/84] Wrapping AST for ServiceContextModule for debugging
[35/84] Emitting module ArgumentParserToolInfo
[36/84] Compiling ArgumentParserToolInfo ToolInfo.swift
[38/85] Compiling SystemPackage Errno.swift
[39/85] Compiling SystemPackage ErrnoWindows.swift
[40/85] Compiling SystemPackage FileDescriptor.swift
[41/85] Compiling SystemPackage FileHelpers.swift
[42/85] Compiling SystemPackage FileOperations.swift
[42/85] Wrapping AST for ArgumentParserToolInfo for debugging
[44/131] Compiling ArgumentParser CollectionExtensions.swift
[45/131] Compiling ArgumentParser ArgumentVisibility.swift
[46/131] Compiling ArgumentParser CompletionKind.swift
[47/131] Compiling ArgumentParser Errors.swift
[48/131] Compiling ArgumentParser Flag.swift
[49/131] Compiling ArgumentParser CommandParser.swift
[50/131] Compiling ArgumentParser InputKey.swift
[51/131] Compiling ArgumentParser InputOrigin.swift
[52/131] Compiling ArgumentParser Name.swift
[53/131] Compiling ArgumentParser ZshCompletionsGenerator.swift
[54/131] Compiling ArgumentParser Argument.swift
[55/131] Compiling ArgumentParser ArgumentDiscussion.swift
[56/131] Compiling ArgumentParser ArgumentHelp.swift
[57/131] Compiling Logging MetadataProvider.swift
[58/131] Compiling ArgumentParser NameSpecification.swift
[59/131] Compiling ArgumentParser Option.swift
[60/131] Compiling ArgumentParser OptionGroup.swift
[61/131] Compiling ArgumentParser Foundation.swift
[62/132] Emitting module Logging
[63/132] Wrapping AST for SystemPackage for debugging
[65/132] Compiling Logging Locks.swift
[66/132] Compiling Logging LogHandler.swift
[67/132] Compiling Logging Logging.swift
[68/133] Wrapping AST for Logging for debugging
[70/134] Emitting module ArgumentParser
[71/149] Compiling ArgumentParser ParentCommand.swift
[72/149] Compiling ArgumentParser AsyncParsableCommand.swift
[73/149] Compiling ArgumentParser CommandConfiguration.swift
[74/149] Compiling ArgumentParser CommandGroup.swift
[75/149] Compiling ArgumentParser EnumerableFlag.swift
[76/149] Compiling ArgumentParser ExpressibleByArgument.swift
[77/149] Compiling ArgumentParser ParsableArguments.swift
[78/149] Compiling ArgumentParser Tree.swift
[79/149] Compiling ArgumentParser CodingKeyValidator.swift
[80/149] Compiling ArgumentParser NonsenseFlagsValidator.swift
[81/149] Compiling ArgumentParser ParsableArgumentsValidation.swift
[82/149] Compiling ArgumentParser PositionalArgumentsValidator.swift
[83/149] Compiling ArgumentParser UniqueNamesValidator.swift
[84/149] Compiling CLTLogger NSLock+withLock.swift
[85/149] Compiling CLTLogger OutputEnvironment.swift
[87/150] Compiling ArgumentParser Mutex.swift
[88/150] Compiling ArgumentParser Platform.swift
[89/150] Compiling ArgumentParser SequenceExtensions.swift
[90/150] Compiling ArgumentParser StringExtensions.swift
[91/150] Compiling ArgumentParser SwiftExtensions.swift
[92/150] Compiling CLTLogger EmojiSet.swift
[93/150] Compiling CLTLogger Scanner+OldOS.swift
[101/150] Compiling CLTLogger CLTLogger+WithSendable.swift
[102/150] Compiling CLTLogger CLTLogger.swift
[103/150] Compiling CLTLogger DummySendable.swift
[104/150] Compiling CLTLogger Emoji.swift
[105/150] Compiling ArgumentParser UsageGenerator.swift
[111/150] Emitting module CLTLogger
[112/150] Compiling CLTLogger SGR.swift
[113/150] Compiling CLTLogger String+Utils.swift
[114/151] Wrapping AST for CLTLogger for debugging
[116/151] Compiling GlobalConfMacros SimpleDiagnosticMessage.swift
[117/151] Compiling GlobalConfMacros DeclareConfNamespaceMacro.swift
[118/151] Compiling GlobalConfMacros Entrypoint.swift
[119/151] Compiling GlobalConfMacros LabeledExprSyntax+Utils.swift
[120/151] Compiling GlobalConfMacros Optional+Utils.swift
[121/151] Compiling GlobalConfMacros  Errors.swift
[122/151] Compiling GlobalConfMacros DeclareConfMacro.swift
[123/151] Compiling GlobalConfMacros DeclareConfAccessorMacro.swift
[127/152] Compiling ArgumentParser Parsed.swift
[128/152] Compiling ArgumentParser ParsedValues.swift
[129/152] Compiling ArgumentParser ParserError.swift
[130/152] Compiling ArgumentParser SplitArguments.swift
[131/152] Compiling ArgumentParser BashCompletionsGenerator.swift
[132/152] Compiling ArgumentParser CompletionsGenerator.swift
[133/152] Compiling ArgumentParser FishCompletionsGenerator.swift
[138/152] Compiling ArgumentParser ParsableCommand.swift
[139/152] Compiling ArgumentParser ArgumentDecoder.swift
[140/152] Compiling ArgumentParser ArgumentDefinition.swift
[141/152] Compiling ArgumentParser ArgumentSet.swift
[144/153] Wrapping AST for GlobalConfMacros for debugging
[145/153] Write Objects.LinkFileList
[146/153] Wrapping AST for ArgumentParser for debugging
[147/153] Linking GlobalConfMacros-tool
[149/175] Compiling GlobalConfModule InjectedConf.swift
[150/175] Compiling GlobalConfModule 1-ConfKey.swift
[151/175] Compiling GlobalConfModule 2-ServiceKey.swift
[152/177] Emitting module GlobalConfModule
[153/177] Compiling GlobalConfModule AutoInjectable.swift
[154/177] Compiling GlobalConfModule AutoInjectableMainActor.swift
[155/177] Compiling GlobalConfModule InjectedConf+AutoInjectable.swift
[156/177] Compiling GlobalConfModule 3-NamespaceKey.swift
[157/177] Compiling GlobalConfModule 4-AccessorConvenience.swift
[158/177] Compiling GlobalConfModule ConfContext+ConfKey.swift
[159/177] Compiling GlobalConfModule ConfContext+ConfKeyMainActor.swift
[160/177] Compiling GlobalConfModule ConfContext.swift
[161/177] Compiling GlobalConfModule InjectedConf+AutoInjectableMainActor.swift
[162/177] Compiling GlobalConfModule InjectedConf+ConfKey.swift
[163/177] Compiling GlobalConfModule InjectedConf+ConfKeyMainActor.swift
[164/177] Compiling GlobalConfModule Conf.swift
[165/177] Compiling GlobalConfModule ConfContext+AutoInjectable.swift
[166/177] Compiling GlobalConfModule ConfContext+AutoInjectableMainActor.swift
[167/177] Compiling GlobalConfModule ConfKey.swift
[168/177] Compiling GlobalConfModule ConfKeyMainActor.swift
[169/177] Compiling GlobalConfModule ConfKeys.swift
[170/177] Compiling GlobalConfModule Conf+ConfKey.swift
[171/177] Compiling GlobalConfModule Conf+ConfKeyMainActor.swift
[172/177] Compiling GlobalConfModule Conf+withValues.swift
[173/178] Wrapping AST for GlobalConfModule for debugging
[175/189] Compiling SignalHandling DelayedSigaction.swift
[176/189] Compiling SignalHandling SigactionHandler.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 |
[177/189] Compiling SignalHandling 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 |
[178/190] Compiling SignalHandling 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)
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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)
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[179/190] Compiling SignalHandling SigactionFlag.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)
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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)
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-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
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
error: emit-module command failed with exit code 1 (use -v to see invocation)
[180/190] Compiling SignalHandling  Config.swift
[181/190] Compiling SignalHandling  Errors.swift
[182/190] Emitting module SignalHandling
/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 |
[183/190] Compiling SignalHandling 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 | }
[184/190] Compiling SignalHandling DelayedSigactionHandler.swift
[185/190] Compiling SignalHandling SigactionDelayer_Block.swift
[186/190] Compiling SignalHandling SigactionDelayer_Unsig.swift
BUILD FAILURE 6.3 android