The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Shwift, reference 3.1.1 (d7be04), with Swift 6.2 for Android on 21 Jun 2025 07:49:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GeorgeLyon/Shwift.git
Reference: 3.1.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/GeorgeLyon/Shwift
 * tag               3.1.1      -> FETCH_HEAD
HEAD is now at d7be048 Fix remainder (#27)
Cloned https://github.com/GeorgeLyon/Shwift.git
Revision (git rev-parse @):
d7be04898d094ddce6140cc6a2e9a83fc994b66d
SUCCESS checkout https://github.com/GeorgeLyon/Shwift.git at 3.1.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/GeorgeLyon/Shwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/apple/swift-nio.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
[1/4436] Fetching swift-system
[4437/80775] Fetching swift-system, swift-nio
[4438/96155] Fetching swift-system, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (1.64s)
[48206/91719] Fetching swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.65s)
[33590/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.88s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (8.61s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.76s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.42s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[1493/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.96s)
Fetched https://github.com/apple/swift-collections.git from cache (2.00s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.67s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (3.12s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/48] Write sources
[18/48] Compiling CNIOLinux liburing_shims.c
[19/48] Compiling CNIOWindows WSAStartup.c
[20/48] Compiling CNIODarwin shim.c
[21/48] Compiling CNIOWASI CNIOWASI.c
[22/48] Compiling CNIOWindows shim.c
[23/48] Compiling _AtomicsShims.c
[24/48] Compiling CSystem shims.c
[25/48] Write swift-version-8C5A4AE7A8CE2BA.txt
[26/48] Compiling CNIOLinux shim.c
[28/116] Emitting module ArgumentParserToolInfo
[28/116] Compiling c-nioatomics.c
[29/116] Compiling c-atomics.c
[31/122] Compiling SystemPackage FilePathParsing.swift
[32/122] Compiling SystemPackage FilePathString.swift
[33/123] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[34/123] Compiling SystemPackage FilePathSyntax.swift
[35/123] Compiling Atomics ManagedAtomic.swift
[36/123] Compiling NIOConcurrencyHelpers NIOLock.swift
[37/123] Emitting module _NIOBase64
[38/123] Compiling _NIOBase64 Base64.swift
[39/124] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[40/124] Compiling SystemPackage Errno.swift
[41/124] Compiling SystemPackage ErrnoWindows.swift
[42/124] Emitting module InternalCollectionsUtilities
[43/124] Compiling SystemPackage FileDescriptor.swift
[44/124] Compiling SystemPackage FileHelpers.swift
[46/124] Compiling SystemPackage FilePathTempPosix.swift
[48/126] Compiling SystemPackage Backcompat.swift
[49/126] Compiling Atomics AtomicMemoryOrderings.swift
[50/126] Compiling Atomics DoubleWord.swift
[51/126] Compiling Atomics UnsafeAtomic.swift
[52/126] Compiling Atomics UnsafeAtomicLazyReference.swift
[53/126] Emitting module Atomics
[55/126] Compiling SystemPackage FilePathWindows.swift
[56/126] Compiling SystemPackage FilePermissions.swift
[58/126] Compiling SystemPackage FilePathTempWindows.swift
[59/126] Compiling SystemPackage MachPort.swift
[60/126] Compiling SystemPackage PlatformString.swift
[61/126] Compiling SystemPackage SystemString.swift
[70/130] Wrapping AST for _NIOBase64 for debugging
[77/130] Emitting module SystemPackage
[78/130] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[79/130] Compiling NIOConcurrencyHelpers lock.swift
[80/130] Compiling NIOConcurrencyHelpers atomics.swift
[81/130] Compiling _NIODataStructures PriorityQueue.swift
[82/130] Compiling _NIODataStructures Heap.swift
[83/130] Compiling _NIODataStructures _TinyArray.swift
[84/130] Emitting module _NIODataStructures
[84/131] Wrapping AST for InternalCollectionsUtilities for debugging
[86/131] Compiling ArgumentParserToolInfo ToolInfo.swift
[87/132] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[89/147] Wrapping AST for _NIODataStructures for debugging
[91/147] Compiling Atomics IntegerOperations.swift
[92/147] Compiling Atomics Unmanaged extensions.swift
[93/148] Compiling DequeModule Deque+CustomReflectable.swift
[94/148] Compiling DequeModule Deque+Descriptions.swift
[94/150] Wrapping AST for ArgumentParserToolInfo for debugging
[96/188] Wrapping AST for Atomics for debugging
[98/188] Emitting module NIOConcurrencyHelpers
[99/189] Compiling ArgumentParser Argument.swift
[100/189] Compiling ArgumentParser ArgumentHelp.swift
[102/189] Compiling ArgumentParser ExpressibleByArgument.swift
[103/189] Compiling ArgumentParser ParsableArguments.swift
[103/189] Wrapping AST for NIOConcurrencyHelpers for debugging
[105/189] Compiling ArgumentParser ArgumentVisibility.swift
[106/189] Compiling ArgumentParser CompletionKind.swift
[107/189] Compiling ArgumentParser ParsableArgumentsValidation.swift
[108/189] Compiling ArgumentParser ParsableCommand.swift
[109/189] Compiling ArgumentParser Name.swift
[110/189] Compiling ArgumentParser Parsed.swift
[111/189] Compiling ArgumentParser ParsedValues.swift
[112/189] Compiling ArgumentParser NameSpecification.swift
[113/189] Compiling ArgumentParser Option.swift
[114/189] Compiling ArgumentParser Errors.swift
[115/189] Compiling ArgumentParser Flag.swift
[116/189] Compiling ArgumentParser BashCompletionsGenerator.swift
[117/189] Compiling ArgumentParser CompletionsGenerator.swift
[118/189] Emitting module DequeModule
[120/190] Compiling ArgumentParser CommandGroup.swift
[121/190] Compiling ArgumentParser EnumerableFlag.swift
[122/190] Compiling ArgumentParser ArgumentDefinition.swift
[123/190] Compiling ArgumentParser ArgumentSet.swift
[132/190] Compiling ArgumentParser ArgumentDecoder.swift
[133/190] Compiling ArgumentParser OptionGroup.swift
[134/190] Compiling ArgumentParser AsyncParsableCommand.swift
[135/190] Compiling ArgumentParser CommandConfiguration.swift
[139/190] Wrapping AST for DequeModule for debugging
[141/251] Wrapping AST for SystemPackage for debugging
[143/251] Compiling NIOCore MulticastChannel.swift
[144/251] Compiling NIOCore NIOAny.swift
[145/251] Compiling NIOCore NIOCloseOnErrorHandler.swift
[146/251] Compiling NIOCore NIOLoopBound.swift
[147/251] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[148/251] Compiling NIOCore NIOScheduledCallback.swift
[149/251] Compiling NIOCore NIOSendable.swift
[150/251] Compiling NIOCore RecvByteBufferAllocator.swift
[151/259] Compiling NIOCore NIOAsyncSequenceProducer.swift
[152/259] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[153/259] Compiling NIOCore NIOAsyncWriter.swift
[154/259] Compiling NIOCore ByteBuffer-multi-int.swift
[155/259] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[156/259] Compiling NIOCore ByteBuffer-views.swift
[157/264] Emitting module ArgumentParser
[158/264] Compiling NIOCore AddressedEnvelope.swift
[159/264] Compiling NIOCore AsyncAwaitSupport.swift
[160/264] Compiling NIOCore AsyncChannel.swift
[161/264] Compiling NIOCore AsyncChannelHandler.swift
[162/264] Compiling NIOCore AsyncChannelInboundStream.swift
[163/264] Compiling NIOCore AsyncChannelOutboundWriter.swift
[164/264] Compiling NIOCore ChannelPipeline.swift
[165/264] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[166/264] Compiling NIOCore BSDSocketAPI.swift
[167/264] Compiling NIOCore ByteBuffer-aux.swift
[168/264] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[169/264] Compiling NIOCore Channel.swift
[170/264] Compiling NIOCore ChannelHandler.swift
[171/264] Compiling NIOCore ChannelHandlers.swift
[172/264] Compiling NIOCore ChannelInvoker.swift
[173/264] Compiling NIOCore ChannelOption.swift
[174/264] Compiling NIOCore IO.swift
[175/264] Compiling NIOCore IOData.swift
[176/264] Compiling NIOCore IPProtocol.swift
[177/264] Compiling NIOCore IntegerBitPacking.swift
[178/264] Compiling NIOCore IntegerTypes.swift
[179/264] Compiling NIOCore Interfaces.swift
[180/264] Compiling NIOCore Linux.swift
[181/264] Compiling NIOCore MarkedCircularBuffer.swift
[182/264] Compiling NIOCore ByteBuffer-conversions.swift
[183/264] Compiling NIOCore ByteBuffer-core.swift
[184/264] Compiling NIOCore ByteBuffer-hex.swift
[185/264] Compiling NIOCore ByteBuffer-int.swift
[186/264] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[187/264] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[188/264] Compiling NIOCore EventLoopFuture+Deprecated.swift
[189/264] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[190/264] Compiling NIOCore EventLoopFuture.swift
[191/264] Compiling NIOCore FileDescriptor.swift
[192/264] Compiling NIOCore FileHandle.swift
[193/264] Compiling NIOCore FileRegion.swift
[194/264] Compiling NIOCore GlobalSingletons.swift
[195/264] Compiling ArgumentParser CollectionExtensions.swift
[196/264] Compiling ArgumentParser Platform.swift
[197/264] Compiling ArgumentParser SequenceExtensions.swift
[198/264] Compiling ArgumentParser StringExtensions.swift
[199/264] Compiling ArgumentParser Tree.swift
[200/264] Compiling NIOCore CircularBuffer.swift
[201/264] Compiling NIOCore Codec.swift
[202/264] Compiling NIOCore ConvenienceOptionSupport.swift
[203/264] Compiling NIOCore DeadChannel.swift
[204/264] Compiling NIOCore DispatchQueue+WithFuture.swift
[205/264] Compiling NIOCore EventLoop+Deprecated.swift
[206/264] Compiling NIOCore EventLoop+SerialExecutor.swift
[207/264] Compiling NIOCore EventLoop.swift
[218/265] Wrapping AST for ArgumentParser for debugging
[220/265] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[221/265] Compiling NIOCore SocketAddresses.swift
[222/265] Compiling NIOCore SocketOptionProvider.swift
[223/265] Compiling NIOCore SystemCallHelpers.swift
[224/265] Compiling NIOCore TimeAmount+Duration.swift
[225/265] Compiling NIOCore TypeAssistedChannelHandler.swift
[226/265] Compiling NIOCore UniversalBootstrapSupport.swift
[227/265] Compiling NIOCore Utilities.swift
[255/265] Emitting module NIOCore
[256/266] Wrapping AST for NIOCore for debugging
[258/316] Emitting module NIOEmbedded
[259/316] Compiling NIOEmbedded Embedded.swift
[260/316] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[261/316] Compiling NIOEmbedded AsyncTestingChannel.swift
[263/317] Compiling NIOPosix IO.swift
[264/317] Compiling NIOPosix IntegerBitPacking.swift
[265/317] Compiling NIOPosix IntegerTypes.swift
[266/317] Compiling NIOPosix Linux.swift
[267/317] Compiling NIOPosix LinuxCPUSet.swift
[268/317] Compiling NIOPosix LinuxUring.swift
[269/317] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[269/323] Wrapping AST for NIOEmbedded for debugging
[271/323] Compiling NIOPosix ThreadPosix.swift
[272/323] Compiling NIOPosix ThreadWindows.swift
[273/323] Compiling NIOPosix UnsafeTransfer.swift
[274/323] Compiling NIOPosix Utilities.swift
[275/323] Compiling NIOPosix VsockAddress.swift
[276/323] Compiling NIOPosix VsockChannelEvents.swift
[277/323] Compiling NIOPosix Pool.swift
[278/323] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[279/323] Compiling NIOPosix PosixSingletons.swift
[280/323] Compiling NIOPosix RawSocketBootstrap.swift
[281/323] Compiling NIOPosix Resolver.swift
[282/323] Compiling NIOPosix Selectable.swift
[283/323] Compiling NIOPosix SelectableChannel.swift
[284/323] Compiling NIOPosix SelectableEventLoop.swift
[285/323] Compiling NIOPosix SelectorEpoll.swift
[286/323] Compiling NIOPosix SelectorGeneric.swift
[287/323] Compiling NIOPosix SelectorKqueue.swift
[288/323] Compiling NIOPosix SelectorUring.swift
[289/323] Compiling NIOPosix ServerSocket.swift
[290/323] Compiling NIOPosix Socket.swift
[291/323] Compiling NIOPosix SocketChannel.swift
[292/323] Compiling NIOPosix SocketProtocols.swift
[293/323] Compiling NIOPosix System.swift
[294/323] Compiling NIOPosix Thread.swift
[295/323] Emitting module NIOPosix
[296/323] Compiling NIOPosix BSDSocketAPICommon.swift
[297/323] Compiling NIOPosix BSDSocketAPIPosix.swift
[298/323] Compiling NIOPosix BSDSocketAPIWindows.swift
[299/323] Compiling NIOPosix BaseSocket.swift
[300/323] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[301/323] Compiling NIOPosix BaseSocketChannel.swift
[302/323] Compiling NIOPosix BaseStreamSocketChannel.swift
[303/323] Compiling NIOPosix Bootstrap.swift
[304/323] Compiling NIOPosix ControlMessage.swift
[305/323] Compiling NIOPosix DatagramVectorReadManager.swift
[306/323] Compiling NIOPosix Errors+Any.swift
[307/323] Compiling NIOPosix FileDescriptor.swift
[308/323] Compiling NIOPosix GetaddrinfoResolver.swift
[309/323] Compiling NIOPosix HappyEyeballs.swift
[310/323] Compiling NIOPosix NIOThreadPool.swift
[311/323] Compiling NIOPosix NonBlockingFileIO.swift
[312/323] Compiling NIOPosix PendingDatagramWritesManager.swift
[313/323] Compiling NIOPosix PendingWritesManager.swift
[314/323] Compiling NIOPosix PipeChannel.swift
[315/323] Compiling NIOPosix PipePair.swift
[316/324] Wrapping AST for NIOPosix for debugging
[318/326] Compiling NIO Exports.swift
[319/326] Emitting module NIO
[320/327] Wrapping AST for NIO for debugging
[322/329] Emitting module _NIOConcurrency
[323/329] Compiling _NIOConcurrency Empty.swift
[324/330] Wrapping AST for _NIOConcurrency for debugging
[326/340] Compiling Shwift File Descriptor.swift
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:16:10: error: Unsupported Platform
 14 |   private typealias PlatformType<U> = U
 15 | #else
 16 |   #error("Unsupported Platform")
    |          `- error: Unsupported Platform
 17 | #endif
 18 |
[327/340] Compiling Shwift NIO Pipe Bootstrap.swift
/host/spi-builder-workspace/Sources/Shwift/Support/NIO Pipe Bootstrap.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
 1 | @_implementationOnly import NIO
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
 2 | import SystemPackage
 3 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:16:10: error: Unsupported Platform
 14 |   private typealias PlatformType<U> = U
 15 | #else
 16 |   #error("Unsupported Platform")
    |          `- error: Unsupported Platform
 17 | #endif
 18 |
/host/spi-builder-workspace/Sources/Shwift/Support/NIO Pipe Bootstrap.swift:17:26: warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)' [#DeprecatedDeclaration]
15 |       let output = try outputDescriptor.duplicate()
16 |       do {
17 |         return try await withPipes(
   |                          |- warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)' [#DeprecatedDeclaration]
   |                          `- note: use 'takingOwnershipOfDescriptors(input:output:)' instead
18 |           inputDescriptor: input.rawValue,
19 |           outputDescriptor: output.rawValue
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[328/341] Compiling Shwift Async Inbound Handler.swift
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:16:10: error: Unsupported Platform
 14 |   private typealias PlatformType<U> = U
 15 | #else
 16 |   #error("Unsupported Platform")
    |          `- error: Unsupported Platform
 17 | #endif
 18 |
[329/341] Compiling Shwift Pipe.swift
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:16:10: error: Unsupported Platform
 14 |   private typealias PlatformType<U> = U
 15 | #else
 16 |   #error("Unsupported Platform")
    |          `- error: Unsupported Platform
 17 | #endif
 18 |
[330/341] Compiling Shwift Process.swift
/host/spi-builder-workspace/Sources/Shwift/Process.swift:109:14: error: Unsupported Platform
107 |       ])
108 |     #else
109 |       #error("Unsupported Platform")
    |              `- error: Unsupported Platform
110 |     #endif
111 |     try attributes.setBlockedSignals(to: .none)
/host/spi-builder-workspace/Sources/Shwift/Process.swift:140:14: error: Unsupported Platform
138 |       try actions.addCloseFileDescriptors(from: lowestFileDescriptorValueToClose)
139 |     #else
140 |       #error("Unsupported Platform")
    |              `- error: Unsupported Platform
141 |     #endif
142 |
/host/spi-builder-workspace/Sources/Shwift/Process.swift:171:14: error: Unsupported Platform
169 |       let killingSignal = \siginfo_t._sifields._rt.si_sigval.sival_int
170 |     #else
171 |       #error("Unsupported Platform")
    |              `- error: Unsupported Platform
172 |     #endif
173 |
/host/spi-builder-workspace/Sources/Shwift/Process.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 | import SystemPackage
  3 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:16:10: error: Unsupported Platform
 14 |   private typealias PlatformType<U> = U
 15 | #else
 16 |   #error("Unsupported Platform")
    |          `- error: Unsupported Platform
 17 | #endif
 18 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:105:15: error: cannot find type 'pid_t' in scope
103 |     fileActions: inout FileActions,
104 |     attributes: inout Attributes
105 |   ) throws -> pid_t {
    |               `- error: cannot find type 'pid_t' in scope
106 |     var pid = pid_t()
107 |
/host/spi-builder-workspace/Sources/Shwift/Process.swift:180:21: error: cannot find 'pid' in scope
178 |        Since we use the control channel to detect termination, this _shouldn't_ happen (unless the child decides to call `close(3)` for some reason).
179 |        */
180 |       info[keyPath: pid] = 0
    |                     `- error: cannot find 'pid' in scope
181 |       do {
182 |         errno = 0
/host/spi-builder-workspace/Sources/Shwift/Process.swift:195:27: error: cannot find 'pid' in scope
193 |        By monitoring a file descriptor to detect when a process has terminated, we introduce the possibility of performing a nonblocking wait on a process before it is actually ready to be waited on. This can happen if we win the race with the kernel setting the child process into a waitable state after the kernel closes the file descriptor we are monitoring (this is rare, but has been observed and should only ever result in a 1 second delay). This could also be caused by unusual behavior in the child process (for instance, iterating over all of its own descriptors and closing the ones it doesn't know about, including the one we use for monitoring; in this case the overhead of polling should still be minimal).
194 |        */
195 |       guard info[keyPath: pid] != 0 else {
    |                           `- error: cannot find 'pid' in scope
196 |         /// Reset `info`
197 |         info = siginfo_t()
/host/spi-builder-workspace/Sources/Shwift/Process.swift:218:45: error: cannot find 'sigchldInfo' in scope
216 |     switch Int(info.si_code) {
217 |     case Int(CLD_EXITED):
218 |       let terminationStatus = info[keyPath: sigchldInfo].si_status
    |                                             `- error: cannot find 'sigchldInfo' in scope
219 |       guard terminationStatus == 0 else {
220 |         throw TerminationError.nonzeroTerminationStatus(terminationStatus)
/host/spi-builder-workspace/Sources/Shwift/Process.swift:223:59: error: cannot find 'killingSignal' in scope
221 |       }
222 |     case Int(CLD_KILLED):
223 |       throw TerminationError.uncaughtSignal(info[keyPath: killingSignal], coreDumped: false)
    |                                                           `- error: cannot find 'killingSignal' in scope
224 |     case Int(CLD_DUMPED):
225 |       throw TerminationError.uncaughtSignal(info[keyPath: killingSignal], coreDumped: true)
/host/spi-builder-workspace/Sources/Shwift/Process.swift:225:59: error: cannot find 'killingSignal' in scope
223 |       throw TerminationError.uncaughtSignal(info[keyPath: killingSignal], coreDumped: false)
224 |     case Int(CLD_DUMPED):
225 |       throw TerminationError.uncaughtSignal(info[keyPath: killingSignal], coreDumped: true)
    |                                                           `- error: cannot find 'killingSignal' in scope
226 |     default:
227 |       fatalError()
[331/341] Compiling Shwift Environment.swift
/host/spi-builder-workspace/Sources/Shwift/Environment.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | import SystemPackage
  2 |
  3 | @_implementationOnly import Foundation
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  4 |
  5 | /**
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:16:10: error: Unsupported Platform
 14 |   private typealias PlatformType<U> = U
 15 | #else
 16 |   #error("Unsupported Platform")
    |          `- error: Unsupported Platform
 17 | #endif
 18 |
/host/spi-builder-workspace/Sources/Shwift/Environment.swift:26:17: error: cannot find 'environ' in scope
 24 |   public static var process: Environment {
 25 |     var environment = Environment()
 26 |     var entry = environ
    |                 `- error: cannot find 'environ' in scope
 27 |     while let cString = entry.pointee {
 28 |       defer { entry = entry.advanced(by: 1) }
[332/341] Compiling Shwift IO.swift
/host/spi-builder-workspace/Sources/Shwift/Environment.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | import SystemPackage
  2 |
  3 | @_implementationOnly import Foundation
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  4 |
  5 | /**
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:16:10: error: Unsupported Platform
 14 |   private typealias PlatformType<U> = U
 15 | #else
 16 |   #error("Unsupported Platform")
    |          `- error: Unsupported Platform
 17 | #endif
 18 |
/host/spi-builder-workspace/Sources/Shwift/Environment.swift:26:17: error: cannot find 'environ' in scope
 24 |   public static var process: Environment {
 25 |     var environment = Environment()
 26 |     var entry = environ
    |                 `- error: cannot find 'environ' in scope
 27 |     while let cString = entry.pointee {
 28 |       defer { entry = entry.advanced(by: 1) }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[333/341] Emitting module Shwift
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  4 |
  5 | /**
/host/spi-builder-workspace/Sources/Shwift/Context.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 |
  3 | import SystemPackage
/host/spi-builder-workspace/Sources/Shwift/Environment.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | import SystemPackage
  2 |
  3 | @_implementationOnly import Foundation
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  4 |
  5 | /**
/host/spi-builder-workspace/Sources/Shwift/Process.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 | import SystemPackage
  3 |
/host/spi-builder-workspace/Sources/Shwift/Support/NIO Pipe Bootstrap.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
 1 | @_implementationOnly import NIO
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
 2 | import SystemPackage
 3 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:16:10: error: Unsupported Platform
 14 |   private typealias PlatformType<U> = U
 15 | #else
 16 |   #error("Unsupported Platform")
    |          `- error: Unsupported Platform
 17 | #endif
 18 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:29:48: error: cannot find 'POSIX_SPAWN_SETSIGMASK' in scope
 27 |     #endif
 28 |
 29 |     static let setSignalMask = Flags(rawValue: POSIX_SPAWN_SETSIGMASK)
    |                                                `- error: cannot find 'POSIX_SPAWN_SETSIGMASK' in scope
 30 |
 31 |     init(rawValue: Int32) {
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:58:31: error: cannot find type 'PlatformType' in scope
 56 |     }
 57 |
 58 |     fileprivate var rawValue: PlatformType<posix_spawnattr_t> = .init()
    |                               `- error: cannot find type 'PlatformType' in scope
 59 |   }
 60 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:96:31: error: cannot find type 'PlatformType' in scope
 94 |     }
 95 |
 96 |     fileprivate var rawValue: PlatformType<posix_spawn_file_actions_t> = .init()
    |                               `- error: cannot find type 'PlatformType' in scope
 97 |   }
 98 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:105:15: error: cannot find type 'pid_t' in scope
103 |     fileActions: inout FileActions,
104 |     attributes: inout Attributes
105 |   ) throws -> pid_t {
    |               `- error: cannot find type 'pid_t' in scope
106 |     var pid = pid_t()
107 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:152:44: error: cannot find type 'sigset_t' in scope
150 |   }
151 |
152 |   private init(_ fn: (UnsafeMutablePointer<sigset_t>) -> CInt) throws {
    |                                            `- error: cannot find type 'sigset_t' in scope
153 |     rawValue = sigset_t()
154 |     try Errno.check(fn(&rawValue))
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:156:17: error: cannot find type 'sigset_t' in scope
154 |     try Errno.check(fn(&rawValue))
155 |   }
156 |   var rawValue: sigset_t
    |                 `- error: cannot find type 'sigset_t' in scope
157 | }
158 |
[334/341] Compiling Shwift Builtins.swift
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  4 |
  5 | /**
/host/spi-builder-workspace/Sources/Shwift/Context.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 |
  3 | import SystemPackage
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:16:10: error: Unsupported Platform
 14 |   private typealias PlatformType<U> = U
 15 | #else
 16 |   #error("Unsupported Platform")
    |          `- error: Unsupported Platform
 17 | #endif
 18 |
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:29:44: warning: capture of 'handler' with non-sendable type 'AsyncInboundHandler<ByteBuffer>' in a '@Sendable' closure [#SendableClosureCaptures]
 27 |          Theoretically if we add this before a call to `channel.read`, it _should_ receive all data sent on the channel. Unfortunately we ran into a case where on Linux, adding the handler outside of the channel initializer made us miss some data.
 28 |          */
 29 |         return channel.pipeline.addHandler(handler)
    |                                            `- warning: capture of 'handler' with non-sendable type 'AsyncInboundHandler<ByteBuffer>' in a '@Sendable' closure [#SendableClosureCaptures]
 30 |       }
 31 |       .duplicating(
/host/spi-builder-workspace/Sources/Shwift/Support/Async Inbound Handler.swift:3:20: note: generic class 'AsyncInboundHandler' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public final class AsyncInboundHandler<InboundIn>: ChannelInboundHandler, AsyncSequence {
   |                    `- note: generic class 'AsyncInboundHandler' does not conform to the 'Sendable' protocol
 4 |
 5 |   public typealias BufferingPolicy = AsyncStream<Element>.Continuation.BufferingPolicy
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:194:30: warning: 'write(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
192 |         let buffer = channel.allocator.buffer(string: string)
193 |         /// This future should implicitly be fulfilled after any previous future
194 |         lastFuture = channel.write(NIOAny(buffer))
    |                              `- warning: 'write(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
195 |       }
196 |       fileprivate let channel: NIO.Channel
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:222:51: warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API. [#DeprecatedDeclaration]
220 |         let output = channel.output
221 |         let eventLoop = output.channel.eventLoop
222 |         let fileHandle = try await context.fileIO.openFile(
    |                                                   `- warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API. [#DeprecatedDeclaration]
223 |           path: filePath.string,
224 |           mode: .read,
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:238:19: warning: capture of 'output' with non-sendable type 'Builtin.Output' in a '@Sendable' closure [#SendableClosureCaptures]
179 |    A type which can be used to write to a shell command's standard output or standard error
180 |    */
181 |   public struct Output {
    |                 `- note: consider making struct 'Output' conform to the 'Sendable' protocol
182 |
183 |     public func withTextOutputStream(_ body: (inout TextOutputStream) -> Void) async throws {
    :
236 |                 eventLoop: eventLoop,
237 |                 chunkHandler: { buffer in
238 |                   output.channel.writeAndFlush(buffer)
    |                   `- warning: capture of 'output' with non-sendable type 'Builtin.Output' in a '@Sendable' closure [#SendableClosureCaptures]
239 |                 }
240 |               )
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:264:51: warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API. [#DeprecatedDeclaration]
262 |       try await withChannel(input: input, output: nullDeviceOutput, in: context) { channel in
263 |         let eventLoop = context.eventLoopGroup.next()
264 |         let fileHandle = try await context.fileIO.openFile(
    |                                                   `- warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API. [#DeprecatedDeclaration]
265 |           path: filePath.string,
266 |           mode: .write,
/host/spi-builder-workspace/Sources/Shwift/Context.swift:93:48: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
 91 |         let channel = try await NIOPipeBootstrap(group: group)
 92 |           .channelInitializer { channel in
 93 |             return channel.pipeline.addHandler(handler)
    |                                                `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
 94 |           }
 95 |           .duplicating(
/host/spi-builder-workspace/Sources/Shwift/Context.swift:90:10: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
 88 |       let fileDescriptor: SystemPackage.FileDescriptor
 89 |       (channel, fileDescriptor) = try await SystemPackage.FileDescriptor.withPipe {
 90 |         [handler] pipe in
    |          `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
 91 |         let channel = try await NIOPipeBootstrap(group: group)
 92 |           .channelInitializer { channel in
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[335/341] Compiling Shwift Context.swift
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  4 |
  5 | /**
/host/spi-builder-workspace/Sources/Shwift/Context.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 |
  3 | import SystemPackage
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:16:10: error: Unsupported Platform
 14 |   private typealias PlatformType<U> = U
 15 | #else
 16 |   #error("Unsupported Platform")
    |          `- error: Unsupported Platform
 17 | #endif
 18 |
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:29:44: warning: capture of 'handler' with non-sendable type 'AsyncInboundHandler<ByteBuffer>' in a '@Sendable' closure [#SendableClosureCaptures]
 27 |          Theoretically if we add this before a call to `channel.read`, it _should_ receive all data sent on the channel. Unfortunately we ran into a case where on Linux, adding the handler outside of the channel initializer made us miss some data.
 28 |          */
 29 |         return channel.pipeline.addHandler(handler)
    |                                            `- warning: capture of 'handler' with non-sendable type 'AsyncInboundHandler<ByteBuffer>' in a '@Sendable' closure [#SendableClosureCaptures]
 30 |       }
 31 |       .duplicating(
/host/spi-builder-workspace/Sources/Shwift/Support/Async Inbound Handler.swift:3:20: note: generic class 'AsyncInboundHandler' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public final class AsyncInboundHandler<InboundIn>: ChannelInboundHandler, AsyncSequence {
   |                    `- note: generic class 'AsyncInboundHandler' does not conform to the 'Sendable' protocol
 4 |
 5 |   public typealias BufferingPolicy = AsyncStream<Element>.Continuation.BufferingPolicy
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:194:30: warning: 'write(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
192 |         let buffer = channel.allocator.buffer(string: string)
193 |         /// This future should implicitly be fulfilled after any previous future
194 |         lastFuture = channel.write(NIOAny(buffer))
    |                              `- warning: 'write(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#DeprecatedDeclaration]
195 |       }
196 |       fileprivate let channel: NIO.Channel
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:222:51: warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API. [#DeprecatedDeclaration]
220 |         let output = channel.output
221 |         let eventLoop = output.channel.eventLoop
222 |         let fileHandle = try await context.fileIO.openFile(
    |                                                   `- warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API. [#DeprecatedDeclaration]
223 |           path: filePath.string,
224 |           mode: .read,
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:238:19: warning: capture of 'output' with non-sendable type 'Builtin.Output' in a '@Sendable' closure [#SendableClosureCaptures]
179 |    A type which can be used to write to a shell command's standard output or standard error
180 |    */
181 |   public struct Output {
    |                 `- note: consider making struct 'Output' conform to the 'Sendable' protocol
182 |
183 |     public func withTextOutputStream(_ body: (inout TextOutputStream) -> Void) async throws {
    :
236 |                 eventLoop: eventLoop,
237 |                 chunkHandler: { buffer in
238 |                   output.channel.writeAndFlush(buffer)
    |                   `- warning: capture of 'output' with non-sendable type 'Builtin.Output' in a '@Sendable' closure [#SendableClosureCaptures]
239 |                 }
240 |               )
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:264:51: warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API. [#DeprecatedDeclaration]
262 |       try await withChannel(input: input, output: nullDeviceOutput, in: context) { channel in
263 |         let eventLoop = context.eventLoopGroup.next()
264 |         let fileHandle = try await context.fileIO.openFile(
    |                                                   `- warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API. [#DeprecatedDeclaration]
265 |           path: filePath.string,
266 |           mode: .write,
/host/spi-builder-workspace/Sources/Shwift/Context.swift:93:48: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
 91 |         let channel = try await NIOPipeBootstrap(group: group)
 92 |           .channelInitializer { channel in
 93 |             return channel.pipeline.addHandler(handler)
    |                                                `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
 94 |           }
 95 |           .duplicating(
/host/spi-builder-workspace/Sources/Shwift/Context.swift:90:10: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
 88 |       let fileDescriptor: SystemPackage.FileDescriptor
 89 |       (channel, fileDescriptor) = try await SystemPackage.FileDescriptor.withPipe {
 90 |         [handler] pipe in
    |          `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
 91 |         let channel = try await NIOPipeBootstrap(group: group)
 92 |           .channelInitializer { channel in
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[336/341] Compiling Shwift Posix Spawn.swift
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:16:10: error: Unsupported Platform
 14 |   private typealias PlatformType<U> = U
 15 | #else
 16 |   #error("Unsupported Platform")
    |          `- error: Unsupported Platform
 17 | #endif
 18 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:29:48: error: cannot find 'POSIX_SPAWN_SETSIGMASK' in scope
 27 |     #endif
 28 |
 29 |     static let setSignalMask = Flags(rawValue: POSIX_SPAWN_SETSIGMASK)
    |                                                `- error: cannot find 'POSIX_SPAWN_SETSIGMASK' in scope
 30 |
 31 |     init(rawValue: Int32) {
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:58:31: error: cannot find type 'PlatformType' in scope
 56 |     }
 57 |
 58 |     fileprivate var rawValue: PlatformType<posix_spawnattr_t> = .init()
    |                               `- error: cannot find type 'PlatformType' in scope
 59 |   }
 60 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:96:31: error: cannot find type 'PlatformType' in scope
 94 |     }
 95 |
 96 |     fileprivate var rawValue: PlatformType<posix_spawn_file_actions_t> = .init()
    |                               `- error: cannot find type 'PlatformType' in scope
 97 |   }
 98 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:105:15: error: cannot find type 'pid_t' in scope
103 |     fileActions: inout FileActions,
104 |     attributes: inout Attributes
105 |   ) throws -> pid_t {
    |               `- error: cannot find type 'pid_t' in scope
106 |     var pid = pid_t()
107 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:152:44: error: cannot find type 'sigset_t' in scope
150 |   }
151 |
152 |   private init(_ fn: (UnsafeMutablePointer<sigset_t>) -> CInt) throws {
    |                                            `- error: cannot find type 'sigset_t' in scope
153 |     rawValue = sigset_t()
154 |     try Errno.check(fn(&rawValue))
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:156:17: error: cannot find type 'sigset_t' in scope
154 |     try Errno.check(fn(&rawValue))
155 |   }
156 |   var rawValue: sigset_t
    |                 `- error: cannot find type 'sigset_t' in scope
157 | }
158 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:40:23: error: cannot find 'posix_spawnattr_init' in scope
 38 |
 39 |     init() throws {
 40 |       try Errno.check(posix_spawnattr_init(&rawValue))
    |                       `- error: cannot find 'posix_spawnattr_init' in scope
 41 |     }
 42 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:44:23: error: cannot find 'posix_spawnattr_destroy' in scope
 42 |
 43 |     mutating func destroy() throws {
 44 |       try Errno.check(posix_spawnattr_destroy(&rawValue))
    |                       `- error: cannot find 'posix_spawnattr_destroy' in scope
 45 |     }
 46 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:50:11: error: cannot find 'posix_spawnattr_setsigmask' in scope
 48 |       try Errno.check(
 49 |         withUnsafePointer(to: signals.rawValue) { signals in
 50 |           posix_spawnattr_setsigmask(&rawValue, signals)
    |           `- error: cannot find 'posix_spawnattr_setsigmask' in scope
 51 |         })
 52 |     }
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:55:23: error: cannot find 'posix_spawnattr_setflags' in scope
 53 |
 54 |     mutating func setFlags(_ flags: Flags) throws {
 55 |       try Errno.check(posix_spawnattr_setflags(&rawValue, Int16(flags.rawValue)))
    |                       `- error: cannot find 'posix_spawnattr_setflags' in scope
 56 |     }
 57 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:64:23: error: cannot find 'posix_spawn_file_actions_init' in scope
 62 |
 63 |     init() throws {
 64 |       try Errno.check(posix_spawn_file_actions_init(&rawValue))
    |                       `- error: cannot find 'posix_spawn_file_actions_init' in scope
 65 |     }
 66 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:68:23: error: cannot find 'posix_spawn_file_actions_destroy' in scope
 66 |
 67 |     mutating func destroy() throws {
 68 |       try Errno.check(posix_spawn_file_actions_destroy(&rawValue))
    |                       `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
 69 |     }
 70 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:74:11: error: cannot find 'posix_spawn_file_actions_addchdir_np' in scope
 72 |       try Errno.check(
 73 |         filePath.withPlatformString {
 74 |           posix_spawn_file_actions_addchdir_np(&rawValue, $0)
    |           `- error: cannot find 'posix_spawn_file_actions_addchdir_np' in scope
 75 |         })
 76 |     }
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:88:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
 86 |     mutating func addCloseFileDescriptor(_ value: Int32) throws {
 87 |       try Errno.check(
 88 |         posix_spawn_file_actions_addclose(&rawValue, value)
    |         `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
 89 |       )
 90 |     }
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:93:23: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
 91 |
 92 |     mutating func addDuplicate(_ source: FileDescriptor, as target: CInt) throws {
 93 |       try Errno.check(posix_spawn_file_actions_adddup2(&rawValue, source.rawValue, target))
    |                       `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
 94 |     }
 95 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:106:15: error: cannot find 'pid_t' in scope
104 |     attributes: inout Attributes
105 |   ) throws -> pid_t {
106 |     var pid = pid_t()
    |               `- error: cannot find 'pid_t' in scope
107 |
108 |     /// I'm not aware of a way to pass a string containing `NUL` to `posix_spawn`
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:115:53: error: cannot find 'strdup' in scope
113 |     }
114 |
115 |     let cArguments = arguments.map { $0.withCString(strdup)! }
    |                                                     `- error: cannot find 'strdup' in scope
116 |     defer { cArguments.forEach { $0.deallocate() } }
117 |     let cEnvironment = environment.map { $0.withCString(strdup)! }
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:115:32: error: generic parameter 'T' could not be inferred
113 |     }
114 |
115 |     let cArguments = arguments.map { $0.withCString(strdup)! }
    |                                `- error: generic parameter 'T' could not be inferred
116 |     defer { cArguments.forEach { $0.deallocate() } }
117 |     let cEnvironment = environment.map { $0.withCString(strdup)! }
Swift.Collection.map:2:24: note: in call to function 'map'
1 | protocol Collection {
2 | @inlinable public func map<T, E>(_ transform: (Self.Element) throws(E) -> T) throws(E) -> [T] where E : Error}
  |                        `- note: in call to function 'map'
3 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:117:57: error: cannot find 'strdup' in scope
115 |     let cArguments = arguments.map { $0.withCString(strdup)! }
116 |     defer { cArguments.forEach { $0.deallocate() } }
117 |     let cEnvironment = environment.map { $0.withCString(strdup)! }
    |                                                         `- error: cannot find 'strdup' in scope
118 |     defer { cEnvironment.forEach { $0.deallocate() } }
119 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:117:36: error: generic parameter 'T' could not be inferred
115 |     let cArguments = arguments.map { $0.withCString(strdup)! }
116 |     defer { cArguments.forEach { $0.deallocate() } }
117 |     let cEnvironment = environment.map { $0.withCString(strdup)! }
    |                                    `- error: generic parameter 'T' could not be inferred
118 |     defer { cEnvironment.forEach { $0.deallocate() } }
119 |
Swift.Collection.map:2:24: note: in call to function 'map'
1 | protocol Collection {
2 | @inlinable public func map<T, E>(_ transform: (Self.Element) throws(E) -> T) throws(E) -> [T] where E : Error}
  |                        `- note: in call to function 'map'
3 |
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:122:9: error: cannot find 'posix_spawn' in scope
120 |     try path.withPlatformString { path in
121 |       try Errno.check(
122 |         posix_spawn(
    |         `- error: cannot find 'posix_spawn' in scope
123 |           &pid,
124 |           path,
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:142:16: error: cannot find 'sigfillset' in scope
140 |   static var all: Self {
141 |     get throws {
142 |       try Self(sigfillset)
    |                `- error: cannot find 'sigfillset' in scope
143 |     }
144 |   }
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:148:16: error: cannot find 'sigemptyset' in scope
146 |   static var none: Self {
147 |     get throws {
148 |       try Self(sigemptyset)
    |                `- error: cannot find 'sigemptyset' in scope
149 |     }
150 |   }
/host/spi-builder-workspace/Sources/Shwift/Support/Posix Spawn.swift:153:16: error: cannot find 'sigset_t' in scope
151 |
152 |   private init(_ fn: (UnsafeMutablePointer<sigset_t>) -> CInt) throws {
153 |     rawValue = sigset_t()
    |                `- error: cannot find 'sigset_t' in scope
154 |     try Errno.check(fn(&rawValue))
155 |   }
BUILD FAILURE 6.2 android