The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CoreMLLLM, reference main (6273b0), with Swift 6.2 for Android on 21 Nov 2026 13:36:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/john-rocky/CoreML-LLM.git
Reference: main
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/john-rocky/CoreML-LLM
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6273b09 Replace absolute local paths with home-relative ones
Cloned https://github.com/john-rocky/CoreML-LLM.git
Revision (git rev-parse @):
6273b0988cbd11160fb445318456cb600cc5c4c0
SUCCESS checkout https://github.com/john-rocky/CoreML-LLM.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/john-rocky/CoreML-LLM.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:9a42373a341cf0ac994d1354bf172b4b5ee78d50d70e79bac890b78e8d33c52e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/huggingface/swift-transformers
[1/7545] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers from cache (0.68s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.4.0 (0.86s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/apple/swift-crypto.git
[1/3155] Fetching swift-huggingface
[1989/22142] Fetching swift-huggingface, swift-crypto
[3157/24523] Fetching swift-huggingface, swift-crypto, swift-jinja
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.46s)
[928/21368] Fetching swift-crypto, swift-jinja
[4281/51783] Fetching swift-crypto, swift-jinja, swift-collections
[7513/57137] Fetching swift-crypto, swift-jinja, swift-collections, yyjson
Fetched https://github.com/ibireme/yyjson.git from cache (0.96s)
[39664/51783] Fetching swift-crypto, swift-jinja, swift-collections
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.31s)
Fetched https://github.com/apple/swift-collections.git from cache (1.33s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.33s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.13.0 (1.49s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 1.0.1 (0.16s)
Fetching https://github.com/mattt/EventSource.git
[1/333] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.33s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 3.2.1 (0.48s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.6.0 (0.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.24s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.19s)
Fetching https://github.com/apple/swift-asn1.git
[1/2082] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.38s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.57s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 3.2.1
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.6.0
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.4.0
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 1.0.1
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.13.0
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.4
Building for debugging...
[0/436] Write sources
[0/436] Copying gpt2_tokenizer_config.json
[0/436] Copying t5_tokenizer_config.json
[0/436] Write sources
[20/436] Compiling KeccakHash.c
[20/436] Compiling SimpleFIPS202.c
[20/436] Compiling KeccakSponge.c
[23/436] Compiling CXKCPShims shims.c
[24/436] Compiling fiat_p256_adx_mul.S
[25/436] Compiling fiat_curve25519_adx_square.S
[26/436] Compiling fiat_curve25519_adx_mul.S
[27/436] Compiling fiat_p256_adx_sqr.S
[28/436] Compiling md5-586-linux.S
[29/436] Compiling md5-x86_64-linux.S
[30/436] Compiling md5-x86_64-apple.S
[31/436] Compiling md5-586-apple.S
[32/436] Compiling chacha20_poly1305_x86_64-linux.S
[33/436] Compiling chacha20_poly1305_x86_64-apple.S
[34/436] Compiling chacha20_poly1305_armv8-win.S
[35/436] Compiling chacha-x86_64-linux.S
[36/436] Compiling chacha20_poly1305_armv8-apple.S
[37/436] Compiling chacha20_poly1305_armv8-linux.S
[38/436] Compiling chacha-x86_64-apple.S
[39/436] Compiling chacha-x86-linux.S
[40/436] Compiling CCryptoBoringSSLShims shims.c
[41/436] Compiling chacha-x86-apple.S
[42/436] Compiling chacha-armv8-win.S
[43/436] Compiling chacha-armv8-apple.S
[44/436] Compiling chacha-armv4-linux.S
[45/436] Compiling chacha-armv8-linux.S
[46/436] Compiling aes128gcmsiv-x86_64-linux.S
[47/436] Compiling aes128gcmsiv-x86_64-apple.S
[48/436] Compiling x86_64-mont5-linux.S
[49/436] Compiling KeccakP-1600-opt64.c
[50/436] Compiling x86_64-mont-linux.S
[51/436] Compiling x86_64-mont5-apple.S
[52/436] Compiling x86_64-mont-apple.S
[53/436] Compiling x86-mont-apple.S
[54/436] Compiling x86-mont-linux.S
[55/436] Compiling vpaes-x86_64-linux.S
[56/436] Compiling vpaes-x86_64-apple.S
[57/436] Compiling vpaes-x86-linux.S
[58/436] Compiling vpaes-armv8-win.S
[59/436] Compiling vpaes-x86-apple.S
[60/436] Compiling vpaes-armv8-linux.S
[61/436] Compiling vpaes-armv8-apple.S
[62/436] Compiling vpaes-armv7-linux.S
[63/436] Compiling sha512-x86_64-linux.S
[64/436] Compiling sha512-x86_64-apple.S
[65/436] Compiling sha512-armv8-win.S
[66/436] Compiling sha512-armv8-apple.S
[67/436] Compiling sha512-armv8-linux.S
[68/436] Compiling sha512-armv4-linux.S
[69/436] Compiling sha512-586-linux.S
[70/436] Compiling sha512-586-apple.S
[71/436] Compiling sha256-x86_64-linux.S
[72/436] Compiling sha256-x86_64-apple.S
[73/436] Compiling sha256-armv8-win.S
[74/436] Compiling err_data.cc
[75/436] Compiling sha256-armv8-apple.S
[76/436] Compiling sha256-armv4-linux.S
[76/436] Compiling sha256-armv8-linux.S
[78/436] Compiling sha256-586-linux.S
[79/436] Compiling sha256-586-apple.S
[80/436] Compiling sha1-x86_64-linux.S
[81/436] Compiling sha1-x86_64-apple.S
[82/436] Compiling sha1-armv8-win.S
[83/436] Compiling sha1-armv8-apple.S
[84/436] Compiling sha1-armv8-linux.S
[85/436] Compiling sha1-586-linux.S
[86/436] Compiling sha1-armv4-large-linux.S
[87/436] Compiling sha1-586-apple.S
[88/436] Compiling rsaz-avx2-linux.S
[89/436] Compiling rsaz-avx2-apple.S
[90/436] Compiling rdrand-x86_64-linux.S
[91/436] Compiling rdrand-x86_64-apple.S
[92/436] Compiling p256_beeu-x86_64-asm-linux.S
[93/436] Compiling p256_beeu-x86_64-asm-apple.S
[94/436] Compiling p256_beeu-armv8-asm-win.S
[95/436] Compiling p256_beeu-armv8-asm-linux.S
[96/436] Compiling p256_beeu-armv8-asm-apple.S
[97/436] Compiling p256-x86_64-asm-linux.S
[98/436] Compiling p256-x86_64-asm-apple.S
[99/436] Compiling p256-armv8-asm-win.S
[100/436] Compiling p256-armv8-asm-apple.S
[101/436] Compiling ghashv8-armv8-win.S
[102/436] Compiling p256-armv8-asm-linux.S
[103/436] Compiling ghashv8-armv8-linux.S
[104/436] Compiling ghashv8-armv8-apple.S
[105/436] Compiling ghashv8-armv7-linux.S
[106/436] Compiling ghash-x86_64-linux.S
[107/436] Compiling ghash-x86_64-apple.S
[108/436] Compiling ghash-x86-linux.S
[109/436] Compiling ghash-ssse3-x86_64-linux.S
[110/436] Compiling ghash-x86-apple.S
[111/436] Compiling ghash-ssse3-x86_64-apple.S
[112/436] Compiling ghash-ssse3-x86-linux.S
[113/436] Compiling ghash-neon-armv8-win.S
[114/436] Compiling ghash-ssse3-x86-apple.S
[115/436] Compiling ghash-neon-armv8-apple.S
[116/436] Compiling ghash-neon-armv8-linux.S
[117/436] Compiling ghash-armv4-linux.S
[118/436] Compiling co-586-apple.S
[119/436] Compiling co-586-linux.S
[120/436] Compiling bsaes-armv7-linux.S
[121/436] Compiling bn-armv8-win.S
[122/436] Compiling bn-armv8-linux.S
[123/436] Compiling bn-armv8-apple.S
[124/436] Compiling bn-586-linux.S
[125/436] Compiling bn-586-apple.S
[126/436] Compiling armv8-mont-win.S
[127/436] Compiling armv8-mont-apple.S
[128/436] Compiling armv4-mont-linux.S
[129/436] Compiling armv8-mont-linux.S
[130/436] Compiling aesv8-gcm-armv8-win.S
[131/436] Compiling aesv8-gcm-armv8-apple.S
[132/436] Compiling aesv8-gcm-armv8-linux.S
[133/436] Compiling aesv8-armv8-win.S
[134/436] Compiling aesv8-armv8-apple.S
[135/436] Compiling aesv8-armv8-linux.S
[136/436] Compiling aesv8-armv7-linux.S
[137/436] Compiling aesni-x86_64-apple.S
[137/436] Compiling aesni-x86_64-linux.S
[139/436] Compiling aesni-x86-linux.S
[140/436] Compiling aesni-x86-apple.S
[141/436] Compiling aesni-gcm-x86_64-linux.S
[142/436] Compiling aes-gcm-avx512-x86_64-apple.S
[143/436] Compiling aes-gcm-avx512-x86_64-linux.S
[144/436] Compiling aesni-gcm-x86_64-apple.S
[145/436] Compiling aes-gcm-avx2-x86_64-linux.S
[146/436] Compiling aes-gcm-avx2-x86_64-apple.S
[147/436] Compiling x_spki.cc
[148/436] Compiling xwing.cc
[149/436] Compiling x_sig.cc
[150/436] Compiling x_x509.cc
[151/436] Compiling x_req.cc
[152/436] Compiling x_x509a.cc
[153/436] Write swift-version--11D90AFD9DD3AB2.txt
[154/436] Compiling yyjson.c
[155/465] Compiling x_pubkey.cc
[156/470] Compiling x_name.cc
[157/470] Compiling x_crl.cc
[158/470] Compiling x_exten.cc
[159/470] Compiling x_algor.cc
[160/470] Compiling x_attrib.cc
[161/470] Compiling x_all.cc
[163/470] Emitting module InternalCollectionsUtilities
[163/473] Compiling x509rset.cc
[164/473] Compiling x509name.cc
[165/473] Compiling x509spki.cc
[166/473] Compiling x509_vpm.cc
[167/473] Compiling x509cset.cc
[168/473] Compiling x509_vfy.cc
[169/473] Compiling x509_v3.cc
[170/473] Compiling x509_txt.cc
[171/473] Compiling x509_trs.cc
[172/473] Compiling x509_set.cc
[173/473] Compiling x509_req.cc
[174/473] Compiling x509_obj.cc
[175/473] Compiling x509_lu.cc
[176/473] Compiling x509_ext.cc
[177/473] Compiling x509_def.cc
[178/473] Compiling x509_d2.cc
[180/473] Compiling InternalCollectionsUtilities UInt+reversed.swift
[181/473] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[182/473] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[183/473] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[183/473] Compiling x509_att.cc
[184/473] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[186/473] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[187/473] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[188/473] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[189/473] Compiling InternalCollectionsUtilities Span+Extras.swift
[190/473] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[191/473] Compiling InternalCollectionsUtilities String+Padding.swift
[192/473] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[192/473] Compiling x509_cmp.cc
[194/473] Compiling InternalCollectionsUtilities MutableRef.swift
[195/473] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[196/473] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[197/473] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[198/473] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[199/473] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[200/473] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[201/473] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[202/473] Compiling InternalCollectionsUtilities Immortalize.swift
[203/473] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[204/473] Compiling InternalCollectionsUtilities Integer rank.swift
[205/473] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[206/473] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[207/473] Compiling InternalCollectionsUtilities _SortedCollection.swift
[208/473] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[209/473] Compiling EventSource AsyncEventsSequence.swift
[210/473] Emitting module EventSource
[210/473] Compiling x509.cc
[212/473] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[213/473] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[214/473] Compiling InternalCollectionsUtilities Debugging.swift
[215/473] Compiling InternalCollectionsUtilities Descriptions.swift
[216/474] Compiling v3_skey.cc
[217/517] Compiling v3_utl.cc
[218/520] Wrapping AST for InternalCollectionsUtilities for debugging
[219/531] Compiling v3_purp.cc
[220/531] Compiling v3_prn.cc
[222/531] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[223/531] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[224/531] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[225/531] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[226/531] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[227/531] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[228/531] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[229/531] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[229/538] Compiling v3_pmaps.cc
[230/538] Compiling v3_pcons.cc
[232/538] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[233/538] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[234/538] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[235/538] Compiling OrderedCollections OrderedDictionary+Move.swift
[236/538] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[237/538] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[238/538] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[239/538] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[239/538] Compiling v3_ncons.cc
[241/538] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[242/538] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[243/538] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[244/538] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[245/538] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[246/538] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[247/538] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[248/538] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[248/538] Compiling v3_ocsp.cc
[249/538] Compiling v3_info.cc
[251/538] Compiling OrderedCollections OrderedDictionary+Codable.swift
[252/538] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[253/538] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[254/538] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[255/538] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[256/538] Compiling OrderedCollections OrderedDictionary+Elements.swift
[257/538] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[258/538] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[259/538] Compiling OrderedCollections _HashTable+Bucket.swift
[260/538] Compiling OrderedCollections _HashTable+BucketIterator.swift
[261/538] Compiling OrderedCollections _HashTable+Constants.swift
[262/538] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[263/538] Compiling OrderedCollections _HashTable+Testing.swift
[264/538] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[265/538] Compiling OrderedCollections _HashTable.swift
[266/538] Compiling OrderedCollections _Hashtable+Header.swift
[267/538] Compiling OrderedCollections OrderedDictionary+Values.swift
[268/538] Compiling OrderedCollections OrderedDictionary.swift
[269/538] Compiling OrderedCollections OrderedSet+Codable.swift
[270/538] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[271/538] Compiling OrderedCollections OrderedSet+Descriptions.swift
[272/538] Compiling OrderedCollections OrderedSet+Diffing.swift
[273/538] Compiling OrderedCollections OrderedSet+Equatable.swift
[274/538] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[275/538] Compiling OrderedCollections OrderedSet+Hashable.swift
[276/538] Compiling OrderedCollections OrderedSet+Initializers.swift
[277/538] Compiling OrderedCollections OrderedSet+Insertions.swift
[278/538] Compiling OrderedCollections OrderedSet+Invariants.swift
[279/538] Compiling OrderedCollections OrderedSet+Move.swift
[280/538] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[281/538] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[282/538] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[282/538] Compiling v3_ia5.cc
[283/538] Compiling v3_lib.cc
[285/538] Compiling OrderedCollections OrderedSet+Sendable.swift
[286/538] Compiling OrderedCollections OrderedSet+SubSequence.swift
[287/538] Compiling OrderedCollections OrderedSet+Testing.swift
[288/538] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[289/538] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[290/538] Compiling OrderedCollections OrderedSet.swift
[291/538] Compiling OrderedCollections UnsafeBitset.swift
[291/538] Compiling v3_int.cc
[292/538] Compiling v3_genn.cc
[293/538] Compiling v3_extku.cc
[295/538] Emitting module OrderedCollections
[296/539] Compiling v3_enum.cc
[297/539] Compiling v3_crld.cc
[298/553] Compiling v3_cpols.cc
[299/555] Wrapping AST for OrderedCollections for debugging
[300/555] Compiling v3_bitst.cc
[301/555] Compiling v3_conf.cc
[303/555] Compiling EventSource EventSource+AsyncHTTPClient.swift
[304/555] Compiling EventSource EventSource.swift
[305/555] Compiling EventSource AsyncSequence+Events.swift
[306/556] Compiling v3_bcons.cc
[307/556] Wrapping AST for EventSource for debugging
[308/556] Compiling v3_akeya.cc
[309/556] Compiling v3_akey.cc
[310/556] Compiling v3_alt.cc
[312/556] Compiling Jinja Namespace.swift
[313/556] Compiling Jinja Parser.swift
[313/558] Compiling t_x509a.cc
[315/558] Compiling Jinja Lexer.swift
[316/558] Compiling Jinja Macro.swift
[317/558] Compiling Jinja Tests.swift
[318/558] Compiling Jinja Token.swift
[319/558] Compiling Jinja PropertyMembers.swift
[320/558] Compiling Jinja Template.swift
[320/558] Compiling t_req.cc
[321/558] Compiling t_x509.cc
[322/558] Compiling t_crl.cc
[323/558] Compiling policy.cc
[324/558] Compiling i2d_pr.cc
[325/558] Compiling rsa_pss.cc
[326/558] Compiling name_print.cc
[327/558] Compiling by_dir.cc
[329/558] Compiling Jinja Utilities.swift
[330/558] Compiling Jinja Value.swift
[330/558] Compiling by_file.cc
[331/558] Compiling asn1_gen.cc
[332/558] Compiling algorithm.cc
[333/558] Compiling a_verify.cc
[334/558] Compiling a_sign.cc
[335/558] Compiling voprf.cc
[336/558] Compiling thread_win.cc
[337/558] Compiling a_digest.cc
[338/558] Compiling thread_none.cc
[339/558] Compiling pmbtoken.cc
[340/558] Compiling thread_pthread.cc
[341/558] Compiling trust_token.cc
[342/558] Compiling thread.cc
[343/558] Compiling stack.cc
[344/558] Compiling siphash.cc
[345/558] Compiling sha1.cc
[346/558] Compiling rsa_print.cc
[347/558] Compiling sha512.cc
[348/558] Compiling sha256.cc
[349/558] Compiling slhdsa.cc
[350/558] Compiling spake2plus.cc
[351/558] Compiling rsa_extra.cc
[352/558] Compiling windows.cc
[353/558] Compiling rc4.cc
[354/558] Compiling refcount.cc
[355/558] Compiling rsa_crypt.cc
[356/558] Compiling urandom.cc
[357/558] Compiling trusty.cc
[358/558] Compiling rsa_asn1.cc
[359/558] Compiling rand.cc
[360/558] Compiling passive.cc
[361/558] Compiling ios.cc
[362/558] Compiling poly1305_arm_asm.S
[363/558] Compiling getentropy.cc
[364/558] Compiling forkunsafe.cc
[365/558] Compiling fork_detect.cc
[366/558] Compiling deterministic.cc
[367/558] Compiling poly1305_vec.cc
[368/558] Compiling poly1305_arm.cc
[369/558] Compiling poly1305.cc
[370/558] Compiling pool.cc
[371/558] Compiling p5_pbev2.cc
[372/558] Compiling pkcs8.cc
[373/558] Compiling pkcs8_x509.cc
[374/558] Compiling pkcs7.cc
[375/558] Compiling pkcs7_x509.cc
[375/558] Compiling pem_xaux.cc
[377/558] Compiling pem_x509.cc
[378/558] Compiling pem_pkey.cc
[379/558] Compiling pem_pk8.cc
[380/558] Compiling pem_oth.cc
[381/558] Compiling pem_lib.cc
[382/558] Compiling obj_xref.cc
[383/558] Compiling pem_info.cc
[384/558] Compiling pem_all.cc
[385/558] Compiling mlkem.cc
[386/558] Compiling mldsa.cc
[387/558] Compiling mem.cc
[388/558] Compiling poly_rq_mul.S
[389/558] Compiling obj.cc
[390/558] Compiling lhash.cc
[391/558] Compiling fips_shared_support.cc
[392/558] Compiling md5.cc
[393/558] Compiling md4.cc
[394/558] Compiling kyber.cc
[395/558] Compiling fuzzer_mode.cc
[396/558] Compiling hrss.cc
[397/558] Compiling ex_data.cc
[398/558] Compiling hpke.cc
[399/558] Compiling sign.cc
[400/558] Compiling scrypt.cc
[401/558] Compiling print.cc
[402/558] Compiling pbkdf.cc
[403/558] Compiling p_x25519_asn1.cc
[404/558] Compiling p_x25519.cc
[405/558] Compiling p_rsa_asn1.cc
[406/558] Compiling p_ed25519_asn1.cc
[407/558] Compiling p_rsa.cc
[408/558] Compiling p_hkdf.cc
[409/558] Compiling p_ed25519.cc
[410/558] Compiling p_ec_asn1.cc
[411/558] Compiling p_dsa_asn1.cc
[412/558] Compiling p_ec.cc
[413/558] Compiling p_dh_asn1.cc
[414/558] Compiling p_dh.cc
[415/558] Compiling evp_ctx.cc
[416/558] Compiling err.cc
[417/558] Compiling engine.cc
[418/558] Compiling ecdsa_p1363.cc
[419/558] Compiling evp.cc
[420/558] Compiling evp_asn1.cc
[421/558] Compiling ecdh.cc
[422/558] Compiling ec_derive.cc
[423/558] Compiling ecdsa_asn1.cc
[424/558] Compiling hash_to_curve.cc
[425/558] Compiling ec_asn1.cc
[426/558] Compiling dsa_asn1.cc
[427/558] Compiling dsa.cc
[428/558] Compiling des.cc
[429/558] Compiling digest_extra.cc
[430/558] Compiling params.cc
[431/558] Compiling x25519-asm-arm.S
[432/558] Compiling dh_asn1.cc
[433/558] Compiling curve25519_64_adx.cc
[434/558] Compiling spake25519.cc
[435/558] Compiling crypto.cc
[436/558] Compiling cpu_intel.cc
[437/558] Compiling curve25519.cc
[438/558] Compiling cpu_arm_linux.cc
[439/558] Compiling cpu_arm_freebsd.cc
[440/558] Compiling cpu_aarch64_win.cc
[441/558] Compiling cpu_aarch64_linux.cc
[442/558] Compiling cpu_aarch64_openbsd.cc
[442/558] Compiling cpu_aarch64_sysreg.cc
[444/558] Compiling cpu_aarch64_fuchsia.cc
[445/558] Compiling cpu_aarch64_apple.cc
[446/558] Compiling conf.cc
[447/558] Compiling get_cipher.cc
[448/558] Compiling tls_cbc.cc
[449/558] Compiling e_tls.cc
[450/558] Compiling e_rc4.cc
[451/558] Compiling cms.cc
[452/558] Compiling e_rc2.cc
[453/558] Compiling e_null.cc
[454/558] Compiling e_des.cc
[455/558] Compiling e_aeseax.cc
[456/558] Compiling e_chacha20poly1305.cc
[457/558] Compiling e_aesgcmsiv.cc
[458/558] Compiling e_aesctrhmac.cc
[459/558] Compiling derive_key.cc
[460/558] Compiling chacha.cc
[461/558] Compiling unicode.cc
[462/558] Compiling cbs.cc
[464/558] Compiling Jinja AST.swift
[465/558] Compiling Jinja Error.swift
[466/558] Compiling Jinja Filters.swift
[467/558] Emitting module Jinja
[468/558] Compiling Jinja Globals.swift
[469/558] Compiling Jinja HTMLEntities.swift
[470/558] Compiling Jinja Interpreter.swift
[471/558] Compiling Jinja JSON.swift
[471/558] Compiling cbb.cc
[473/559] Compiling buf.cc
[474/559] Compiling ber.cc
[475/559] Wrapping AST for Jinja for debugging
[476/559] Compiling sqrt.cc
[477/559] Compiling asn1_compat.cc
[478/559] Compiling div.cc
[479/559] Compiling exponentiation.cc
[480/559] Compiling blake2.cc
[481/559] Compiling bn_asn1.cc
[482/559] Compiling printf.cc
[483/559] Compiling convert.cc
[484/559] Compiling pair.cc
[485/559] Compiling hexdump.cc
[486/559] Compiling file.cc
[487/559] Compiling fd.cc
[488/559] Compiling errno.cc
[489/559] Compiling bio_mem.cc
[490/559] Compiling base64.cc
[491/559] Compiling bio.cc
[492/559] Compiling tasn_typ.cc
[493/559] Compiling tasn_utl.cc
[494/559] Compiling bcm.cc
[495/559] Compiling tasn_fre.cc
[496/559] Compiling tasn_enc.cc
[497/559] Compiling tasn_new.cc
[498/559] Compiling posix_time.cc
[499/559] Compiling f_string.cc
[500/559] Compiling tasn_dec.cc
[501/559] Compiling f_int.cc
[502/559] Compiling asn_pack.cc
[503/559] Compiling asn1_par.cc
[504/559] Compiling asn1_lib.cc
[505/559] Compiling a_utctm.cc
[506/559] Compiling a_type.cc
[507/559] Compiling a_octet.cc
[508/559] Compiling a_time.cc
[509/559] Compiling a_strnid.cc
[510/559] Compiling a_strex.cc
[511/559] Compiling a_object.cc
[512/559] Compiling a_i2d_fp.cc
[513/559] Compiling a_dup.cc
[514/559] Write sources
[516/559] Compiling a_mbstr.cc
[517/559] Compiling a_int.cc
[518/559] Compiling a_gentm.cc
[519/559] Compiling a_d2i_fp.cc
[520/559] Compiling aes.cc
[521/559] Compiling a_bool.cc
[522/559] Compiling a_bitstr.cc
[524/567] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[525/567] Compiling CryptoBoringWrapper EllipticCurve.swift
[526/567] Compiling CryptoBoringWrapper RandomBytes.swift
[527/567] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[528/567] Emitting module CryptoBoringWrapper
[529/567] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[530/567] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[531/567] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[532/568] Wrapping AST for CryptoBoringWrapper for debugging
[534/652] Compiling Crypto HKDF.swift
[535/652] Compiling Crypto AESWrap.swift
[536/652] Compiling Crypto AESWrap_boring.swift
[537/652] Compiling Crypto Ed25519_boring.swift
[538/652] Compiling Crypto NISTCurvesKeys_boring.swift
[539/652] Compiling Crypto X25519Keys_boring.swift
[540/652] Compiling Crypto Curve25519.swift
[541/652] Compiling Crypto Ed25519Keys.swift
[542/652] Compiling Crypto NISTCurvesKeys.swift
[543/652] Compiling Crypto X25519Keys.swift
[544/652] Compiling Crypto SymmetricKeys.swift
[545/652] Compiling Crypto HMAC.swift
[546/663] Emitting module Crypto
[547/663] Compiling Crypto ASN1Null.swift
[548/663] Compiling Crypto ASN1OctetString.swift
[549/663] Compiling Crypto ASN1Strings.swift
[550/663] Compiling Crypto ArraySliceBigint.swift
[551/663] Compiling Crypto GeneralizedTime.swift
[552/663] Compiling Crypto ObjectIdentifier.swift
[553/663] Compiling Crypto ECDSASignature.swift
[554/663] Compiling Crypto PEMDocument.swift
[555/663] Compiling Crypto PKCS8PrivateKey.swift
[556/663] Compiling Crypto SEC1PrivateKey.swift
[557/663] Compiling Crypto SubjectPublicKeyInfo.swift
[558/663] Compiling Crypto CryptoError_boring.swift
[559/663] Compiling Crypto AES-GCM.swift
[560/663] Compiling Crypto AES-GCM_boring.swift
[561/663] Compiling Crypto ChaChaPoly_boring.swift
[562/663] Compiling Crypto ChaChaPoly.swift
[563/663] Compiling Crypto Cipher.swift
[564/663] Compiling Crypto Nonces.swift
[565/663] Compiling Crypto ASN1.swift
[566/663] Compiling Crypto ASN1Any.swift
[567/663] Compiling Crypto ASN1BitString.swift
[568/663] Compiling Crypto ASN1Boolean.swift
[569/663] Compiling Crypto ASN1Identifier.swift
[570/663] Compiling Crypto ASN1Integer.swift
[571/663] Compiling Crypto Signature.swift
[572/663] Compiling Crypto CryptoKitErrors_boring.swift
[573/663] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[574/663] Compiling Crypto RNG_boring.swift
[575/663] Compiling Crypto SafeCompare_boring.swift
[576/663] Compiling Crypto Zeroization_boring.swift
[577/663] Compiling Crypto _CryptoModuleAnchor.swift
[578/663] Compiling Crypto PrettyBytes.swift
[579/663] Compiling Crypto SafeCompare.swift
[580/663] Compiling Crypto SecureBytes.swift
[581/663] Compiling Crypto Zeroization.swift
[582/663] Compiling Crypto MACFunctions.swift
[583/663] Compiling Crypto MessageAuthenticationCode.swift
[584/663] Compiling Crypto AES.swift
[585/663] Compiling Crypto ECDSASignature_boring.swift
[586/663] Compiling Crypto ECDSA_boring.swift
[587/663] Compiling Crypto EdDSA_boring.swift
[588/663] Compiling Crypto MLDSA_boring.swift
[589/663] Compiling Crypto MLDSA_wrapper.swift
[590/663] Compiling Crypto ECDSA.swift
[591/663] Compiling Crypto Ed25519.swift
[592/663] Compiling Crypto MLDSA.swift
[593/663] Compiling Crypto HPKE-LabeledExtract.swift
[594/663] Compiling Crypto HPKE-Utils.swift
[595/663] Compiling Crypto DHKEM.swift
[596/663] Compiling Crypto HPKE-KEM-Curve25519.swift
[597/663] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[598/663] Compiling Crypto HPKE-KEM.swift
[599/663] Compiling Crypto HPKE-Errors.swift
[600/663] Compiling Crypto HPKE.swift
[601/663] Compiling Crypto HPKE-Context.swift
[602/663] Compiling Crypto HPKE-KeySchedule.swift
[603/663] Compiling Crypto HPKE-Modes.swift
[604/663] Compiling Crypto Insecure.swift
[605/663] Compiling Crypto Insecure_HashFunctions.swift
[606/663] Compiling Crypto MLKEM_boring.swift
[607/663] Compiling Crypto MLKEM_wrapper.swift
[608/663] Compiling Crypto XWing_boring.swift
[609/663] Compiling Crypto KEM-Errors.swift
[610/663] Compiling Crypto KEM.swift
[611/663] Compiling Crypto MLKEM.swift
[612/663] Compiling Crypto XWing.swift
[613/663] Compiling Crypto ECDH_boring.swift
[614/663] Compiling Crypto DH.swift
[615/663] Compiling Crypto ECDH.swift
[616/663] Compiling Crypto ANSIx963.swift
[617/663] Compiling Crypto CryptoKitErrors.swift
[618/663] Compiling Crypto Digest_boring.swift
[619/663] Compiling Crypto Digest.swift
[620/663] Compiling Crypto Digests.swift
[621/663] Compiling Crypto HashFunctions.swift
[622/663] Compiling Crypto HashFunctions_SHA2.swift
[623/663] Compiling Crypto HashFunctions_SHA3.swift
[624/663] Compiling Crypto Digest_xkcp.swift
[625/663] Compiling Crypto HPKE-AEAD.swift
[626/663] Compiling Crypto HPKE-Ciphersuite.swift
[627/663] Compiling Crypto HPKE-KDF.swift
[628/663] Compiling Crypto HPKE-KexKeyDerivation.swift
[629/664] Wrapping AST for Crypto for debugging
[631/715] Compiling HuggingFace HubClient+Git.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[632/715] Compiling HuggingFace HubClient+Models.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[633/715] Compiling HuggingFace HubClient+OAuth.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[634/715] Compiling HuggingFace HubClient+Organizations.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[635/715] Compiling HuggingFace HubClient+Pagination.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[636/715] Compiling HuggingFace HubClient+Papers.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[637/715] Compiling HuggingFace HubClient+Repos.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[638/722] Compiling HuggingFace ChatCompletion.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[639/722] Compiling HuggingFace FeatureExtraction.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[640/722] Compiling HuggingFace InferenceClient.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[641/722] Compiling HuggingFace Message.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[642/722] Compiling HuggingFace Provider.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[643/722] Compiling HuggingFace SpeechToText.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[644/722] Compiling HuggingFace TextToImage.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[645/722] Compiling HuggingFace Paper.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[646/722] Compiling HuggingFace Repo.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[647/722] Compiling HuggingFace ResourceGroup.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[648/722] Compiling HuggingFace Space.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[649/722] Compiling HuggingFace Tags.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[650/722] Compiling HuggingFace User.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[651/722] Compiling HuggingFace XetDownloadProgress.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[652/722] Compiling HuggingFace URLSession+Linux.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:28: error: cannot find 'O_RDWR' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                            `- error: cannot find 'O_RDWR' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:37: error: cannot find 'O_CREAT' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                     `- error: cannot find 'O_CREAT' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:47: error: cannot find 'O_TRUNC' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                               `- error: cannot find 'O_TRUNC' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:45: error: cannot convert value of type 'UInt8' to specified type 'Int32'
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                             `- error: cannot convert value of type 'UInt8' to specified type 'Int32'
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:150:22: error: cannot find 'O_NOFOLLOW' in scope
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
    |                      `- error: cannot find 'O_NOFOLLOW' in scope
151 |         #endif
152 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:153:18: error: cannot find 'open' in scope
151 |         #endif
152 |
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
    |                  `- error: cannot find 'open' in scope
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:155:61: error: cannot find 'errno' in scope
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
    |                                                             `- error: cannot find 'errno' in scope
156 |         }
157 |
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:159:13: error: cannot find 'fchmod' in scope
157 |
158 |         // Apply permissions (may silently fail if not the file owner).
159 |         _ = fchmod(fd, mode)
    |             `- error: cannot find 'fchmod' in scope
160 |         return fd
161 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:22: error: cannot find 'flock' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                      `- error: cannot find 'flock' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:32: error: cannot find 'LOCK_EX' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                `- error: cannot find 'LOCK_EX' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:42: error: cannot find 'LOCK_NB' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                          `- error: cannot find 'LOCK_NB' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:177:33: error: cannot find 'errno' in scope
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
177 |         } while result == -1 && errno == EINTR
    |                                 `- error: cannot find 'errno' in scope
178 |
179 |         if result == 0 { return .success }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:181:16: error: cannot find 'errno' in scope
179 |         if result == 0 { return .success }
180 |
181 |         switch errno {
    |                `- error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:184:32: error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
184 |         default: return .error(errno)
    |                                `- error: cannot find 'errno' in scope
185 |         }
186 |     }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:231:13: error: cannot find 'close' in scope
229 |             }
230 |         } catch {
231 |             close(fd)
    |             `- error: cannot find 'close' in scope
232 |             throw error
233 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:13: error: cannot find 'flock' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:23: error: cannot find 'LOCK_UN' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:245:13: error: cannot find 'close' in scope
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
245 |             close(fd)
    |             `- error: cannot find 'close' in scope
246 |         }
247 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:13: error: cannot find 'flock' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:23: error: cannot find 'LOCK_UN' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:309:13: error: cannot find 'close' in scope
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
309 |             close(fd)
    |             `- error: cannot find 'close' in scope
310 |         }
311 |     }
[653/722] Compiling HuggingFace URLSessionConfiguration+Background.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:28: error: cannot find 'O_RDWR' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                            `- error: cannot find 'O_RDWR' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:37: error: cannot find 'O_CREAT' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                     `- error: cannot find 'O_CREAT' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:47: error: cannot find 'O_TRUNC' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                               `- error: cannot find 'O_TRUNC' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:45: error: cannot convert value of type 'UInt8' to specified type 'Int32'
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                             `- error: cannot convert value of type 'UInt8' to specified type 'Int32'
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:150:22: error: cannot find 'O_NOFOLLOW' in scope
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
    |                      `- error: cannot find 'O_NOFOLLOW' in scope
