Build Information
Failed to build swift-process-invocation, reference 1.3.0-beta.5.0.1 (3e4efd), with Swift 6.3 for Android on 15 Apr 2026 02:08:49 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/swift-process-invocation.git
Reference: 1.3.0-beta.5.0.1
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-process-invocation
* tag 1.3.0-beta.5.0.1 -> FETCH_HEAD
HEAD is now at 3e4efde Fix some trivial warnings
Cloned https://github.com/xcode-actions/swift-process-invocation.git
Revision (git rev-parse @):
3e4efde516af4b01ab8a3da687541aad94523f3e
SUCCESS checkout https://github.com/xcode-actions/swift-process-invocation.git at 1.3.0-beta.5.0.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/xcode-actions/swift-process-invocation.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/xcode-actions/clt-logger.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/Frizlab/stream-reader.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/xcode-actions/swift-signal-handling.git
Fetching https://github.com/apple/swift-system.git
[1/1051] Fetching stream-reader
[2/1100] Fetching stream-reader, unwraporthrow
[345/1664] Fetching stream-reader, unwraporthrow, swift-signal-handling
[1665/2533] Fetching stream-reader, unwraporthrow, swift-signal-handling, clt-logger
[1726/8134] Fetching stream-reader, unwraporthrow, swift-signal-handling, clt-logger, swift-system
[2115/14703] Fetching stream-reader, unwraporthrow, swift-signal-handling, clt-logger, swift-system, swift-log
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (1.28s)
Fetched https://github.com/apple/swift-system.git from cache (1.28s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (1.30s)
Fetched https://github.com/Frizlab/stream-reader.git from cache (1.30s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (1.35s)
Fetched https://github.com/apple/swift-log.git from cache (1.31s)
[1/17523] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.01s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 1.0.0 (3.14s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (0.55s)
Computing version for https://github.com/xcode-actions/swift-signal-handling.git
Computed https://github.com/xcode-actions/swift-signal-handling.git at 1.1.4 (0.49s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.1.0 (0.44s)
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.42s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.44s)
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/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.1.0
Creating working copy for https://github.com/Frizlab/stream-reader.git
Working copy of https://github.com/Frizlab/stream-reader.git resolved at 3.6.1
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/xcode-actions/swift-signal-handling.git
Working copy of https://github.com/xcode-actions/swift-signal-handling.git resolved at 1.1.4
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/33] Compiling CGNUSourceExportsForTests exports_for_tests.c
[3/33] Compiling CMacroExports exports.c
[4/33] Write sources
[7/33] Compiling CGNUSourceExports exports.c
[8/33] Write sources
[10/33] Write swift-version--4F562202D5529B1.txt
[10/33] Write sources
[15/33] Compiling CSystem shims.c
[16/33] Write sources
[19/84] Emitting module SystemPackage
[20/88] Emitting module UnwrapOrThrow
[21/88] Compiling SystemPackage Errno.swift
[22/88] Compiling SystemPackage ErrnoWindows.swift
[23/88] Compiling SystemPackage FileDescriptor.swift
[24/88] Compiling SystemPackage FileHelpers.swift
[25/88] Compiling SystemPackage FileOperations.swift
[26/88] Compiling SystemPackage SystemString.swift
[27/88] Compiling SystemPackage Util+StringArray.swift
[28/88] Compiling SystemPackage Util.swift
[29/88] Compiling SystemPackage UtilConsumers.swift
[30/88] Compiling SystemPackage FilePath.swift
[31/88] Compiling SystemPackage FilePathComponentView.swift
[32/88] Compiling SystemPackage FilePathComponents.swift
[33/88] Compiling SystemPackage FilePathParsing.swift
[34/88] Compiling SystemPackage FilePathString.swift
[35/88] Compiling SystemPackage FilePathSyntax.swift
[36/88] Compiling SystemPackage FilePathTemp.swift
[37/88] Compiling SystemPackage FilePathTempPosix.swift
[38/88] Compiling SystemPackage FilePathTempWindows.swift
[39/88] Compiling SystemPackage IORing.swift
[40/88] Compiling SystemPackage RawIORequest.swift
[41/88] Compiling SystemPackage Backcompat.swift
[42/88] Compiling SystemPackage CInterop.swift
[43/88] Emitting module ArgumentParserToolInfo
[44/88] Compiling ArgumentParserToolInfo ToolInfo.swift
[45/89] Wrapping AST for ArgumentParserToolInfo for debugging
[47/135] Emitting module ArgumentParser
[48/141] Compiling ArgumentParser InputOrigin.swift
[49/141] Compiling ArgumentParser Name.swift
[50/141] Compiling ArgumentParser Parsed.swift
[51/141] Compiling ArgumentParser ParsedValues.swift
[52/141] Compiling ArgumentParser ParserError.swift
[53/141] Compiling ArgumentParser SplitArguments.swift
[54/141] Compiling ArgumentParser ParentCommand.swift
[55/141] Compiling ArgumentParser AsyncParsableCommand.swift
[56/141] Compiling ArgumentParser CommandConfiguration.swift
[57/141] Compiling ArgumentParser CommandGroup.swift
[58/141] Compiling ArgumentParser ArgumentSet.swift
[59/141] Compiling ArgumentParser CommandParser.swift
[60/141] Compiling ArgumentParser InputKey.swift
[62/141] Compiling ArgumentParser Flag.swift
[63/141] Compiling ArgumentParser NameSpecification.swift
[64/141] Compiling ArgumentParser Option.swift
[65/141] Compiling ArgumentParser OptionGroup.swift
[67/142] Emitting module StreamReader
[68/142] Compiling StreamReader InputStreamReader.swift
[69/143] Compiling ArgumentParser ArgumentVisibility.swift
[70/143] Compiling ArgumentParser CompletionKind.swift
[71/143] Compiling ArgumentParser Errors.swift
[76/143] Compiling ArgumentParser Tree.swift
[77/143] Compiling ArgumentParser CodingKeyValidator.swift
[78/143] Compiling ArgumentParser NonsenseFlagsValidator.swift
[79/143] Compiling ArgumentParser ParsableArgumentsValidation.swift
[80/143] Compiling ArgumentParser PositionalArgumentsValidator.swift
[81/143] Compiling ArgumentParser UniqueNamesValidator.swift
[82/143] Compiling Logging MetadataProvider.swift
[83/143] Compiling StreamReader GenericStreamReader.swift
[84/143] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[85/143] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[86/144] Compiling ArgumentParser BashCompletionsGenerator.swift
[87/144] Compiling ArgumentParser CompletionsGenerator.swift
[88/144] Compiling ArgumentParser FishCompletionsGenerator.swift
[89/144] Compiling ArgumentParser ZshCompletionsGenerator.swift
[90/144] Compiling ArgumentParser Argument.swift
[91/144] Compiling ArgumentParser ArgumentDiscussion.swift
[92/144] Compiling ArgumentParser ArgumentHelp.swift
[93/144] Compiling ArgumentParser Foundation.swift
[94/144] Compiling ArgumentParser Mutex.swift
[95/144] Compiling ArgumentParser Platform.swift
[96/144] Compiling ArgumentParser SequenceExtensions.swift
[97/144] Compiling ArgumentParser StringExtensions.swift
[98/144] Compiling ArgumentParser SwiftExtensions.swift
[99/144] Compiling ArgumentParser DumpHelpGenerator.swift
[100/144] Compiling ArgumentParser HelpCommand.swift
[101/144] Compiling ArgumentParser HelpGenerator.swift
[102/144] Compiling ArgumentParser MessageInfo.swift
[103/144] Compiling ArgumentParser UsageGenerator.swift
[104/144] Compiling ArgumentParser CollectionExtensions.swift
[109/144] Compiling ArgumentParser EnumerableFlag.swift
[110/144] Compiling ArgumentParser ExpressibleByArgument.swift
[111/144] Compiling ArgumentParser ParsableArguments.swift
[113/144] Compiling StreamReader StreamReaderErrors.swift
[114/144] Compiling StreamReader DataReader.swift
[115/144] Compiling ArgumentParser ParsableCommand.swift
[116/144] Compiling ArgumentParser ArgumentDecoder.swift
[117/144] Compiling ArgumentParser ArgumentDefinition.swift
[123/144] Compiling StreamReader StreamReader.swift
[124/144] Compiling StreamReader URLSessionStreamTaskReader.swift
[125/145] Wrapping AST for SystemPackage for debugging
[127/145] Compiling StreamReader Matching.swift
[129/146] Compiling Logging LogHandler.swift
[130/146] Compiling Logging LogEvent.swift
[131/146] Compiling Logging Locks.swift
[132/146] Emitting module Logging
[133/146] Compiling Logging Logging.swift
[133/146] Wrapping AST for UnwrapOrThrow for debugging
[134/147] Wrapping AST for StreamReader for debugging
[135/147] Wrapping AST for ArgumentParser for debugging
[137/147] Wrapping AST for Logging for debugging
[139/168] Compiling SignalHandling SignalHandlingError.swift
[140/168] Compiling SignalHandling SignalHandlingConfig.swift
[141/169] Compiling CLTLogger Scanner+OldOS.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[142/170] Emitting module SignalHandling
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Signal.swift:90:62: error: cannot find 'SIGEMT' in scope
88 | public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
89 | #if !os(Linux)
90 | public static let emulatorTrap = Signal(rawValue: SIGEMT)
| `- error: cannot find 'SIGEMT' in scope
91 | #endif
92 | public static let badSystemCall = Signal(rawValue: SIGSYS)
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Signal.swift:212:58: error: cannot find 'SIGINFO' in scope
210 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
211 | #if !os(Linux)
212 | public static let informationRequest = Signal(rawValue: SIGINFO)
| `- error: cannot find 'SIGINFO' in scope
213 | #endif
214 |
[143/170] Compiling CLTLogger CLTLogger+WithSendable.swift
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/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/.build/checkouts/swift-signal-handling/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/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Signal.swift:90:62: error: cannot find 'SIGEMT' in scope
88 | public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
89 | #if !os(Linux)
90 | public static let emulatorTrap = Signal(rawValue: SIGEMT)
| `- error: cannot find 'SIGEMT' in scope
91 | #endif
92 | public static let badSystemCall = Signal(rawValue: SIGSYS)
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Signal.swift:212:58: error: cannot find 'SIGINFO' in scope
210 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
211 | #if !os(Linux)
212 | public static let informationRequest = Signal(rawValue: SIGINFO)
| `- error: cannot find 'SIGINFO' in scope
213 | #endif
214 |
[144/170] Compiling CLTLogger CLTLogger.swift
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/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/.build/checkouts/swift-signal-handling/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/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Signal.swift:90:62: error: cannot find 'SIGEMT' in scope
88 | public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
89 | #if !os(Linux)
90 | public static let emulatorTrap = Signal(rawValue: SIGEMT)
| `- error: cannot find 'SIGEMT' in scope
91 | #endif
92 | public static let badSystemCall = Signal(rawValue: SIGSYS)
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Signal.swift:212:58: error: cannot find 'SIGINFO' in scope
210 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
211 | #if !os(Linux)
212 | public static let informationRequest = Signal(rawValue: SIGINFO)
| `- error: cannot find 'SIGINFO' in scope
213 | #endif
214 |
[145/170] Compiling SignalHandling Utils.swift
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/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 | }
[146/170] Compiling CLTLogger DummySendable.swift
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:48:59: error: value of type 'sigaction' has no member '__sigaction_u'
46 |
47 | #if !os(Linux)
48 | switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
| `- error: value of type 'sigaction' has no member '__sigaction_u'
49 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
50 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:49:49: error: cannot find 'SIG_IGN' in scope
47 | #if !os(Linux)
48 | switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
49 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
| `- error: cannot find 'SIG_IGN' in scope
50 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
51 | default:
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:50:49: error: cannot find 'SIG_DFL' in scope
48 | switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
49 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
50 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
| `- error: cannot find 'SIG_DFL' in scope
51 | default:
52 | if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:52:65: error: value of type 'sigaction' has no member '__sigaction_u'
50 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
51 | default:
52 | if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
| `- error: value of type 'sigaction' has no member '__sigaction_u'
53 | else {self.handler = .ansiC(rawValue.__sigaction_u.__sa_handler)}
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:53:65: error: value of type 'sigaction' has no member '__sigaction_u'
51 | default:
52 | if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
53 | else {self.handler = .ansiC(rawValue.__sigaction_u.__sa_handler)}
| `- error: value of type 'sigaction' has no member '__sigaction_u'
54 | }
55 | #else
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:73:72: error: cannot find 'errno' in scope
71 | var action = sigaction()
72 | guard sigaction(signal.rawValue, nil, &action) == 0 else {
73 | throw SignalHandlingError.nonDestructiveSystemError(Errno(rawValue: errno))
| `- error: cannot find 'errno' in scope
74 | }
75 | 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/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:89:59: error: cannot find 'SIG_IGN' in scope
87 | #if !os(Linux)
88 | switch handler {
89 | case .ignoreHandler: ret.__sigaction_u.__sa_handler = SIG_IGN
| `- error: cannot find 'SIG_IGN' in scope
90 | case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
91 | case .ansiC(let h): ret.__sigaction_u.__sa_handler = h
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:89:30: error: value of type 'sigaction' has no member '__sigaction_u'
87 | #if !os(Linux)
88 | switch handler {
89 | case .ignoreHandler: ret.__sigaction_u.__sa_handler = SIG_IGN
| `- error: value of type 'sigaction' has no member '__sigaction_u'
90 | case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
91 | case .ansiC(let h): ret.__sigaction_u.__sa_handler = h
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:90:59: error: cannot find 'SIG_DFL' in scope
88 | switch handler {
89 | case .ignoreHandler: ret.__sigaction_u.__sa_handler = SIG_IGN
90 | case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
| `- error: cannot find 'SIG_DFL' in scope
91 | case .ansiC(let h): ret.__sigaction_u.__sa_handler = h
92 | case .posix(let h): ret.__sigaction_u.__sa_sigaction = h
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:90:30: error: value of type 'sigaction' has no member '__sigaction_u'
88 | switch handler {
89 | case .ignoreHandler: ret.__sigaction_u.__sa_handler = SIG_IGN
90 | case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
| `- error: value of type 'sigaction' has no member '__sigaction_u'
91 | case .ansiC(let h): ret.__sigaction_u.__sa_handler = h
92 | case .posix(let h): ret.__sigaction_u.__sa_sigaction = h
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:91:30: error: value of type 'sigaction' has no member '__sigaction_u'
89 | case .ignoreHandler: ret.__sigaction_u.__sa_handler = SIG_IGN
90 | case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
91 | case .ansiC(let h): ret.__sigaction_u.__sa_handler = h
| `- error: value of type 'sigaction' has no member '__sigaction_u'
92 | case .posix(let h): ret.__sigaction_u.__sa_sigaction = h
93 | }
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:92:30: error: value of type 'sigaction' has no member '__sigaction_u'
90 | case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
91 | case .ansiC(let h): ret.__sigaction_u.__sa_handler = h
92 | case .posix(let h): ret.__sigaction_u.__sa_sigaction = h
| `- error: value of type 'sigaction' has no member '__sigaction_u'
93 | }
94 | #else
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:131:72: error: cannot find 'errno' in scope
129 | var newCAction = self.rawValue
130 | guard sigaction(signal.rawValue, &newCAction, &oldCAction) == 0 else {
131 | throw SignalHandlingError.nonDestructiveSystemError(Errno(rawValue: errno))
| `- error: cannot find 'errno' in scope
132 | }
133 | 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/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:136:70: error: cannot find 'errno' in scope
134 | if revertIfIgnored && oldSigaction == .ignoreAction {
135 | guard sigaction(signal.rawValue, &oldCAction, nil) == 0 else {
136 | throw SignalHandlingError.destructiveSystemError(Errno(rawValue: errno))
| `- error: cannot find 'errno' in scope
137 | }
138 | 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
[147/170] Compiling CLTLogger Emoji.swift
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:48:59: error: value of type 'sigaction' has no member '__sigaction_u'
46 |
47 | #if !os(Linux)
48 | switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
| `- error: value of type 'sigaction' has no member '__sigaction_u'
49 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
50 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:49:49: error: cannot find 'SIG_IGN' in scope
47 | #if !os(Linux)
48 | switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
49 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
| `- error: cannot find 'SIG_IGN' in scope
50 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
51 | default:
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:50:49: error: cannot find 'SIG_DFL' in scope
48 | switch OpaquePointer(bitPattern: unsafeBitCast(rawValue.__sigaction_u.__sa_handler, to: Int.self)) {
49 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_IGN, to: Int.self)): self.handler = .ignoreHandler
50 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
| `- error: cannot find 'SIG_DFL' in scope
51 | default:
52 | if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:52:65: error: value of type 'sigaction' has no member '__sigaction_u'
50 | case OpaquePointer(bitPattern: unsafeBitCast(SIG_DFL, to: Int.self)): self.handler = .defaultHandler
51 | default:
52 | if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
| `- error: value of type 'sigaction' has no member '__sigaction_u'
53 | else {self.handler = .ansiC(rawValue.__sigaction_u.__sa_handler)}
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:53:65: error: value of type 'sigaction' has no member '__sigaction_u'
51 | default:
52 | if flags.contains(.siginfo) {self.handler = .posix(rawValue.__sigaction_u.__sa_sigaction)}
53 | else {self.handler = .ansiC(rawValue.__sigaction_u.__sa_handler)}
| `- error: value of type 'sigaction' has no member '__sigaction_u'
54 | }
55 | #else
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:73:72: error: cannot find 'errno' in scope
71 | var action = sigaction()
72 | guard sigaction(signal.rawValue, nil, &action) == 0 else {
73 | throw SignalHandlingError.nonDestructiveSystemError(Errno(rawValue: errno))
| `- error: cannot find 'errno' in scope
74 | }
75 | 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/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:89:59: error: cannot find 'SIG_IGN' in scope
87 | #if !os(Linux)
88 | switch handler {
89 | case .ignoreHandler: ret.__sigaction_u.__sa_handler = SIG_IGN
| `- error: cannot find 'SIG_IGN' in scope
90 | case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
91 | case .ansiC(let h): ret.__sigaction_u.__sa_handler = h
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:89:30: error: value of type 'sigaction' has no member '__sigaction_u'
87 | #if !os(Linux)
88 | switch handler {
89 | case .ignoreHandler: ret.__sigaction_u.__sa_handler = SIG_IGN
| `- error: value of type 'sigaction' has no member '__sigaction_u'
90 | case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
91 | case .ansiC(let h): ret.__sigaction_u.__sa_handler = h
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:90:59: error: cannot find 'SIG_DFL' in scope
88 | switch handler {
89 | case .ignoreHandler: ret.__sigaction_u.__sa_handler = SIG_IGN
90 | case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
| `- error: cannot find 'SIG_DFL' in scope
91 | case .ansiC(let h): ret.__sigaction_u.__sa_handler = h
92 | case .posix(let h): ret.__sigaction_u.__sa_sigaction = h
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:90:30: error: value of type 'sigaction' has no member '__sigaction_u'
88 | switch handler {
89 | case .ignoreHandler: ret.__sigaction_u.__sa_handler = SIG_IGN
90 | case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
| `- error: value of type 'sigaction' has no member '__sigaction_u'
91 | case .ansiC(let h): ret.__sigaction_u.__sa_handler = h
92 | case .posix(let h): ret.__sigaction_u.__sa_sigaction = h
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:91:30: error: value of type 'sigaction' has no member '__sigaction_u'
89 | case .ignoreHandler: ret.__sigaction_u.__sa_handler = SIG_IGN
90 | case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
91 | case .ansiC(let h): ret.__sigaction_u.__sa_handler = h
| `- error: value of type 'sigaction' has no member '__sigaction_u'
92 | case .posix(let h): ret.__sigaction_u.__sa_sigaction = h
93 | }
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:92:30: error: value of type 'sigaction' has no member '__sigaction_u'
90 | case .defaultHandler: ret.__sigaction_u.__sa_handler = SIG_DFL
91 | case .ansiC(let h): ret.__sigaction_u.__sa_handler = h
92 | case .posix(let h): ret.__sigaction_u.__sa_sigaction = h
| `- error: value of type 'sigaction' has no member '__sigaction_u'
93 | }
94 | #else
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:131:72: error: cannot find 'errno' in scope
129 | var newCAction = self.rawValue
130 | guard sigaction(signal.rawValue, &newCAction, &oldCAction) == 0 else {
131 | throw SignalHandlingError.nonDestructiveSystemError(Errno(rawValue: errno))
| `- error: cannot find 'errno' in scope
132 | }
133 | 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/.build/checkouts/swift-signal-handling/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:136:70: error: cannot find 'errno' in scope
134 | if revertIfIgnored && oldSigaction == .ignoreAction {
135 | guard sigaction(signal.rawValue, &oldCAction, nil) == 0 else {
136 | throw SignalHandlingError.destructiveSystemError(Errno(rawValue: errno))
| `- error: cannot find 'errno' in scope
137 | }
138 | 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
[148/170] Compiling SignalHandling SigactionDelayer_Block.swift
[149/170] Compiling SignalHandling SigactionDelayer_Unsig.swift
[150/170] Compiling SignalHandling DelayedSigaction.swift
[151/170] Compiling SignalHandling DelayedSigactionHandler.swift
BUILD FAILURE 6.3 android