Build Information
Failed to build swift-process-invocation, reference main (984ae1), with Swift 6.2 for Android on 22 Jun 2025 04:12:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/swift-process-invocation.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-process-invocation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 984ae12 Add a License to the project
Cloned https://github.com/xcode-actions/swift-process-invocation.git
Revision (git rev-parse @):
984ae12e0753ab9f8bdb7a8d21d4972d5c8ecadf
SUCCESS checkout https://github.com/xcode-actions/swift-process-invocation.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/xcode-actions/stream-reader.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/xcode-actions/swift-signal-handling.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
[1/516] Fetching swift-signal-handling
[517/1567] Fetching swift-signal-handling, stream-reader
[738/1598] Fetching swift-signal-handling, stream-reader, unwraporthrow
[1589/2386] Fetching swift-signal-handling, stream-reader, unwraporthrow, clt-logger
[2007/6222] Fetching swift-signal-handling, stream-reader, unwraporthrow, clt-logger, swift-log
[2898/10658] Fetching swift-signal-handling, stream-reader, unwraporthrow, clt-logger, swift-log, swift-system
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.57s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.76s)
Fetched https://github.com/apple/swift-log.git from cache (0.76s)
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.77s)
Fetched https://github.com/xcode-actions/stream-reader.git from cache (0.77s)
Fetched https://github.com/apple/swift-system.git from cache (0.77s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.98s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (2.04s)
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.3 (0.49s)
Computing version for https://github.com/xcode-actions/stream-reader.git
Computed https://github.com/xcode-actions/stream-reader.git at 3.6.1 (0.41s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.46s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.42s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 1.0.0-rc.1 (0.47s)
Creating working copy for https://github.com/xcode-actions/stream-reader.git
Working copy of https://github.com/xcode-actions/stream-reader.git resolved at 3.6.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/Frizlab/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.0.1
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.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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.5.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-rc.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling CMacroExports exports.c
[13/32] Compiling CGNUSourceExportsForTests exports_for_tests.c
[14/32] Compiling CGNUSourceExports exports.c
[15/32] Compiling CSystem shims.c
[15/32] Write swift-version-8C5A4AE7A8CE2BA.txt
[18/79] Emitting module SystemPackage
[19/79] Compiling StreamReader FileDescriptorReader.swift
[20/79] Compiling StreamReader FileHandleReader.swift
[21/79] Compiling SystemPackage FileDescriptor.swift
[22/79] Compiling SystemPackage FileHelpers.swift
[23/82] Compiling SystemPackage FileOperations.swift
[24/82] Compiling SystemPackage FilePath.swift
[25/82] Compiling SystemPackage FilePathComponentView.swift
[26/82] Compiling SystemPackage FilePathComponents.swift
[27/82] Compiling SystemPackage MachPort.swift
[28/82] Compiling SystemPackage PlatformString.swift
[29/82] Compiling SystemPackage SystemString.swift
[30/82] Compiling SystemPackage FilePathParsing.swift
[31/82] Compiling SystemPackage FilePathString.swift
[32/82] Compiling SystemPackage FilePathSyntax.swift
[33/82] Compiling SystemPackage FilePathTemp.swift
[34/82] Emitting module ArgumentParserToolInfo
[35/82] Compiling ArgumentParserToolInfo ToolInfo.swift
[36/83] Wrapping AST for ArgumentParserToolInfo for debugging
[38/121] Compiling ArgumentParser Name.swift
[39/121] Compiling ArgumentParser Parsed.swift
[40/121] Compiling ArgumentParser ParsedValues.swift
[41/121] Emitting module ArgumentParser
[42/126] Compiling ArgumentParser OptionGroup.swift
[43/126] Compiling ArgumentParser AsyncParsableCommand.swift
[44/126] Compiling ArgumentParser CommandConfiguration.swift
[45/126] Compiling ArgumentParser CommandGroup.swift
[46/126] Compiling ArgumentParser EnumerableFlag.swift
[47/126] Compiling ArgumentParser ArgumentDefinition.swift
[48/126] Compiling ArgumentParser ArgumentSet.swift
[49/126] Compiling ArgumentParser CommandParser.swift
[50/126] Compiling ArgumentParser InputKey.swift
[51/126] Compiling ArgumentParser InputOrigin.swift
[52/126] Compiling ArgumentParser ExpressibleByArgument.swift
[53/126] Compiling ArgumentParser ParsableArguments.swift
[55/127] Emitting module Logging
[56/127] Compiling Logging Locks.swift
[56/127] Wrapping AST for SystemPackage for debugging
[58/127] Compiling Logging MetadataProvider.swift
[59/127] Emitting module StreamReader
[60/127] Compiling ArgumentParser BashCompletionsGenerator.swift
[61/127] Compiling ArgumentParser CompletionsGenerator.swift
[64/128] Compiling ArgumentParser FishCompletionsGenerator.swift
[65/128] Compiling ArgumentParser ZshCompletionsGenerator.swift
[66/128] Compiling ArgumentParser Argument.swift
[67/128] Compiling ArgumentParser ArgumentHelp.swift
[68/128] Compiling ArgumentParser ArgumentVisibility.swift
[69/128] Compiling ArgumentParser CompletionKind.swift
[70/128] Compiling ArgumentParser Errors.swift
[71/128] Compiling ArgumentParser Flag.swift
[72/128] Compiling ArgumentParser NameSpecification.swift
[73/128] Compiling ArgumentParser Option.swift
[74/128] Compiling Logging LogHandler.swift
[75/128] Compiling Logging Logging.swift
[87/129] Compiling StreamReader GenericStreamReader.swift
[88/129] Compiling StreamReader InputStreamReader.swift
[89/129] Emitting module UnwrapOrThrow
[90/129] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[91/129] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[92/129] Compiling StreamReader StreamReader.swift
[93/130] Compiling StreamReader StreamReaderErrors.swift
[94/130] Compiling StreamReader DataReader.swift
[95/130] Compiling StreamReader URLSessionStreamTaskReader.swift
[97/140] Compiling StreamReader Matching.swift
[97/143] Wrapping AST for Logging for debugging
[99/151] Wrapping AST for UnwrapOrThrow for debugging
[100/151] Wrapping AST for StreamReader for debugging
[104/151] Compiling ArgumentParser ParsableArgumentsValidation.swift
[105/151] Compiling ArgumentParser ParsableCommand.swift
[106/151] Compiling ArgumentParser ArgumentDecoder.swift
[110/151] Compiling ArgumentParser ParserError.swift
[111/151] Compiling ArgumentParser SplitArguments.swift
[112/151] Compiling ArgumentParser DumpHelpGenerator.swift
[113/151] Compiling ArgumentParser HelpCommand.swift
[114/151] Compiling ArgumentParser HelpGenerator.swift
[115/151] Compiling ArgumentParser MessageInfo.swift
[116/151] Compiling ArgumentParser UsageGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[117/151] Emitting module SignalHandling
/host/spi-builder-workspace/.build/checkouts/swift-signal-handling/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/.build/checkouts/swift-signal-handling/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 |
[118/151] Compiling SignalHandling SignalHandlingConfig.swift
[119/151] Compiling SignalHandling SignalHandlingError.swift
[120/152] Compiling CLTLogger CLTLogger+WithSendable.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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
[121/152] Compiling CLTLogger CLTLogger.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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
[122/152] Compiling CLTLogger EmojiSet.swift
[123/153] Compiling SignalHandling SigactionHandler.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: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/.build/checkouts/swift-signal-handling/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 |
[124/153] Compiling SignalHandling Signal.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: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/.build/checkouts/swift-signal-handling/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 |
[125/153] Compiling CLTLogger NSLock+Linux.swift
[126/153] Compiling CLTLogger OutputEnvironment.swift
[127/153] Compiling ArgumentParser CollectionExtensions.swift
[128/153] Compiling ArgumentParser Platform.swift
[129/153] Compiling ArgumentParser SequenceExtensions.swift
[130/153] Compiling ArgumentParser StringExtensions.swift
[131/153] Compiling ArgumentParser Tree.swift
[132/153] 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 | }
[134/154] Compiling CLTLogger Emoji.swift
[135/154] Compiling CLTLogger DummySendable.swift
[135/154] Wrapping AST for ArgumentParser for debugging
[137/154] Compiling CLTLogger String+Utils.swift
[138/154] Compiling SignalHandling DelayedSigaction.swift
[139/154] Compiling SignalHandling DelayedSigactionHandler.swift
[140/154] Compiling SignalHandling SigactionDelayer_Unsig.swift
[141/154] Compiling SignalHandling SigactionDelayer_Block.swift
BUILD FAILURE 6.2 android