151 |         #endif
152 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:153:18: error: cannot find 'open' in scope
151 |         #endif
152 |
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
    |                  `- error: cannot find 'open' in scope
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:155:61: error: cannot find 'errno' in scope
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
    |                                                             `- error: cannot find 'errno' in scope
156 |         }
157 |
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:159:13: error: cannot find 'fchmod' in scope
157 |
158 |         // Apply permissions (may silently fail if not the file owner).
159 |         _ = fchmod(fd, mode)
    |             `- error: cannot find 'fchmod' in scope
160 |         return fd
161 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:22: error: cannot find 'flock' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                      `- error: cannot find 'flock' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:32: error: cannot find 'LOCK_EX' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                `- error: cannot find 'LOCK_EX' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:42: error: cannot find 'LOCK_NB' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                          `- error: cannot find 'LOCK_NB' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:177:33: error: cannot find 'errno' in scope
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
177 |         } while result == -1 && errno == EINTR
    |                                 `- error: cannot find 'errno' in scope
178 |
179 |         if result == 0 { return .success }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:181:16: error: cannot find 'errno' in scope
179 |         if result == 0 { return .success }
180 |
181 |         switch errno {
    |                `- error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:184:32: error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
184 |         default: return .error(errno)
    |                                `- error: cannot find 'errno' in scope
185 |         }
186 |     }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:231:13: error: cannot find 'close' in scope
229 |             }
230 |         } catch {
231 |             close(fd)
    |             `- error: cannot find 'close' in scope
