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 Rosalind, reference 0.5.43 (9a678c), with Swift 6.2 (beta) for Android on 24 Jun 2025 17:37:05 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tuist/Rosalind.git
Reference: 0.5.43
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/tuist/Rosalind
 * tag               0.5.43     -> FETCH_HEAD
HEAD is now at 9a678c6 [Release] Rosalind 0.5.43
Cloned https://github.com/tuist/Rosalind.git
Revision (git rev-parse @):
9a678c6416c9f74788af7a0c450348dc0d573edb
SUCCESS checkout https://github.com/tuist/Rosalind.git at 0.5.43
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tuist/Rosalind.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/p-x9/MachOKit
Fetching https://github.com/tuist/FileSystem.git
[1/1800] Fetching filesystem
[379/7082] Fetching filesystem, machokit
[5024/9056] Fetching filesystem, machokit, command
[7597/10846] Fetching filesystem, machokit, command, mockable
[8047/26294] Fetching filesystem, machokit, command, mockable, swift-crypto
Fetched https://github.com/tuist/FileSystem.git from cache (0.36s)
[7871/24494] Fetching machokit, command, mockable, swift-crypto
Fetching https://github.com/tuist/Path.git
Fetched https://github.com/p-x9/MachOKit from cache (0.45s)
[4691/19212] Fetching command, mockable, swift-crypto
[5310/33263] Fetching command, mockable, swift-crypto, swift-snapshot-testing
[6940/33617] Fetching command, mockable, swift-crypto, swift-snapshot-testing, path
Fetched https://github.com/tuist/Path.git from cache (0.26s)
[7557/33263] Fetching command, mockable, swift-crypto, swift-snapshot-testing
Fetched https://github.com/tuist/Command.git from cache (1.95s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.97s)
Fetched https://github.com/Kolos65/Mockable from cache (2.23s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.31s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.4.0 (3.11s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.85s)
[1/70947] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.96s)
Computing version for https://github.com/p-x9/MachOKit
warning: 'machokit': /Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
   | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
