The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppStoreConnect-Swift-SDK, reference master (cbc9b7), with Swift 6.2 for Android on 31 Mar 2026 01:49:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AvdLee/appstoreconnect-swift-sdk.git
Reference: master
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/AvdLee/appstoreconnect-swift-sdk
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at cbc9b7f Merge pull request #338 from AvdLee/patch-spec-for-winback-offers
Cloned https://github.com/AvdLee/appstoreconnect-swift-sdk.git
Revision (git rev-parse @):
cbc9b7f0ef2b38cd66a53e885ad47c1c483c4b72
SUCCESS checkout https://github.com/AvdLee/appstoreconnect-swift-sdk.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/AvdLee/appstoreconnect-swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ddd4edb33d5d885e17caac0b97dcd74ed916c6d1fa6d49f38e53038953d2cc51
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/weichsel/ZIPFoundation
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/CreateAPI/URLQueryEncoder.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/apple/swift-argument-parser
[1/128] Fetching urlqueryencoder
[126/6091] Fetching urlqueryencoder, zipfoundation
[368/29368] Fetching urlqueryencoder, zipfoundation, swift-collections
[1311/46839] Fetching urlqueryencoder, zipfoundation, swift-collections, swift-argument-parser
[2767/64115] Fetching urlqueryencoder, zipfoundation, swift-collections, swift-argument-parser, swift-crypto
[2768/72399] Fetching urlqueryencoder, zipfoundation, swift-collections, swift-argument-parser, swift-crypto, opencombine
Fetched https://github.com/apple/swift-argument-parser from cache (2.55s)
[35320/54928] Fetching urlqueryencoder, zipfoundation, swift-collections, swift-crypto, opencombine
Fetched https://github.com/CreateAPI/URLQueryEncoder.git from cache (4.44s)
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (4.46s)
Fetched https://github.com/apple/swift-collections.git from cache (4.50s)
Fetched https://github.com/weichsel/ZIPFoundation from cache (4.71s)
Fetched https://github.com/apple/swift-crypto.git from cache (4.76s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (5.68s)
Computing version for https://github.com/weichsel/ZIPFoundation
Computed https://github.com/weichsel/ZIPFoundation at 0.9.20 (0.62s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.74s)
Computing version for https://github.com/CreateAPI/URLQueryEncoder.git
Computed https://github.com/CreateAPI/URLQueryEncoder.git at 0.2.1 (1.06s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (1.04s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.70s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (2.54s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (7.02s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.6
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/weichsel/ZIPFoundation
Working copy of https://github.com/weichsel/ZIPFoundation resolved at 0.9.20
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/CreateAPI/URLQueryEncoder.git
Working copy of https://github.com/CreateAPI/URLQueryEncoder.git resolved at 0.2.1
Downloading binary artifact https://github.com/CreateAPI/CreateAPI/releases/download/0.2.0/create-api.artifactbundle.zip
[1369/5323848] Downloading https://github.com/CreateAPI/CreateAPI/releases/download/0.2.0/create-api.artifactbundle.zip
Downloaded https://github.com/CreateAPI/CreateAPI/releases/download/0.2.0/create-api.artifactbundle.zip (0.86s)
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/OpenAPI/app_store_connect_api.json.orig': File not found.
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
[1/1] Compiling plugin CreateAPI
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/393] Write sources
[12/393] Write swift-version--11D90AFD9DD3AB2.txt
[13/393] Compiling curve25519_64_adx.cc
[14/393] Compiling conf.cc
[15/393] Compiling pbkdf.cc
[16/393] Compiling fork_detect.cc
[17/401] Compiling fiat_p256_adx_sqr.S
[18/430] Compiling x509_txt.cc
[19/432] Compiling fiat_p256_adx_mul.S
[20/432] Compiling fiat_curve25519_adx_square.S
[21/432] Compiling cms.cc
[22/432] Compiling md5-x86_64-linux.S
[23/432] Compiling fiat_curve25519_adx_mul.S
[24/432] Compiling CCryptoBoringSSLShims shims.c
[25/432] Compiling md5-x86_64-apple.S
[26/432] Compiling md5-586-linux.S
[27/432] Compiling md5-586-apple.S
[28/432] Compiling chacha20_poly1305_x86_64-linux.S
[29/432] Compiling chacha20_poly1305_x86_64-apple.S
[30/432] Compiling chacha20_poly1305_armv8-win.S
[31/432] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[32/432] Compiling chacha20_poly1305_armv8-apple.S
[33/432] Compiling chacha-x86_64-linux.S
[34/432] Compiling chacha-x86_64-apple.S
[35/432] Compiling chacha20_poly1305_armv8-linux.S
[36/432] Compiling chacha-x86-linux.S
[37/432] Compiling chacha-x86-apple.S
[38/432] Compiling chacha-armv8-win.S
[39/432] Compiling err_data.cc
[40/432] Compiling chacha-armv4-linux.S
[41/432] Compiling chacha-armv8-apple.S
[42/433] Compiling chacha-armv8-linux.S
[43/454] Compiling aes128gcmsiv-x86_64-linux.S
[44/492] Compiling aes128gcmsiv-x86_64-apple.S
[45/504] Compiling x86_64-mont5-apple.S
[46/509] Compiling x86_64-mont5-linux.S
[47/514] Compiling x86_64-mont-linux.S
[48/524] Compiling x86_64-mont-apple.S
[49/524] Compiling x86-mont-linux.S
[50/524] Compiling x86-mont-apple.S
[51/524] Compiling vpaes-x86_64-linux.S
[52/524] Compiling vpaes-x86_64-apple.S
[53/524] Compiling vpaes-x86-linux.S
[54/524] Compiling vpaes-x86-apple.S
[55/524] Compiling vpaes-armv8-win.S
[56/524] Compiling vpaes-armv8-apple.S
[57/524] Compiling vpaes-armv8-linux.S
[58/524] Compiling vpaes-armv7-linux.S
[59/524] Compiling sha512-x86_64-linux.S
[60/524] Compiling sha512-x86_64-apple.S
[61/524] Compiling sha512-armv8-win.S
[62/524] Compiling sha512-armv8-linux.S
[63/524] Compiling sha512-armv8-apple.S
[64/524] Compiling sha512-armv4-linux.S
[65/524] Compiling sha512-586-linux.S
[66/524] Compiling sha512-586-apple.S
[67/524] Compiling sha256-x86_64-linux.S
[68/524] Compiling sha256-x86_64-apple.S
[69/524] Compiling sha256-armv8-win.S
[70/524] Compiling sha256-armv8-apple.S
[71/524] Compiling sha256-armv8-linux.S
[72/524] Compiling sha256-586-linux.S
[73/524] Compiling sha256-armv4-linux.S
[74/524] Compiling sha256-586-apple.S
[75/524] Compiling sha1-x86_64-linux.S
[76/524] Compiling sha1-x86_64-apple.S
[77/524] Compiling sha1-armv8-win.S
[78/524] Compiling sha1-armv8-linux.S
[79/524] Compiling sha1-armv8-apple.S
[80/524] Compiling sha1-armv4-large-linux.S
[81/524] Compiling sha1-586-linux.S
[82/524] Compiling sha1-586-apple.S
[83/524] Compiling rsaz-avx2-linux.S
[84/524] Compiling rsaz-avx2-apple.S
[85/524] Compiling rdrand-x86_64-apple.S
[86/524] Compiling rdrand-x86_64-linux.S
[87/524] Compiling p256_beeu-x86_64-asm-linux.S
[88/524] Compiling p256_beeu-x86_64-asm-apple.S
[89/524] Compiling p256_beeu-armv8-asm-win.S
[90/524] Compiling p256_beeu-armv8-asm-apple.S
[91/524] Compiling p256_beeu-armv8-asm-linux.S
[92/524] Compiling p256-x86_64-asm-linux.S
[93/524] Compiling p256-x86_64-asm-apple.S
[94/524] Compiling p256-armv8-asm-win.S
[95/524] Compiling p256-armv8-asm-linux.S
[96/524] Compiling p256-armv8-asm-apple.S
[97/524] Compiling ghashv8-armv8-win.S
[98/524] Compiling ghashv8-armv8-linux.S
[99/524] Compiling ghash-x86_64-linux.S
[100/524] Compiling ghashv8-armv7-linux.S
[101/524] Compiling ghash-x86_64-apple.S
[102/524] Compiling ghashv8-armv8-apple.S
[103/524] Compiling ghash-x86-apple.S
[104/524] Compiling ghash-ssse3-x86_64-linux.S
[104/524] Compiling ghash-x86-linux.S
[106/524] Compiling ghash-ssse3-x86_64-apple.S
[107/524] Compiling ghash-ssse3-x86-apple.S
[108/524] Compiling ghash-ssse3-x86-linux.S
[109/524] Compiling ghash-neon-armv8-win.S
[110/524] Compiling ghash-neon-armv8-linux.S
[111/524] Compiling ghash-neon-armv8-apple.S
[112/524] Compiling co-586-linux.S
[113/524] Compiling ghash-armv4-linux.S
[114/524] Compiling co-586-apple.S
[115/524] Compiling bsaes-armv7-linux.S
[116/524] Compiling bn-armv8-win.S
[117/524] Compiling bn-armv8-linux.S
[118/524] Compiling bn-armv8-apple.S
[119/524] Compiling bn-586-linux.S
[120/524] Compiling armv8-mont-win.S
[121/524] Compiling bn-586-apple.S
[122/524] Compiling armv8-mont-linux.S
[123/524] Compiling armv8-mont-apple.S
[124/524] Compiling armv4-mont-linux.S
[125/524] Compiling aesv8-gcm-armv8-apple.S
[126/524] Compiling aesv8-gcm-armv8-win.S
[127/524] Compiling aesv8-gcm-armv8-linux.S
[128/524] Compiling aesv8-armv8-win.S
[129/524] Compiling aesv8-armv8-apple.S
[130/524] Compiling aesv8-armv8-linux.S
[131/524] Compiling aesv8-armv7-linux.S
[132/524] Compiling aesni-x86_64-linux.S
[133/524] Compiling aesni-x86_64-apple.S
[134/524] Compiling aesni-x86-linux.S
[135/524] Compiling aesni-x86-apple.S
[136/524] Compiling aesni-gcm-x86_64-linux.S
[137/524] Compiling aesni-gcm-x86_64-apple.S
[138/524] Compiling aes-gcm-avx512-x86_64-apple.S
[139/524] Compiling aes-gcm-avx512-x86_64-linux.S
[141/524] Emitting module OpenCombine
[141/525] Compiling aes-gcm-avx2-x86_64-linux.S
[142/536] Compiling aes-gcm-avx2-x86_64-apple.S
[144/536] Emitting module URLQueryEncoder
[144/536] Compiling xwing.cc
[146/536] Compiling OpenCombine GENERATED-RootProtocols.swift
[147/536] Compiling OpenCombine Utils.swift
[148/536] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[149/536] Compiling OpenCombine CurrentValueSubject.swift
[150/536] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[151/536] Compiling OpenCombine Future.swift
[151/538] Compiling x_spki.cc
[153/538] Compiling OpenCombine Violations.swift
[154/538] Compiling OpenCombine ImmediateScheduler.swift
[155/538] Compiling OpenCombine ConcurrencyHelpers.swift
[156/538] Compiling OpenCombine Future+Concurrency.swift
[157/538] Compiling OpenCombine Cancellable.swift
[158/538] Compiling OpenCombine Codable.swift
[159/538] Compiling OpenCombine CombineIdentifier.swift
[160/538] Emitting module InternalCollectionsUtilities
[161/538] Compiling OpenCombine AnyCancellable.swift
[162/538] Compiling OpenCombine AnyPublisher.swift
[163/538] Compiling OpenCombine AnySubscriber.swift
[167/538] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[168/538] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[169/538] Compiling OpenCombine Published.swift
[170/538] Compiling OpenCombine Publisher+Subscribe.swift
[171/538] Compiling OpenCombine Deferred.swift
[172/538] Compiling OpenCombine Empty.swift
[173/538] Compiling OpenCombine Fail.swift
[174/538] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[175/538] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[176/538] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[177/538] Compiling OpenCombine Just.swift
[178/538] Compiling OpenCombine Optional.Publisher.swift
[179/538] Compiling OpenCombine Publishers.AllSatisfy.swift
[180/538] Compiling OpenCombine Publishers.AssertNoFailure.swift
[181/538] Compiling OpenCombine Publishers.Autoconnect.swift
[182/538] Compiling OpenCombine Publishers.Breakpoint.swift
[183/538] Compiling OpenCombine Publishers.Buffer.swift
[184/538] Compiling OpenCombine Publishers.Collect.swift
[185/538] Compiling OpenCombine Publishers.CollectByCount.swift
[186/538] Compiling OpenCombine Publishers.CompactMap.swift
[187/538] Compiling OpenCombine Publishers.Comparison.swift
[188/538] Compiling OpenCombine Publishers.Concatenate.swift
[189/538] Compiling OpenCombine Publishers.Contains.swift
[190/538] Compiling OpenCombine ConduitBase.swift
[191/538] Compiling OpenCombine ConduitList.swift
[192/538] Compiling OpenCombine DebugHook.swift
[193/538] Compiling OpenCombine FilterProducer.swift
[194/538] Compiling OpenCombine Locking.swift
[195/538] Compiling OpenCombine PartialCompletion.swift
[196/538] Compiling OpenCombine PublishedSubject.swift
[197/538] Compiling OpenCombine PublishedSubscriber.swift
[198/538] Compiling OpenCombine ReduceProducer.swift
[199/538] Compiling OpenCombine SubjectSubscriber.swift
[200/538] Compiling OpenCombine SubscriberTap.swift
[201/538] Compiling OpenCombine SubscriptionStatus.swift
[202/538] Compiling OpenCombine SubscriptionTap.swift
[203/538] Compiling OpenCombine Publishers.Map.swift
[204/538] Compiling OpenCombine Publishers.MapError.swift
[205/538] Compiling OpenCombine Publishers.MeasureInterval.swift
[206/538] Compiling OpenCombine Publishers.Multicast.swift
[207/538] Compiling OpenCombine Publishers.Output.swift
[208/538] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[209/538] Compiling OpenCombine Publishers.PrefixWhile.swift
[210/538] Compiling OpenCombine Publishers.Print.swift
[211/538] Compiling OpenCombine Publishers.ReceiveOn.swift
[212/538] Compiling OpenCombine Publishers.Reduce.swift
[213/538] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[214/538] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[215/538] Compiling OpenCombine Publishers.ReplaceError.swift
[216/538] Compiling OpenCombine Publishers.Count.swift
[217/538] Compiling OpenCombine Publishers.Debounce.swift
[218/538] Compiling OpenCombine Publishers.Delay.swift
[219/538] Compiling OpenCombine Publishers.Drop.swift
[220/538] Compiling OpenCombine Publishers.DropUntilOutput.swift
[221/538] Compiling OpenCombine Publishers.DropWhile.swift
[222/538] Compiling OpenCombine Publishers.Filter.swift
[223/538] Compiling OpenCombine Publishers.First.swift
[224/538] Compiling OpenCombine Publishers.FlatMap.swift
[225/538] Compiling OpenCombine Publishers.HandleEvents.swift
[226/538] Compiling OpenCombine Publishers.IgnoreOutput.swift
[227/538] Compiling OpenCombine Publishers.Last.swift
[228/538] Compiling OpenCombine Publishers.MakeConnectable.swift
[228/538] Compiling x_x509a.cc
[246/539] Compiling OpenCombine Publishers.Retry.swift
[247/539] Compiling OpenCombine Publishers.Scan.swift
[248/539] Compiling OpenCombine Publishers.Sequence.swift
[249/539] Compiling OpenCombine Publishers.SetFailureType.swift
[250/539] Compiling OpenCombine Publishers.Share.swift
[251/539] Compiling OpenCombine Publishers.SubscribeOn.swift
[252/539] Compiling OpenCombine Publishers.SwitchToLatest.swift
[253/539] Compiling OpenCombine Publishers.Throttle.swift
[254/539] Compiling OpenCombine Publishers.Timeout.swift
[255/539] Compiling OpenCombine Publishers.Zip.swift
[256/539] Compiling OpenCombine Publishers.swift
[257/539] Compiling OpenCombine Record.swift
[258/539] Compiling OpenCombine Result.Publisher.swift
[258/539] Compiling x_req.cc
[259/539] Compiling x_x509.cc
[261/539] Compiling OpenCombine Result.swift
[262/539] Compiling OpenCombine Scheduler.swift
[263/539] Compiling OpenCombine Subject+Void.swift
[264/539] Compiling OpenCombine Subscriber+Void.swift
[265/539] Compiling OpenCombine Subscribers.Assign.swift
[266/539] Compiling OpenCombine Subscribers.Completion.swift
[267/539] Compiling OpenCombine Subscribers.Demand.swift
[268/539] Compiling OpenCombine Subscribers.Sink.swift
[269/539] Compiling OpenCombine Subscribers.swift
[270/539] Compiling OpenCombine Subscription.swift
[271/539] Compiling OpenCombine Subscriptions.swift
[272/539] Compiling OpenCombine _Introspection.swift
[273/540] Compiling x_sig.cc
[274/540] Compiling x_pubkey.cc
[275/540] Compiling x_name.cc
[276/540] Compiling x_exten.cc
[277/540] Compiling x_crl.cc
[278/540] Compiling x_attrib.cc
[279/540] Compiling x_all.cc
[280/540] Compiling x_algor.cc
/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:150:42: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
148 |             // Use truncatingIfNeeded for safer conversion across platforms
149 |             let modeValue = UInt16(truncatingIfNeeded: self.centralDirectoryStructure.externalFileAttributes >> 16)
150 |             let mode = mode_t(modeValue) & 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)
151 |             switch mode {
152 |             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-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/.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-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/.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-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/.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:150:42: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
148 |             // Use truncatingIfNeeded for safer conversion across platforms
149 |             let modeValue = UInt16(truncatingIfNeeded: self.centralDirectoryStructure.externalFileAttributes >> 16)
150 |             let mode = mode_t(modeValue) & 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)
151 |             switch mode {
152 |             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-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/.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-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/.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-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/.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/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[292/542] 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-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/.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-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/.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-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/.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-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/.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-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/.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-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/.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+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-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/.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-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/.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-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/.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-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/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:283:9: error: cannot find 'ftruncate' in scope
281 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
282 |         fflush(self.archiveFile)
283 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
284 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
285 |         _ = 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-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/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:283:9: error: cannot find 'ftruncate' in scope
281 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
282 |         fflush(self.archiveFile)
283 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
284 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
285 |         _ = 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-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/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:283:9: error: cannot find 'ftruncate' in scope
281 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
282 |         fflush(self.archiveFile)
283 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
284 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
285 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
[301/542] Compiling x509spki.cc
[302/542] Compiling x509rset.cc
[304/542] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[305/542] Compiling ZIPFoundation URL+ZIP.swift
[306/542] Compiling URLQueryEncoder URLQueryEncoder.swift
[307/543] Compiling x509name.cc
[308/543] Compiling x509cset.cc
[309/543] Compiling x509_vpm.cc
[310/543] Compiling x509_vfy.cc
[311/543] Compiling x509_v3.cc
[312/543] Compiling x509_trs.cc
[313/543] Compiling x509_req.cc
[314/543] Compiling x509_set.cc
[315/543] Compiling x509_lu.cc
[316/543] Compiling x509_obj.cc
[317/543] Compiling x509_ext.cc
[318/543] Compiling x509_def.cc
[319/543] Compiling x509_d2.cc
[320/543] Compiling x509_cmp.cc
[321/543] Compiling x509_att.cc
[322/543] Compiling x509.cc
[323/543] Compiling v3_skey.cc
[324/543] Compiling v3_purp.cc
[325/543] Compiling v3_utl.cc
[326/543] Compiling v3_pmaps.cc
[327/543] Compiling v3_prn.cc
[328/543] Compiling v3_pcons.cc
[329/543] Compiling v3_ocsp.cc
[330/543] Compiling v3_ncons.cc
[331/543] Compiling v3_lib.cc
[332/543] Compiling v3_int.cc
[333/543] Compiling v3_info.cc
[334/543] Compiling v3_ia5.cc
[335/543] Compiling v3_genn.cc
[336/543] Compiling v3_enum.cc
[337/543] Compiling v3_extku.cc
[338/543] Compiling v3_crld.cc
[339/543] Wrapping AST for InternalCollectionsUtilities for debugging
[340/598] Compiling v3_akeya.cc
[340/598] Compiling v3_bcons.cc
[340/598] Compiling v3_bitst.cc
[340/598] Compiling v3_conf.cc
[340/598] Compiling v3_cpols.cc
[340/598] Compiling v3_alt.cc
BUILD FAILURE 6.2 android