232 |             throw error
233 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:13: error: cannot find 'flock' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:23: error: cannot find 'LOCK_UN' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:245:13: error: cannot find 'close' in scope
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
245 |             close(fd)
    |             `- error: cannot find 'close' in scope
246 |         }
247 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:13: error: cannot find 'flock' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:23: error: cannot find 'LOCK_UN' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:309:13: error: cannot find 'close' in scope
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
309 |             close(fd)
    |             `- error: cannot find 'close' in scope
310 |         }
311 |     }
[654/722] Compiling HuggingFace FileLock.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:28: error: cannot find 'O_RDWR' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                            `- error: cannot find 'O_RDWR' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:37: error: cannot find 'O_CREAT' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                     `- error: cannot find 'O_CREAT' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:47: error: cannot find 'O_TRUNC' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                               `- error: cannot find 'O_TRUNC' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:45: error: cannot convert value of type 'UInt8' to specified type 'Int32'
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                             `- error: cannot convert value of type 'UInt8' to specified type 'Int32'
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:150:22: error: cannot find 'O_NOFOLLOW' in scope
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
    |                      `- error: cannot find 'O_NOFOLLOW' in scope
151 |         #endif
152 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:153:18: error: cannot find 'open' in scope
151 |         #endif
152 |
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
    |                  `- error: cannot find 'open' in scope
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:155:61: error: cannot find 'errno' in scope
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
    |                                                             `- error: cannot find 'errno' in scope
156 |         }
157 |
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:159:13: error: cannot find 'fchmod' in scope
157 |
158 |         // Apply permissions (may silently fail if not the file owner).
159 |         _ = fchmod(fd, mode)
    |             `- error: cannot find 'fchmod' in scope