78 |     public static var allCases: [Self] {
79 |         [
Computed https://github.com/p-x9/MachOKit at 0.35.1 (6.62s)
Fetching https://github.com/p-x9/swift-fileio.git
[1/163] Fetching swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.29s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.68s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.36s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (0.81s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.34s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (0.93s)
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.43s)
Computing version for https://github.com/tuist/Path.git
Computed https://github.com/tuist/Path.git at 0.3.8 (0.94s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.9.0 (0.41s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.52s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.49s)
Computing version for https://github.com/tuist/FileSystem.git
Computed https://github.com/tuist/FileSystem.git at 0.10.10 (0.47s)
Fetching https://github.com/tuist/ZIPFoundation
Fetching https://github.com/apple/swift-nio
[1/4875] Fetching zipfoundation
[4145/81214] Fetching zipfoundation, swift-nio
Fetched https://github.com/tuist/ZIPFoundation from cache (0.68s)
[4581/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (5.96s)
Computing version for https://github.com/tuist/ZIPFoundation
Computed https://github.com/tuist/ZIPFoundation at 0.9.20 (6.34s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (0.89s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/4436] Fetching swift-system
[3683/6233] Fetching swift-system, swift-atomics
Fetched https://github.com/apple/swift-system.git from cache (0.64s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.71s)
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.92s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.31s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.64s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.69s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (3.03s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.08s)
Creating working copy for https://github.com/tuist/ZIPFoundation
Working copy of https://github.com/tuist/ZIPFoundation resolved at 0.9.20
Creating working copy for https://github.com/tuist/FileSystem.git
Working copy of https://github.com/tuist/FileSystem.git resolved at 0.10.10
Creating working copy for https://github.com/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.13.0
Creating working copy for https://github.com/p-x9/MachOKit
Working copy of https://github.com/p-x9/MachOKit resolved at 0.35.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.4
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.4.0
Creating working copy for https://github.com/tuist/Path.git
Working copy of https://github.com/tuist/Path.git resolved at 0.3.8
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
   | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
78 |     public static var allCases: [Self] {
79 |         [
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/457] Compiling CNIODarwin shim.c
[1/457] Compiling _AtomicsShims.c
[2/457] Compiling CNIOWindows WSAStartup.c
[3/457] Write sources
[30/457] Compiling CNIOWASI CNIOWASI.c
[30/457] Compiling _SwiftSyntaxCShims dummy.c
[31/457] Write sources
[42/457] Compiling CSystem shims.c
[43/457] Compiling CNIOWindows shim.c
[44/457] Compiling CNIOLinux liburing_shims.c
[45/457] Compiling fiat_p256_adx_sqr.S
[46/457] Write swift-version-8C5A4AE7A8CE2BA.txt
[47/457] Compiling MachOKitC mach-o-linux.c
[48/457] Compiling CNIOLinux shim.c
[49/461] Compiling fiat_p256_adx_mul.S
[50/461] Compiling fiat_curve25519_adx_square.S
[51/512] Compiling CCryptoBoringSSLShims shims.c
[53/513] Emitting module SwiftSyntax601
[54/515] Emitting module _NIOBase64
[54/515] Compiling c-nioatomics.c
[55/517] Compiling c-atomics.c
[57/519] Compiling SwiftSyntax601 Empty.swift
[58/519] Compiling SystemPackage MachPort.swift
[59/519] Compiling SystemPackage PlatformString.swift
[60/519] Compiling SystemPackage SystemString.swift
[61/520] Emitting module SwiftSyntax510
[62/520] Compiling SwiftSyntax510 Empty.swift
[64/524] Emitting module SwiftSyntax600
[65/524] Compiling SwiftSyntax600 Empty.swift
[67/525] Compiling _NIOBase64 Base64.swift
[69/526] Compiling SystemPackage FilePathTempPosix.swift
[70/526] Compiling SystemPackage FilePathTempWindows.swift
[71/526] Compiling SystemPackage FilePathWindows.swift
[72/526] Compiling SystemPackage FilePermissions.swift
[74/528] Emitting module SwiftSyntax509
[75/528] Compiling SwiftSyntax509 Empty.swift
[76/528] Emitting module SystemPackage
[77/528] Compiling SystemPackage Errno.swift
[78/528] Compiling SystemPackage ErrnoWindows.swift
[79/528] Compiling SystemPackage FileDescriptor.swift
[80/528] Compiling SystemPackage FileHelpers.swift
[81/528] Compiling SystemPackage FileOperations.swift
[82/528] Compiling SystemPackage FilePath.swift
[83/528] Compiling ZIPFoundation Archive+MemoryFile.swift
[84/528] Compiling ZIPFoundation Archive+Progress.swift
[86/535] Compiling SystemPackage FilePathParsing.swift
[87/535] Compiling SystemPackage FilePathString.swift
[88/535] Compiling SystemPackage FilePathSyntax.swift
[89/535] Compiling SystemPackage FilePathTemp.swift
[90/535] Emitting module _NIODataStructures
[91/540] Compiling _NIODataStructures PriorityQueue.swift
[92/540] Compiling _NIODataStructures Heap.swift
[93/540] Compiling _NIODataStructures _TinyArray.swift
[95/541] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[96/627] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[97/628] Compiling SwiftSyntax RawSyntaxTokenView.swift
[98/628] Compiling SwiftSyntax SourceEdit.swift
[99/628] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[100/628] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[101/628] Compiling NIOConcurrencyHelpers NIOLock.swift
[102/628] Compiling NIOConcurrencyHelpers atomics.swift
[103/628] Compiling SwiftSyntax Trivia.swift
[104/628] Compiling SwiftSyntax Utils.swift
[105/628] Compiling SwiftSyntax ChildNameForKeyPath.swift
[106/628] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[107/628] Compiling NIOConcurrencyHelpers lock.swift
[108/628] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[109/628] Emitting module NIOConcurrencyHelpers
[111/631] Emitting module Path
[112/631] Compiling Path Path.swift
[113/634] Emitting module InternalCollectionsUtilities
[114/634] Compiling SwiftSyntax SourceLength.swift
[115/634] Compiling SwiftSyntax AbsolutePosition.swift
[116/634] Wrapping AST for SwiftSyntax601 for debugging
[117/634] Wrapping AST for SwiftSyntax600 for debugging
[119/634] Compiling SwiftSyntax Identifier.swift
[120/634] Compiling SwiftSyntax MemoryLayout.swift
[121/634] Compiling SwiftSyntax MissingNodeInitializers.swift
[122/634] Compiling SwiftSyntax RawSyntax.swift
[123/634] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[124/634] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[124/635] Wrapping AST for SwiftSyntax510 for debugging
[126/635] Wrapping AST for SwiftSyntax509 for debugging
[127/635] Wrapping AST for _NIODataStructures for debugging
[128/650] Wrapping AST for _NIOBase64 for debugging
[129/650] Wrapping AST for Path for debugging
[130/650] Wrapping AST for NIOConcurrencyHelpers for debugging
[131/650] Wrapping AST for InternalCollectionsUtilities for debugging
[133/650] Compiling DequeModule _DequeBuffer.swift
[134/650] Compiling DequeModule _DequeBufferHeader.swift
[134/652] Compiling fiat_curve25519_adx_mul.S
[135/652] Compiling md5-x86_64-linux.S
[137/652] Compiling DequeModule Deque+Equatable.swift
[138/652] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[138/652] Compiling md5-x86_64-apple.S
[139/652] Compiling md5-586-linux.S
[141/652] Compiling DequeModule Deque+Extras.swift
[142/652] Compiling DequeModule Deque+Hashable.swift
[143/652] Compiling DequeModule Deque+CustomReflectable.swift
[144/652] Compiling DequeModule Deque+Descriptions.swift
[144/652] Compiling md5-586-apple.S
[146/652] Compiling DequeModule _DequeSlot.swift
[147/652] Compiling DequeModule _UnsafeWrappedBuffer.swift
[148/652] Compiling SwiftSyntax CustomTraits.swift
[149/652] Compiling SwiftSyntax EditorPlaceholder.swift
[150/652] Compiling SwiftSyntax SyntaxEnum.swift
[151/652] Compiling SwiftSyntax SyntaxKind.swift
[152/652] Compiling SwiftSyntax SyntaxRewriter.swift
[153/652] Compiling SwiftSyntax SyntaxTraits.swift
[154/652] Compiling SwiftSyntax SyntaxVisitor.swift
[155/652] Compiling SwiftSyntax TokenKind.swift
[157/653] Emitting module Logging
[158/653] Compiling Logging Locks.swift
[158/653] Wrapping AST for SystemPackage for debugging
[159/653] Compiling chacha20_poly1305_x86_64-linux.S
[160/653] Compiling chacha20_poly1305_x86_64-apple.S
[162/653] Compiling DequeModule Deque+Testing.swift
[163/653] Compiling DequeModule Deque._Storage.swift
[164/653] Compiling DequeModule Deque._UnsafeHandle.swift
[165/653] Compiling DequeModule Deque.swift
[165/653] Compiling chacha20_poly1305_armv8-win.S
[167/653] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[167/653] Compiling chacha20_poly1305_armv8-linux.S
[168/653] Compiling chacha20_poly1305_armv8-apple.S
[170/653] Compiling Logging LogHandler.swift
[171/653] Compiling Logging MetadataProvider.swift
[172/653] Compiling Logging Logging.swift
[173/654] Compiling DequeModule Deque+Codable.swift
[174/654] Compiling DequeModule Deque+Collection.swift
[175/654] Compiling chacha-x86_64-apple.S
[176/654] Compiling chacha-x86_64-linux.S
[177/654] Compiling chacha-x86-linux.S
[178/654] Wrapping AST for Logging for debugging
[179/654] Compiling err_data.cc
[180/654] Compiling chacha-x86-apple.S
[181/654] Compiling chacha-armv8-win.S
[182/654] Compiling chacha-armv8-linux.S
[183/654] Compiling chacha-armv8-apple.S
[184/654] Compiling chacha-armv4-linux.S
[185/654] Compiling aes128gcmsiv-x86_64-linux.S
[187/654] Emitting module DequeModule
[187/655] Compiling aes128gcmsiv-x86_64-apple.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[189/655] Emitting module ZIPFoundation
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
[192/657] Compiling x86_64-mont5-apple.S
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
[202/657] Compiling x86_64-mont5-linux.S
[204/657] Compiling x86_64-mont-linux.S
[206/657] Compiling Glob Pattern+Parser.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
[211/657] Compiling x86_64-mont-apple.S
[212/657] Compiling x86-mont-linux.S
[213/657] Wrapping AST for DequeModule for debugging
[214/657] Compiling vpaes-x86_64-linux.S
[216/657] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[217/657] Compiling ZIPFoundation URL+ZIP.swift
[217/657] Compiling x86-mont-apple.S
[219/657] Emitting module FileIO
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:29:25: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
 27 |
 28 |         init(mode: mode_t) {
 29 |             switch mode & S_IFMT {
    |                         |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                         `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
 30 |             case S_IFDIR:
 31 |                 self = .directory
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:152:92: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
150 |         switch osType {
151 |         case .unix, .osx:
152 |             let mode = mode_t(self.centralDirectoryStructure.externalFileAttributes >> 16) & S_IFMT
    |                                                                                            |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                                                                                            `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
153 |             switch mode {
154 |             case S_IFREG:
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:196:15: error: cannot find 'lchmod' in scope
194 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
    |               `- error: cannot find 'lchmod' in scope
197 |             throw POSIXError(errno, path: url.path)
198 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:197:30: error: cannot find 'errno' in scope
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
197 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
198 |         }
199 |     }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:203:24: error: cannot find 'stat' in scope
201 |     func setSymlinkModificationDate(_ modificationDate: Date, ofItemAtURL url: URL) throws {
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:204:15: error: cannot find 'lstat' in scope
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
    |               `- error: cannot find 'lstat' in scope
205 |             throw POSIXError(errno, path: url.path)
206 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:205:30: error: cannot find 'errno' in scope
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
206 |         }
207 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:215:34: error: cannot find 'errno' in scope
213 |         try array.withUnsafeBufferPointer {
214 |             guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
215 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
216 |             }
217 |         }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:241:72: error: cannot find 'S_IFMT' in scope
239 |         switch osType {
240 |         case .unix, .osx:
241 |             let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
    |                                                                        `- error: cannot find 'S_IFMT' in scope
242 |             let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
243 |             return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:253:30: error: cannot find 'S_IFREG' in scope
251 |         switch type {
252 |         case .file:
253 |             typeInt = UInt16(S_IFREG)
    |                              `- error: cannot find 'S_IFREG' in scope
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:255:30: error: cannot find 'S_IFDIR' in scope
253 |             typeInt = UInt16(S_IFREG)
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
    |                              `- error: cannot find 'S_IFDIR' in scope
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:257:30: error: cannot find 'S_IFLNK' in scope
255 |             typeInt = UInt16(S_IFDIR)
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
    |                              `- error: cannot find 'S_IFLNK' in scope
258 |         }
259 |         var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:267:24: error: cannot find 'stat' in scope
265 |         let fileManager = FileManager()
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
268 |         lstat(entryFileSystemRepresentation, &fileStat)
269 |         let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:268:9: error: cannot find 'lstat' in scope
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
268 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
269 |         let permissions = fileStat.st_mode
270 |         return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:279:24: error: cannot find 'stat' in scope
277 |         }
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
280 |         lstat(entryFileSystemRepresentation, &fileStat)
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:280:9: error: cannot find 'lstat' in scope
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
280 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
282 |         let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:299:21: error: cannot find 'stat' in scope
297 |
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
    |                     `- error: cannot find 'stat' in scope
300 |         lstat(entryFileSystemRepresentation, &stats)
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:300:9: error: cannot find 'lstat' in scope
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
300 |         lstat(entryFileSystemRepresentation, &stats)
    |         `- error: cannot find 'lstat' in scope
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
302 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:313:24: error: cannot find 'stat' in scope
311 |         }
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
314 |         lstat(entryFileSystemRepresentation, &fileStat)
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:314:9: error: cannot find 'lstat' in scope
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
314 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
316 |     }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:29:25: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
 27 |
 28 |         init(mode: mode_t) {
 29 |             switch mode & S_IFMT {
    |                         |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                         `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
 30 |             case S_IFDIR:
 31 |                 self = .directory
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:152:92: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
150 |         switch osType {
151 |         case .unix, .osx:
152 |             let mode = mode_t(self.centralDirectoryStructure.externalFileAttributes >> 16) & S_IFMT
    |                                                                                            |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                                                                                            `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
153 |             switch mode {
154 |             case S_IFREG:
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:196:15: error: cannot find 'lchmod' in scope
194 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
    |               `- error: cannot find 'lchmod' in scope
197 |             throw POSIXError(errno, path: url.path)
198 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:197:30: error: cannot find 'errno' in scope
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
197 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
198 |         }
199 |     }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:203:24: error: cannot find 'stat' in scope
201 |     func setSymlinkModificationDate(_ modificationDate: Date, ofItemAtURL url: URL) throws {
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:204:15: error: cannot find 'lstat' in scope
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
    |               `- error: cannot find 'lstat' in scope
205 |             throw POSIXError(errno, path: url.path)
206 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:205:30: error: cannot find 'errno' in scope
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
206 |         }
207 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:215:34: error: cannot find 'errno' in scope
213 |         try array.withUnsafeBufferPointer {
214 |             guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
215 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
216 |             }
217 |         }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:241:72: error: cannot find 'S_IFMT' in scope
239 |         switch osType {
240 |         case .unix, .osx:
241 |             let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
    |                                                                        `- error: cannot find 'S_IFMT' in scope
242 |             let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
243 |             return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:253:30: error: cannot find 'S_IFREG' in scope
251 |         switch type {
252 |         case .file:
253 |             typeInt = UInt16(S_IFREG)
    |                              `- error: cannot find 'S_IFREG' in scope
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:255:30: error: cannot find 'S_IFDIR' in scope
253 |             typeInt = UInt16(S_IFREG)
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
    |                              `- error: cannot find 'S_IFDIR' in scope
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:257:30: error: cannot find 'S_IFLNK' in scope
255 |             typeInt = UInt16(S_IFDIR)
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
    |                              `- error: cannot find 'S_IFLNK' in scope
258 |         }
259 |         var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:267:24: error: cannot find 'stat' in scope
265 |         let fileManager = FileManager()
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
268 |         lstat(entryFileSystemRepresentation, &fileStat)
269 |         let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:268:9: error: cannot find 'lstat' in scope
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
268 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
269 |         let permissions = fileStat.st_mode
270 |         return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:279:24: error: cannot find 'stat' in scope
277 |         }
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
280 |         lstat(entryFileSystemRepresentation, &fileStat)
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:280:9: error: cannot find 'lstat' in scope
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
280 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
282 |         let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:299:21: error: cannot find 'stat' in scope
297 |
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
    |                     `- error: cannot find 'stat' in scope
300 |         lstat(entryFileSystemRepresentation, &stats)
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:300:9: error: cannot find 'lstat' in scope
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
300 |         lstat(entryFileSystemRepresentation, &stats)
    |         `- error: cannot find 'lstat' in scope
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
302 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:313:24: error: cannot find 'stat' in scope
311 |         }
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
314 |         lstat(entryFileSystemRepresentation, &fileStat)
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:314:9: error: cannot find 'lstat' in scope
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
314 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
316 |     }
[221/657] Compiling vpaes-armv8-win.S
[221/657] Compiling vpaes-x86-linux.S
[221/657] Compiling vpaes-x86-apple.S
[221/657] Compiling vpaes-x86_64-apple.S
[222/657] Compiling FileIO FileIO.swift
BUILD FAILURE 6.2 android