Build Information
Failed to build swift-process-invocation, reference 1.2.0 (76f64c), with Swift 6.1 for Android on 29 May 2025 18:10:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/xcode-actions/swift-process-invocation.git
https://github.com/xcode-actions/swift-process-invocation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "unwraporthrow",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/UnwrapOrThrow.git"
},
{
"identity" : "clt-logger",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-actions/clt-logger.git"
},
{
"identity" : "stream-reader",
"requirement" : {
"range" : [
{
"lower_bound" : "3.5.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-actions/stream-reader.git"
},
{
"identity" : "swift-signal-handling",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-actions/swift-signal-handling.git"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
}
],
"manifest_display_name" : "swift-process-invocation",
"name" : "swift-process-invocation",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ProcessInvocation",
"targets" : [
"ProcessInvocation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swift-process-invocation-bridge",
"targets" : [
"ProcessInvocationBridge"
],
"type" : {
"executable" : null
}
},
{
"name" : "ManualTests",
"targets" : [
"ManualTests"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ProcessInvocationTests",
"module_type" : "SwiftTarget",
"name" : "ProcessInvocationTests",
"path" : "Tests/ProcessInvocationTests",
"product_dependencies" : [
"CLTLogger",
"Logging",
"StreamReader",
"SystemPackage"
],
"sources" : [
"ProcessInvocationTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"ProcessInvocation",
"CGNUSourceExportsForTests"
],
"type" : "test"
},
{
"c99name" : "ProcessInvocationBridge",
"module_type" : "SwiftTarget",
"name" : "ProcessInvocationBridge",
"path" : "Sources/ProcessInvocationBridge",
"product_dependencies" : [
"ArgumentParser",
"CLTLogger",
"Logging",
"SystemPackage"
],
"product_memberships" : [
"ProcessInvocation",
"swift-process-invocation-bridge",
"ManualTests"
],
"sources" : [
"ProcessInvocationBridge.swift",
"Utils.swift"
],
"target_dependencies" : [
"CMacroExports",
"CGNUSourceExports"
],
"type" : "executable"
},
{
"c99name" : "ProcessInvocation",
"module_type" : "SwiftTarget",
"name" : "ProcessInvocation",
"path" : "Sources/ProcessInvocation",
"product_dependencies" : [
"Logging",
"SignalHandling",
"StreamReader",
"UnwrapOrThrow",
"SystemPackage"
],
"product_memberships" : [
"ProcessInvocation",
"ManualTests"
],
"sources" : [
" Config.swift",
" Constants.swift",
" Errors.swift",
"InputRedirectMode.swift",
"LineSeparators.swift",
"LineWithSource.swift",
"OutputRedirectMode.swift",
"ProcessInvocation+Deprecated.swift",
"ProcessInvocation+Pipe.swift",
"ProcessInvocation.swift",
"Utils.swift"
],
"target_dependencies" : [
"CMacroExports",
"CGNUSourceExports",
"ProcessInvocationBridge"
],
"type" : "library"
},
{
"c99name" : "ManualTests",
"module_type" : "SwiftTarget",
"name" : "ManualTests",
"path" : "Sources/ManualTests",
"product_dependencies" : [
"CLTLogger",
"Logging",
"StreamReader"
],
"product_memberships" : [
"ManualTests"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ProcessInvocation"
],
"type" : "executable"
},
{
"c99name" : "CMacroExports",
"module_type" : "ClangTarget",
"name" : "CMacroExports",
"path" : "Sources/CMacroExports",
"product_memberships" : [
"ProcessInvocation",
"swift-process-invocation-bridge",
"ManualTests"
],
"sources" : [
"exports.c"
],
"type" : "library"
},
{
"c99name" : "CGNUSourceExportsForTests",
"module_type" : "ClangTarget",
"name" : "CGNUSourceExportsForTests",
"path" : "Sources/CGNUSourceExportsForTests",
"sources" : [
"exports_for_tests.c"
],
"type" : "library"
},
{
"c99name" : "CGNUSourceExports",
"module_type" : "ClangTarget",
"name" : "CGNUSourceExports",
"path" : "Sources/CGNUSourceExports",
"product_memberships" : [
"ProcessInvocation",
"swift-process-invocation-bridge",
"ManualTests"
],
"sources" : [
"exports.c"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/xcode-actions/swift-signal-handling.git
Fetching https://github.com/apple/swift-log.git
[1/788] Fetching clt-logger
[419/5179] Fetching clt-logger, swift-system
[911/9015] Fetching clt-logger, swift-system, swift-log
[1142/9531] Fetching clt-logger, swift-system, swift-log, swift-signal-handling
Fetching https://github.com/xcode-actions/stream-reader.git
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.83s)
Fetched https://github.com/apple/swift-log.git from cache (0.83s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
Fetched https://github.com/apple/swift-system.git from cache (0.88s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.89s)
[1/1051] Fetching stream-reader
Fetched https://github.com/xcode-actions/stream-reader.git from cache (0.40s)
[1/31] Fetching unwraporthrow
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.44s)
[1/15379] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.53s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (3.54s)
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 (1.05s)
Computing version for https://github.com/xcode-actions/stream-reader.git
Computed https://github.com/xcode-actions/stream-reader.git at 3.6.1 (1.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.07s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.04s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 0.9.0 (1.09s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (2.25s)
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-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/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/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/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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling CSystem shims.c
[13/32] Compiling CGNUSourceExportsForTests exports_for_tests.c
[14/32] Compiling CGNUSourceExports exports.c
[15/32] Compiling CMacroExports exports.c
[16/32] Write swift-version-24593BA9C3E375BF.txt
[18/79] Emitting module ArgumentParserToolInfo
[19/79] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/80] Compiling SystemPackage MachPort.swift
[21/80] Compiling SystemPackage PlatformString.swift
[22/80] Compiling SystemPackage SystemString.swift
[23/83] Emitting module SystemPackage
[25/83] Compiling SystemPackage Errno.swift
[26/83] Compiling SystemPackage ErrnoWindows.swift
[27/83] Compiling SystemPackage FileDescriptor.swift
[28/83] Compiling SystemPackage FileHelpers.swift
[29/83] Compiling SystemPackage FileOperations.swift
[30/83] Compiling SystemPackage FilePath.swift
[31/83] Compiling SystemPackage FilePathComponentView.swift
[32/83] Compiling SystemPackage FilePathComponents.swift
[33/83] Compiling StreamReader FileDescriptorReader.swift
[34/83] Compiling StreamReader FileHandleReader.swift
[35/83] Compiling SystemPackage FilePathSyntax.swift
[36/83] Compiling SystemPackage FilePathTemp.swift
[37/83] Compiling SystemPackage Util+StringArray.swift
[38/83] Compiling SystemPackage Util.swift
[39/83] Compiling SystemPackage UtilConsumers.swift
[40/83] Compiling SystemPackage FilePathTempPosix.swift
[41/83] Compiling SystemPackage FilePathTempWindows.swift
[42/83] Compiling SystemPackage FilePathWindows.swift
[43/83] Compiling SystemPackage FilePermissions.swift
[44/83] Compiling SystemPackage Backcompat.swift
[45/83] Compiling SystemPackage CInterop.swift
[46/83] Compiling SystemPackage Constants.swift
[47/83] Compiling SystemPackage Exports.swift
[48/83] Compiling Logging MetadataProvider.swift
[49/83] Compiling Logging LogHandler.swift
[50/83] Compiling Logging Logging.swift
[51/83] Compiling SystemPackage Mocking.swift
[52/83] Compiling SystemPackage RawBuffer.swift
[53/83] Compiling SystemPackage Syscalls.swift
[54/83] Compiling SystemPackage WindowsSyscallAdapters.swift
[55/84] Emitting module Logging
[56/84] Compiling Logging Locks.swift
[58/85] Wrapping AST for ArgumentParserToolInfo for debugging
[59/85] Wrapping AST for Logging for debugging
[60/85] Wrapping AST for SystemPackage for debugging
[62/139] Compiling StreamReader InputStreamReader.swift
[63/140] Compiling SignalHandling SignalHandlingError.swift
[64/141] Compiling SignalHandling SignalHandlingConfig.swift
[65/141] Compiling CLTLogger NSLock+Linux.swift
[66/141] Compiling StreamReader URLSessionStreamTaskReader.swift
[67/141] Compiling SignalHandling Sigaction.swift
[68/141] Compiling SignalHandling SigactionFlag.swift
[69/141] Emitting module StreamReader
[70/141] Compiling StreamReader StreamReader.swift
[71/141] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[72/141] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[73/141] Emitting module UnwrapOrThrow
[74/142] Compiling StreamReader DataReader.swift
[75/142] Compiling StreamReader StreamReaderErrors.swift
[76/142] Compiling StreamReader GenericStreamReader.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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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: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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[80/142] 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 |
[81/142] Compiling ArgumentParser OptionGroup.swift
[82/142] Compiling ArgumentParser AsyncParsableCommand.swift
[83/142] Compiling ArgumentParser CommandConfiguration.swift
[84/142] Compiling ArgumentParser CommandGroup.swift
[85/142] Compiling ArgumentParser EnumerableFlag.swift
[86/147] 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 | }
[87/147] Compiling SignalHandling DelayedSigaction.swift
[88/147] Compiling SignalHandling DelayedSigactionHandler.swift
[89/147] 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 |
[90/147] 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 |
[91/147] Compiling SignalHandling SigactionDelayer_Block.swift
[92/147] Emitting module CLTLogger
[93/147] Compiling StreamReader Matching.swift
[94/148] Emitting module ArgumentParser
[95/148] Compiling SignalHandling SigactionDelayer_Unsig.swift
[96/148] Wrapping AST for UnwrapOrThrow for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/17] Write swift-version-24593BA9C3E375BF.txt
[3/64] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[4/64] Emitting module UnwrapOrThrow
[5/64] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[6/65] Compiling Logging MetadataProvider.swift
[8/65] Compiling StreamReader FileDescriptorReader.swift
[9/65] Compiling StreamReader FileHandleReader.swift
[10/66] Emitting module StreamReader
[11/66] Emitting module Logging
[11/66] Wrapping AST for UnwrapOrThrow for debugging
[13/66] Compiling StreamReader StreamReaderErrors.swift
[14/66] Compiling StreamReader Matching.swift
[15/66] Compiling SystemPackage Mocking.swift
[16/66] Compiling SystemPackage RawBuffer.swift
[17/66] Compiling SystemPackage Syscalls.swift
[18/66] Compiling SystemPackage WindowsSyscallAdapters.swift
[19/69] Compiling SystemPackage MachPort.swift
[20/69] Compiling SystemPackage PlatformString.swift
[21/69] Compiling SystemPackage SystemString.swift
[22/69] Compiling SystemPackage Backcompat.swift
[23/69] Compiling SystemPackage CInterop.swift
[24/69] Compiling SystemPackage Constants.swift
[25/69] Compiling SystemPackage Exports.swift
[26/69] Compiling StreamReader DataReader.swift
[27/69] Compiling StreamReader GenericStreamReader.swift
[28/69] Compiling ArgumentParserToolInfo ToolInfo.swift
[29/69] Emitting module ArgumentParserToolInfo
[30/70] Compiling StreamReader InputStreamReader.swift
[31/70] Compiling StreamReader URLSessionStreamTaskReader.swift
[32/70] Compiling StreamReader StreamReader.swift
[33/71] Compiling SystemPackage FilePathTempPosix.swift
[34/71] Compiling SystemPackage FilePathTempWindows.swift
[35/71] Compiling SystemPackage FilePathWindows.swift
[36/71] Compiling SystemPackage FilePermissions.swift
[38/70] Wrapping AST for StreamReader for debugging
[40/70] Compiling SystemPackage FilePathParsing.swift
[41/70] Compiling SystemPackage FilePathString.swift
[42/70] Compiling SystemPackage FilePathSyntax.swift
[43/70] Compiling SystemPackage FilePathTemp.swift
[44/108] Compiling Logging Locks.swift
[45/108] Compiling Logging LogHandler.swift
[46/108] Compiling Logging Logging.swift
[48/109] Compiling ArgumentParser OptionGroup.swift
[49/109] Compiling ArgumentParser AsyncParsableCommand.swift
[50/109] Compiling ArgumentParser CommandConfiguration.swift
[51/109] Compiling ArgumentParser CommandGroup.swift
[52/109] Compiling ArgumentParser InputKey.swift
[53/109] Compiling ArgumentParser InputOrigin.swift
[54/109] Compiling ArgumentParser BashCompletionsGenerator.swift
[55/109] Compiling ArgumentParser CompletionsGenerator.swift
[56/109] Emitting module SystemPackage
[56/109] Wrapping AST for Logging for debugging
[58/109] Compiling ArgumentParser Name.swift
[59/109] Compiling ArgumentParser Parsed.swift
[60/109] Compiling ArgumentParser ParsedValues.swift
[62/110] Emitting module ArgumentParser
[62/115] Wrapping AST for SystemPackage for debugging
[64/131] Compiling SignalHandling SignalHandlingConfig.swift
[65/131] Compiling SignalHandling SignalHandlingError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/131] 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 |
[67/132] Compiling SignalHandling DelayedSigaction.swift
[68/132] Compiling SignalHandling DelayedSigactionHandler.swift
[69/132] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
[70/132] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
[71/132] 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 |
[72/132] 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 |
[73/132] Compiling SignalHandling SigactionDelayer_Block.swift
[74/132] Compiling SignalHandling SigactionDelayer_Unsig.swift
[75/132] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
[76/132] 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 | }
[77/132] Compiling ArgumentParser CollectionExtensions.swift
[78/132] Compiling ArgumentParser Platform.swift
[79/132] Compiling ArgumentParser SequenceExtensions.swift
[80/132] Compiling ArgumentParser StringExtensions.swift
[81/132] Compiling ArgumentParser Tree.swift
[85/132] Compiling ArgumentParser ParserError.swift
[86/132] Compiling ArgumentParser SplitArguments.swift
[87/132] Compiling ArgumentParser DumpHelpGenerator.swift
[88/132] Compiling ArgumentParser HelpCommand.swift
[89/132] Compiling ArgumentParser HelpGenerator.swift
[90/132] Compiling ArgumentParser MessageInfo.swift
[91/132] Compiling ArgumentParser UsageGenerator.swift
[92/132] Compiling ArgumentParser ExpressibleByArgument.swift
[93/132] Compiling ArgumentParser ParsableArguments.swift
[94/132] Compiling ArgumentParser ParsableArgumentsValidation.swift
[95/132] Compiling ArgumentParser ParsableCommand.swift
[96/132] Compiling ArgumentParser ArgumentDecoder.swift
[102/132] Compiling ArgumentParser ArgumentVisibility.swift
[103/132] Compiling ArgumentParser CompletionKind.swift
[104/132] Compiling ArgumentParser Errors.swift
[105/132] Compiling ArgumentParser Flag.swift
[106/132] Compiling ArgumentParser NameSpecification.swift
[107/132] Compiling ArgumentParser Option.swift
[110/132] Compiling ArgumentParser FishCompletionsGenerator.swift
[111/132] Compiling ArgumentParser ZshCompletionsGenerator.swift
[112/132] Compiling ArgumentParser Argument.swift
[113/132] Compiling ArgumentParser ArgumentHelp.swift
[115/132] Compiling ArgumentParser ArgumentSet.swift
[116/132] Compiling ArgumentParser CommandParser.swift
[119/133] Emitting module CLTLogger
BUILD FAILURE 6.1 android