160 |         return fd
161 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:22: error: cannot find 'flock' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                      `- error: cannot find 'flock' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:32: error: cannot find 'LOCK_EX' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                `- error: cannot find 'LOCK_EX' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:42: error: cannot find 'LOCK_NB' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                          `- error: cannot find 'LOCK_NB' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:177:33: error: cannot find 'errno' in scope
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
177 |         } while result == -1 && errno == EINTR
    |                                 `- error: cannot find 'errno' in scope
178 |
179 |         if result == 0 { return .success }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:181:16: error: cannot find 'errno' in scope
179 |         if result == 0 { return .success }
180 |
181 |         switch errno {
    |                `- error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:184:32: error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
184 |         default: return .error(errno)
    |                                `- error: cannot find 'errno' in scope
185 |         }
186 |     }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:231:13: error: cannot find 'close' in scope
229 |             }
230 |         } catch {
231 |             close(fd)
    |             `- error: cannot find 'close' in scope
232 |             throw error
233 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:13: error: cannot find 'flock' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:23: error: cannot find 'LOCK_UN' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:245:13: error: cannot find 'close' in scope
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
245 |             close(fd)
    |             `- error: cannot find 'close' in scope
246 |         }
247 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:13: error: cannot find 'flock' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:23: error: cannot find 'LOCK_UN' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:309:13: error: cannot find 'close' in scope
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
309 |             close(fd)
    |             `- error: cannot find 'close' in scope
310 |         }
311 |     }
[655/722] Compiling HuggingFace HTTPClient.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:28: error: cannot find 'O_RDWR' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                            `- error: cannot find 'O_RDWR' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:37: error: cannot find 'O_CREAT' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                     `- error: cannot find 'O_CREAT' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:47: error: cannot find 'O_TRUNC' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                               `- error: cannot find 'O_TRUNC' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:45: error: cannot convert value of type 'UInt8' to specified type 'Int32'
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                             `- error: cannot convert value of type 'UInt8' to specified type 'Int32'
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:150:22: error: cannot find 'O_NOFOLLOW' in scope
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
    |                      `- error: cannot find 'O_NOFOLLOW' in scope
