Build Information
Failed to build swift-process-invocation, reference 1.2.0 (76f64c), with Swift 6.2 for Android on 22 Jun 2025 04:12:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 1.2.0
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.2.0 -> FETCH_HEAD
HEAD is now at 76f64c1 Fix a compilation warning on Linux
Cloned https://github.com/xcode-actions/swift-process-invocation.git
Revision (git rev-parse @):
76f64c121839b3f9da5ebddbdcfd82f8ff953c77
SUCCESS checkout https://github.com/xcode-actions/swift-process-invocation.git at 1.2.0
========================================
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-2":/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/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/xcode-actions/swift-signal-handling.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/xcode-actions/stream-reader.git
Fetching https://github.com/apple/swift-system.git
[1/1051] Fetching stream-reader
[1052/1082] Fetching stream-reader, unwraporthrow
[1083/5518] Fetching stream-reader, unwraporthrow, swift-system
[1838/6034] Fetching stream-reader, unwraporthrow, swift-system, swift-signal-handling
[2116/6822] Fetching stream-reader, unwraporthrow, swift-system, swift-signal-handling, clt-logger
[6195/10658] Fetching stream-reader, unwraporthrow, swift-system, swift-signal-handling, clt-logger, swift-log
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (1.14s)
[7043/10627] Fetching stream-reader, swift-system, swift-signal-handling, clt-logger, swift-log
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (1.38s)
Fetched https://github.com/xcode-actions/stream-reader.git from cache (1.39s)
Fetched https://github.com/apple/swift-system.git from cache (1.40s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (1.43s)
Fetched https://github.com/apple/swift-log.git from cache (1.51s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.50s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (3.07s)
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.42s)
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.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.44s)
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.47s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 0.9.0 (0.79s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.48s)
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/clt-logger.git
Working copy of https://github.com/xcode-actions/clt-logger.git resolved at 0.9.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.3
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/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-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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling CGNUSourceExports exports.c
[13/32] Compiling CMacroExports exports.c
[14/32] Compiling CSystem shims.c
[15/32] Compiling CGNUSourceExportsForTests exports_for_tests.c
[15/32] Write swift-version-8C5A4AE7A8CE2BA.txt
[18/79] Emitting module ArgumentParserToolInfo
[19/79] Emitting module StreamReader
[20/80] Compiling SystemPackage MachPort.swift
[21/80] Compiling SystemPackage PlatformString.swift
[22/80] Compiling SystemPackage SystemString.swift
[23/83] Compiling SystemPackage FileOperations.swift
[24/83] Compiling SystemPackage FilePath.swift
[25/83] Compiling SystemPackage FilePathComponentView.swift
[26/83] Compiling SystemPackage FilePathComponents.swift
[27/83] Emitting module SystemPackage
[28/83] Compiling SystemPackage Errno.swift
[29/83] Compiling SystemPackage ErrnoWindows.swift
[30/83] Compiling SystemPackage FileDescriptor.swift
[31/83] Compiling SystemPackage FileHelpers.swift
[32/83] Compiling SystemPackage FilePathParsing.swift
[33/83] Compiling SystemPackage FilePathString.swift
[34/83] Compiling SystemPackage FilePathSyntax.swift
[35/83] Compiling SystemPackage FilePathTemp.swift
[36/83] Compiling SystemPackage FilePathTempPosix.swift
[37/83] Compiling SystemPackage FilePathTempWindows.swift
[38/83] Compiling SystemPackage FilePathWindows.swift
[39/83] Compiling SystemPackage FilePermissions.swift
[40/83] Compiling ArgumentParserToolInfo ToolInfo.swift
[41/84] Wrapping AST for ArgumentParserToolInfo for debugging
[43/122] Compiling ArgumentParser Name.swift
[44/122] Compiling ArgumentParser Parsed.swift
[45/122] Compiling ArgumentParser ParsedValues.swift
[46/122] Compiling ArgumentParser EnumerableFlag.swift
[47/122] Compiling ArgumentParser ArgumentDefinition.swift
[48/122] Compiling ArgumentParser ArgumentSet.swift
[49/122] Compiling ArgumentParser CommandParser.swift
[50/122] Compiling Logging MetadataProvider.swift
[51/122] Compiling ArgumentParser InputKey.swift
[52/122] Compiling ArgumentParser InputOrigin.swift
[53/122] Compiling ArgumentParser ExpressibleByArgument.swift
[54/122] Compiling ArgumentParser ParsableArguments.swift
[55/123] Emitting module Logging
[56/123] Wrapping AST for SystemPackage for debugging
[58/123] Emitting module UnwrapOrThrow
[59/123] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[60/123] Compiling ArgumentParser ArgumentVisibility.swift
[61/123] Compiling ArgumentParser CompletionKind.swift
[62/123] Compiling StreamReader URLSessionStreamTaskReader.swift
[66/123] Compiling ArgumentParser ParserError.swift
[67/123] Compiling ArgumentParser SplitArguments.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 Locks.swift
[76/128] Compiling Logging Logging.swift
[78/129] Compiling StreamReader GenericStreamReader.swift
[79/129] Compiling StreamReader StreamReaderErrors.swift
[80/129] Compiling StreamReader StreamReader.swift
[81/129] Compiling StreamReader DataReader.swift
[82/129] Compiling StreamReader InputStreamReader.swift
[83/129] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[85/130] Compiling StreamReader Matching.swift
[85/131] Wrapping AST for Logging for debugging
[86/140] Wrapping AST for UnwrapOrThrow for debugging
[88/147] Wrapping AST for StreamReader for debugging
[90/147] Compiling ArgumentParser OptionGroup.swift
[91/147] Compiling ArgumentParser AsyncParsableCommand.swift
[92/147] Compiling ArgumentParser CommandConfiguration.swift
[93/147] Compiling ArgumentParser CommandGroup.swift
[95/147] Compiling ArgumentParser BashCompletionsGenerator.swift
[96/147] Compiling ArgumentParser CompletionsGenerator.swift
[97/147] Compiling ArgumentParser FishCompletionsGenerator.swift
[98/147] Compiling ArgumentParser ZshCompletionsGenerator.swift
[99/147] Compiling ArgumentParser Argument.swift
[100/147] Compiling ArgumentParser ArgumentHelp.swift
[101/147] Compiling SignalHandling SignalHandlingError.swift
[102/147] Compiling SignalHandling SignalHandlingConfig.swift
[103/148] Compiling SignalHandling Sigaction.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
[104/148] Compiling SignalHandling SigactionFlag.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
[105/148] 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 |
[106/148] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[107/148] 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 |
[108/148] Compiling CLTLogger CLTLogger.swift
/host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/CLTLogger.swift:207:6: error: cannot find 'isatty' in scope
205 | /* Is the fd on which we write a tty?
206 | * Most ttys nowadays support colors, with a notable exception: Xcode. */
207 | if isatty(fd.rawValue) != 0 {
| `- error: cannot find 'isatty' in scope
208 | /* Xcode detection: it ain’t trivial.
209 | * I found checking for the existence of the __XCODE_BUILT_PRODUCTS_DIR_PATHS env var to be a possible solution.
/host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/CLTLogger.swift:214:7: error: cannot find 'tcgetpgrp' in scope
212 | * The solution we’re currently using is to check whether the fd on which we write has a foreground process group as Xcode does not set one.
213 | * Note: If Xcode detection is changed here, it should also be changed in defaultConstantsByLogLevelForEmoji. */
214 | if tcgetpgrp(fd.rawValue) == -1 && errno == ENOTTY {
| `- error: cannot find 'tcgetpgrp' in scope
215 | /* We log using emojis in Xcode. */
216 | return .emoji
/host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/CLTLogger.swift:214:39: error: cannot find 'errno' in scope
212 | * The solution we’re currently using is to check whether the fd on which we write has a foreground process group as Xcode does not set one.
213 | * Note: If Xcode detection is changed here, it should also be changed in defaultConstantsByLogLevelForEmoji. */
214 | if tcgetpgrp(fd.rawValue) == -1 && errno == ENOTTY {
| `- error: cannot find 'errno' in scope
215 | /* We log using emojis in Xcode. */
216 | return .emoji
/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/clt-logger/Sources/CLTLogger.swift:270:7: error: cannot find 'isatty' in scope
268 | func addMeta(_ str: String, _ padding: String) -> Constants {
269 | var str = str
270 | if isatty(fd.rawValue) != 0, tcgetpgrp(fd.rawValue) == -1, errno == ENOTTY {
| `- error: cannot find 'isatty' in scope
271 | /* We’re in Xcode (probably).
272 | * By default we do not do the emoji padding, unless explicitly asked to (`CLTLOGGER_TERMINAL_EMOJI` set to anything but “NO”). */
/host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/CLTLogger.swift:270:33: error: cannot find 'tcgetpgrp' in scope
268 | func addMeta(_ str: String, _ padding: String) -> Constants {
269 | var str = str
270 | if isatty(fd.rawValue) != 0, tcgetpgrp(fd.rawValue) == -1, errno == ENOTTY {
| `- error: cannot find 'tcgetpgrp' in scope
271 | /* We’re in Xcode (probably).
272 | * By default we do not do the emoji padding, unless explicitly asked to (`CLTLOGGER_TERMINAL_EMOJI` set to anything but “NO”). */
/host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/CLTLogger.swift:270:63: error: cannot find 'errno' in scope
268 | func addMeta(_ str: String, _ padding: String) -> Constants {
269 | var str = str
270 | if isatty(fd.rawValue) != 0, tcgetpgrp(fd.rawValue) == -1, errno == ENOTTY {
| `- error: cannot find 'errno' in scope
271 | /* We’re in Xcode (probably).
272 | * By default we do not do the emoji padding, unless explicitly asked to (`CLTLOGGER_TERMINAL_EMOJI` set to anything but “NO”). */
/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
[109/148] 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 | }
[112/148] Compiling ArgumentParser ParsableArgumentsValidation.swift
[113/148] Compiling ArgumentParser ParsableCommand.swift
[114/148] Compiling ArgumentParser ArgumentDecoder.swift
[115/148] Emitting module ArgumentParser
[121/148] Emitting module CLTLogger
[122/148] Compiling SignalHandling DelayedSigaction.swift
[123/148] Compiling SignalHandling DelayedSigactionHandler.swift
[124/148] Compiling SignalHandling SigactionDelayer_Block.swift
[125/148] Compiling SignalHandling SigactionDelayer_Unsig.swift
[126/148] Compiling ArgumentParser DumpHelpGenerator.swift
[127/148] Compiling ArgumentParser HelpCommand.swift
[128/148] Compiling ArgumentParser HelpGenerator.swift
[129/148] Compiling ArgumentParser MessageInfo.swift
[130/148] Compiling ArgumentParser UsageGenerator.swift
BUILD FAILURE 6.2 android