The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build containerization, reference 0.16.2 (e8aff2), with Swift 6.2 for Android on 9 Dec 2025 22:06:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

[529/1485] Wrapping AST for ContainerizationError for debugging
[530/1485] Compiling CNIOWASI CNIOWASI.c
[531/1485] Compiling CNIOPosix event_loop_id.c
[532/1485] Compiling CNIOOpenBSD shim.c
[534/1485] Emitting module SwiftProtobuf
[546/1485] Compiling Algorithms Intersperse.swift
[546/1485] Compiling CNIOLinux shim.c
[547/1485] Compiling CNIOLinux liburing_shims.c
[553/1488] Emitting module BitCollections
[563/1488] Compiling Algorithms Joined.swift
[564/1488] Compiling Algorithms Keyed.swift
[565/1488] Compiling Algorithms MinMax.swift
[566/1488] Compiling Algorithms Partition.swift
[567/1488] Compiling Algorithms Permutations.swift
[568/1488] Compiling Algorithms Product.swift
[569/1488] Compiling Algorithms RandomSample.swift
[570/1488] Compiling Algorithms Reductions.swift
[571/1488] Compiling Algorithms Rotate.swift
[572/1488] Compiling Algorithms Split.swift
[588/1488] Compiling Algorithms Stride.swift
[589/1488] Compiling Algorithms Suffix.swift
[589/1488] Compiling CNIOLLHTTP c_nio_llhttp.c
[590/1488] Compiling CNIOLLHTTP c_nio_http.c
[607/1488] Compiling CNIOLLHTTP c_nio_api.c
[608/1488] Compiling CNIOExtrasZlib empty.c
[609/1488] Compiling CNIODarwin shim.c
[611/1488] Emitting module ArgumentParserToolInfo
[612/1488] Compiling ArgumentParserToolInfo ToolInfo.swift
[617/1489] Compiling BitCollections BitSet.Index.swift
[618/1489] Compiling BitCollections BitSet._UnsafeHandle.swift
[619/1489] Compiling BitCollections BitSet.swift
[620/1489] Compiling BitCollections Range+Utilities.swift
[621/1489] Compiling BitCollections Slice+Utilities.swift
[622/1489] Compiling BitCollections UInt+Tricks.swift
[623/1489] Compiling BitCollections _Word.swift
[634/1490] Compiling fiat_p256_adx_sqr.S
[639/1492] Compiling fiat_p256_adx_mul.S
[643/1535] Compiling fiat_curve25519_adx_square.S
[644/1535] Compiling ArgumentParser Name.swift
[645/1535] Compiling ArgumentParser Parsed.swift
[646/1535] Compiling ArgumentParser ParsedValues.swift
[647/1535] Compiling ArgumentParser ParserError.swift
[648/1535] Compiling fiat_curve25519_adx_mul.S
[649/1535] Wrapping AST for _RopeModule for debugging
[650/1535] Compiling CNIOBoringSSLShims shims.c
[652/1535] Compiling ArgumentParser CommandGroup.swift
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:55:37: error: no type named 'stat' in module 'Foundation'
 53 | /// for a file.
 54 | public struct FileInfo: Sendable {
 55 |     private let _stat_t: Foundation.stat
    |                                     `- error: no type named 'stat' in module 'Foundation'
 56 |     private let _path: String
 57 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:58:32: error: cannot find type 'stat' in scope
 56 |     private let _path: String
 57 |
 58 |     init(_ path: String, stat: stat) {
    |                                `- error: cannot find type 'stat' in scope
 59 |         self._path = path
 60 |         self._stat_t = stat
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:44:18: error: cannot find 'stat' in scope
 42 |     ///   - path: The path to the file as a string.
 43 |     public static func info(_ path: String) throws -> FileInfo {
 44 |         var st = stat()
    |                  `- error: cannot find 'stat' in scope
 45 |         guard lstat(path, &st) == 0 else {
 46 |             throw Error.errno(errno)
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:45:15: error: cannot find 'lstat' in scope
 43 |     public static func info(_ path: String) throws -> FileInfo {
 44 |         var st = stat()
 45 |         guard lstat(path, &st) == 0 else {
    |               `- error: cannot find 'lstat' in scope
 46 |             throw Error.errno(errno)
 47 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:46:31: error: cannot find 'errno' in scope
 44 |         var st = stat()
 45 |         guard lstat(path, &st) == 0 else {
 46 |             throw Error.errno(errno)
    |                               `- error: cannot find 'errno' in scope
 47 |         }
 48 |         return FileInfo(path, stat: st)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:100:16: error: cannot find 'S_IFMT' in scope
 98 |     /// Returns if the file is a directory.
 99 |     public var isDirectory: Bool {
100 |         mode & S_IFMT == S_IFDIR
    |                `- error: cannot find 'S_IFMT' in scope
101 |     }
102 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:100:26: error: cannot find 'S_IFDIR' in scope
 98 |     /// Returns if the file is a directory.
 99 |     public var isDirectory: Bool {
100 |         mode & S_IFMT == S_IFDIR
    |                          `- error: cannot find 'S_IFDIR' in scope
101 |     }
102 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:105:16: error: cannot find 'S_IFMT' in scope
103 |     /// Returns if the file is a pipe.
104 |     public var isPipe: Bool {
105 |         mode & S_IFMT == S_IFIFO
    |                `- error: cannot find 'S_IFMT' in scope
106 |     }
107 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:105:26: error: cannot find 'S_IFIFO' in scope
103 |     /// Returns if the file is a pipe.
104 |     public var isPipe: Bool {
105 |         mode & S_IFMT == S_IFIFO
    |                          `- error: cannot find 'S_IFIFO' in scope
106 |     }
107 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:110:16: error: cannot find 'S_IFMT' in scope
108 |     /// Returns if the file is a socket.
109 |     public var isSocket: Bool {
110 |         mode & S_IFMT == S_IFSOCK
    |                `- error: cannot find 'S_IFMT' in scope
111 |     }
112 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:110:26: error: cannot find 'S_IFSOCK' in scope
108 |     /// Returns if the file is a socket.
109 |     public var isSocket: Bool {
110 |         mode & S_IFMT == S_IFSOCK
    |                          `- error: cannot find 'S_IFSOCK' in scope
111 |     }
112 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:115:16: error: cannot find 'S_IFMT' in scope
113 |     /// Returns if the file is a link.
114 |     public var isLink: Bool {
115 |         mode & S_IFMT == S_IFLNK
    |                `- error: cannot find 'S_IFMT' in scope
116 |     }
117 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:115:26: error: cannot find 'S_IFLNK' in scope
113 |     /// Returns if the file is a link.
114 |     public var isLink: Bool {
115 |         mode & S_IFMT == S_IFLNK
    |                          `- error: cannot find 'S_IFLNK' in scope
116 |     }
117 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:120:16: error: cannot find 'S_IFMT' in scope
118 |     /// Returns if the file is a regular file.
119 |     public var isRegularFile: Bool {
120 |         mode & S_IFMT == S_IFREG
    |                `- error: cannot find 'S_IFMT' in scope
121 |     }
122 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:120:26: error: cannot find 'S_IFREG' in scope
118 |     /// Returns if the file is a regular file.
119 |     public var isRegularFile: Bool {
120 |         mode & S_IFMT == S_IFREG
    |                          `- error: cannot find 'S_IFREG' in scope
121 |     }
122 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:125:16: error: cannot find 'S_IFMT' in scope
123 |     /// Returns if the file is a block device.
124 |     public var isBlock: Bool {
125 |         mode & S_IFMT == S_IFBLK
    |                `- error: cannot find 'S_IFMT' in scope
126 |     }
127 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:125:26: error: cannot find 'S_IFBLK' in scope
123 |     /// Returns if the file is a block device.
124 |     public var isBlock: Bool {
125 |         mode & S_IFMT == S_IFBLK
    |                          `- error: cannot find 'S_IFBLK' in scope
126 |     }
127 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:130:16: error: cannot find 'S_IFMT' in scope
128 |     /// Returns if the file is a character device.
129 |     public var isChar: Bool {
130 |         mode & S_IFMT == S_IFCHR
    |                `- error: cannot find 'S_IFMT' in scope
131 |     }
132 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:130:26: error: cannot find 'S_IFCHR' in scope
128 |     /// Returns if the file is a character device.
129 |     public var isChar: Bool {
130 |         mode & S_IFMT == S_IFCHR
    |                          `- error: cannot find 'S_IFCHR' in scope
131 |     }
132 | }
[653/1535] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:55:37: error: no type named 'stat' in module 'Foundation'
 53 | /// for a file.
 54 | public struct FileInfo: Sendable {
 55 |     private let _stat_t: Foundation.stat
    |                                     `- error: no type named 'stat' in module 'Foundation'
 56 |     private let _path: String
 57 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:58:32: error: cannot find type 'stat' in scope
 56 |     private let _path: String
 57 |
 58 |     init(_ path: String, stat: stat) {
    |                                `- error: cannot find type 'stat' in scope
 59 |         self._path = path
 60 |         self._stat_t = stat
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:44:18: error: cannot find 'stat' in scope
 42 |     ///   - path: The path to the file as a string.
 43 |     public static func info(_ path: String) throws -> FileInfo {
 44 |         var st = stat()
    |                  `- error: cannot find 'stat' in scope
 45 |         guard lstat(path, &st) == 0 else {
 46 |             throw Error.errno(errno)
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:45:15: error: cannot find 'lstat' in scope
 43 |     public static func info(_ path: String) throws -> FileInfo {
 44 |         var st = stat()
 45 |         guard lstat(path, &st) == 0 else {
    |               `- error: cannot find 'lstat' in scope
 46 |             throw Error.errno(errno)
 47 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:46:31: error: cannot find 'errno' in scope
 44 |         var st = stat()
 45 |         guard lstat(path, &st) == 0 else {
 46 |             throw Error.errno(errno)
    |                               `- error: cannot find 'errno' in scope
 47 |         }
 48 |         return FileInfo(path, stat: st)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:100:16: error: cannot find 'S_IFMT' in scope
 98 |     /// Returns if the file is a directory.
 99 |     public var isDirectory: Bool {
100 |         mode & S_IFMT == S_IFDIR
    |                `- error: cannot find 'S_IFMT' in scope
101 |     }
102 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:100:26: error: cannot find 'S_IFDIR' in scope
 98 |     /// Returns if the file is a directory.
 99 |     public var isDirectory: Bool {
100 |         mode & S_IFMT == S_IFDIR
    |                          `- error: cannot find 'S_IFDIR' in scope
101 |     }
102 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:105:16: error: cannot find 'S_IFMT' in scope
103 |     /// Returns if the file is a pipe.
104 |     public var isPipe: Bool {
105 |         mode & S_IFMT == S_IFIFO
    |                `- error: cannot find 'S_IFMT' in scope
106 |     }
107 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:105:26: error: cannot find 'S_IFIFO' in scope
103 |     /// Returns if the file is a pipe.
104 |     public var isPipe: Bool {
105 |         mode & S_IFMT == S_IFIFO
    |                          `- error: cannot find 'S_IFIFO' in scope
106 |     }
107 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:110:16: error: cannot find 'S_IFMT' in scope
108 |     /// Returns if the file is a socket.
109 |     public var isSocket: Bool {
110 |         mode & S_IFMT == S_IFSOCK
    |                `- error: cannot find 'S_IFMT' in scope
111 |     }
112 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:110:26: error: cannot find 'S_IFSOCK' in scope
108 |     /// Returns if the file is a socket.
109 |     public var isSocket: Bool {
110 |         mode & S_IFMT == S_IFSOCK
    |                          `- error: cannot find 'S_IFSOCK' in scope
111 |     }
112 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:115:16: error: cannot find 'S_IFMT' in scope
113 |     /// Returns if the file is a link.
114 |     public var isLink: Bool {
115 |         mode & S_IFMT == S_IFLNK
    |                `- error: cannot find 'S_IFMT' in scope
116 |     }
117 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:115:26: error: cannot find 'S_IFLNK' in scope
113 |     /// Returns if the file is a link.
114 |     public var isLink: Bool {
115 |         mode & S_IFMT == S_IFLNK
    |                          `- error: cannot find 'S_IFLNK' in scope
116 |     }
117 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:120:16: error: cannot find 'S_IFMT' in scope
118 |     /// Returns if the file is a regular file.
119 |     public var isRegularFile: Bool {
120 |         mode & S_IFMT == S_IFREG
    |                `- error: cannot find 'S_IFMT' in scope
121 |     }
122 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:120:26: error: cannot find 'S_IFREG' in scope
118 |     /// Returns if the file is a regular file.
119 |     public var isRegularFile: Bool {
120 |         mode & S_IFMT == S_IFREG
    |                          `- error: cannot find 'S_IFREG' in scope
121 |     }
122 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:125:16: error: cannot find 'S_IFMT' in scope
123 |     /// Returns if the file is a block device.
124 |     public var isBlock: Bool {
125 |         mode & S_IFMT == S_IFBLK
    |                `- error: cannot find 'S_IFMT' in scope
126 |     }
127 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:125:26: error: cannot find 'S_IFBLK' in scope
123 |     /// Returns if the file is a block device.
124 |     public var isBlock: Bool {
125 |         mode & S_IFMT == S_IFBLK
    |                          `- error: cannot find 'S_IFBLK' in scope
126 |     }
127 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:130:16: error: cannot find 'S_IFMT' in scope
128 |     /// Returns if the file is a character device.
129 |     public var isChar: Bool {
130 |         mode & S_IFMT == S_IFCHR
    |                `- error: cannot find 'S_IFMT' in scope
131 |     }
132 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:130:26: error: cannot find 'S_IFCHR' in scope
128 |     /// Returns if the file is a character device.
129 |     public var isChar: Bool {
130 |         mode & S_IFMT == S_IFCHR
    |                          `- error: cannot find 'S_IFCHR' in scope
131 |     }
132 | }
[654/1535] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:55:37: error: no type named 'stat' in module 'Foundation'
 53 | /// for a file.
 54 | public struct FileInfo: Sendable {
 55 |     private let _stat_t: Foundation.stat
    |                                     `- error: no type named 'stat' in module 'Foundation'
 56 |     private let _path: String
 57 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:58:32: error: cannot find type 'stat' in scope
 56 |     private let _path: String
 57 |
 58 |     init(_ path: String, stat: stat) {
    |                                `- error: cannot find type 'stat' in scope
 59 |         self._path = path
 60 |         self._stat_t = stat
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:44:18: error: cannot find 'stat' in scope
 42 |     ///   - path: The path to the file as a string.
 43 |     public static func info(_ path: String) throws -> FileInfo {
 44 |         var st = stat()
    |                  `- error: cannot find 'stat' in scope
 45 |         guard lstat(path, &st) == 0 else {
 46 |             throw Error.errno(errno)
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:45:15: error: cannot find 'lstat' in scope
 43 |     public static func info(_ path: String) throws -> FileInfo {
 44 |         var st = stat()
 45 |         guard lstat(path, &st) == 0 else {
    |               `- error: cannot find 'lstat' in scope
 46 |             throw Error.errno(errno)
 47 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:46:31: error: cannot find 'errno' in scope
 44 |         var st = stat()
 45 |         guard lstat(path, &st) == 0 else {
 46 |             throw Error.errno(errno)
    |                               `- error: cannot find 'errno' in scope
 47 |         }
 48 |         return FileInfo(path, stat: st)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:100:16: error: cannot find 'S_IFMT' in scope
 98 |     /// Returns if the file is a directory.
 99 |     public var isDirectory: Bool {
100 |         mode & S_IFMT == S_IFDIR
    |                `- error: cannot find 'S_IFMT' in scope
101 |     }
102 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:100:26: error: cannot find 'S_IFDIR' in scope
 98 |     /// Returns if the file is a directory.
 99 |     public var isDirectory: Bool {
100 |         mode & S_IFMT == S_IFDIR
    |                          `- error: cannot find 'S_IFDIR' in scope
101 |     }
102 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:105:16: error: cannot find 'S_IFMT' in scope
103 |     /// Returns if the file is a pipe.
104 |     public var isPipe: Bool {
105 |         mode & S_IFMT == S_IFIFO
    |                `- error: cannot find 'S_IFMT' in scope
106 |     }
107 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:105:26: error: cannot find 'S_IFIFO' in scope
103 |     /// Returns if the file is a pipe.
104 |     public var isPipe: Bool {
105 |         mode & S_IFMT == S_IFIFO
    |                          `- error: cannot find 'S_IFIFO' in scope
106 |     }
107 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:110:16: error: cannot find 'S_IFMT' in scope
108 |     /// Returns if the file is a socket.
109 |     public var isSocket: Bool {
110 |         mode & S_IFMT == S_IFSOCK
    |                `- error: cannot find 'S_IFMT' in scope
111 |     }
112 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:110:26: error: cannot find 'S_IFSOCK' in scope
108 |     /// Returns if the file is a socket.
109 |     public var isSocket: Bool {
110 |         mode & S_IFMT == S_IFSOCK
    |                          `- error: cannot find 'S_IFSOCK' in scope
111 |     }
112 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:115:16: error: cannot find 'S_IFMT' in scope
113 |     /// Returns if the file is a link.
114 |     public var isLink: Bool {
115 |         mode & S_IFMT == S_IFLNK
    |                `- error: cannot find 'S_IFMT' in scope
116 |     }
117 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:115:26: error: cannot find 'S_IFLNK' in scope
113 |     /// Returns if the file is a link.
114 |     public var isLink: Bool {
115 |         mode & S_IFMT == S_IFLNK
    |                          `- error: cannot find 'S_IFLNK' in scope
116 |     }
117 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:120:16: error: cannot find 'S_IFMT' in scope
118 |     /// Returns if the file is a regular file.
119 |     public var isRegularFile: Bool {
120 |         mode & S_IFMT == S_IFREG
    |                `- error: cannot find 'S_IFMT' in scope
121 |     }
122 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:120:26: error: cannot find 'S_IFREG' in scope
118 |     /// Returns if the file is a regular file.
119 |     public var isRegularFile: Bool {
120 |         mode & S_IFMT == S_IFREG
    |                          `- error: cannot find 'S_IFREG' in scope
121 |     }
122 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:125:16: error: cannot find 'S_IFMT' in scope
123 |     /// Returns if the file is a block device.
124 |     public var isBlock: Bool {
125 |         mode & S_IFMT == S_IFBLK
    |                `- error: cannot find 'S_IFMT' in scope
126 |     }
127 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:125:26: error: cannot find 'S_IFBLK' in scope
123 |     /// Returns if the file is a block device.
124 |     public var isBlock: Bool {
125 |         mode & S_IFMT == S_IFBLK
    |                          `- error: cannot find 'S_IFBLK' in scope
126 |     }
127 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:130:16: error: cannot find 'S_IFMT' in scope
128 |     /// Returns if the file is a character device.
129 |     public var isChar: Bool {
130 |         mode & S_IFMT == S_IFCHR
    |                `- error: cannot find 'S_IFMT' in scope
131 |     }
132 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:130:26: error: cannot find 'S_IFCHR' in scope
128 |     /// Returns if the file is a character device.
129 |     public var isChar: Bool {
130 |         mode & S_IFMT == S_IFCHR
    |                          `- error: cannot find 'S_IFCHR' in scope
131 |     }
132 | }
[655/1537] Compiling ArgumentParser BashCompletionsGenerator.swift
[656/1537] Compiling ArgumentParser CompletionsGenerator.swift
[657/1537] Compiling ArgumentParser FishCompletionsGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[658/1537] Emitting module ContainerizationOS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:55:37: error: no type named 'stat' in module 'Foundation'
 53 | /// for a file.
 54 | public struct FileInfo: Sendable {
 55 |     private let _stat_t: Foundation.stat
    |                                     `- error: no type named 'stat' in module 'Foundation'
 56 |     private let _path: String
 57 |
/host/spi-builder-workspace/Sources/ContainerizationOS/File.swift:58:32: error: cannot find type 'stat' in scope
 56 |     private let _path: String
 57 |
 58 |     init(_ path: String, stat: stat) {
    |                                `- error: cannot find type 'stat' in scope
 59 |         self._path = path
 60 |         self._stat_t = stat
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:45:87: error: no exact matches in reference to global function 'ioctl'
 43 | let sysAccept = accept
 44 | let sysConnect = connect
 45 | let sysIoctl: @convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt = ioctl
    |                                                                                       `- error: no exact matches in reference to global function 'ioctl'
 46 | let sysRecvmsg = recvmsg
 47 | #endif
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: found candidate with type '@Sendable (Int32, UInt32, Any...) -> Int32'
61 | #endif
62 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:45:87: error: no 'ioctl' candidates produce the expected contextual result type '@convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt' (aka '@convention(c) (Int32, UInt, UnsafeMutableRawPointer) -> Int32')
 43 | let sysAccept = accept
 44 | let sysConnect = connect
 45 | let sysIoctl: @convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt = ioctl
    |                                                                                       `- error: no 'ioctl' candidates produce the expected contextual result type '@convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt' (aka '@convention(c) (Int32, UInt, UnsafeMutableRawPointer) -> Int32')
 46 | let sysRecvmsg = recvmsg
 47 | #endif
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: found candidate with type '@Sendable (Int32, UInt32, Any...) -> Int32'
61 | #endif
62 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:42:56: error: cannot find type 'sockaddr' in scope
40 |     func accept(fd: Int32) throws -> (Int32, SocketType)
41 |     /// Provide a sockaddr pointer (by casting a socket specific type like sockaddr_un for example).
42 |     func withSockAddr(_ closure: (_ ptr: UnsafePointer<sockaddr>, _ len: UInt32) throws -> Void) throws
   |                                                        `- error: cannot find type 'sockaddr' in scope
43 | }
44 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:39:23: error: cannot find type 'mode_t' in scope
 37 |
 38 |     public let path: String
 39 |     public let perms: mode_t?
    |                       `- error: cannot find type 'mode_t' in scope
 40 |     private let _addr: sockaddr_un
 41 |     private let _unlinkExisting: Bool
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:40:24: error: cannot find type 'sockaddr_un' in scope
 38 |     public let path: String
 39 |     public let perms: mode_t?
 40 |     private let _addr: sockaddr_un
    |                        `- error: cannot find type 'sockaddr_un' in scope
 41 |     private let _unlinkExisting: Bool
 42 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:43:28: error: cannot find type 'sockaddr_un' in scope
 41 |     private let _unlinkExisting: Bool
 42 |
 43 |     private init(sockaddr: sockaddr_un) {
    |                            `- error: cannot find type 'sockaddr_un' in scope
 44 |         let pathname: String = withUnsafePointer(to: sockaddr.sun_path) { ptr in
 45 |             let charPtr = UnsafeRawPointer(ptr).assumingMemoryBound(to: CChar.self)
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:57:16: error: cannot find type 'mode_t' in scope
 55 |     public init(
 56 |         path: String,
 57 |         perms: mode_t? = nil,
    |                `- error: cannot find type 'mode_t' in scope
 58 |         unlinkExisting: Bool = false
 59 |     ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:139:56: error: cannot find type 'sockaddr' in scope
137 |     }
138 |
139 |     public func withSockAddr(_ closure: (UnsafePointer<sockaddr>, UInt32) throws -> Void) throws {
    |                                                        `- error: cannot find type 'sockaddr' in scope
140 |         var addr = self._addr
141 |         try withUnsafePointer(to: &addr) {
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:21:28: error: cannot find type 'termios' in scope
 19 | /// `Terminal` provides a clean interface to deal with terminal interactions on Unix platforms.
 20 | public struct Terminal: Sendable {
 21 |     private let initState: termios?
    |                            `- error: cannot find type 'termios' in scope
 22 |
 23 |     private var descriptor: Int32 {
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:44:19: error: cannot find type 'winsize' in scope
 42 |     /// The winsize for a pty.
 43 |     public struct Size: Sendable {
 44 |         let size: winsize
    |                   `- error: cannot find type 'winsize' in scope
 45 |
 46 |         /// The width or `col` of the pty.
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:55:22: error: cannot find type 'winsize' in scope
 53 |         }
 54 |
 55 |         init(_ size: winsize) {
    |                      `- error: cannot find type 'winsize' in scope
 56 |             self.size = size
 57 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:167:56: error: cannot find type 'termios' in scope
165 |     }
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
    |                                                        `- error: cannot find type 'termios' in scope
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
[659/1537] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:21:28: error: cannot find type 'termios' in scope
 19 | /// `Terminal` provides a clean interface to deal with terminal interactions on Unix platforms.
 20 | public struct Terminal: Sendable {
 21 |     private let initState: termios?
    |                            `- error: cannot find type 'termios' in scope
 22 |
 23 |     private var descriptor: Int32 {
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:44:19: error: cannot find type 'winsize' in scope
 42 |     /// The winsize for a pty.
 43 |     public struct Size: Sendable {
 44 |         let size: winsize
    |                   `- error: cannot find type 'winsize' in scope
 45 |
 46 |         /// The width or `col` of the pty.
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:55:22: error: cannot find type 'winsize' in scope
 53 |         }
 54 |
 55 |         init(_ size: winsize) {
    |                      `- error: cannot find type 'winsize' in scope
 56 |             self.size = size
 57 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:167:56: error: cannot find type 'termios' in scope
165 |     }
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
    |                                                        `- error: cannot find type 'termios' in scope
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:61:25: error: cannot find 'winsize' in scope
 59 |         /// Set the size for use with a pty.
 60 |         public init(width cols: UInt16, height rows: UInt16) {
 61 |             self.size = winsize(ws_row: rows, ws_col: cols, ws_xpixel: 0, ws_ypixel: 0)
    |                         `- error: cannot find 'winsize' in scope
 62 |         }
 63 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:68:23: error: cannot find 'STDERR_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                       `- error: cannot find 'STDERR_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:68:38: error: cannot find 'STDOUT_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                                      `- error: cannot find 'STDOUT_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:68:53: error: cannot find 'STDIN_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                                                     `- error: cannot find 'STDIN_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:80:22: error: cannot find 'winsize' in scope
 78 |     public var size: Size {
 79 |         get throws {
 80 |             var ws = winsize()
    |                      `- error: cannot find 'winsize' in scope
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:81:29: error: cannot find 'ioctl' in scope
 79 |         get throws {
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
    |                             `- error: cannot find 'ioctl' in scope
 82 |             return Size(ws)
 83 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:81:52: error: cannot find 'TIOCGWINSZ' in scope
 79 |         get throws {
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
    |                                                    `- error: cannot find 'TIOCGWINSZ' in scope
 82 |             return Size(ws)
 83 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:82:25: error: missing argument label 'width:' in call
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
    |                         `- error: missing argument label 'width:' in call
 83 |         }
 84 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:82:27: error: missing argument for parameter 'height' in call
 58 |
 59 |         /// Set the size for use with a pty.
 60 |         public init(width cols: UInt16, height rows: UInt16) {
    |                `- note: 'init(width:height:)' declared here
 61 |             self.size = winsize(ws_row: rows, ws_col: cols, ws_xpixel: 0, ws_ypixel: 0)
 62 |         }
    :
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
    |                           `- error: missing argument for parameter 'height' in call
 83 |         }
 84 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:94:25: error: cannot find 'openpty' in scope
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                         `- error: cannot find 'openpty' in scope
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:94:50: error: 'nil' requires a contextual type
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                                                  `- error: 'nil' requires a contextual type
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:94:55: error: 'nil' requires a contextual type
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                                                       `- error: 'nil' requires a contextual type
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:122:25: error: cannot find 'ioctl' in scope
120 |     public func resize(from pty: Terminal) throws {
121 |         var ws = try pty.size
122 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
123 |     }
124 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:122:48: error: cannot find 'TIOCSWINSZ' in scope
120 |     public func resize(from pty: Terminal) throws {
121 |         var ws = try pty.size
122 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
123 |     }
124 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:129:25: error: cannot find 'ioctl' in scope
127 |     public func resize(size: Size) throws {
128 |         var ws = size.size
129 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
130 |     }
131 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:129:48: error: cannot find 'TIOCSWINSZ' in scope
127 |     public func resize(size: Size) throws {
128 |         var ws = size.size
129 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
130 |     }
131 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:137:25: error: cannot find 'ioctl' in scope
135 |     public func resize(width: UInt16, height: UInt16) throws {
136 |         var ws = Size(width: width, height: height)
137 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
138 |     }
139 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:137:48: error: cannot find 'TIOCSWINSZ' in scope
135 |     public func resize(width: UInt16, height: UInt16) throws {
136 |         var ws = Size(width: width, height: height)
137 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
138 |     }
139 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:145:9: error: cannot find 'cfmakeraw' in scope
143 |     public func setraw() throws {
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
    |         `- error: cannot find 'cfmakeraw' in scope
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:146:39: error: cannot find 'tcflag_t' in scope
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
    |                                       `- error: cannot find 'tcflag_t' in scope
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
148 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:146:48: error: cannot find 'OPOST' in scope
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
    |                                                `- error: cannot find 'OPOST' in scope
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
148 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:147:25: error: cannot find 'tcsetattr' in scope
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
148 |     }
149 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:147:47: error: cannot find 'TCSANOW' in scope
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
148 |     }
149 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:154:26: error: cannot find 'tcflag_t' in scope
152 |     public func enableEcho() throws {
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
    |                          `- error: cannot find 'tcflag_t' in scope
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:154:35: error: cannot find 'ICRNL' in scope
152 |     public func enableEcho() throws {
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
    |                                   `- error: cannot find 'ICRNL' in scope
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:155:26: error: cannot find 'tcflag_t' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                          `- error: cannot find 'tcflag_t' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:155:35: error: cannot find 'ICANON' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                   `- error: cannot find 'ICANON' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:155:44: error: cannot find 'ECHO' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                            `- error: cannot find 'ECHO' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:156:25: error: cannot find 'tcsetattr' in scope
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
157 |     }
158 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:156:47: error: cannot find 'TCSANOW' in scope
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
157 |     }
158 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:163:26: error: cannot find 'tcflag_t' in scope
161 |     public func disableEcho() throws {
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
    |                          `- error: cannot find 'tcflag_t' in scope
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
165 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:163:35: error: cannot find 'ECHO' in scope
161 |     public func disableEcho() throws {
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
    |                                   `- error: cannot find 'ECHO' in scope
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
165 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:164:25: error: cannot find 'tcsetattr' in scope
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
165 |     }
166 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:164:47: error: cannot find 'TCSANOW' in scope
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
165 |     }
166 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:168:20: error: cannot find 'termios' in scope
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
168 |         var attr = termios()
    |                    `- error: cannot find 'termios' in scope
169 |         try fromSyscall(tcgetattr(fd, &attr))
170 |         return attr
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:169:25: error: cannot find 'tcgetattr' in scope
167 |     private static func getattr(_ fd: Int32) throws -> termios {
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
    |                         `- error: cannot find 'tcgetattr' in scope
170 |         return attr
171 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:194:29: error: cannot find 'tcsetattr' in scope
192 |     public func reset() throws {
193 |         if var attr = initState {
194 |             try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                             `- error: cannot find 'tcsetattr' in scope
195 |         }
196 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:194:51: error: cannot find 'TCSANOW' in scope
192 |     public func reset() throws {
193 |         if var attr = initState {
194 |             try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                                   `- error: cannot find 'TCSANOW' in scope
195 |         }
196 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:207:42: error: cannot find 'errno' in scope
205 | private func fromSyscall(_ status: Int32) throws {
206 |     guard status == 0 else {
207 |         throw POSIXError(.init(rawValue: errno)!)
    |                                          `- error: cannot find 'errno' in scope
208 |     }
209 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[660/1537] Compiling ArgumentParser DumpHelpGenerator.swift
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:21:28: error: cannot find type 'termios' in scope
 19 | /// `Terminal` provides a clean interface to deal with terminal interactions on Unix platforms.
 20 | public struct Terminal: Sendable {
 21 |     private let initState: termios?
    |                            `- error: cannot find type 'termios' in scope
 22 |
 23 |     private var descriptor: Int32 {
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:44:19: error: cannot find type 'winsize' in scope
 42 |     /// The winsize for a pty.
 43 |     public struct Size: Sendable {
 44 |         let size: winsize
    |                   `- error: cannot find type 'winsize' in scope
 45 |
 46 |         /// The width or `col` of the pty.
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:55:22: error: cannot find type 'winsize' in scope
 53 |         }
 54 |
 55 |         init(_ size: winsize) {
    |                      `- error: cannot find type 'winsize' in scope
 56 |             self.size = size
 57 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:167:56: error: cannot find type 'termios' in scope
165 |     }
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
    |                                                        `- error: cannot find type 'termios' in scope
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:61:25: error: cannot find 'winsize' in scope
 59 |         /// Set the size for use with a pty.
 60 |         public init(width cols: UInt16, height rows: UInt16) {
 61 |             self.size = winsize(ws_row: rows, ws_col: cols, ws_xpixel: 0, ws_ypixel: 0)
    |                         `- error: cannot find 'winsize' in scope
 62 |         }
 63 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:68:23: error: cannot find 'STDERR_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                       `- error: cannot find 'STDERR_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:68:38: error: cannot find 'STDOUT_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                                      `- error: cannot find 'STDOUT_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:68:53: error: cannot find 'STDIN_FILENO' in scope
 66 |     public static var current: Terminal {
 67 |         get throws {
 68 |             for i in [STDERR_FILENO, STDOUT_FILENO, STDIN_FILENO] {
    |                                                     `- error: cannot find 'STDIN_FILENO' in scope
 69 |                 do {
 70 |                     return try Terminal(descriptor: i)
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:80:22: error: cannot find 'winsize' in scope
 78 |     public var size: Size {
 79 |         get throws {
 80 |             var ws = winsize()
    |                      `- error: cannot find 'winsize' in scope
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:81:29: error: cannot find 'ioctl' in scope
 79 |         get throws {
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
    |                             `- error: cannot find 'ioctl' in scope
 82 |             return Size(ws)
 83 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:81:52: error: cannot find 'TIOCGWINSZ' in scope
 79 |         get throws {
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
    |                                                    `- error: cannot find 'TIOCGWINSZ' in scope
 82 |             return Size(ws)
 83 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:82:25: error: missing argument label 'width:' in call
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
    |                         `- error: missing argument label 'width:' in call
 83 |         }
 84 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:82:27: error: missing argument for parameter 'height' in call
 58 |
 59 |         /// Set the size for use with a pty.
 60 |         public init(width cols: UInt16, height rows: UInt16) {
    |                `- note: 'init(width:height:)' declared here
 61 |             self.size = winsize(ws_row: rows, ws_col: cols, ws_xpixel: 0, ws_ypixel: 0)
 62 |         }
    :
 80 |             var ws = winsize()
 81 |             try fromSyscall(ioctl(descriptor, UInt(TIOCGWINSZ), &ws))
 82 |             return Size(ws)
    |                           `- error: missing argument for parameter 'height' in call
 83 |         }
 84 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:94:25: error: cannot find 'openpty' in scope
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                         `- error: cannot find 'openpty' in scope
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:94:50: error: 'nil' requires a contextual type
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                                                  `- error: 'nil' requires a contextual type
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:94:55: error: 'nil' requires a contextual type
 92 |         var ws = size.size
 93 |
 94 |         try fromSyscall(openpty(&parent, &child, nil, nil, &ws))
    |                                                       `- error: 'nil' requires a contextual type
 95 |         return (
 96 |             parent: try Terminal(descriptor: parent, setInitState: false),
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:122:25: error: cannot find 'ioctl' in scope
120 |     public func resize(from pty: Terminal) throws {
121 |         var ws = try pty.size
122 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
123 |     }
124 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:122:48: error: cannot find 'TIOCSWINSZ' in scope
120 |     public func resize(from pty: Terminal) throws {
121 |         var ws = try pty.size
122 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
123 |     }
124 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:129:25: error: cannot find 'ioctl' in scope
127 |     public func resize(size: Size) throws {
128 |         var ws = size.size
129 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
130 |     }
131 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:129:48: error: cannot find 'TIOCSWINSZ' in scope
127 |     public func resize(size: Size) throws {
128 |         var ws = size.size
129 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
130 |     }
131 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:137:25: error: cannot find 'ioctl' in scope
135 |     public func resize(width: UInt16, height: UInt16) throws {
136 |         var ws = Size(width: width, height: height)
137 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                         `- error: cannot find 'ioctl' in scope
138 |     }
139 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:137:48: error: cannot find 'TIOCSWINSZ' in scope
135 |     public func resize(width: UInt16, height: UInt16) throws {
136 |         var ws = Size(width: width, height: height)
137 |         try fromSyscall(ioctl(descriptor, UInt(TIOCSWINSZ), &ws))
    |                                                `- error: cannot find 'TIOCSWINSZ' in scope
138 |     }
139 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:145:9: error: cannot find 'cfmakeraw' in scope
143 |     public func setraw() throws {
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
    |         `- error: cannot find 'cfmakeraw' in scope
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:146:39: error: cannot find 'tcflag_t' in scope
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
    |                                       `- error: cannot find 'tcflag_t' in scope
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
148 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:146:48: error: cannot find 'OPOST' in scope
144 |         var attr = try Self.getattr(descriptor)
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
    |                                                `- error: cannot find 'OPOST' in scope
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
148 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:147:25: error: cannot find 'tcsetattr' in scope
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
148 |     }
149 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:147:47: error: cannot find 'TCSANOW' in scope
145 |         cfmakeraw(&attr)
146 |         attr.c_oflag = attr.c_oflag | tcflag_t(OPOST)
147 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
148 |     }
149 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:154:26: error: cannot find 'tcflag_t' in scope
152 |     public func enableEcho() throws {
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
    |                          `- error: cannot find 'tcflag_t' in scope
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:154:35: error: cannot find 'ICRNL' in scope
152 |     public func enableEcho() throws {
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
    |                                   `- error: cannot find 'ICRNL' in scope
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:155:26: error: cannot find 'tcflag_t' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                          `- error: cannot find 'tcflag_t' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:155:35: error: cannot find 'ICANON' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                   `- error: cannot find 'ICANON' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:155:44: error: cannot find 'ECHO' in scope
153 |         var attr = try Self.getattr(descriptor)
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                            `- error: cannot find 'ECHO' in scope
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
157 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:156:25: error: cannot find 'tcsetattr' in scope
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
157 |     }
158 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:156:47: error: cannot find 'TCSANOW' in scope
154 |         attr.c_iflag &= ~tcflag_t(ICRNL)
155 |         attr.c_lflag &= ~tcflag_t(ICANON | ECHO)
156 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
157 |     }
158 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:163:26: error: cannot find 'tcflag_t' in scope
161 |     public func disableEcho() throws {
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
    |                          `- error: cannot find 'tcflag_t' in scope
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
165 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:163:35: error: cannot find 'ECHO' in scope
161 |     public func disableEcho() throws {
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
    |                                   `- error: cannot find 'ECHO' in scope
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
165 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:164:25: error: cannot find 'tcsetattr' in scope
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                         `- error: cannot find 'tcsetattr' in scope
165 |     }
166 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:164:47: error: cannot find 'TCSANOW' in scope
162 |         var attr = try Self.getattr(descriptor)
163 |         attr.c_lflag &= ~tcflag_t(ECHO)
164 |         try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                               `- error: cannot find 'TCSANOW' in scope
165 |     }
166 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:168:20: error: cannot find 'termios' in scope
166 |
167 |     private static func getattr(_ fd: Int32) throws -> termios {
168 |         var attr = termios()
    |                    `- error: cannot find 'termios' in scope
169 |         try fromSyscall(tcgetattr(fd, &attr))
170 |         return attr
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:169:25: error: cannot find 'tcgetattr' in scope
167 |     private static func getattr(_ fd: Int32) throws -> termios {
168 |         var attr = termios()
169 |         try fromSyscall(tcgetattr(fd, &attr))
    |                         `- error: cannot find 'tcgetattr' in scope
170 |         return attr
171 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:194:29: error: cannot find 'tcsetattr' in scope
192 |     public func reset() throws {
193 |         if var attr = initState {
194 |             try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                             `- error: cannot find 'tcsetattr' in scope
195 |         }
196 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:194:51: error: cannot find 'TCSANOW' in scope
192 |     public func reset() throws {
193 |         if var attr = initState {
194 |             try fromSyscall(tcsetattr(descriptor, TCSANOW, &attr))
    |                                                   `- error: cannot find 'TCSANOW' in scope
195 |         }
196 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Terminal.swift:207:42: error: cannot find 'errno' in scope
205 | private func fromSyscall(_ status: Int32) throws {
206 |     guard status == 0 else {
207 |         throw POSIXError(.init(rawValue: errno)!)
    |                                          `- error: cannot find 'errno' in scope
208 |     }
209 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[661/1537] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:36:12: error: cannot find 'fcntl' in scope
34 |     /// Ensure that both sides of the pipe are set with O_CLOEXEC.
35 |     public func setCloexec() throws {
36 |         if fcntl(self.fileHandleForWriting.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |            `- error: cannot find 'fcntl' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:36:60: error: cannot find 'F_SETFD' in scope
34 |     /// Ensure that both sides of the pipe are set with O_CLOEXEC.
35 |     public func setCloexec() throws {
36 |         if fcntl(self.fileHandleForWriting.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |                                                            `- error: cannot find 'F_SETFD' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:36:69: error: cannot find 'FD_CLOEXEC' in scope
34 |     /// Ensure that both sides of the pipe are set with O_CLOEXEC.
35 |     public func setCloexec() throws {
36 |         if fcntl(self.fileHandleForWriting.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |                                                                     `- error: cannot find 'FD_CLOEXEC' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:37:46: error: cannot find 'errno' in scope
35 |     public func setCloexec() throws {
36 |         if fcntl(self.fileHandleForWriting.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
37 |             throw POSIXError(.init(rawValue: errno)!)
   |                                              `- error: cannot find 'errno' in scope
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:39:12: error: cannot find 'fcntl' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |            `- error: cannot find 'fcntl' in scope
40 |             throw POSIXError(.init(rawValue: errno)!)
41 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:39:60: error: cannot find 'F_SETFD' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |                                                            `- error: cannot find 'F_SETFD' in scope
40 |             throw POSIXError(.init(rawValue: errno)!)
41 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:39:69: error: cannot find 'FD_CLOEXEC' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |                                                                     `- error: cannot find 'FD_CLOEXEC' in scope
40 |             throw POSIXError(.init(rawValue: errno)!)
41 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:40:46: error: cannot find 'errno' in scope
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
40 |             throw POSIXError(.init(rawValue: errno)!)
   |                                              `- error: cannot find 'errno' in scope
41 |         }
42 |     }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Reaper.swift:40:19: error: cannot find 'rusage' in scope
38 |     /// nil is returned when no pending processes exist.
39 |     private static func wait() -> Exit? {
40 |         var rus = rusage()
   |                   `- error: cannot find 'rusage' in scope
41 |         var ws = Int32()
42 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Reaper.swift:43:19: error: cannot find 'wait4' in scope
41 |         var ws = Int32()
42 |
43 |         let pid = wait4(-1, &ws, WNOHANG, &rus)
   |                   `- error: cannot find 'wait4' in scope
44 |         if pid <= 0 {
45 |             return nil
[662/1537] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:36:12: error: cannot find 'fcntl' in scope
34 |     /// Ensure that both sides of the pipe are set with O_CLOEXEC.
35 |     public func setCloexec() throws {
36 |         if fcntl(self.fileHandleForWriting.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |            `- error: cannot find 'fcntl' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:36:60: error: cannot find 'F_SETFD' in scope
34 |     /// Ensure that both sides of the pipe are set with O_CLOEXEC.
35 |     public func setCloexec() throws {
36 |         if fcntl(self.fileHandleForWriting.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |                                                            `- error: cannot find 'F_SETFD' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:36:69: error: cannot find 'FD_CLOEXEC' in scope
34 |     /// Ensure that both sides of the pipe are set with O_CLOEXEC.
35 |     public func setCloexec() throws {
36 |         if fcntl(self.fileHandleForWriting.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |                                                                     `- error: cannot find 'FD_CLOEXEC' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:37:46: error: cannot find 'errno' in scope
35 |     public func setCloexec() throws {
36 |         if fcntl(self.fileHandleForWriting.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
37 |             throw POSIXError(.init(rawValue: errno)!)
   |                                              `- error: cannot find 'errno' in scope
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:39:12: error: cannot find 'fcntl' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |            `- error: cannot find 'fcntl' in scope
40 |             throw POSIXError(.init(rawValue: errno)!)
41 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:39:60: error: cannot find 'F_SETFD' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |                                                            `- error: cannot find 'F_SETFD' in scope
40 |             throw POSIXError(.init(rawValue: errno)!)
41 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:39:69: error: cannot find 'FD_CLOEXEC' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |                                                                     `- error: cannot find 'FD_CLOEXEC' in scope
40 |             throw POSIXError(.init(rawValue: errno)!)
41 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:40:46: error: cannot find 'errno' in scope
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
40 |             throw POSIXError(.init(rawValue: errno)!)
   |                                              `- error: cannot find 'errno' in scope
41 |         }
42 |     }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Reaper.swift:40:19: error: cannot find 'rusage' in scope
38 |     /// nil is returned when no pending processes exist.
39 |     private static func wait() -> Exit? {
40 |         var rus = rusage()
   |                   `- error: cannot find 'rusage' in scope
41 |         var ws = Int32()
42 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Reaper.swift:43:19: error: cannot find 'wait4' in scope
41 |         var ws = Int32()
42 |
43 |         let pid = wait4(-1, &ws, WNOHANG, &rus)
   |                   `- error: cannot find 'wait4' in scope
44 |         if pid <= 0 {
45 |             return nil
[663/1537] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:36:12: error: cannot find 'fcntl' in scope
34 |     /// Ensure that both sides of the pipe are set with O_CLOEXEC.
35 |     public func setCloexec() throws {
36 |         if fcntl(self.fileHandleForWriting.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |            `- error: cannot find 'fcntl' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:36:60: error: cannot find 'F_SETFD' in scope
34 |     /// Ensure that both sides of the pipe are set with O_CLOEXEC.
35 |     public func setCloexec() throws {
36 |         if fcntl(self.fileHandleForWriting.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |                                                            `- error: cannot find 'F_SETFD' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:36:69: error: cannot find 'FD_CLOEXEC' in scope
34 |     /// Ensure that both sides of the pipe are set with O_CLOEXEC.
35 |     public func setCloexec() throws {
36 |         if fcntl(self.fileHandleForWriting.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |                                                                     `- error: cannot find 'FD_CLOEXEC' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:37:46: error: cannot find 'errno' in scope
35 |     public func setCloexec() throws {
36 |         if fcntl(self.fileHandleForWriting.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
37 |             throw POSIXError(.init(rawValue: errno)!)
   |                                              `- error: cannot find 'errno' in scope
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:39:12: error: cannot find 'fcntl' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |            `- error: cannot find 'fcntl' in scope
40 |             throw POSIXError(.init(rawValue: errno)!)
41 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:39:60: error: cannot find 'F_SETFD' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |                                                            `- error: cannot find 'F_SETFD' in scope
40 |             throw POSIXError(.init(rawValue: errno)!)
41 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:39:69: error: cannot find 'FD_CLOEXEC' in scope
37 |             throw POSIXError(.init(rawValue: errno)!)
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
   |                                                                     `- error: cannot find 'FD_CLOEXEC' in scope
40 |             throw POSIXError(.init(rawValue: errno)!)
41 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Pipe+Close.swift:40:46: error: cannot find 'errno' in scope
38 |         }
39 |         if fcntl(self.fileHandleForReading.fileDescriptor, F_SETFD, FD_CLOEXEC) == -1 {
40 |             throw POSIXError(.init(rawValue: errno)!)
   |                                              `- error: cannot find 'errno' in scope
41 |         }
42 |     }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Reaper.swift:40:19: error: cannot find 'rusage' in scope
38 |     /// nil is returned when no pending processes exist.
39 |     private static func wait() -> Exit? {
40 |         var rus = rusage()
   |                   `- error: cannot find 'rusage' in scope
41 |         var ws = Int32()
42 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Reaper.swift:43:19: error: cannot find 'wait4' in scope
41 |         var ws = Int32()
42 |
43 |         let pid = wait4(-1, &ws, WNOHANG, &rus)
   |                   `- error: cannot find 'wait4' in scope
44 |         if pid <= 0 {
45 |             return nil
[664/1537] Emitting module HashTreeCollections
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/POSIXError+Helpers.swift:21:29: error: cannot find 'POSIXErrorCode' in scope
19 | extension POSIXError {
20 |     public static func fromErrno() -> POSIXError {
21 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                             `- error: cannot find 'POSIXErrorCode' in scope
22 |             fatalError("failed to convert errno to POSIXErrorCode")
23 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/POSIXError+Helpers.swift:21:54: error: cannot find 'errno' in scope
19 | extension POSIXError {
20 |     public static func fromErrno() -> POSIXError {
21 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                                                      `- error: cannot find 'errno' in scope
22 |             fatalError("failed to convert errno to POSIXErrorCode")
23 |         }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/POSIXError+Helpers.swift:21:29: error: cannot find 'POSIXErrorCode' in scope
19 | extension POSIXError {
20 |     public static func fromErrno() -> POSIXError {
21 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                             `- error: cannot find 'POSIXErrorCode' in scope
22 |             fatalError("failed to convert errno to POSIXErrorCode")
23 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/POSIXError+Helpers.swift:21:54: error: cannot find 'errno' in scope
19 | extension POSIXError {
20 |     public static func fromErrno() -> POSIXError {
21 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                                                      `- error: cannot find 'errno' in scope
22 |             fatalError("failed to convert errno to POSIXErrorCode")
23 |         }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/POSIXError+Helpers.swift:21:29: error: cannot find 'POSIXErrorCode' in scope
19 | extension POSIXError {
20 |     public static func fromErrno() -> POSIXError {
21 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                             `- error: cannot find 'POSIXErrorCode' in scope
22 |             fatalError("failed to convert errno to POSIXErrorCode")
23 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/POSIXError+Helpers.swift:21:54: error: cannot find 'errno' in scope
19 | extension POSIXError {
20 |     public static func fromErrno() -> POSIXError {
21 |         guard let errCode = POSIXErrorCode(rawValue: errno) else {
   |                                                      `- error: cannot find 'errno' in scope
22 |             fatalError("failed to convert errno to POSIXErrorCode")
23 |         }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[668/1538] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:39:23: error: cannot find type 'mode_t' in scope
 37 |
 38 |     public let path: String
 39 |     public let perms: mode_t?
    |                       `- error: cannot find type 'mode_t' in scope
 40 |     private let _addr: sockaddr_un
 41 |     private let _unlinkExisting: Bool
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:40:24: error: cannot find type 'sockaddr_un' in scope
 38 |     public let path: String
 39 |     public let perms: mode_t?
 40 |     private let _addr: sockaddr_un
    |                        `- error: cannot find type 'sockaddr_un' in scope
 41 |     private let _unlinkExisting: Bool
 42 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:43:28: error: cannot find type 'sockaddr_un' in scope
 41 |     private let _unlinkExisting: Bool
 42 |
 43 |     private init(sockaddr: sockaddr_un) {
    |                            `- error: cannot find type 'sockaddr_un' in scope
 44 |         let pathname: String = withUnsafePointer(to: sockaddr.sun_path) { ptr in
 45 |             let charPtr = UnsafeRawPointer(ptr).assumingMemoryBound(to: CChar.self)
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:57:16: error: cannot find type 'mode_t' in scope
 55 |     public init(
 56 |         path: String,
 57 |         perms: mode_t? = nil,
    |                `- error: cannot find type 'mode_t' in scope
 58 |         unlinkExisting: Bool = false
 59 |     ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:42:56: error: cannot find type 'sockaddr' in scope
40 |     func accept(fd: Int32) throws -> (Int32, SocketType)
41 |     /// Provide a sockaddr pointer (by casting a socket specific type like sockaddr_un for example).
42 |     func withSockAddr(_ closure: (_ ptr: UnsafePointer<sockaddr>, _ len: UInt32) throws -> Void) throws
   |                                                        `- error: cannot find type 'sockaddr' in scope
43 | }
44 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:139:56: error: cannot find type 'sockaddr' in scope
137 |     }
138 |
139 |     public func withSockAddr(_ closure: (UnsafePointer<sockaddr>, UInt32) throws -> Void) throws {
    |                                                        `- error: cannot find type 'sockaddr' in scope
140 |         var addr = self._addr
141 |         try withUnsafePointer(to: &addr) {
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:32:32: error: cannot find 'AF_UNIX' in scope
 30 | /// Unix domain socket variant of `SocketType`.
 31 | public struct UnixType: SocketType, Sendable, CustomStringConvertible {
 32 |     public var domain: Int32 { AF_UNIX }
    |                                `- error: cannot find 'AF_UNIX' in scope
 33 |     public var type: Int32 { _SOCK_STREAM }
 34 |     public var description: String {
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:33:30: error: cannot find '_SOCK_STREAM' in scope
 31 | public struct UnixType: SocketType, Sendable, CustomStringConvertible {
 32 |     public var domain: Int32 { AF_UNIX }
 33 |     public var type: Int32 { _SOCK_STREAM }
    |                              `- error: cannot find '_SOCK_STREAM' in scope
 34 |     public var description: String {
 35 |         path
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:63:20: error: cannot find 'sockaddr_un' in scope
 61 |         self.perms = perms
 62 |         self._unlinkExisting = unlinkExisting
 63 |         var addr = sockaddr_un()
    |                    `- error: cannot find 'sockaddr_un' in scope
 64 |         addr.sun_family = sa_family_t(AF_UNIX)
 65 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:64:27: error: cannot find 'sa_family_t' in scope
 62 |         self._unlinkExisting = unlinkExisting
 63 |         var addr = sockaddr_un()
 64 |         addr.sun_family = sa_family_t(AF_UNIX)
    |                           `- error: cannot find 'sa_family_t' in scope
 65 |
 66 |         let socketName = path
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:64:39: error: cannot find 'AF_UNIX' in scope
 62 |         self._unlinkExisting = unlinkExisting
 63 |         var addr = sockaddr_un()
 64 |         addr.sun_family = sa_family_t(AF_UNIX)
    |                                       `- error: cannot find 'AF_UNIX' in scope
 65 |
 66 |         let socketName = path
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:77:28: error: cannot find 'lengthLimit' in scope
 75 |         #endif
 76 |
 77 |         guard nameLength < lengthLimit else {
    |                            `- error: cannot find 'lengthLimit' in scope
 78 |             throw Error.nameTooLong(path)
 79 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:82:38: error: cannot find 'strncpy' in scope
 80 |
 81 |         _ = withUnsafeMutablePointer(to: &addr.sun_path.0) { ptr in
 82 |             socketName.withCString { strncpy(ptr, $0, nameLength) }
    |                                      `- error: cannot find 'strncpy' in scope
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:93:20: error: cannot find 'sockaddr_un' in scope
 91 |     public func accept(fd: Int32) throws -> (Int32, SocketType) {
 92 |         var clientFD: Int32 = -1
 93 |         var addr = sockaddr_un()
    |                    `- error: cannot find 'sockaddr_un' in scope
 94 |
 95 |         clientFD = Syscall.retrying {
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:96:24: error: cannot find 'socklen_t' in scope
 94 |
 95 |         clientFD = Syscall.retrying {
 96 |             var size = socklen_t(MemoryLayout<sockaddr_un>.stride)
    |                        `- error: cannot find 'socklen_t' in scope
 97 |             return withUnsafeMutablePointer(to: &addr) { pointer in
 98 |                 pointer.withMemoryRebound(to: sockaddr.self, capacity: 1) { pointer in
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:96:47: error: cannot find type 'sockaddr_un' in scope
 94 |
 95 |         clientFD = Syscall.retrying {
 96 |             var size = socklen_t(MemoryLayout<sockaddr_un>.stride)
    |                                               `- error: cannot find type 'sockaddr_un' in scope
 97 |             return withUnsafeMutablePointer(to: &addr) { pointer in
 98 |                 pointer.withMemoryRebound(to: sockaddr.self, capacity: 1) { pointer in
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:98:47: error: cannot find 'sockaddr' in scope
 96 |             var size = socklen_t(MemoryLayout<sockaddr_un>.stride)
 97 |             return withUnsafeMutablePointer(to: &addr) { pointer in
 98 |                 pointer.withMemoryRebound(to: sockaddr.self, capacity: 1) { pointer in
    |                                               `- error: cannot find 'sockaddr' in scope
 99 |                     sysAccept(fd, pointer, &size)
100 |                 }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:123:27: error: cannot find 'errno' in scope
121 |         if self._unlinkExisting {
122 |             rc = sysUnlink(self.path)
123 |             if rc != 0 && errno != ENOENT {
    |                           `- error: cannot find 'errno' in scope
124 |                 throw Socket.errnoToError(msg: "failed to remove old socket at \(self.path)")
125 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:123:36: error: cannot find 'ENOENT' in scope
121 |         if self._unlinkExisting {
122 |             rc = sysUnlink(self.path)
123 |             if rc != 0 && errno != ENOENT {
    |                                    `- error: cannot find 'ENOENT' in scope
124 |                 throw Socket.errnoToError(msg: "failed to remove old socket at \(self.path)")
125 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:142:74: error: cannot find 'sockaddr' in scope
140 |         var addr = self._addr
141 |         try withUnsafePointer(to: &addr) {
142 |             let addrBytes = UnsafeRawPointer($0).assumingMemoryBound(to: sockaddr.self)
    |                                                                          `- error: cannot find 'sockaddr' in scope
143 |             try closure(addrBytes, UInt32(MemoryLayout<sockaddr_un>.stride))
144 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:143:56: error: cannot find type 'sockaddr_un' in scope
141 |         try withUnsafePointer(to: &addr) {
142 |             let addrBytes = UnsafeRawPointer($0).assumingMemoryBound(to: sockaddr.self)
143 |             try closure(addrBytes, UInt32(MemoryLayout<sockaddr_un>.stride))
    |                                                        `- error: cannot find type 'sockaddr_un' in scope
144 |         }
145 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:142:50: error: generic parameter 'T' could not be inferred
140 |         var addr = self._addr
141 |         try withUnsafePointer(to: &addr) {
142 |             let addrBytes = UnsafeRawPointer($0).assumingMemoryBound(to: sockaddr.self)
    |                                                  `- error: generic parameter 'T' could not be inferred
143 |             try closure(addrBytes, UInt32(MemoryLayout<sockaddr_un>.stride))
144 |         }
Swift.UnsafeRawPointer.assumingMemoryBound:2:13: note: in call to function 'assumingMemoryBound(to:)'
1 | struct UnsafeRawPointer {
2 | public func assumingMemoryBound<T>(to: T.Type) -> UnsafePointer<T> where T : ~Copyable}
  |             `- note: in call to function 'assumingMemoryBound(to:)'
3 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:32:30: error: cannot find '_SOCK_STREAM' in scope
 30 | public struct VsockType: SocketType, Sendable {
 31 |     public var domain: Int32 { AF_VSOCK }
 32 |     public var type: Int32 { _SOCK_STREAM }
    |                              `- error: cannot find '_SOCK_STREAM' in scope
 33 |     public var description: String {
 34 |         "\(cid):\(port)"
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:94:32: error: cannot find 'errno' in scope
 92 |                 }
 93 |             }
 94 |             if clientFD < 0 && errno != EINTR {
    |                                `- error: cannot find 'errno' in scope
 95 |                 throw Socket.errnoToError(msg: "accept failed")
 96 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:94:41: error: cannot find 'EINTR' in scope
 92 |                 }
 93 |             }
 94 |             if clientFD < 0 && errno != EINTR {
    |                                         `- error: cannot find 'EINTR' in scope
 95 |                 throw Socket.errnoToError(msg: "accept failed")
 96 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:33:29: error: cannot find 'errno' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                             `- error: cannot find 'errno' in scope
34 |                 continue
35 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:33:38: error: cannot find 'EINTR' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                                      `- error: cannot find 'EINTR' in scope
34 |                 continue
35 |             }
[669/1538] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:39:23: error: cannot find type 'mode_t' in scope
 37 |
 38 |     public let path: String
 39 |     public let perms: mode_t?
    |                       `- error: cannot find type 'mode_t' in scope
 40 |     private let _addr: sockaddr_un
 41 |     private let _unlinkExisting: Bool
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:40:24: error: cannot find type 'sockaddr_un' in scope
 38 |     public let path: String
 39 |     public let perms: mode_t?
 40 |     private let _addr: sockaddr_un
    |                        `- error: cannot find type 'sockaddr_un' in scope
 41 |     private let _unlinkExisting: Bool
 42 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:43:28: error: cannot find type 'sockaddr_un' in scope
 41 |     private let _unlinkExisting: Bool
 42 |
 43 |     private init(sockaddr: sockaddr_un) {
    |                            `- error: cannot find type 'sockaddr_un' in scope
 44 |         let pathname: String = withUnsafePointer(to: sockaddr.sun_path) { ptr in
 45 |             let charPtr = UnsafeRawPointer(ptr).assumingMemoryBound(to: CChar.self)
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:57:16: error: cannot find type 'mode_t' in scope
 55 |     public init(
 56 |         path: String,
 57 |         perms: mode_t? = nil,
    |                `- error: cannot find type 'mode_t' in scope
 58 |         unlinkExisting: Bool = false
 59 |     ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:42:56: error: cannot find type 'sockaddr' in scope
40 |     func accept(fd: Int32) throws -> (Int32, SocketType)
41 |     /// Provide a sockaddr pointer (by casting a socket specific type like sockaddr_un for example).
42 |     func withSockAddr(_ closure: (_ ptr: UnsafePointer<sockaddr>, _ len: UInt32) throws -> Void) throws
   |                                                        `- error: cannot find type 'sockaddr' in scope
43 | }
44 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:139:56: error: cannot find type 'sockaddr' in scope
137 |     }
138 |
139 |     public func withSockAddr(_ closure: (UnsafePointer<sockaddr>, UInt32) throws -> Void) throws {
    |                                                        `- error: cannot find type 'sockaddr' in scope
140 |         var addr = self._addr
141 |         try withUnsafePointer(to: &addr) {
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:32:32: error: cannot find 'AF_UNIX' in scope
 30 | /// Unix domain socket variant of `SocketType`.
 31 | public struct UnixType: SocketType, Sendable, CustomStringConvertible {
 32 |     public var domain: Int32 { AF_UNIX }
    |                                `- error: cannot find 'AF_UNIX' in scope
 33 |     public var type: Int32 { _SOCK_STREAM }
 34 |     public var description: String {
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:33:30: error: cannot find '_SOCK_STREAM' in scope
 31 | public struct UnixType: SocketType, Sendable, CustomStringConvertible {
 32 |     public var domain: Int32 { AF_UNIX }
 33 |     public var type: Int32 { _SOCK_STREAM }
    |                              `- error: cannot find '_SOCK_STREAM' in scope
 34 |     public var description: String {
 35 |         path
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:63:20: error: cannot find 'sockaddr_un' in scope
 61 |         self.perms = perms
 62 |         self._unlinkExisting = unlinkExisting
 63 |         var addr = sockaddr_un()
    |                    `- error: cannot find 'sockaddr_un' in scope
 64 |         addr.sun_family = sa_family_t(AF_UNIX)
 65 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:64:27: error: cannot find 'sa_family_t' in scope
 62 |         self._unlinkExisting = unlinkExisting
 63 |         var addr = sockaddr_un()
 64 |         addr.sun_family = sa_family_t(AF_UNIX)
    |                           `- error: cannot find 'sa_family_t' in scope
 65 |
 66 |         let socketName = path
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:64:39: error: cannot find 'AF_UNIX' in scope
 62 |         self._unlinkExisting = unlinkExisting
 63 |         var addr = sockaddr_un()
 64 |         addr.sun_family = sa_family_t(AF_UNIX)
    |                                       `- error: cannot find 'AF_UNIX' in scope
 65 |
 66 |         let socketName = path
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:77:28: error: cannot find 'lengthLimit' in scope
 75 |         #endif
 76 |
 77 |         guard nameLength < lengthLimit else {
    |                            `- error: cannot find 'lengthLimit' in scope
 78 |             throw Error.nameTooLong(path)
 79 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:82:38: error: cannot find 'strncpy' in scope
 80 |
 81 |         _ = withUnsafeMutablePointer(to: &addr.sun_path.0) { ptr in
 82 |             socketName.withCString { strncpy(ptr, $0, nameLength) }
    |                                      `- error: cannot find 'strncpy' in scope
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:93:20: error: cannot find 'sockaddr_un' in scope
 91 |     public func accept(fd: Int32) throws -> (Int32, SocketType) {
 92 |         var clientFD: Int32 = -1
 93 |         var addr = sockaddr_un()
    |                    `- error: cannot find 'sockaddr_un' in scope
 94 |
 95 |         clientFD = Syscall.retrying {
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:96:24: error: cannot find 'socklen_t' in scope
 94 |
 95 |         clientFD = Syscall.retrying {
 96 |             var size = socklen_t(MemoryLayout<sockaddr_un>.stride)
    |                        `- error: cannot find 'socklen_t' in scope
 97 |             return withUnsafeMutablePointer(to: &addr) { pointer in
 98 |                 pointer.withMemoryRebound(to: sockaddr.self, capacity: 1) { pointer in
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:96:47: error: cannot find type 'sockaddr_un' in scope
 94 |
 95 |         clientFD = Syscall.retrying {
 96 |             var size = socklen_t(MemoryLayout<sockaddr_un>.stride)
    |                                               `- error: cannot find type 'sockaddr_un' in scope
 97 |             return withUnsafeMutablePointer(to: &addr) { pointer in
 98 |                 pointer.withMemoryRebound(to: sockaddr.self, capacity: 1) { pointer in
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:98:47: error: cannot find 'sockaddr' in scope
 96 |             var size = socklen_t(MemoryLayout<sockaddr_un>.stride)
 97 |             return withUnsafeMutablePointer(to: &addr) { pointer in
 98 |                 pointer.withMemoryRebound(to: sockaddr.self, capacity: 1) { pointer in
    |                                               `- error: cannot find 'sockaddr' in scope
 99 |                     sysAccept(fd, pointer, &size)
100 |                 }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:123:27: error: cannot find 'errno' in scope
121 |         if self._unlinkExisting {
122 |             rc = sysUnlink(self.path)
123 |             if rc != 0 && errno != ENOENT {
    |                           `- error: cannot find 'errno' in scope
124 |                 throw Socket.errnoToError(msg: "failed to remove old socket at \(self.path)")
125 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:123:36: error: cannot find 'ENOENT' in scope
121 |         if self._unlinkExisting {
122 |             rc = sysUnlink(self.path)
123 |             if rc != 0 && errno != ENOENT {
    |                                    `- error: cannot find 'ENOENT' in scope
124 |                 throw Socket.errnoToError(msg: "failed to remove old socket at \(self.path)")
125 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:142:74: error: cannot find 'sockaddr' in scope
140 |         var addr = self._addr
141 |         try withUnsafePointer(to: &addr) {
142 |             let addrBytes = UnsafeRawPointer($0).assumingMemoryBound(to: sockaddr.self)
    |                                                                          `- error: cannot find 'sockaddr' in scope
143 |             try closure(addrBytes, UInt32(MemoryLayout<sockaddr_un>.stride))
144 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:143:56: error: cannot find type 'sockaddr_un' in scope
141 |         try withUnsafePointer(to: &addr) {
142 |             let addrBytes = UnsafeRawPointer($0).assumingMemoryBound(to: sockaddr.self)
143 |             try closure(addrBytes, UInt32(MemoryLayout<sockaddr_un>.stride))
    |                                                        `- error: cannot find type 'sockaddr_un' in scope
144 |         }
145 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:142:50: error: generic parameter 'T' could not be inferred
140 |         var addr = self._addr
141 |         try withUnsafePointer(to: &addr) {
142 |             let addrBytes = UnsafeRawPointer($0).assumingMemoryBound(to: sockaddr.self)
    |                                                  `- error: generic parameter 'T' could not be inferred
143 |             try closure(addrBytes, UInt32(MemoryLayout<sockaddr_un>.stride))
144 |         }
Swift.UnsafeRawPointer.assumingMemoryBound:2:13: note: in call to function 'assumingMemoryBound(to:)'
1 | struct UnsafeRawPointer {
2 | public func assumingMemoryBound<T>(to: T.Type) -> UnsafePointer<T> where T : ~Copyable}
  |             `- note: in call to function 'assumingMemoryBound(to:)'
3 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:32:30: error: cannot find '_SOCK_STREAM' in scope
 30 | public struct VsockType: SocketType, Sendable {
 31 |     public var domain: Int32 { AF_VSOCK }
 32 |     public var type: Int32 { _SOCK_STREAM }
    |                              `- error: cannot find '_SOCK_STREAM' in scope
 33 |     public var description: String {
 34 |         "\(cid):\(port)"
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:94:32: error: cannot find 'errno' in scope
 92 |                 }
 93 |             }
 94 |             if clientFD < 0 && errno != EINTR {
    |                                `- error: cannot find 'errno' in scope
 95 |                 throw Socket.errnoToError(msg: "accept failed")
 96 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:94:41: error: cannot find 'EINTR' in scope
 92 |                 }
 93 |             }
 94 |             if clientFD < 0 && errno != EINTR {
    |                                         `- error: cannot find 'EINTR' in scope
 95 |                 throw Socket.errnoToError(msg: "accept failed")
 96 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:33:29: error: cannot find 'errno' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                             `- error: cannot find 'errno' in scope
34 |                 continue
35 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:33:38: error: cannot find 'EINTR' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                                      `- error: cannot find 'EINTR' in scope
34 |                 continue
35 |             }
[670/1538] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:39:23: error: cannot find type 'mode_t' in scope
 37 |
 38 |     public let path: String
 39 |     public let perms: mode_t?
    |                       `- error: cannot find type 'mode_t' in scope
 40 |     private let _addr: sockaddr_un
 41 |     private let _unlinkExisting: Bool
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:40:24: error: cannot find type 'sockaddr_un' in scope
 38 |     public let path: String
 39 |     public let perms: mode_t?
 40 |     private let _addr: sockaddr_un
    |                        `- error: cannot find type 'sockaddr_un' in scope
 41 |     private let _unlinkExisting: Bool
 42 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:43:28: error: cannot find type 'sockaddr_un' in scope
 41 |     private let _unlinkExisting: Bool
 42 |
 43 |     private init(sockaddr: sockaddr_un) {
    |                            `- error: cannot find type 'sockaddr_un' in scope
 44 |         let pathname: String = withUnsafePointer(to: sockaddr.sun_path) { ptr in
 45 |             let charPtr = UnsafeRawPointer(ptr).assumingMemoryBound(to: CChar.self)
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:57:16: error: cannot find type 'mode_t' in scope
 55 |     public init(
 56 |         path: String,
 57 |         perms: mode_t? = nil,
    |                `- error: cannot find type 'mode_t' in scope
 58 |         unlinkExisting: Bool = false
 59 |     ) throws {
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:42:56: error: cannot find type 'sockaddr' in scope
40 |     func accept(fd: Int32) throws -> (Int32, SocketType)
41 |     /// Provide a sockaddr pointer (by casting a socket specific type like sockaddr_un for example).
42 |     func withSockAddr(_ closure: (_ ptr: UnsafePointer<sockaddr>, _ len: UInt32) throws -> Void) throws
   |                                                        `- error: cannot find type 'sockaddr' in scope
43 | }
44 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:139:56: error: cannot find type 'sockaddr' in scope
137 |     }
138 |
139 |     public func withSockAddr(_ closure: (UnsafePointer<sockaddr>, UInt32) throws -> Void) throws {
    |                                                        `- error: cannot find type 'sockaddr' in scope
140 |         var addr = self._addr
141 |         try withUnsafePointer(to: &addr) {
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:32:32: error: cannot find 'AF_UNIX' in scope
 30 | /// Unix domain socket variant of `SocketType`.
 31 | public struct UnixType: SocketType, Sendable, CustomStringConvertible {
 32 |     public var domain: Int32 { AF_UNIX }
    |                                `- error: cannot find 'AF_UNIX' in scope
 33 |     public var type: Int32 { _SOCK_STREAM }
 34 |     public var description: String {
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:33:30: error: cannot find '_SOCK_STREAM' in scope
 31 | public struct UnixType: SocketType, Sendable, CustomStringConvertible {
 32 |     public var domain: Int32 { AF_UNIX }
 33 |     public var type: Int32 { _SOCK_STREAM }
    |                              `- error: cannot find '_SOCK_STREAM' in scope
 34 |     public var description: String {
 35 |         path
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:63:20: error: cannot find 'sockaddr_un' in scope
 61 |         self.perms = perms
 62 |         self._unlinkExisting = unlinkExisting
 63 |         var addr = sockaddr_un()
    |                    `- error: cannot find 'sockaddr_un' in scope
 64 |         addr.sun_family = sa_family_t(AF_UNIX)
 65 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:64:27: error: cannot find 'sa_family_t' in scope
 62 |         self._unlinkExisting = unlinkExisting
 63 |         var addr = sockaddr_un()
 64 |         addr.sun_family = sa_family_t(AF_UNIX)
    |                           `- error: cannot find 'sa_family_t' in scope
 65 |
 66 |         let socketName = path
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:64:39: error: cannot find 'AF_UNIX' in scope
 62 |         self._unlinkExisting = unlinkExisting
 63 |         var addr = sockaddr_un()
 64 |         addr.sun_family = sa_family_t(AF_UNIX)
    |                                       `- error: cannot find 'AF_UNIX' in scope
 65 |
 66 |         let socketName = path
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:77:28: error: cannot find 'lengthLimit' in scope
 75 |         #endif
 76 |
 77 |         guard nameLength < lengthLimit else {
    |                            `- error: cannot find 'lengthLimit' in scope
 78 |             throw Error.nameTooLong(path)
 79 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:82:38: error: cannot find 'strncpy' in scope
 80 |
 81 |         _ = withUnsafeMutablePointer(to: &addr.sun_path.0) { ptr in
 82 |             socketName.withCString { strncpy(ptr, $0, nameLength) }
    |                                      `- error: cannot find 'strncpy' in scope
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:93:20: error: cannot find 'sockaddr_un' in scope
 91 |     public func accept(fd: Int32) throws -> (Int32, SocketType) {
 92 |         var clientFD: Int32 = -1
 93 |         var addr = sockaddr_un()
    |                    `- error: cannot find 'sockaddr_un' in scope
 94 |
 95 |         clientFD = Syscall.retrying {
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:96:24: error: cannot find 'socklen_t' in scope
 94 |
 95 |         clientFD = Syscall.retrying {
 96 |             var size = socklen_t(MemoryLayout<sockaddr_un>.stride)
    |                        `- error: cannot find 'socklen_t' in scope
 97 |             return withUnsafeMutablePointer(to: &addr) { pointer in
 98 |                 pointer.withMemoryRebound(to: sockaddr.self, capacity: 1) { pointer in
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:96:47: error: cannot find type 'sockaddr_un' in scope
 94 |
 95 |         clientFD = Syscall.retrying {
 96 |             var size = socklen_t(MemoryLayout<sockaddr_un>.stride)
    |                                               `- error: cannot find type 'sockaddr_un' in scope
 97 |             return withUnsafeMutablePointer(to: &addr) { pointer in
 98 |                 pointer.withMemoryRebound(to: sockaddr.self, capacity: 1) { pointer in
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:98:47: error: cannot find 'sockaddr' in scope
 96 |             var size = socklen_t(MemoryLayout<sockaddr_un>.stride)
 97 |             return withUnsafeMutablePointer(to: &addr) { pointer in
 98 |                 pointer.withMemoryRebound(to: sockaddr.self, capacity: 1) { pointer in
    |                                               `- error: cannot find 'sockaddr' in scope
 99 |                     sysAccept(fd, pointer, &size)
100 |                 }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:123:27: error: cannot find 'errno' in scope
121 |         if self._unlinkExisting {
122 |             rc = sysUnlink(self.path)
123 |             if rc != 0 && errno != ENOENT {
    |                           `- error: cannot find 'errno' in scope
124 |                 throw Socket.errnoToError(msg: "failed to remove old socket at \(self.path)")
125 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:123:36: error: cannot find 'ENOENT' in scope
121 |         if self._unlinkExisting {
122 |             rc = sysUnlink(self.path)
123 |             if rc != 0 && errno != ENOENT {
    |                                    `- error: cannot find 'ENOENT' in scope
124 |                 throw Socket.errnoToError(msg: "failed to remove old socket at \(self.path)")
125 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:142:74: error: cannot find 'sockaddr' in scope
140 |         var addr = self._addr
141 |         try withUnsafePointer(to: &addr) {
142 |             let addrBytes = UnsafeRawPointer($0).assumingMemoryBound(to: sockaddr.self)
    |                                                                          `- error: cannot find 'sockaddr' in scope
143 |             try closure(addrBytes, UInt32(MemoryLayout<sockaddr_un>.stride))
144 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:143:56: error: cannot find type 'sockaddr_un' in scope
141 |         try withUnsafePointer(to: &addr) {
142 |             let addrBytes = UnsafeRawPointer($0).assumingMemoryBound(to: sockaddr.self)
143 |             try closure(addrBytes, UInt32(MemoryLayout<sockaddr_un>.stride))
    |                                                        `- error: cannot find type 'sockaddr_un' in scope
144 |         }
145 |     }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:142:50: error: generic parameter 'T' could not be inferred
140 |         var addr = self._addr
141 |         try withUnsafePointer(to: &addr) {
142 |             let addrBytes = UnsafeRawPointer($0).assumingMemoryBound(to: sockaddr.self)
    |                                                  `- error: generic parameter 'T' could not be inferred
143 |             try closure(addrBytes, UInt32(MemoryLayout<sockaddr_un>.stride))
144 |         }
Swift.UnsafeRawPointer.assumingMemoryBound:2:13: note: in call to function 'assumingMemoryBound(to:)'
1 | struct UnsafeRawPointer {
2 | public func assumingMemoryBound<T>(to: T.Type) -> UnsafePointer<T> where T : ~Copyable}
  |             `- note: in call to function 'assumingMemoryBound(to:)'
3 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:32:30: error: cannot find '_SOCK_STREAM' in scope
 30 | public struct VsockType: SocketType, Sendable {
 31 |     public var domain: Int32 { AF_VSOCK }
 32 |     public var type: Int32 { _SOCK_STREAM }
    |                              `- error: cannot find '_SOCK_STREAM' in scope
 33 |     public var description: String {
 34 |         "\(cid):\(port)"
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:94:32: error: cannot find 'errno' in scope
 92 |                 }
 93 |             }
 94 |             if clientFD < 0 && errno != EINTR {
    |                                `- error: cannot find 'errno' in scope
 95 |                 throw Socket.errnoToError(msg: "accept failed")
 96 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:94:41: error: cannot find 'EINTR' in scope
 92 |                 }
 93 |             }
 94 |             if clientFD < 0 && errno != EINTR {
    |                                         `- error: cannot find 'EINTR' in scope
 95 |                 throw Socket.errnoToError(msg: "accept failed")
 96 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:33:29: error: cannot find 'errno' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                             `- error: cannot find 'errno' in scope
34 |                 continue
35 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:33:38: error: cannot find 'EINTR' in scope
31 |         while true {
32 |             let res = closure()
33 |             if res == -1 && errno == EINTR {
   |                                      `- error: cannot find 'EINTR' in scope
34 |                 continue
35 |             }
[672/1540] Emitting module Collections
[673/1540] Compiling Collections Collections.swift
[674/1541] Compiling ContainerizationOS URL+Extensions.swift
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
[675/1541] Compiling ContainerizationOS User.swift
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
[677/1555] Compiling ArgumentParser CollectionExtensions.swift
[678/1555] Compiling ArgumentParser Mutex.swift
[679/1555] Compiling ArgumentParser Platform.swift
[680/1555] Compiling ArgumentParser SequenceExtensions.swift
[681/1555] Compiling ArgumentParser StringExtensions.swift
[682/1555] Compiling ArgumentParser SwiftExtensions.swift
[683/1561] Emitting module ContainerizationExtras
[684/1562] Emitting module ArgumentParser
[685/1562] Compiling ContainerizationExtras Timeout.swift
[686/1562] Compiling ContainerizationExtras AddressAllocator.swift
[687/1562] Compiling ContainerizationExtras AsyncLock.swift
[688/1562] Compiling ContainerizationExtras UInt8+DataBinding.swift
[689/1562] Compiling ContainerizationExtras AsyncMutex.swift
[690/1562] Compiling ContainerizationExtras CIDRAddress.swift
[691/1562] Compiling ContainerizationExtras FileManager+Temporary.swift
[692/1562] Compiling ContainerizationExtras IPAddress.swift
[692/1562] Compiling tls_record.cc
[693/1562] Wrapping AST for HashTreeCollections for debugging
[694/1562] Wrapping AST for Collections for debugging
[696/1562] Emitting module Algorithms
[697/1563] Compiling tls_method.cc
[702/1563] Compiling ArgumentParser ZshCompletionsGenerator.swift
[703/1563] Compiling ArgumentParser Argument.swift
[704/1563] Compiling ArgumentParser ArgumentDiscussion.swift
[705/1563] Compiling ArgumentParser ArgumentHelp.swift
[706/1563] Compiling ArgumentParser Tree.swift
[707/1563] Compiling ArgumentParser CodingKeyValidator.swift
[708/1563] Compiling ArgumentParser NonsenseFlagsValidator.swift
[709/1563] Compiling ArgumentParser ParsableArgumentsValidation.swift
[710/1563] Compiling ArgumentParser PositionalArgumentsValidator.swift
[711/1563] Compiling ArgumentParser UniqueNamesValidator.swift
[711/1563] Compiling tls13_server.cc
[713/1563] Compiling ContainerizationExtras IndexedAddressAllocator.swift
[714/1563] Compiling ContainerizationExtras NetworkAddress+Allocator.swift
[715/1563] Compiling ContainerizationExtras NetworkAddress.swift
[716/1563] Compiling ContainerizationExtras ProgressEvent.swift
[717/1563] Compiling ContainerizationExtras ProxyUtils.swift
[718/1563] Compiling ContainerizationExtras RotatingAddressAllocator.swift
[718/1564] Compiling tls13_enc.cc
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Signals.swift:23:23: error: type 'Signals' has no member 'all'
 21 |     /// Returns the numeric values of all known signals.
 22 |     public static func allNumeric() -> [Int32] {
 23 |         Array(Signals.all.values)
    |                       `- error: type 'Signals' has no member 'all'
 24 |     }
 25 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Signals.swift:30:25: error: type 'Signals' has no member 'all'
 28 |     public static func parseSignal(_ signal: String) throws -> Int32 {
 29 |         if let sig = Int32(signal) {
 30 |             if !Signals.all.values.contains(sig) {
    |                         `- error: type 'Signals' has no member 'all'
 31 |                 throw Error.invalidSignal(signal)
 32 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Signals.swift:37:33: error: type 'Signals' has no member 'all'
 35 |         var signalUpper = signal.uppercased()
 36 |         signalUpper.trimPrefix("SIG")
 37 |         guard let sig = Signals.all[signalUpper] else {
    |                                 `- error: type 'Signals' has no member 'all'
 38 |             throw Error.invalidSignal(signal)
 39 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:45:87: error: no exact matches in reference to global function 'ioctl'
 43 | let sysAccept = accept
 44 | let sysConnect = connect
 45 | let sysIoctl: @convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt = ioctl
    |                                                                                       `- error: no exact matches in reference to global function 'ioctl'
 46 | let sysRecvmsg = recvmsg
 47 | #endif
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: found candidate with type '@Sendable (Int32, UInt32, Any...) -> Int32'
61 | #endif
62 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:45:87: error: no 'ioctl' candidates produce the expected contextual result type '@convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt' (aka '@convention(c) (Int32, UInt, UnsafeMutableRawPointer) -> Int32')
 43 | let sysAccept = accept
 44 | let sysConnect = connect
 45 | let sysIoctl: @convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt = ioctl
    |                                                                                       `- error: no 'ioctl' candidates produce the expected contextual result type '@convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt' (aka '@convention(c) (Int32, UInt, UnsafeMutableRawPointer) -> Int32')
 46 | let sysRecvmsg = recvmsg
 47 | #endif
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: found candidate with type '@Sendable (Int32, UInt32, Any...) -> Int32'
61 | #endif
62 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:42:56: error: cannot find type 'sockaddr' in scope
40 |     func accept(fd: Int32) throws -> (Int32, SocketType)
41 |     /// Provide a sockaddr pointer (by casting a socket specific type like sockaddr_un for example).
42 |     func withSockAddr(_ closure: (_ ptr: UnsafePointer<sockaddr>, _ len: UInt32) throws -> Void) throws
   |                                                        `- error: cannot find type 'sockaddr' in scope
43 | }
44 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:90:86: error: cannot find 'errno' in scope
 88 |         let sockFD = sysSocket(type.domain, type.type, 0)
 89 |         if sockFD < 0 {
 90 |             throw SocketError.withErrno("failed to create socket: \(sockFD)", errno: errno)
    |                                                                                      `- error: cannot find 'errno' in scope
 91 |         }
 92 |         self.init(fd: sockFD, type: type, closeOnDeinit: closeOnDeinit)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:130:55: error: cannot find 'errno' in scope
128 | extension Socket {
129 |     static func errnoToError(msg: String) -> SocketError {
130 |         SocketError.withErrno("\(msg) (\(_errnoString(errno)))", errno: errno)
    |                                                       `- error: cannot find 'errno' in scope
131 |     }
132 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:130:73: error: cannot find 'errno' in scope
128 | extension Socket {
129 |     static func errnoToError(msg: String) -> SocketError {
130 |         SocketError.withErrno("\(msg) (\(_errnoString(errno)))", errno: errno)
    |                                                                         `- error: cannot find 'errno' in scope
131 |     }
132 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:337:30: error: cannot assign value of type 'socklen_t' (aka 'UInt32') to type 'Int'
335 |         msg.msg_controllen = size_t(cmsgBuf.count)
336 |         #else
337 |         msg.msg_controllen = socklen_t(cmsgBuf.count)
    |                              `- error: cannot assign value of type 'socklen_t' (aka 'UInt32') to type 'Int'
338 |         #endif
339 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:471:44: error: cannot find 'errno' in scope
469 |
470 |     static func _errnoString(_ err: Int32?) -> String {
471 |         String(validatingCString: strerror(errno)) ?? "error: \(errno)"
    |                                            `- error: cannot find 'errno' in scope
472 |     }
473 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:471:65: error: cannot find 'errno' in scope
469 |
470 |     static func _errnoString(_ err: Int32?) -> String {
471 |         String(validatingCString: strerror(errno)) ?? "error: \(errno)"
    |                                                                 `- error: cannot find 'errno' in scope
472 |     }
473 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Signals.swift:23:23: error: type 'Signals' has no member 'all'
 21 |     /// Returns the numeric values of all known signals.
 22 |     public static func allNumeric() -> [Int32] {
 23 |         Array(Signals.all.values)
    |                       `- error: type 'Signals' has no member 'all'
 24 |     }
 25 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Signals.swift:30:25: error: type 'Signals' has no member 'all'
 28 |     public static func parseSignal(_ signal: String) throws -> Int32 {
 29 |         if let sig = Int32(signal) {
 30 |             if !Signals.all.values.contains(sig) {
    |                         `- error: type 'Signals' has no member 'all'
 31 |                 throw Error.invalidSignal(signal)
 32 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Signals.swift:37:33: error: type 'Signals' has no member 'all'
 35 |         var signalUpper = signal.uppercased()
 36 |         signalUpper.trimPrefix("SIG")
 37 |         guard let sig = Signals.all[signalUpper] else {
    |                                 `- error: type 'Signals' has no member 'all'
 38 |             throw Error.invalidSignal(signal)
 39 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:45:87: error: no exact matches in reference to global function 'ioctl'
 43 | let sysAccept = accept
 44 | let sysConnect = connect
 45 | let sysIoctl: @convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt = ioctl
    |                                                                                       `- error: no exact matches in reference to global function 'ioctl'
 46 | let sysRecvmsg = recvmsg
 47 | #endif
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: found candidate with type '@Sendable (Int32, UInt32, Any...) -> Int32'
61 | #endif
62 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:45:87: error: no 'ioctl' candidates produce the expected contextual result type '@convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt' (aka '@convention(c) (Int32, UInt, UnsafeMutableRawPointer) -> Int32')
 43 | let sysAccept = accept
 44 | let sysConnect = connect
 45 | let sysIoctl: @convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt = ioctl
    |                                                                                       `- error: no 'ioctl' candidates produce the expected contextual result type '@convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt' (aka '@convention(c) (Int32, UInt, UnsafeMutableRawPointer) -> Int32')
 46 | let sysRecvmsg = recvmsg
 47 | #endif
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: found candidate with type '@Sendable (Int32, UInt32, Any...) -> Int32'
61 | #endif
62 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:42:56: error: cannot find type 'sockaddr' in scope
40 |     func accept(fd: Int32) throws -> (Int32, SocketType)
41 |     /// Provide a sockaddr pointer (by casting a socket specific type like sockaddr_un for example).
42 |     func withSockAddr(_ closure: (_ ptr: UnsafePointer<sockaddr>, _ len: UInt32) throws -> Void) throws
   |                                                        `- error: cannot find type 'sockaddr' in scope
43 | }
44 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:90:86: error: cannot find 'errno' in scope
 88 |         let sockFD = sysSocket(type.domain, type.type, 0)
 89 |         if sockFD < 0 {
 90 |             throw SocketError.withErrno("failed to create socket: \(sockFD)", errno: errno)
    |                                                                                      `- error: cannot find 'errno' in scope
 91 |         }
 92 |         self.init(fd: sockFD, type: type, closeOnDeinit: closeOnDeinit)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:130:55: error: cannot find 'errno' in scope
128 | extension Socket {
129 |     static func errnoToError(msg: String) -> SocketError {
130 |         SocketError.withErrno("\(msg) (\(_errnoString(errno)))", errno: errno)
    |                                                       `- error: cannot find 'errno' in scope
131 |     }
132 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:130:73: error: cannot find 'errno' in scope
128 | extension Socket {
129 |     static func errnoToError(msg: String) -> SocketError {
130 |         SocketError.withErrno("\(msg) (\(_errnoString(errno)))", errno: errno)
    |                                                                         `- error: cannot find 'errno' in scope
131 |     }
132 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:337:30: error: cannot assign value of type 'socklen_t' (aka 'UInt32') to type 'Int'
335 |         msg.msg_controllen = size_t(cmsgBuf.count)
336 |         #else
337 |         msg.msg_controllen = socklen_t(cmsgBuf.count)
    |                              `- error: cannot assign value of type 'socklen_t' (aka 'UInt32') to type 'Int'
338 |         #endif
339 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:471:44: error: cannot find 'errno' in scope
469 |
470 |     static func _errnoString(_ err: Int32?) -> String {
471 |         String(validatingCString: strerror(errno)) ?? "error: \(errno)"
    |                                            `- error: cannot find 'errno' in scope
472 |     }
473 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:471:65: error: cannot find 'errno' in scope
469 |
470 |     static func _errnoString(_ err: Int32?) -> String {
471 |         String(validatingCString: strerror(errno)) ?? "error: \(errno)"
    |                                                                 `- error: cannot find 'errno' in scope
472 |     }
473 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Signals.swift:23:23: error: type 'Signals' has no member 'all'
 21 |     /// Returns the numeric values of all known signals.
 22 |     public static func allNumeric() -> [Int32] {
 23 |         Array(Signals.all.values)
    |                       `- error: type 'Signals' has no member 'all'
 24 |     }
 25 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Signals.swift:30:25: error: type 'Signals' has no member 'all'
 28 |     public static func parseSignal(_ signal: String) throws -> Int32 {
 29 |         if let sig = Int32(signal) {
 30 |             if !Signals.all.values.contains(sig) {
    |                         `- error: type 'Signals' has no member 'all'
 31 |                 throw Error.invalidSignal(signal)
 32 |             }
/host/spi-builder-workspace/Sources/ContainerizationOS/Signals.swift:37:33: error: type 'Signals' has no member 'all'
 35 |         var signalUpper = signal.uppercased()
 36 |         signalUpper.trimPrefix("SIG")
 37 |         guard let sig = Signals.all[signalUpper] else {
    |                                 `- error: type 'Signals' has no member 'all'
 38 |             throw Error.invalidSignal(signal)
 39 |         }
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:45:87: error: no exact matches in reference to global function 'ioctl'
 43 | let sysAccept = accept
 44 | let sysConnect = connect
 45 | let sysIoctl: @convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt = ioctl
    |                                                                                       `- error: no exact matches in reference to global function 'ioctl'
 46 | let sysRecvmsg = recvmsg
 47 | #endif
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: found candidate with type '@Sendable (Int32, UInt32, Any...) -> Int32'
61 | #endif
62 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:45:87: error: no 'ioctl' candidates produce the expected contextual result type '@convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt' (aka '@convention(c) (Int32, UInt, UnsafeMutableRawPointer) -> Int32')
 43 | let sysAccept = accept
 44 | let sysConnect = connect
 45 | let sysIoctl: @convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt = ioctl
    |                                                                                       `- error: no 'ioctl' candidates produce the expected contextual result type '@convention(c) (CInt, CUnsignedLong, UnsafeMutableRawPointer) -> CInt' (aka '@convention(c) (Int32, UInt, UnsafeMutableRawPointer) -> Int32')
 46 | let sysRecvmsg = recvmsg
 47 | #endif
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/bits/ioctl.h:43:5: note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
41 |  * [ioctl(2)](http://man7.org/linux/man-pages/man2/ioctl.2.html) operates on device files.
42 |  */
43 | int ioctl(int __fd, int __op, ...);
   |     `- note: found candidate with type '@Sendable (Int32, Int32, Any...) -> Int32'
44 |
45 | /*
   :
58 | #if !defined(BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD)
59 | /* enable_if(1) just exists to break overloading ties. */
60 | int ioctl(int __fd, unsigned __op, ...) __overloadable __enable_if(1, "") __RENAME(ioctl);
   |     `- note: found candidate with type '@Sendable (Int32, UInt32, Any...) -> Int32'
61 | #endif
62 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:42:56: error: cannot find type 'sockaddr' in scope
40 |     func accept(fd: Int32) throws -> (Int32, SocketType)
41 |     /// Provide a sockaddr pointer (by casting a socket specific type like sockaddr_un for example).
42 |     func withSockAddr(_ closure: (_ ptr: UnsafePointer<sockaddr>, _ len: UInt32) throws -> Void) throws
   |                                                        `- error: cannot find type 'sockaddr' in scope
43 | }
44 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:90:86: error: cannot find 'errno' in scope
 88 |         let sockFD = sysSocket(type.domain, type.type, 0)
 89 |         if sockFD < 0 {
 90 |             throw SocketError.withErrno("failed to create socket: \(sockFD)", errno: errno)
    |                                                                                      `- error: cannot find 'errno' in scope
 91 |         }
 92 |         self.init(fd: sockFD, type: type, closeOnDeinit: closeOnDeinit)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:130:55: error: cannot find 'errno' in scope
128 | extension Socket {
129 |     static func errnoToError(msg: String) -> SocketError {
130 |         SocketError.withErrno("\(msg) (\(_errnoString(errno)))", errno: errno)
    |                                                       `- error: cannot find 'errno' in scope
131 |     }
132 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:130:73: error: cannot find 'errno' in scope
128 | extension Socket {
129 |     static func errnoToError(msg: String) -> SocketError {
130 |         SocketError.withErrno("\(msg) (\(_errnoString(errno)))", errno: errno)
    |                                                                         `- error: cannot find 'errno' in scope
131 |     }
132 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:337:30: error: cannot assign value of type 'socklen_t' (aka 'UInt32') to type 'Int'
335 |         msg.msg_controllen = size_t(cmsgBuf.count)
336 |         #else
337 |         msg.msg_controllen = socklen_t(cmsgBuf.count)
    |                              `- error: cannot assign value of type 'socklen_t' (aka 'UInt32') to type 'Int'
338 |         #endif
339 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:471:44: error: cannot find 'errno' in scope
469 |
470 |     static func _errnoString(_ err: Int32?) -> String {
471 |         String(validatingCString: strerror(errno)) ?? "error: \(errno)"
    |                                            `- error: cannot find 'errno' in scope
472 |     }
473 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:471:65: error: cannot find 'errno' in scope
469 |
470 |     static func _errnoString(_ err: Int32?) -> String {
471 |         String(validatingCString: strerror(errno)) ?? "error: \(errno)"
    |                                                                 `- error: cannot find 'errno' in scope
472 |     }
473 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/AsyncSignalHandler.swift:81:25: error: cannot find 'SIG_IGN' in scope
79 |         var sources = [any DispatchSourceSignal]()
80 |         for sig in on {
81 |             signal(sig, SIG_IGN)
   |                         `- error: cannot find 'SIG_IGN' in scope
82 |             let source = DispatchSource.makeSignalSource(signal: sig)
83 |             source.setEventHandler {
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:148:16: error: cannot find '_kill' in scope
146 |             return nil
147 |         }
148 |         return _kill(pid, signal)
    |                `- error: cannot find '_kill' in scope
149 |     }
150 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:165:19: error: cannot find 'rusage' in scope
163 |     @discardableResult
164 |     public func wait() throws -> Int32 {
165 |         var rus = rusage()
    |                   `- error: cannot find 'rusage' in scope
166 |         var ws = Int32()
167 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:173:22: error: cannot find 'wait4' in scope
171 |         }
172 |
173 |         let result = wait4(pid, &ws, 0, &rus)
    |                      `- error: cannot find 'wait4' in scope
174 |         guard result == pid else {
175 |             throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:175:46: error: cannot find 'errno' in scope
173 |         let result = wait4(pid, &ws, 0, &rus)
174 |         guard result == pid else {
175 |             throw POSIXError(.init(rawValue: errno)!)
    |                                              `- error: cannot find 'errno' in scope
176 |         }
177 |         return Self.toExitStatus(ws)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:244:46: error: cannot find 'errno' in scope
242 |         }
243 |         guard result == 0 else {
244 |             throw POSIXError(.init(rawValue: errno)!)
    |                                              `- error: cannot find 'errno' in scope
245 |         }
246 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:264:18: error: 'open' is unavailable: Variadic function is unavailable
262 |     /// Returns a file handle to /dev/null.
263 |     private func openDevNull() throws -> FileHandle {
264 |         let fd = open("/dev/null", O_WRONLY, 0)
    |                  `- error: 'open' is unavailable: Variadic function is unavailable
265 |         guard fd > 0 else {
266 |             throw POSIXError(.init(rawValue: errno)!)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/fcntl.h:134:5: note: 'open' has been explicitly marked unavailable here
132 |  * failure.
133 |  */
134 | int open(const char* _Nonnull __path, int __flags, ...);
    |     `- note: 'open' has been explicitly marked unavailable here
135 | /** See open(). */
136 | int open64(const char* _Nonnull __path, int __flags, ...);
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:266:46: error: cannot find 'errno' in scope
264 |         let fd = open("/dev/null", O_WRONLY, 0)
265 |         guard fd > 0 else {
266 |             throw POSIXError(.init(rawValue: errno)!)
    |                                              `- error: cannot find 'errno' in scope
267 |         }
268 |         return FileHandle(fileDescriptor: fd, closeOnDealloc: false)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/AsyncSignalHandler.swift:81:25: error: cannot find 'SIG_IGN' in scope
79 |         var sources = [any DispatchSourceSignal]()
80 |         for sig in on {
81 |             signal(sig, SIG_IGN)
   |                         `- error: cannot find 'SIG_IGN' in scope
82 |             let source = DispatchSource.makeSignalSource(signal: sig)
83 |             source.setEventHandler {
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:148:16: error: cannot find '_kill' in scope
146 |             return nil
147 |         }
148 |         return _kill(pid, signal)
    |                `- error: cannot find '_kill' in scope
149 |     }
150 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:165:19: error: cannot find 'rusage' in scope
163 |     @discardableResult
164 |     public func wait() throws -> Int32 {
165 |         var rus = rusage()
    |                   `- error: cannot find 'rusage' in scope
166 |         var ws = Int32()
167 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:173:22: error: cannot find 'wait4' in scope
171 |         }
172 |
173 |         let result = wait4(pid, &ws, 0, &rus)
    |                      `- error: cannot find 'wait4' in scope
174 |         guard result == pid else {
175 |             throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:175:46: error: cannot find 'errno' in scope
173 |         let result = wait4(pid, &ws, 0, &rus)
174 |         guard result == pid else {
175 |             throw POSIXError(.init(rawValue: errno)!)
    |                                              `- error: cannot find 'errno' in scope
176 |         }
177 |         return Self.toExitStatus(ws)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:244:46: error: cannot find 'errno' in scope
242 |         }
243 |         guard result == 0 else {
244 |             throw POSIXError(.init(rawValue: errno)!)
    |                                              `- error: cannot find 'errno' in scope
245 |         }
246 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:264:18: error: 'open' is unavailable: Variadic function is unavailable
262 |     /// Returns a file handle to /dev/null.
263 |     private func openDevNull() throws -> FileHandle {
264 |         let fd = open("/dev/null", O_WRONLY, 0)
    |                  `- error: 'open' is unavailable: Variadic function is unavailable
265 |         guard fd > 0 else {
266 |             throw POSIXError(.init(rawValue: errno)!)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/fcntl.h:134:5: note: 'open' has been explicitly marked unavailable here
132 |  * failure.
133 |  */
134 | int open(const char* _Nonnull __path, int __flags, ...);
    |     `- note: 'open' has been explicitly marked unavailable here
135 | /** See open(). */
136 | int open64(const char* _Nonnull __path, int __flags, ...);
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:266:46: error: cannot find 'errno' in scope
264 |         let fd = open("/dev/null", O_WRONLY, 0)
265 |         guard fd > 0 else {
266 |             throw POSIXError(.init(rawValue: errno)!)
    |                                              `- error: cannot find 'errno' in scope
267 |         }
268 |         return FileHandle(fileDescriptor: fd, closeOnDealloc: false)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/Socket.swift:28:8: error: Socket not supported on this platform.
 26 | import Darwin
 27 | #else
 28 | #error("Socket not supported on this platform.")
    |        `- error: Socket not supported on this platform.
 29 | #endif
 30 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/SocketType.swift:24:8: error: SocketType not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("SocketType not supported on this platform.")
   |        `- error: SocketType not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/UnixType.swift:27:8: error: UnixType not supported on this platform.
 25 | let _SOCK_STREAM = SOCK_STREAM
 26 | #else
 27 | #error("UnixType not supported on this platform.")
    |        `- error: UnixType not supported on this platform.
 28 | #endif
 29 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Socket/VsockType.swift:26:8: error: VsockType not supported on this platform.
 24 | import Darwin
 25 | #else
 26 | #error("VsockType not supported on this platform.")
    |        `- error: VsockType not supported on this platform.
 27 | #endif
 28 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Syscall.swift:24:8: error: retryingSyscall not supported on this platform.
22 | import Darwin
23 | #else
24 | #error("retryingSyscall not supported on this platform.")
   |        `- error: retryingSyscall not supported on this platform.
25 | #endif
26 |
/host/spi-builder-workspace/Sources/ContainerizationOS/AsyncSignalHandler.swift:81:25: error: cannot find 'SIG_IGN' in scope
79 |         var sources = [any DispatchSourceSignal]()
80 |         for sig in on {
81 |             signal(sig, SIG_IGN)
   |                         `- error: cannot find 'SIG_IGN' in scope
82 |             let source = DispatchSource.makeSignalSource(signal: sig)
83 |             source.setEventHandler {
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:148:16: error: cannot find '_kill' in scope
146 |             return nil
147 |         }
148 |         return _kill(pid, signal)
    |                `- error: cannot find '_kill' in scope
149 |     }
150 | }
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:165:19: error: cannot find 'rusage' in scope
163 |     @discardableResult
164 |     public func wait() throws -> Int32 {
165 |         var rus = rusage()
    |                   `- error: cannot find 'rusage' in scope
166 |         var ws = Int32()
167 |
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:173:22: error: cannot find 'wait4' in scope
171 |         }
172 |
173 |         let result = wait4(pid, &ws, 0, &rus)
    |                      `- error: cannot find 'wait4' in scope
174 |         guard result == pid else {
175 |             throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:175:46: error: cannot find 'errno' in scope
173 |         let result = wait4(pid, &ws, 0, &rus)
174 |         guard result == pid else {
175 |             throw POSIXError(.init(rawValue: errno)!)
    |                                              `- error: cannot find 'errno' in scope
176 |         }
177 |         return Self.toExitStatus(ws)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:244:46: error: cannot find 'errno' in scope
242 |         }
243 |         guard result == 0 else {
244 |             throw POSIXError(.init(rawValue: errno)!)
    |                                              `- error: cannot find 'errno' in scope
245 |         }
246 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:264:18: error: 'open' is unavailable: Variadic function is unavailable
262 |     /// Returns a file handle to /dev/null.
263 |     private func openDevNull() throws -> FileHandle {
264 |         let fd = open("/dev/null", O_WRONLY, 0)
    |                  `- error: 'open' is unavailable: Variadic function is unavailable
265 |         guard fd > 0 else {
266 |             throw POSIXError(.init(rawValue: errno)!)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/fcntl.h:134:5: note: 'open' has been explicitly marked unavailable here
132 |  * failure.
133 |  */
134 | int open(const char* _Nonnull __path, int __flags, ...);
    |     `- note: 'open' has been explicitly marked unavailable here
135 | /** See open(). */
136 | int open64(const char* _Nonnull __path, int __flags, ...);
/host/spi-builder-workspace/Sources/ContainerizationOS/Command.swift:266:46: error: cannot find 'errno' in scope
264 |         let fd = open("/dev/null", O_WRONLY, 0)
265 |         guard fd > 0 else {
266 |             throw POSIXError(.init(rawValue: errno)!)
    |                                              `- error: cannot find 'errno' in scope
267 |         }
268 |         return FileHandle(fileDescriptor: fd, closeOnDealloc: false)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[726/1564] Compiling ssl_versions.cc
[726/1564] Compiling t1_enc.cc
[726/1564] Compiling tls13_both.cc
[726/1564] Compiling ssl_x509.cc
[726/1564] Compiling tls13_client.cc
BUILD FAILURE 6.2 android