The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-signal-handling, reference main (3dcac5), with Swift 6.3 for Android on 15 Apr 2026 12:25:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: 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.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-1":/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/apple/swift-log.git
[1/6569] Fetching swift-log
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/Frizlab/GlobalConfModule.git
Fetched https://github.com/apple/swift-log.git from cache (0.80s)
[1/669] Fetching globalconfmodule
Fetched https://github.com/Frizlab/GlobalConfModule.git from cache (0.32s)
[1/17523] Fetching swift-argument-parser
[8237/18392] Fetching swift-argument-parser, clt-logger
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.93s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.94s)
Computing version for https://github.com/Frizlab/GlobalConfModule.git
Computed https://github.com/Frizlab/GlobalConfModule.git at 0.4.4 (2.23s)
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.31s)
[1/74972] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.89s)
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.43s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.59s)
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.51s)
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/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/Frizlab/GlobalConfModule.git
Working copy of https://github.com/Frizlab/GlobalConfModule.git resolved at 0.4.4
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 602.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.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.55s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/25] Write sources
[9/25] Write swift-version--4F562202D5529B1.txt
[10/29] Write sources
[13/44] Emitting module ArgumentParserToolInfo
[14/44] Compiling ServiceContextModule ServiceContextKey.swift
[15/44] Emitting module ServiceContextModule
[16/44] Compiling ServiceContextModule ServiceContext.swift
[17/45] Wrapping AST for ServiceContextModule for debugging
[19/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/46] Wrapping AST for ArgumentParserToolInfo for debugging
[22/92] Compiling Logging MetadataProvider.swift
[23/92] Compiling Logging LogHandler.swift
[24/92] Compiling Logging LogEvent.swift
[25/92] Emitting module Logging
[26/92] Compiling Logging Logging.swift
[27/92] Compiling Logging Locks.swift
[28/96] Wrapping AST for Logging for debugging
[30/103] Emitting module ArgumentParser
[31/109] Compiling ArgumentParser ParentCommand.swift
[32/109] Compiling ArgumentParser AsyncParsableCommand.swift
[33/109] Compiling ArgumentParser CommandConfiguration.swift
[34/109] Compiling ArgumentParser CommandGroup.swift
[35/109] Compiling ArgumentParser EnumerableFlag.swift
[36/109] Compiling ArgumentParser ExpressibleByArgument.swift
[37/109] Compiling ArgumentParser ParsableArguments.swift
[38/109] Compiling GlobalConfMacros Optional+Utils.swift
[39/110] Compiling GlobalConfMacros DeclareConfNamespaceMacro.swift
[40/110] Compiling GlobalConfMacros Entrypoint.swift
[41/110] Compiling GlobalConfMacros LabeledExprSyntax+Utils.swift
[42/110] Compiling GlobalConfMacros DeclareConfMacro.swift
[43/110] Emitting module GlobalConfMacros
[44/110] Compiling GlobalConfMacros DeclareConfAccessorMacro.swift
[45/110] Compiling GlobalConfMacros  Errors.swift
[46/110] Compiling GlobalConfMacros SimpleDiagnosticMessage.swift
[47/111] Wrapping AST for GlobalConfMacros for debugging
[49/111] Compiling ArgumentParser InputOrigin.swift
[50/111] Compiling ArgumentParser Name.swift
[51/111] Compiling ArgumentParser Parsed.swift
[52/111] Compiling ArgumentParser ParsedValues.swift
[53/111] Compiling ArgumentParser ParserError.swift
[54/111] Compiling ArgumentParser SplitArguments.swift
[55/111] Compiling ArgumentParser Foundation.swift
[56/111] Compiling ArgumentParser Mutex.swift
[57/111] Compiling ArgumentParser Platform.swift
[58/111] Compiling ArgumentParser SequenceExtensions.swift
[59/111] Compiling ArgumentParser StringExtensions.swift
[60/111] Compiling ArgumentParser SwiftExtensions.swift
[61/111] Compiling CLTLogger Scanner+OldOS.swift
[61/112] Write Objects.LinkFileList
[63/112] Compiling ArgumentParser ArgumentVisibility.swift
[64/112] Compiling ArgumentParser CompletionKind.swift
[65/112] Compiling ArgumentParser Errors.swift
[66/112] Compiling ArgumentParser Flag.swift
[67/112] Compiling ArgumentParser NameSpecification.swift
[68/112] Compiling ArgumentParser Option.swift
[69/112] Compiling ArgumentParser OptionGroup.swift
[70/112] Compiling CLTLogger DummySendable.swift
[71/112] Compiling CLTLogger Emoji.swift
[72/112] Compiling CLTLogger EmojiSet.swift
[73/112] Compiling CLTLogger CLTLogger+WithSendable.swift
[74/112] Compiling CLTLogger CLTLogger.swift
[75/112] Emitting module CLTLogger
[76/112] Compiling ArgumentParser Tree.swift
[77/112] Compiling ArgumentParser CodingKeyValidator.swift
[78/112] Compiling ArgumentParser NonsenseFlagsValidator.swift
[79/112] Compiling ArgumentParser ParsableArgumentsValidation.swift
[80/112] Compiling ArgumentParser PositionalArgumentsValidator.swift
[81/112] Compiling ArgumentParser UniqueNamesValidator.swift
[82/112] Compiling CLTLogger NSLock+withLock.swift
[83/112] Compiling CLTLogger OutputEnvironment.swift
[84/112] Compiling CLTLogger SGR.swift
[85/112] Compiling CLTLogger String+Utils.swift
[91/113] Compiling ArgumentParser Argument.swift
[92/113] Compiling ArgumentParser ArgumentDiscussion.swift
[93/113] Compiling ArgumentParser ArgumentHelp.swift
[94/113] Compiling ArgumentParser DumpHelpGenerator.swift
[95/113] Compiling ArgumentParser HelpCommand.swift
[96/113] Compiling ArgumentParser HelpGenerator.swift
[97/113] Compiling ArgumentParser MessageInfo.swift
[98/113] Compiling ArgumentParser UsageGenerator.swift
[99/113] Compiling ArgumentParser CollectionExtensions.swift
[99/113] Wrapping AST for CLTLogger for debugging
[100/113] Linking GlobalConfMacros-tool
[102/135] Compiling ArgumentParser ParsableCommand.swift
[103/135] Compiling ArgumentParser ArgumentDecoder.swift
[104/135] Compiling ArgumentParser ArgumentDefinition.swift
[105/135] Compiling ArgumentParser ArgumentSet.swift
[106/135] Compiling ArgumentParser CommandParser.swift
[107/135] Compiling ArgumentParser InputKey.swift
[108/136] Wrapping AST for ArgumentParser for debugging
[110/136] Compiling GlobalConfModule InjectedConf.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[111/136] Compiling GlobalConfModule 1-ConfKey.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[112/136] Compiling GlobalConfModule 2-ServiceKey.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[113/138] Compiling GlobalConfModule ConfKey.swift
[114/138] Compiling GlobalConfModule ConfKeyMainActor.swift
[115/138] Compiling GlobalConfModule ConfKeys.swift
[116/138] Compiling GlobalConfModule AutoInjectable.swift
[117/138] Compiling GlobalConfModule AutoInjectableMainActor.swift
[118/138] Compiling GlobalConfModule InjectedConf+AutoInjectable.swift
[119/138] Compiling GlobalConfModule Conf.swift
[120/138] Compiling GlobalConfModule ConfContext+AutoInjectable.swift
[121/138] Compiling GlobalConfModule ConfContext+AutoInjectableMainActor.swift
[122/138] Emitting module GlobalConfModule
[123/138] Compiling GlobalConfModule 3-NamespaceKey.swift
[124/138] Compiling GlobalConfModule 4-AccessorConvenience.swift
[125/138] Compiling GlobalConfModule InjectedConf+AutoInjectableMainActor.swift
[126/138] Compiling GlobalConfModule InjectedConf+ConfKey.swift
[127/138] Compiling GlobalConfModule InjectedConf+ConfKeyMainActor.swift
[128/138] Compiling GlobalConfModule Conf+ConfKey.swift
[129/138] Compiling GlobalConfModule Conf+ConfKeyMainActor.swift
[130/138] Compiling GlobalConfModule Conf+withValues.swift
[131/138] Compiling GlobalConfModule ConfContext+ConfKey.swift
[132/138] Compiling GlobalConfModule ConfContext+ConfKeyMainActor.swift
[133/138] Compiling GlobalConfModule ConfContext.swift
[134/139] Wrapping AST for GlobalConfModule for debugging
[136/151] 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 |
[137/151] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[138/152] 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 |
[139/152] Compiling SignalHandling  Config.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[140/152] Compiling SignalHandling  Errors.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[141/152] Compiling SignalHandling Sigaction.swift
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:53:59: error: value of type 'sigaction' has no member '__sigaction_u'
 51 |
 52 | #if !os(Linux)
 53 | 		switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
    |                                                           `- error: value of type 'sigaction' has no member '__sigaction_u'
 54 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
 55 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:54:49: error: cannot find 'SIG_IGN' in scope
 52 | #if !os(Linux)
 53 | 		switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
 54 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
    |                                                 `- error: cannot find 'SIG_IGN' in scope
 55 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
 56 | 			default:
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:55:49: error: cannot find 'SIG_DFL' in scope
 53 | 		switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
 54 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
 55 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
    |                                                 `- error: cannot find 'SIG_DFL' in scope
 56 | 			default:
 57 | 				if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:57:65: error: value of type 'sigaction' has no member '__sigaction_u'
 55 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
 56 | 			default:
 57 | 				if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
    |                                                                 `- error: value of type 'sigaction' has no member '__sigaction_u'
 58 | 				else                        {self.handler = .ansiC(rawValue.__sigaction_u.__sa_handler)}
 59 | 		}
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:58:65: error: value of type 'sigaction' has no member '__sigaction_u'
 56 | 			default:
 57 | 				if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
 58 | 				else                        {self.handler = .ansiC(rawValue.__sigaction_u.__sa_handler)}
    |                                                                 `- error: value of type 'sigaction' has no member '__sigaction_u'
 59 | 		}
 60 | #else
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:78:72: error: cannot find 'errno' in scope
 76 | 		var action = sigaction()
 77 | 		guard sigaction(signal.rawValue, nil, &action) == 0 else {
 78 | 			throw SignalHandlingError.nonDestructiveSystemError(Errno(rawValue: errno))
    |                                                                        `- error: cannot find 'errno' in scope
 79 | 		}
 80 | 		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:94:59: error: cannot find 'SIG_IGN' in scope
 92 | #if !os(Linux)
 93 | 		switch handler {
 94 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
    |                                                           `- error: cannot find 'SIG_IGN' in scope
 95 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
 96 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:94:30: error: value of type 'sigaction' has no member '__sigaction_u'
 92 | #if !os(Linux)
 93 | 		switch handler {
 94 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
    |                              `- error: value of type 'sigaction' has no member '__sigaction_u'
 95 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
 96 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:95:59: error: cannot find 'SIG_DFL' in scope
 93 | 		switch handler {
 94 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
 95 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
    |                                                           `- error: cannot find 'SIG_DFL' in scope
 96 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
 97 | 			case .posix(let h):   ret.__sigaction_u.__sa_sigaction = h
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:95:30: error: value of type 'sigaction' has no member '__sigaction_u'
 93 | 		switch handler {
 94 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
 95 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
    |                              `- error: value of type 'sigaction' has no member '__sigaction_u'
 96 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
 97 | 			case .posix(let h):   ret.__sigaction_u.__sa_sigaction = h
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:96:30: error: value of type 'sigaction' has no member '__sigaction_u'
 94 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
 95 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
 96 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
    |                              `- error: value of type 'sigaction' has no member '__sigaction_u'
 97 | 			case .posix(let h):   ret.__sigaction_u.__sa_sigaction = h
 98 | 		}
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:97:30: error: value of type 'sigaction' has no member '__sigaction_u'
 95 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
 96 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
 97 | 			case .posix(let h):   ret.__sigaction_u.__sa_sigaction = h
    |                              `- error: value of type 'sigaction' has no member '__sigaction_u'
 98 | 		}
 99 | #else
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:136:72: error: cannot find 'errno' in scope
134 | 		var newCAction = self.rawValue
135 | 		guard sigaction(signal.rawValue, &newCAction, &oldCAction) == 0 else {
136 | 			throw SignalHandlingError.nonDestructiveSystemError(Errno(rawValue: errno))
    |                                                                        `- error: cannot find 'errno' in scope
137 | 		}
138 | 		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:141:70: error: cannot find 'errno' in scope
139 | 		if revertIfIgnored && oldSigaction == .ignoreAction {
140 | 			guard sigaction(signal.rawValue, &oldCAction, nil) == 0 else {
141 | 				throw SignalHandlingError.destructiveSystemError(Errno(rawValue: errno))
    |                                                                      `- error: cannot find 'errno' in scope
142 | 			}
143 | 			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
[142/152] Compiling SignalHandling SigactionFlag.swift
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:53:59: error: value of type 'sigaction' has no member '__sigaction_u'
 51 |
 52 | #if !os(Linux)
 53 | 		switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
    |                                                           `- error: value of type 'sigaction' has no member '__sigaction_u'
 54 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
 55 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:54:49: error: cannot find 'SIG_IGN' in scope
 52 | #if !os(Linux)
 53 | 		switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
 54 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
    |                                                 `- error: cannot find 'SIG_IGN' in scope
 55 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
 56 | 			default:
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:55:49: error: cannot find 'SIG_DFL' in scope
 53 | 		switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
 54 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
 55 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
    |                                                 `- error: cannot find 'SIG_DFL' in scope
 56 | 			default:
 57 | 				if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:57:65: error: value of type 'sigaction' has no member '__sigaction_u'
 55 | 			case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
 56 | 			default:
 57 | 				if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
    |                                                                 `- error: value of type 'sigaction' has no member '__sigaction_u'
 58 | 				else                        {self.handler = .ansiC(rawValue.__sigaction_u.__sa_handler)}
 59 | 		}
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:58:65: error: value of type 'sigaction' has no member '__sigaction_u'
 56 | 			default:
 57 | 				if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
 58 | 				else                        {self.handler = .ansiC(rawValue.__sigaction_u.__sa_handler)}
    |                                                                 `- error: value of type 'sigaction' has no member '__sigaction_u'
 59 | 		}
 60 | #else
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:78:72: error: cannot find 'errno' in scope
 76 | 		var action = sigaction()
 77 | 		guard sigaction(signal.rawValue, nil, &action) == 0 else {
 78 | 			throw SignalHandlingError.nonDestructiveSystemError(Errno(rawValue: errno))
    |                                                                        `- error: cannot find 'errno' in scope
 79 | 		}
 80 | 		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:94:59: error: cannot find 'SIG_IGN' in scope
 92 | #if !os(Linux)
 93 | 		switch handler {
 94 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
    |                                                           `- error: cannot find 'SIG_IGN' in scope
 95 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
 96 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:94:30: error: value of type 'sigaction' has no member '__sigaction_u'
 92 | #if !os(Linux)
 93 | 		switch handler {
 94 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
    |                              `- error: value of type 'sigaction' has no member '__sigaction_u'
 95 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
 96 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:95:59: error: cannot find 'SIG_DFL' in scope
 93 | 		switch handler {
 94 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
 95 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
    |                                                           `- error: cannot find 'SIG_DFL' in scope
 96 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
 97 | 			case .posix(let h):   ret.__sigaction_u.__sa_sigaction = h
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:95:30: error: value of type 'sigaction' has no member '__sigaction_u'
 93 | 		switch handler {
 94 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
 95 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
    |                              `- error: value of type 'sigaction' has no member '__sigaction_u'
 96 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
 97 | 			case .posix(let h):   ret.__sigaction_u.__sa_sigaction = h
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:96:30: error: value of type 'sigaction' has no member '__sigaction_u'
 94 | 			case .ignoreHandler:  ret.__sigaction_u.__sa_handler = SIG_IGN
 95 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
 96 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
    |                              `- error: value of type 'sigaction' has no member '__sigaction_u'
 97 | 			case .posix(let h):   ret.__sigaction_u.__sa_sigaction = h
 98 | 		}
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:97:30: error: value of type 'sigaction' has no member '__sigaction_u'
 95 | 			case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
 96 | 			case .ansiC(let h):   ret.__sigaction_u.__sa_handler = h
 97 | 			case .posix(let h):   ret.__sigaction_u.__sa_sigaction = h
    |                              `- error: value of type 'sigaction' has no member '__sigaction_u'
 98 | 		}
 99 | #else
/host/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:136:72: error: cannot find 'errno' in scope
134 | 		var newCAction = self.rawValue
135 | 		guard sigaction(signal.rawValue, &newCAction, &oldCAction) == 0 else {
136 | 			throw SignalHandlingError.nonDestructiveSystemError(Errno(rawValue: errno))
    |                                                                        `- error: cannot find 'errno' in scope
137 | 		}
138 | 		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:141:70: error: cannot find 'errno' in scope
139 | 		if revertIfIgnored && oldSigaction == .ignoreAction {
140 | 			guard sigaction(signal.rawValue, &oldCAction, nil) == 0 else {
141 | 				throw SignalHandlingError.destructiveSystemError(Errno(rawValue: errno))
    |                                                                      `- error: cannot find 'errno' in scope
142 | 			}
143 | 			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
[143/152] 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 | }
[144/152] Compiling SignalHandling SigactionDelayer_Block.swift
[145/152] Compiling SignalHandling DelayedSigaction.swift
[146/152] Compiling SignalHandling DelayedSigactionHandler.swift
[147/152] Compiling SignalHandling ErrnoWithoutSystem.swift
[148/152] Compiling SignalHandling SigactionDelayer_Unsig.swift
BUILD FAILURE 6.3 android