151 |         #endif
152 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:153:18: error: cannot find 'open' in scope
151 |         #endif
152 |
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
    |                  `- error: cannot find 'open' in scope
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:155:61: error: cannot find 'errno' in scope
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
    |                                                             `- error: cannot find 'errno' in scope
156 |         }
157 |
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:159:13: error: cannot find 'fchmod' in scope
157 |
158 |         // Apply permissions (may silently fail if not the file owner).
159 |         _ = fchmod(fd, mode)
    |             `- error: cannot find 'fchmod' in scope
160 |         return fd
161 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:22: error: cannot find 'flock' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                      `- error: cannot find 'flock' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:32: error: cannot find 'LOCK_EX' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                `- error: cannot find 'LOCK_EX' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:42: error: cannot find 'LOCK_NB' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                          `- error: cannot find 'LOCK_NB' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:177:33: error: cannot find 'errno' in scope
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
177 |         } while result == -1 && errno == EINTR
    |                                 `- error: cannot find 'errno' in scope
178 |
179 |         if result == 0 { return .success }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:181:16: error: cannot find 'errno' in scope
179 |         if result == 0 { return .success }
180 |
181 |         switch errno {
    |                `- error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:184:32: error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
184 |         default: return .error(errno)
    |                                `- error: cannot find 'errno' in scope
185 |         }
186 |     }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:231:13: error: cannot find 'close' in scope
229 |             }
230 |         } catch {
231 |             close(fd)
    |             `- error: cannot find 'close' in scope
232 |             throw error
233 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:13: error: cannot find 'flock' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:23: error: cannot find 'LOCK_UN' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:245:13: error: cannot find 'close' in scope
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
245 |             close(fd)
    |             `- error: cannot find 'close' in scope
246 |         }
247 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:13: error: cannot find 'flock' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:23: error: cannot find 'LOCK_UN' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:309:13: error: cannot find 'close' in scope
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
309 |             close(fd)
    |             `- error: cannot find 'close' in scope
