Build Information
Failed to build AppStoreConnect-Swift-SDK, reference master (f84d9a), with Swift 6.3 for Android on 12 Oct 2026 11:11:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
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 f84d9a5 Merge pull request #351 from AvdLee/spec-update-4.5.1
Cloned https://github.com/AvdLee/appstoreconnect-swift-sdk.git
Revision (git rev-parse @):
f84d9a552a5ec63d0f86f71f370a66ea588fd1c2
SUCCESS checkout https://github.com/AvdLee/appstoreconnect-swift-sdk.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/AvdLee/appstoreconnect-swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:a57e63703100e13e1ecb61b565870501ccb169d7515bc7af7f0994f211e1b1f6
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/weichsel/ZIPFoundation
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/CreateAPI/URLQueryEncoder.git
[1/128] Fetching urlqueryencoder
Fetched https://github.com/CreateAPI/URLQueryEncoder.git from cache (0.38s)
[1/18629] Fetching swift-crypto
[747/25100] Fetching swift-crypto, zipfoundation
[1767/33406] Fetching swift-crypto, zipfoundation, opencombine
[5052/52518] Fetching swift-crypto, zipfoundation, opencombine, swift-argument-parser
[33990/81221] Fetching swift-crypto, zipfoundation, opencombine, swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-argument-parser from cache (0.93s)
Fetched https://github.com/weichsel/ZIPFoundation from cache (0.93s)
[25688/55638] Fetching swift-crypto, opencombine, swift-collections
Fetched https://github.com/apple/swift-crypto.git from cache (1.34s)
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (1.46s)
Fetched https://github.com/apple/swift-collections.git from cache (1.47s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (1.68s)
Computing version for https://github.com/weichsel/ZIPFoundation
Computed https://github.com/weichsel/ZIPFoundation at 0.9.20 (0.15s)
Computing version for https://github.com/CreateAPI/URLQueryEncoder.git
Computed https://github.com/CreateAPI/URLQueryEncoder.git at 0.2.1 (0.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (0.28s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.23s)
Fetching https://github.com/apple/swift-asn1.git
[1/2009] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.43s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.35s)
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.6
Downloading binary artifact https://github.com/CreateAPI/CreateAPI/releases/download/0.2.0/create-api.artifactbundle.zip
[16375/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.62s)
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] Compiling fiat_curve25519_adx_square.S
[13/393] Compiling fiat_p256_adx_mul.S
[14/393] Compiling fiat_p256_adx_sqr.S
[15/393] Compiling fiat_curve25519_adx_mul.S
[16/393] Compiling md5-x86_64-linux.S
[17/393] Write swift-version-272D24FF697CF451.txt
[18/393] Compiling md5-x86_64-apple.S
[19/393] Compiling md5-586-apple.S
[20/393] Compiling md5-586-linux.S
[21/393] Compiling chacha20_poly1305_x86_64-linux.S
[22/395] Compiling chacha20_poly1305_x86_64-apple.S
[23/398] Compiling chacha20_poly1305_armv8-win.S
[24/432] Compiling chacha20_poly1305_armv8-apple.S
[25/432] Compiling chacha20_poly1305_armv8-linux.S
[26/432] Compiling CCryptoBoringSSLShims shims.c
[27/432] Compiling chacha-x86_64-linux.S
[28/432] Compiling chacha-x86-linux.S
[29/432] Compiling chacha-x86_64-apple.S
[30/432] Compiling chacha-x86-apple.S
[31/432] Compiling chacha-armv8-win.S
[32/432] Compiling chacha-armv4-linux.S
[33/432] Compiling chacha-armv8-apple.S
[34/432] Compiling chacha-armv8-linux.S
[35/432] Compiling aes128gcmsiv-x86_64-linux.S
[36/432] Compiling aes128gcmsiv-x86_64-apple.S
[37/432] Compiling x86_64-mont5-apple.S
[38/432] Compiling x86_64-mont5-linux.S
[39/432] Compiling x86_64-mont-linux.S
[40/432] Compiling x86_64-mont-apple.S
[41/432] Compiling x86-mont-linux.S
[42/432] Compiling x86-mont-apple.S
[43/432] Compiling vpaes-x86_64-linux.S
[44/432] Compiling vpaes-x86_64-apple.S
[45/432] Compiling vpaes-x86-linux.S
[46/432] Compiling vpaes-x86-apple.S
[47/432] Compiling vpaes-armv8-win.S
[48/432] Compiling vpaes-armv7-linux.S
[49/432] Compiling vpaes-armv8-apple.S
[50/432] Compiling vpaes-armv8-linux.S
[51/432] Compiling sha512-x86_64-linux.S
[52/432] Compiling sha512-armv8-win.S
[53/432] Compiling sha512-x86_64-apple.S
[54/432] Compiling sha512-armv8-apple.S
[55/432] Compiling sha512-armv4-linux.S
[56/432] Compiling sha512-586-linux.S
[57/432] Compiling sha512-armv8-linux.S
[58/432] Compiling sha512-586-apple.S
[59/432] Compiling sha256-x86_64-linux.S
[60/432] Compiling sha256-x86_64-apple.S
[61/432] Compiling sha256-armv8-win.S
[63/432] Emitting module InternalCollectionsUtilities
[63/434] Compiling sha256-armv8-apple.S
[64/434] Compiling sha256-armv8-linux.S
[65/434] Compiling sha256-armv4-linux.S
[66/434] Compiling err_data.cc
[67/434] Compiling sha256-586-linux.S
[68/434] Compiling sha256-586-apple.S
[69/434] Compiling sha1-x86_64-apple.S
[70/434] Compiling sha1-x86_64-linux.S
[71/434] Compiling sha1-armv8-win.S
[72/434] Compiling sha1-armv8-apple.S
[73/434] Compiling sha1-armv4-large-linux.S
[74/434] Compiling sha1-armv8-linux.S
[75/434] Compiling sha1-586-linux.S
[76/434] Compiling rsaz-avx2-linux.S
[77/434] Compiling sha1-586-apple.S
[78/434] Compiling rsaz-avx2-apple.S
[79/434] Compiling rdrand-x86_64-linux.S
[80/434] Compiling rdrand-x86_64-apple.S
[81/434] Compiling p256_beeu-x86_64-asm-linux.S
[82/434] Compiling p256_beeu-x86_64-asm-apple.S
[83/434] Compiling p256_beeu-armv8-asm-win.S
[84/434] Compiling p256_beeu-armv8-asm-apple.S
[85/434] Compiling p256_beeu-armv8-asm-linux.S
[86/434] Compiling p256-x86_64-asm-apple.S
[87/434] Compiling p256-x86_64-asm-linux.S
[88/434] Compiling p256-armv8-asm-win.S
[89/434] Compiling ghashv8-armv8-win.S
[90/434] Compiling p256-armv8-asm-apple.S
[91/434] Compiling p256-armv8-asm-linux.S
[92/434] Compiling ghashv8-armv8-linux.S
[93/434] Compiling ghashv8-armv8-apple.S
[94/434] Compiling ghashv8-armv7-linux.S
[95/434] Compiling ghash-x86_64-linux.S
[96/434] Compiling ghash-x86-linux.S
[97/434] Compiling ghash-ssse3-x86_64-linux.S
[98/434] Compiling ghash-x86-apple.S
[99/434] Compiling ghash-x86_64-apple.S
[100/434] Compiling ghash-ssse3-x86-linux.S
[101/434] Compiling ghash-ssse3-x86_64-apple.S
[102/434] Compiling ghash-neon-armv8-win.S
[102/434] Compiling ghash-ssse3-x86-apple.S
[104/434] Compiling ghash-armv4-linux.S
[105/434] Compiling co-586-linux.S
[105/434] Compiling ghash-neon-armv8-linux.S
[107/434] Compiling ghash-neon-armv8-apple.S
[108/434] Compiling bsaes-armv7-linux.S
[109/434] Compiling co-586-apple.S
[110/434] Compiling bn-armv8-win.S
[111/434] Compiling bn-armv8-linux.S
[112/434] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[113/434] Compiling bn-armv8-apple.S
[114/434] Compiling bn-586-apple.S
[114/434] Compiling bn-586-linux.S
[116/434] Compiling armv8-mont-win.S
[117/434] Compiling armv8-mont-linux.S
[118/434] Compiling armv8-mont-apple.S
[119/434] Compiling armv4-mont-linux.S
[120/434] Compiling aesv8-gcm-armv8-win.S
[121/434] Compiling aesv8-gcm-armv8-apple.S
[122/434] Compiling aesv8-armv8-win.S
[123/434] Compiling aesv8-gcm-armv8-linux.S
[124/435] Compiling aesv8-armv8-apple.S
[125/435] Compiling aesv8-armv8-linux.S
[126/447] Compiling aesv8-armv7-linux.S
[127/457] Compiling aesni-x86_64-linux.S
[128/463] Compiling aesni-x86_64-apple.S
[129/473] Compiling aesni-x86-linux.S
[130/497] Compiling aesni-gcm-x86_64-apple.S
[131/500] Compiling aesni-x86-apple.S
[132/500] Compiling aes-gcm-avx512-x86_64-linux.S
[133/503] Compiling aesni-gcm-x86_64-linux.S
[134/526] Compiling aes-gcm-avx512-x86_64-apple.S
[135/526] Compiling aes-gcm-avx2-x86_64-linux.S
[136/526] Compiling aes-gcm-avx2-x86_64-apple.S
[137/526] Compiling xwing.cc
[138/526] Compiling x_spki.cc
[139/526] Compiling x_x509.cc
[140/526] Compiling x_x509a.cc
[142/526] Compiling OpenCombine Publishers.Multicast.swift
[143/526] Compiling OpenCombine Publishers.Output.swift
[144/526] Compiling OpenCombine AnyCancellable.swift
[145/526] Compiling OpenCombine AnyPublisher.swift
[146/526] Compiling OpenCombine AnySubscriber.swift
[147/526] Compiling OpenCombine Cancellable.swift
[148/526] Compiling OpenCombine Codable.swift
[149/526] Compiling OpenCombine CombineIdentifier.swift
[150/526] Compiling OpenCombine ConcurrencyHelpers.swift
[151/526] Compiling OpenCombine Future+Concurrency.swift
[152/526] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[153/526] Compiling OpenCombine CurrentValueSubject.swift
[154/526] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[155/526] Compiling OpenCombine Future.swift
[156/526] Compiling OpenCombine GENERATED-RootProtocols.swift
[157/538] Compiling OpenCombine Publishers.Map.swift
[158/538] Compiling OpenCombine Publishers.MapError.swift
[159/538] Compiling OpenCombine Publishers.MeasureInterval.swift
[162/538] Compiling OpenCombine ConduitBase.swift
[163/538] Compiling OpenCombine ConduitList.swift
[164/538] Compiling OpenCombine DebugHook.swift
[165/538] Compiling OpenCombine FilterProducer.swift
[166/538] Compiling OpenCombine Locking.swift
[167/538] Compiling OpenCombine PartialCompletion.swift
[168/538] Compiling OpenCombine PublishedSubject.swift
[169/538] Compiling OpenCombine PublishedSubscriber.swift
[170/538] Compiling OpenCombine ReduceProducer.swift
[171/538] Compiling OpenCombine SubjectSubscriber.swift
[172/538] Compiling OpenCombine SubscriberTap.swift
[173/538] Compiling OpenCombine SubscriptionStatus.swift
[174/538] Compiling OpenCombine SubscriptionTap.swift
[179/538] Emitting module OpenCombine
[179/538] Compiling x_req.cc
[188/587] Compiling x_sig.cc
[190/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[191/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[192/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[193/594] Compiling OrderedCollections OrderedDictionary.swift
[194/594] Compiling OrderedCollections OrderedSet+Codable.swift
[195/594] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[196/594] Compiling OrderedCollections OrderedSet+Descriptions.swift
[197/594] Compiling OrderedCollections OrderedSet+Diffing.swift
[198/594] Compiling OrderedCollections OrderedSet+Equatable.swift
[199/594] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[200/594] Compiling OrderedCollections OrderedSet+Hashable.swift
[201/594] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[202/594] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[202/594] Wrapping AST for InternalCollectionsUtilities for debugging
[203/594] Compiling x_name.cc
[205/594] Compiling OpenCombine Just.swift
[206/594] Compiling OpenCombine Optional.Publisher.swift
[207/594] Compiling OpenCombine Publishers.AllSatisfy.swift
[208/594] Compiling OpenCombine Publishers.AssertNoFailure.swift
[209/594] Compiling OpenCombine Publishers.Autoconnect.swift
[210/594] Compiling OpenCombine Publishers.Breakpoint.swift
[211/594] Compiling OpenCombine Publishers.Buffer.swift
[212/594] Compiling OpenCombine Publishers.Collect.swift
[213/594] Compiling OpenCombine Publishers.CollectByCount.swift
[214/594] Compiling OpenCombine Publishers.CompactMap.swift
[215/594] Compiling OpenCombine Publishers.Comparison.swift
[216/594] Compiling OpenCombine Publishers.Concatenate.swift
[217/594] Compiling OpenCombine Publishers.Contains.swift
[217/594] Compiling x_pubkey.cc
[219/594] Compiling OrderedCollections OrderedDictionary+Codable.swift
[220/594] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[221/594] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[222/594] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[223/594] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[224/594] Compiling OrderedCollections OrderedDictionary+Elements.swift
[225/594] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[226/594] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[227/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[228/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[229/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[230/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[231/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[232/594] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[233/594] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[234/594] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[235/594] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[236/594] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[237/594] Compiling OrderedCollections OrderedDictionary+Values.swift
[238/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[239/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[240/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[241/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[242/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[243/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[244/594] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[245/594] Compiling OpenCombine Result.swift
[246/594] Compiling OpenCombine Scheduler.swift
[247/594] Compiling OpenCombine Subject+Void.swift
[248/594] Compiling OpenCombine Subscriber+Void.swift
[249/594] Compiling OpenCombine Subscribers.Assign.swift
[250/594] Compiling OpenCombine Subscribers.Completion.swift
[251/594] Compiling OpenCombine Subscribers.Demand.swift
[252/594] Compiling OpenCombine Subscribers.Sink.swift
[253/594] Compiling OpenCombine Subscribers.swift
[254/594] Compiling OpenCombine Subscription.swift
[255/594] Compiling OpenCombine Subscriptions.swift
[256/594] Compiling OpenCombine _Introspection.swift
[270/594] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[271/594] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[279/601] Compiling OrderedCollections OrderedSet+Initializers.swift
[280/601] Compiling OrderedCollections OrderedSet+Insertions.swift
[281/601] Compiling OrderedCollections OrderedSet+Invariants.swift
[282/601] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[283/601] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[286/601] Compiling x_exten.cc
[287/601] Compiling x_crl.cc
[288/601] Compiling x_attrib.cc
[308/601] Compiling OrderedCollections OrderedSet+Sendable.swift
[309/601] Compiling OrderedCollections OrderedSet+SubSequence.swift
[310/601] Compiling OrderedCollections OrderedSet+Testing.swift
[311/601] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[312/601] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[313/601] Compiling OrderedCollections OrderedSet.swift
[314/601] Compiling OrderedCollections _UnsafeBitset.swift
[315/601] Compiling OpenCombine Publishers.Zip.swift
[316/601] Compiling OpenCombine Publishers.swift
[317/601] Compiling OpenCombine Record.swift
[318/601] Compiling OpenCombine Result.Publisher.swift
[320/602] Emitting module OrderedCollections
[321/602] Compiling OrderedCollections _HashTable+Bucket.swift
[322/602] Compiling OrderedCollections _HashTable+BucketIterator.swift
[323/602] Compiling OrderedCollections _HashTable+Constants.swift
[324/602] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[325/602] Compiling OrderedCollections _HashTable+Testing.swift
[326/602] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[327/602] Compiling OrderedCollections _HashTable.swift
[328/602] Compiling OrderedCollections _Hashtable+Header.swift
[328/602] Compiling x_all.cc
[329/602] Compiling x_algor.cc
[330/602] Compiling x509spki.cc
[339/603] Compiling x509rset.cc
[340/603] Wrapping AST for OrderedCollections for debugging
[341/603] Compiling x509cset.cc
[342/603] Compiling x509name.cc
[343/603] Compiling x509_vpm.cc
[344/603] Compiling x509_vfy.cc
/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.3.2-RELEASE_android.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.3.2-RELEASE_android.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.3.2-RELEASE_android.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+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.3.2-RELEASE_android.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.3.2-RELEASE_android.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.3.2-RELEASE_android.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[352/605] 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/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.3.2-RELEASE_android.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.3.2-RELEASE_android.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.3.2-RELEASE_android.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.3.2-RELEASE_android.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.3.2-RELEASE_android.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.3.2-RELEASE_android.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/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.3.2-RELEASE_android.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.3.2-RELEASE_android.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.3.2-RELEASE_android.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.3.2-RELEASE_android.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.3.2-RELEASE_android.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.3.2-RELEASE_android.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
[360/605] Compiling URLQueryEncoder URLQueryEncoder.swift
[361/605] Emitting module URLQueryEncoder
[362/606] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[363/606] Compiling ZIPFoundation URL+ZIP.swift
[364/606] Compiling x509_txt.cc
[365/606] Compiling x509_v3.cc
/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 {
[372/606] Compiling x509_set.cc
[372/606] Compiling x509_def.cc
[372/606] Compiling x509_ext.cc
[372/606] Compiling x509_trs.cc
[372/606] Compiling x509_req.cc
[372/606] Compiling x509_lu.cc
[372/606] Compiling x509_obj.cc
BUILD FAILURE 6.3 android