310 |         }
311 |     }
[656/722] Compiling HuggingFace MultipartBuilder.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:28: error: cannot find 'O_RDWR' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                            `- error: cannot find 'O_RDWR' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:37: error: cannot find 'O_CREAT' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                     `- error: cannot find 'O_CREAT' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:47: error: cannot find 'O_TRUNC' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                               `- error: cannot find 'O_TRUNC' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:45: error: cannot convert value of type 'UInt8' to specified type 'Int32'
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                             `- error: cannot convert value of type 'UInt8' to specified type 'Int32'
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:150:22: error: cannot find 'O_NOFOLLOW' in scope
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
    |                      `- error: cannot find 'O_NOFOLLOW' in scope
151 |         #endif
152 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:153:18: error: cannot find 'open' in scope
151 |         #endif
152 |
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
    |                  `- error: cannot find 'open' in scope
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:155:61: error: cannot find 'errno' in scope
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
    |                                                             `- error: cannot find 'errno' in scope
156 |         }
157 |
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:159:13: error: cannot find 'fchmod' in scope
157 |
158 |         // Apply permissions (may silently fail if not the file owner).
159 |         _ = fchmod(fd, mode)
    |             `- error: cannot find 'fchmod' in scope
160 |         return fd
161 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:22: error: cannot find 'flock' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                      `- error: cannot find 'flock' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:32: error: cannot find 'LOCK_EX' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                `- error: cannot find 'LOCK_EX' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:42: error: cannot find 'LOCK_NB' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                          `- error: cannot find 'LOCK_NB' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:177:33: error: cannot find 'errno' in scope
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
177 |         } while result == -1 && errno == EINTR
    |                                 `- error: cannot find 'errno' in scope
178 |
179 |         if result == 0 { return .success }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:181:16: error: cannot find 'errno' in scope
179 |         if result == 0 { return .success }
180 |
181 |         switch errno {
    |                `- error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:184:32: error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
184 |         default: return .error(errno)
    |                                `- error: cannot find 'errno' in scope
185 |         }
186 |     }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:231:13: error: cannot find 'close' in scope
229 |             }
230 |         } catch {
231 |             close(fd)
    |             `- error: cannot find 'close' in scope
232 |             throw error
233 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:13: error: cannot find 'flock' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:23: error: cannot find 'LOCK_UN' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:245:13: error: cannot find 'close' in scope
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
245 |             close(fd)
    |             `- error: cannot find 'close' in scope
246 |         }
247 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:13: error: cannot find 'flock' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:23: error: cannot find 'LOCK_UN' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:309:13: error: cannot find 'close' in scope
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
309 |             close(fd)
    |             `- error: cannot find 'close' in scope
310 |         }
311 |     }
[657/722] Compiling HuggingFace TokenProvider.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:28: error: cannot find 'O_RDWR' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                            `- error: cannot find 'O_RDWR' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:37: error: cannot find 'O_CREAT' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                     `- error: cannot find 'O_CREAT' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:47: error: cannot find 'O_TRUNC' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                               `- error: cannot find 'O_TRUNC' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:45: error: cannot convert value of type 'UInt8' to specified type 'Int32'
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                             `- error: cannot convert value of type 'UInt8' to specified type 'Int32'
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:150:22: error: cannot find 'O_NOFOLLOW' in scope
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
    |                      `- error: cannot find 'O_NOFOLLOW' in scope
151 |         #endif
152 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:153:18: error: cannot find 'open' in scope
151 |         #endif
152 |
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
    |                  `- error: cannot find 'open' in scope
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:155:61: error: cannot find 'errno' in scope
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
    |                                                             `- error: cannot find 'errno' in scope
156 |         }
157 |
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:159:13: error: cannot find 'fchmod' in scope
157 |
158 |         // Apply permissions (may silently fail if not the file owner).
159 |         _ = fchmod(fd, mode)
    |             `- error: cannot find 'fchmod' in scope
160 |         return fd
161 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:22: error: cannot find 'flock' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                      `- error: cannot find 'flock' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:32: error: cannot find 'LOCK_EX' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                `- error: cannot find 'LOCK_EX' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:42: error: cannot find 'LOCK_NB' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                          `- error: cannot find 'LOCK_NB' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:177:33: error: cannot find 'errno' in scope
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
177 |         } while result == -1 && errno == EINTR
    |                                 `- error: cannot find 'errno' in scope
178 |
179 |         if result == 0 { return .success }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:181:16: error: cannot find 'errno' in scope
179 |         if result == 0 { return .success }
180 |
181 |         switch errno {
    |                `- error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:184:32: error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
184 |         default: return .error(errno)
    |                                `- error: cannot find 'errno' in scope
185 |         }
186 |     }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:231:13: error: cannot find 'close' in scope
229 |             }
230 |         } catch {
231 |             close(fd)
    |             `- error: cannot find 'close' in scope
232 |             throw error
233 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:13: error: cannot find 'flock' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:23: error: cannot find 'LOCK_UN' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:245:13: error: cannot find 'close' in scope
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
245 |             close(fd)
    |             `- error: cannot find 'close' in scope
246 |         }
247 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:13: error: cannot find 'flock' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:23: error: cannot find 'LOCK_UN' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:309:13: error: cannot find 'close' in scope
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
309 |             close(fd)
    |             `- error: cannot find 'close' in scope
310 |         }
311 |     }
[658/722] Compiling HuggingFace Value.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:28: error: cannot find 'O_RDWR' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                            `- error: cannot find 'O_RDWR' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:37: error: cannot find 'O_CREAT' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                     `- error: cannot find 'O_CREAT' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:47: error: cannot find 'O_TRUNC' in scope
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                               `- error: cannot find 'O_TRUNC' in scope
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:148:45: error: cannot convert value of type 'UInt8' to specified type 'Int32'
146 |         )
147 |
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
    |                                             `- error: cannot convert value of type 'UInt8' to specified type 'Int32'
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:150:22: error: cannot find 'O_NOFOLLOW' in scope
148 |         var flags: Int32 = O_RDWR | O_CREAT | O_TRUNC
149 |         #if !os(Windows)
150 |             flags |= O_NOFOLLOW
    |                      `- error: cannot find 'O_NOFOLLOW' in scope
151 |         #endif
152 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:153:18: error: cannot find 'open' in scope
151 |         #endif
152 |
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
    |                  `- error: cannot find 'open' in scope
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:155:61: error: cannot find 'errno' in scope
153 |         let fd = open(lockPath.path(percentEncoded: false), flags, mode)
154 |         guard fd >= 0 else {
155 |             throw FileLockError.openFailed(lockPath, errno: errno)
    |                                                             `- error: cannot find 'errno' in scope
156 |         }
157 |
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:159:13: error: cannot find 'fchmod' in scope
157 |
158 |         // Apply permissions (may silently fail if not the file owner).
159 |         _ = fchmod(fd, mode)
    |             `- error: cannot find 'fchmod' in scope
160 |         return fd
161 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:22: error: cannot find 'flock' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                      `- error: cannot find 'flock' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:32: error: cannot find 'LOCK_EX' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                `- error: cannot find 'LOCK_EX' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:176:42: error: cannot find 'LOCK_NB' in scope
174 |         var result: Int32
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
    |                                          `- error: cannot find 'LOCK_NB' in scope
177 |         } while result == -1 && errno == EINTR
178 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:177:33: error: cannot find 'errno' in scope
175 |         repeat {
176 |             result = flock(fd, LOCK_EX | LOCK_NB)
177 |         } while result == -1 && errno == EINTR
    |                                 `- error: cannot find 'errno' in scope
178 |
179 |         if result == 0 { return .success }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:181:16: error: cannot find 'errno' in scope
179 |         if result == 0 { return .success }
180 |
181 |         switch errno {
    |                `- error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:184:32: error: cannot find 'errno' in scope
182 |         case ENOSYS: return .notSupported
183 |         case EWOULDBLOCK, EAGAIN: return .wouldBlock
184 |         default: return .error(errno)
    |                                `- error: cannot find 'errno' in scope
185 |         }
186 |     }
/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/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:231:13: error: cannot find 'close' in scope
229 |             }
230 |         } catch {
231 |             close(fd)
    |             `- error: cannot find 'close' in scope
232 |             throw error
233 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:13: error: cannot find 'flock' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:244:23: error: cannot find 'LOCK_UN' in scope
242 |     private func releaseLock(context: FileLockContext, force: Bool) async {
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
245 |             close(fd)
246 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:245:13: error: cannot find 'close' in scope
243 |         if let fd = await context.releaseIfReady(force: force) {
244 |             flock(fd, LOCK_UN)
245 |             close(fd)
    |             `- error: cannot find 'close' in scope
246 |         }
247 |     }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:13: error: cannot find 'flock' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |             `- error: cannot find 'flock' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:308:23: error: cannot find 'LOCK_UN' in scope
306 |     deinit {
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
    |                       `- error: cannot find 'LOCK_UN' in scope
309 |             close(fd)
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:309:13: error: cannot find 'close' in scope
307 |         if let fd = fileDescriptor {
308 |             flock(fd, LOCK_UN)
309 |             close(fd)
    |             `- error: cannot find 'close' in scope
310 |         }
311 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[659/722] Emitting module HuggingFace
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
[660/722] Compiling HuggingFace HubClient+Spaces.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[661/722] Compiling HuggingFace HubClient+User.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[662/722] Compiling HuggingFace HubClient.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[663/722] Compiling HuggingFace Model.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[664/722] Compiling HuggingFace OAuth.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[665/722] Compiling HuggingFace Organization.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[666/722] Compiling HuggingFace Pagination.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[667/722] Compiling HuggingFace TextToVideo.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
[668/722] Compiling HuggingFace OAuthClient.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
[669/722] Compiling HuggingFace TokenStorage.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
[670/722] Compiling HuggingFace CacheLocationProvider.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
[671/722] Compiling HuggingFace Data+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
[672/722] Compiling HuggingFace JSONDecoder+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
[673/722] Compiling HuggingFace URL+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
[674/722] Compiling HuggingFace Git.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:100:56: error: cannot find 'fnmatch' in scope
  98 |             ? String(fullPath.dropFirst(prefix.count))
  99 |             : url.lastPathComponent
 100 |         guard globs.isEmpty || globs.contains(where: { fnmatch($0, path, 0) == 0 }) else {
     |                                                        `- error: cannot find 'fnmatch' in scope
 101 |             return nil
 102 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:86:55: error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  84 |     let prefix = base.path.hasSuffix("/") ? base.path : base.path + "/"
  85 |     return enumerator.compactMap { element in
  86 |         guard let url = element as? URL else { return nil }
     |                                                       `- error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  87 |         // Cache snapshots are trees of symlinks into the blob store, so resolve
  88 |         // before asking whether this is a file.
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2022:21: error: cannot find 'fnmatch' in scope
2020 |                 guard !globs.isEmpty else { return true }
2021 |                 return globs.contains { glob in
2022 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
2023 |                 }
2024 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2058:40: error: cannot infer contextual base in reference to member 'lfs'
2056 |         let lfsEntries =
2057 |             workItems
2058 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
2059 |             .sorted {
2060 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2065:62: error: cannot infer contextual base in reference to member 'lfs'
2063 |                 return $0.weight > $1.weight
2064 |             }
2065 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
2066 |
2067 |         // Per-file rows (path + child Progress) for the optional per-file
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2073:45: error: cannot infer contextual base in reference to member 'file'
2071 |             ? []
2072 |             : workItems
2073 |                 .filter { $0.entry.type == .file }
     |                                             `- error: cannot infer contextual base in reference to member 'file'
2074 |                 .map { ($0.entry.path, $0.entry.size.map(Int64.init), $0.progress) }
2075 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2313:17: error: cannot find 'fnmatch' in scope
2311 |             guard !globs.isEmpty else { return true }
2312 |             return globs.contains { glob in
2313 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2314 |             }
2315 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2509:17: error: cannot find 'fnmatch' in scope
2507 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
2508 |             let hasMatch = globs.contains { glob in
2509 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2510 |             }
2511 |             if hasMatch {
[675/722] Compiling HuggingFace HubCache.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:100:56: error: cannot find 'fnmatch' in scope
  98 |             ? String(fullPath.dropFirst(prefix.count))
  99 |             : url.lastPathComponent
 100 |         guard globs.isEmpty || globs.contains(where: { fnmatch($0, path, 0) == 0 }) else {
     |                                                        `- error: cannot find 'fnmatch' in scope
 101 |             return nil
 102 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:86:55: error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  84 |     let prefix = base.path.hasSuffix("/") ? base.path : base.path + "/"
  85 |     return enumerator.compactMap { element in
  86 |         guard let url = element as? URL else { return nil }
     |                                                       `- error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  87 |         // Cache snapshots are trees of symlinks into the blob store, so resolve
  88 |         // before asking whether this is a file.
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2022:21: error: cannot find 'fnmatch' in scope
2020 |                 guard !globs.isEmpty else { return true }
2021 |                 return globs.contains { glob in
2022 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
2023 |                 }
2024 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2058:40: error: cannot infer contextual base in reference to member 'lfs'
2056 |         let lfsEntries =
2057 |             workItems
2058 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
2059 |             .sorted {
2060 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2065:62: error: cannot infer contextual base in reference to member 'lfs'
2063 |                 return $0.weight > $1.weight
2064 |             }
2065 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
2066 |
2067 |         // Per-file rows (path + child Progress) for the optional per-file
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2073:45: error: cannot infer contextual base in reference to member 'file'
2071 |             ? []
2072 |             : workItems
2073 |                 .filter { $0.entry.type == .file }
     |                                             `- error: cannot infer contextual base in reference to member 'file'
2074 |                 .map { ($0.entry.path, $0.entry.size.map(Int64.init), $0.progress) }
2075 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2313:17: error: cannot find 'fnmatch' in scope
2311 |             guard !globs.isEmpty else { return true }
2312 |             return globs.contains { glob in
2313 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2314 |             }
2315 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2509:17: error: cannot find 'fnmatch' in scope
2507 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
2508 |             let hasMatch = globs.contains { glob in
2509 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2510 |             }
2511 |             if hasMatch {
[676/722] Compiling HuggingFace HubClient+Buckets.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:100:56: error: cannot find 'fnmatch' in scope
  98 |             ? String(fullPath.dropFirst(prefix.count))
  99 |             : url.lastPathComponent
 100 |         guard globs.isEmpty || globs.contains(where: { fnmatch($0, path, 0) == 0 }) else {
     |                                                        `- error: cannot find 'fnmatch' in scope
 101 |             return nil
 102 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:86:55: error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  84 |     let prefix = base.path.hasSuffix("/") ? base.path : base.path + "/"
  85 |     return enumerator.compactMap { element in
  86 |         guard let url = element as? URL else { return nil }
     |                                                       `- error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  87 |         // Cache snapshots are trees of symlinks into the blob store, so resolve
  88 |         // before asking whether this is a file.
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2022:21: error: cannot find 'fnmatch' in scope
2020 |                 guard !globs.isEmpty else { return true }
2021 |                 return globs.contains { glob in
2022 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
2023 |                 }
2024 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2058:40: error: cannot infer contextual base in reference to member 'lfs'
2056 |         let lfsEntries =
2057 |             workItems
2058 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
2059 |             .sorted {
2060 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2065:62: error: cannot infer contextual base in reference to member 'lfs'
2063 |                 return $0.weight > $1.weight
2064 |             }
2065 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
2066 |
2067 |         // Per-file rows (path + child Progress) for the optional per-file
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2073:45: error: cannot infer contextual base in reference to member 'file'
2071 |             ? []
2072 |             : workItems
2073 |                 .filter { $0.entry.type == .file }
     |                                             `- error: cannot infer contextual base in reference to member 'file'
2074 |                 .map { ($0.entry.path, $0.entry.size.map(Int64.init), $0.progress) }
2075 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2313:17: error: cannot find 'fnmatch' in scope
2311 |             guard !globs.isEmpty else { return true }
2312 |             return globs.contains { glob in
2313 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2314 |             }
2315 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2509:17: error: cannot find 'fnmatch' in scope
2507 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
2508 |             let hasMatch = globs.contains { glob in
2509 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2510 |             }
2511 |             if hasMatch {
[677/722] Compiling HuggingFace HubClient+Collections.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:100:56: error: cannot find 'fnmatch' in scope
  98 |             ? String(fullPath.dropFirst(prefix.count))
  99 |             : url.lastPathComponent
 100 |         guard globs.isEmpty || globs.contains(where: { fnmatch($0, path, 0) == 0 }) else {
     |                                                        `- error: cannot find 'fnmatch' in scope
 101 |             return nil
 102 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:86:55: error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  84 |     let prefix = base.path.hasSuffix("/") ? base.path : base.path + "/"
  85 |     return enumerator.compactMap { element in
  86 |         guard let url = element as? URL else { return nil }
     |                                                       `- error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  87 |         // Cache snapshots are trees of symlinks into the blob store, so resolve
  88 |         // before asking whether this is a file.
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2022:21: error: cannot find 'fnmatch' in scope
2020 |                 guard !globs.isEmpty else { return true }
2021 |                 return globs.contains { glob in
2022 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
2023 |                 }
2024 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2058:40: error: cannot infer contextual base in reference to member 'lfs'
2056 |         let lfsEntries =
2057 |             workItems
2058 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
2059 |             .sorted {
2060 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2065:62: error: cannot infer contextual base in reference to member 'lfs'
2063 |                 return $0.weight > $1.weight
2064 |             }
2065 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
2066 |
2067 |         // Per-file rows (path + child Progress) for the optional per-file
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2073:45: error: cannot infer contextual base in reference to member 'file'
2071 |             ? []
2072 |             : workItems
2073 |                 .filter { $0.entry.type == .file }
     |                                             `- error: cannot infer contextual base in reference to member 'file'
2074 |                 .map { ($0.entry.path, $0.entry.size.map(Int64.init), $0.progress) }
2075 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2313:17: error: cannot find 'fnmatch' in scope
2311 |             guard !globs.isEmpty else { return true }
2312 |             return globs.contains { glob in
2313 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2314 |             }
2315 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2509:17: error: cannot find 'fnmatch' in scope
2507 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
2508 |             let hasMatch = globs.contains { glob in
2509 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2510 |             }
2511 |             if hasMatch {
[678/722] Compiling HuggingFace HubClient+Datasets.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:100:56: error: cannot find 'fnmatch' in scope
  98 |             ? String(fullPath.dropFirst(prefix.count))
  99 |             : url.lastPathComponent
 100 |         guard globs.isEmpty || globs.contains(where: { fnmatch($0, path, 0) == 0 }) else {
     |                                                        `- error: cannot find 'fnmatch' in scope
 101 |             return nil
 102 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:86:55: error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  84 |     let prefix = base.path.hasSuffix("/") ? base.path : base.path + "/"
  85 |     return enumerator.compactMap { element in
  86 |         guard let url = element as? URL else { return nil }
     |                                                       `- error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  87 |         // Cache snapshots are trees of symlinks into the blob store, so resolve
  88 |         // before asking whether this is a file.
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2022:21: error: cannot find 'fnmatch' in scope
2020 |                 guard !globs.isEmpty else { return true }
2021 |                 return globs.contains { glob in
2022 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
2023 |                 }
2024 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2058:40: error: cannot infer contextual base in reference to member 'lfs'
2056 |         let lfsEntries =
2057 |             workItems
2058 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
2059 |             .sorted {
2060 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2065:62: error: cannot infer contextual base in reference to member 'lfs'
2063 |                 return $0.weight > $1.weight
2064 |             }
2065 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
2066 |
2067 |         // Per-file rows (path + child Progress) for the optional per-file
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2073:45: error: cannot infer contextual base in reference to member 'file'
2071 |             ? []
2072 |             : workItems
2073 |                 .filter { $0.entry.type == .file }
     |                                             `- error: cannot infer contextual base in reference to member 'file'
2074 |                 .map { ($0.entry.path, $0.entry.size.map(Int64.init), $0.progress) }
2075 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2313:17: error: cannot find 'fnmatch' in scope
2311 |             guard !globs.isEmpty else { return true }
2312 |             return globs.contains { glob in
2313 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2314 |             }
2315 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2509:17: error: cannot find 'fnmatch' in scope
2507 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
2508 |             let hasMatch = globs.contains { glob in
2509 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2510 |             }
2511 |             if hasMatch {
[679/722] Compiling HuggingFace HubClient+Discussions.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:100:56: error: cannot find 'fnmatch' in scope
  98 |             ? String(fullPath.dropFirst(prefix.count))
  99 |             : url.lastPathComponent
 100 |         guard globs.isEmpty || globs.contains(where: { fnmatch($0, path, 0) == 0 }) else {
     |                                                        `- error: cannot find 'fnmatch' in scope
 101 |             return nil
 102 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:86:55: error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  84 |     let prefix = base.path.hasSuffix("/") ? base.path : base.path + "/"
  85 |     return enumerator.compactMap { element in
  86 |         guard let url = element as? URL else { return nil }
     |                                                       `- error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  87 |         // Cache snapshots are trees of symlinks into the blob store, so resolve
  88 |         // before asking whether this is a file.
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2022:21: error: cannot find 'fnmatch' in scope
2020 |                 guard !globs.isEmpty else { return true }
2021 |                 return globs.contains { glob in
2022 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
2023 |                 }
2024 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2058:40: error: cannot infer contextual base in reference to member 'lfs'
2056 |         let lfsEntries =
2057 |             workItems
2058 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
2059 |             .sorted {
2060 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2065:62: error: cannot infer contextual base in reference to member 'lfs'
2063 |                 return $0.weight > $1.weight
2064 |             }
2065 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
2066 |
2067 |         // Per-file rows (path + child Progress) for the optional per-file
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2073:45: error: cannot infer contextual base in reference to member 'file'
2071 |             ? []
2072 |             : workItems
2073 |                 .filter { $0.entry.type == .file }
     |                                             `- error: cannot infer contextual base in reference to member 'file'
2074 |                 .map { ($0.entry.path, $0.entry.size.map(Int64.init), $0.progress) }
2075 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2313:17: error: cannot find 'fnmatch' in scope
2311 |             guard !globs.isEmpty else { return true }
2312 |             return globs.contains { glob in
2313 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2314 |             }
2315 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2509:17: error: cannot find 'fnmatch' in scope
2507 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
2508 |             let hasMatch = globs.contains { glob in
2509 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2510 |             }
2511 |             if hasMatch {
[680/722] Compiling HuggingFace HubClient+Files.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift:199:36: error: type 'URL' has no member 'cachesDirectory'
197 |         environment env: [String: String] = ProcessInfo.processInfo.environment,
198 |         homeDirectory: URL = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true),
199 |         cachesDirectory: URL = URL.cachesDirectory
    |                                    `- error: type 'URL' has no member 'cachesDirectory'
200 |     ) -> URL {
201 |         #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:100:56: error: cannot find 'fnmatch' in scope
  98 |             ? String(fullPath.dropFirst(prefix.count))
  99 |             : url.lastPathComponent
 100 |         guard globs.isEmpty || globs.contains(where: { fnmatch($0, path, 0) == 0 }) else {
     |                                                        `- error: cannot find 'fnmatch' in scope
 101 |             return nil
 102 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:86:55: error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  84 |     let prefix = base.path.hasSuffix("/") ? base.path : base.path + "/"
  85 |     return enumerator.compactMap { element in
  86 |         guard let url = element as? URL else { return nil }
     |                                                       `- error: 'nil' is not compatible with closure result type 'SnapshotFileProgress'
  87 |         // Cache snapshots are trees of symlinks into the blob store, so resolve
  88 |         // before asking whether this is a file.
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2022:21: error: cannot find 'fnmatch' in scope
2020 |                 guard !globs.isEmpty else { return true }
2021 |                 return globs.contains { glob in
2022 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
2023 |                 }
2024 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2058:40: error: cannot infer contextual base in reference to member 'lfs'
2056 |         let lfsEntries =
2057 |             workItems
2058 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
2059 |             .sorted {
2060 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2065:62: error: cannot infer contextual base in reference to member 'lfs'
2063 |                 return $0.weight > $1.weight
2064 |             }
2065 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
2066 |
2067 |         // Per-file rows (path + child Progress) for the optional per-file
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2073:45: error: cannot infer contextual base in reference to member 'file'
2071 |             ? []
2072 |             : workItems
2073 |                 .filter { $0.entry.type == .file }
     |                                             `- error: cannot infer contextual base in reference to member 'file'
2074 |                 .map { ($0.entry.path, $0.entry.size.map(Int64.init), $0.progress) }
2075 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2313:17: error: cannot find 'fnmatch' in scope
2311 |             guard !globs.isEmpty else { return true }
2312 |             return globs.contains { glob in
2313 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2314 |             }
2315 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:2509:17: error: cannot find 'fnmatch' in scope
2507 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
2508 |             let hasMatch = globs.contains { glob in
2509 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
2510 |             }
2511 |             if hasMatch {
[681/722] Compiling HuggingFace AccessRequest.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[682/722] Compiling HuggingFace Billing.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[683/722] Compiling HuggingFace Bucket.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[684/722] Compiling HuggingFace Collection.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[685/722] Compiling HuggingFace CommaSeparatedList.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[686/722] Compiling HuggingFace Dataset.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[687/722] Compiling HuggingFace Discussion.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
[688/722] Compiling HuggingFace File.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  6 |     import Glibc
  7 | #else
  8 |     #error("FileLock is only supported on Darwin and Linux (Glibc) platforms.")
    |            `- error: FileLock is only supported on Darwin and Linux (Glibc) platforms.
  9 | #endif
 10 |
BUILD FAILURE 6.2 android