The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-transformers, reference 1.3.0 (b38443), with Swift 6.2 for Android on 23 Mar 2026 19:19:36 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/swift-transformers.git
Reference: 1.3.0
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/huggingface/swift-transformers
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at b38443e Add Swift 6.1 manifest to forward Xet trait to `swift-huggingface` dependency (#334)
Cloned https://github.com/huggingface/swift-transformers.git
Revision (git rev-parse @):
b38443e44d93eca770f2eb68e2a4d0fa100f9aa2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/huggingface/swift-transformers.git at 1.3.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/huggingface/swift-transformers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ed06329bcd62885fa27d8bb2bd26ede56f367c486166aaeeac553557f3a78bad
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
[1/2329] Fetching swift-huggingface
[71/24957] Fetching swift-huggingface, swift-collections
[1107/25972] Fetching swift-huggingface, swift-collections, swift-jinja
[5156/30379] Fetching swift-huggingface, swift-collections, swift-jinja, yyjson
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.41s)
[2916/45296] Fetching swift-collections, swift-jinja, yyjson, swift-crypto
Fetched https://github.com/huggingface/swift-jinja.git from cache (2.13s)
[35486/44281] Fetching swift-collections, yyjson, swift-crypto
Fetched https://github.com/ibireme/yyjson.git from cache (2.14s)
[31424/39874] Fetching swift-collections, swift-crypto
Fetched https://github.com/apple/swift-collections.git from cache (3.04s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.04s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (6.03s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.46s)
Fetching https://github.com/mattt/EventSource.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.24s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (0.80s)
Fetching https://github.com/apple/swift-nio.git
[1/82905] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.62s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.2 (8.05s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.01s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.0 (1.12s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[1821/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (1.17s)
Fetched https://github.com/apple/swift-system.git from cache (1.17s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.07s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.0 (3.70s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.37s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.90s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.0
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.9.0
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.2
Building for debugging...
[0/404] Write sources
[5/404] Copying t5_tokenizer_config.json
[9/404] Write sources
[18/404] Copying gpt2_tokenizer_config.json
[19/404] Compiling _AtomicsShims.c
[20/404] Compiling CXKCPShims shims.c
[21/404] Compiling SimpleFIPS202.c
[22/404] Compiling CNIOWindows shim.c
[23/404] Compiling KeccakHash.c
[23/404] Compiling KeccakSponge.c
[25/404] Write swift-version--11D90AFD9DD3AB2.txt
[26/404] Compiling CNIOWASI CNIOWASI.c
[26/404] Compiling CNIOWindows WSAStartup.c
[28/404] Compiling CNIOOpenBSD shim.c
[29/404] Compiling CNIOLinux liburing_shims.c
[30/404] Compiling CNIODarwin shim.c
[31/406] Compiling CNIOLinux shim.c
[32/428] Compiling CCryptoBoringSSLShims shims.c
[33/428] Compiling fiat_p256_adx_sqr.S
[34/428] Compiling KeccakP-1600-opt64.c
[35/428] Compiling fiat_curve25519_adx_square.S
[36/428] Compiling fiat_p256_adx_mul.S
[37/428] Compiling fiat_curve25519_adx_mul.S
[38/428] Compiling md5-x86_64-linux.S
[39/428] Compiling md5-x86_64-apple.S
[40/428] Compiling md5-586-linux.S
[41/428] Compiling md5-586-apple.S
[42/428] Compiling chacha20_poly1305_x86_64-linux.S
[43/428] Compiling chacha20_poly1305_x86_64-apple.S
[44/428] Compiling err_data.cc
[45/428] Compiling chacha20_poly1305_armv8-win.S
[46/428] Compiling chacha20_poly1305_armv8-linux.S
[47/428] Compiling chacha20_poly1305_armv8-apple.S
[48/428] Compiling chacha-x86_64-linux.S
[49/428] Compiling chacha-x86_64-apple.S
[50/428] Compiling chacha-x86-linux.S
[51/428] Compiling chacha-x86-apple.S
[52/428] Compiling chacha-armv8-win.S
[53/428] Compiling chacha-armv8-apple.S
[54/428] Compiling chacha-armv8-linux.S
[55/428] Compiling aes128gcmsiv-x86_64-linux.S
[56/428] Compiling chacha-armv4-linux.S
[57/428] Compiling aes128gcmsiv-x86_64-apple.S
[58/428] Compiling x86_64-mont5-linux.S
[60/428] Emitting module _NIODataStructures
[60/428] Compiling x86_64-mont5-apple.S
[61/428] Compiling x86_64-mont-linux.S
[62/428] Compiling x86_64-mont-apple.S
[63/428] Compiling x86-mont-linux.S
[64/428] Compiling x86-mont-apple.S
[65/428] Compiling vpaes-x86_64-linux.S
[66/428] Compiling vpaes-x86_64-apple.S
[67/428] Compiling vpaes-x86-linux.S
[68/428] Compiling vpaes-x86-apple.S
[69/428] Compiling vpaes-armv8-win.S
[70/428] Compiling vpaes-armv8-linux.S
[71/428] Compiling vpaes-armv8-apple.S
[72/428] Compiling vpaes-armv7-linux.S
[73/428] Compiling sha512-x86_64-linux.S
[74/428] Compiling sha512-x86_64-apple.S
[75/428] Compiling sha512-armv8-win.S
[76/428] Compiling sha512-armv8-apple.S
[77/428] Compiling sha512-armv8-linux.S
[78/428] Compiling sha512-armv4-linux.S
[78/428] Compiling sha512-586-linux.S
[80/428] Compiling sha256-x86_64-linux.S
[81/428] Compiling sha512-586-apple.S
[82/428] Compiling sha256-x86_64-apple.S
[83/428] Compiling sha256-armv8-win.S
[84/428] Compiling sha256-armv8-linux.S
[85/428] Compiling sha256-armv8-apple.S
[86/428] Compiling sha256-armv4-linux.S
[87/428] Compiling sha256-586-linux.S
[88/428] Compiling sha256-586-apple.S
[89/428] Compiling sha1-x86_64-linux.S
[90/428] Compiling sha1-x86_64-apple.S
[91/428] Compiling sha1-armv8-win.S
[92/428] Compiling sha1-armv8-linux.S
[93/428] Compiling sha1-armv8-apple.S
[94/428] Compiling sha1-586-linux.S
[95/428] Compiling yyjson.c
[96/428] Compiling sha1-armv4-large-linux.S
[97/428] Compiling sha1-586-apple.S
[98/428] Compiling rsaz-avx2-linux.S
[99/428] Compiling rsaz-avx2-apple.S
[100/428] Compiling rdrand-x86_64-linux.S
[101/428] Compiling p256_beeu-x86_64-asm-linux.S
[101/428] Compiling rdrand-x86_64-apple.S
[103/428] Compiling p256_beeu-x86_64-asm-apple.S
[104/428] Compiling p256_beeu-armv8-asm-win.S
[105/428] Compiling p256_beeu-armv8-asm-linux.S
[106/428] Compiling p256-x86_64-asm-linux.S
[107/428] Compiling p256-x86_64-asm-apple.S
[108/428] Compiling p256_beeu-armv8-asm-apple.S
[109/428] Compiling p256-armv8-asm-win.S
[110/428] Compiling ghashv8-armv8-win.S
[111/428] Compiling p256-armv8-asm-apple.S
[112/428] Compiling p256-armv8-asm-linux.S
[113/428] Compiling ghashv8-armv8-linux.S
[114/428] Compiling ghashv8-armv8-apple.S
[115/428] Compiling ghashv8-armv7-linux.S
[116/428] Compiling ghash-x86_64-linux.S
[117/428] Compiling ghash-x86-linux.S
[118/428] Compiling ghash-x86_64-apple.S
[119/428] Compiling ghash-x86-apple.S
[120/428] Compiling ghash-ssse3-x86_64-linux.S
[121/428] Compiling ghash-ssse3-x86_64-apple.S
[122/428] Compiling ghash-ssse3-x86-linux.S
[123/428] Compiling ghash-neon-armv8-win.S
[124/428] Compiling ghash-ssse3-x86-apple.S
[125/428] Compiling ghash-neon-armv8-linux.S
[126/428] Compiling ghash-neon-armv8-apple.S
[127/428] Compiling ghash-armv4-linux.S
[128/428] Compiling co-586-linux.S
[129/428] Compiling bsaes-armv7-linux.S
[130/428] Compiling co-586-apple.S
[131/428] Compiling bn-armv8-win.S
[132/428] Compiling bn-armv8-apple.S
[133/428] Compiling bn-armv8-linux.S
[134/428] Compiling bn-586-linux.S
[135/428] Compiling armv8-mont-win.S
[136/428] Compiling bn-586-apple.S
[137/428] Compiling armv8-mont-linux.S
[138/428] Compiling armv8-mont-apple.S
[139/428] Compiling c-nioatomics.c
[140/428] Compiling armv4-mont-linux.S
[141/428] Compiling aesv8-gcm-armv8-win.S
[142/428] Compiling aesv8-gcm-armv8-apple.S
[143/428] Compiling aesv8-gcm-armv8-linux.S
[145/428] Emitting module InternalCollectionsUtilities
[146/428] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[147/428] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[147/430] Compiling aesv8-armv8-win.S
[148/430] Compiling aesv8-armv8-linux.S
[149/430] Compiling aesv8-armv8-apple.S
[151/430] Compiling _NIODataStructures PriorityQueue.swift
[151/430] Compiling aesv8-armv7-linux.S
[153/430] Compiling InternalCollectionsUtilities Debugging.swift
[154/430] Compiling InternalCollectionsUtilities Descriptions.swift
[155/430] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[156/430] Compiling InternalCollectionsUtilities Integer rank.swift
[157/430] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[158/430] Compiling InternalCollectionsUtilities UInt+reversed.swift
[159/430] Compiling InternalCollectionsUtilities _SortedCollection.swift
[160/430] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[161/430] Compiling _NIODataStructures _TinyArray.swift
[161/430] Compiling aesni-x86_64-linux.S
[162/430] Compiling aesni-x86_64-apple.S
[164/430] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[165/430] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[166/430] Compiling InternalCollectionsUtilities Span+Extras.swift
[167/430] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[168/430] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[169/430] Compiling InternalCollectionsUtilities String+Padding.swift
[170/430] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[171/430] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[172/430] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[173/430] Compiling _NIODataStructures Heap.swift
[173/430] Compiling aesni-x86-linux.S
[174/431] Compiling aesni-x86-apple.S
[176/431] Emitting module _NIOBase64
[177/431] Compiling _NIOBase64 Base64.swift
[177/433] Compiling aesni-gcm-x86_64-linux.S
[179/433] Compiling aesni-gcm-x86_64-apple.S
[181/433] Compiling aes-gcm-avx512-x86_64-apple.S
[183/433] Compiling aes-gcm-avx2-x86_64-linux.S
[184/433] Compiling aes-gcm-avx512-x86_64-linux.S
[185/433] Compiling aes-gcm-avx2-x86_64-apple.S
[187/502] Compiling OrderedCollections OrderedDictionary.swift
[188/502] Compiling OrderedCollections OrderedSet+Codable.swift
[189/502] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[190/502] Compiling OrderedCollections OrderedSet+Descriptions.swift
[191/504] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[192/504] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[193/504] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[194/504] Compiling OrderedCollections OrderedDictionary+Values.swift
[195/518] Compiling OrderedCollections OrderedSet+Diffing.swift
[196/518] Compiling OrderedCollections OrderedSet+Equatable.swift
[197/518] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[198/518] Compiling OrderedCollections OrderedSet+Hashable.swift
[199/523] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[200/523] Compiling OrderedCollections _HashTable.swift
[201/523] Compiling OrderedCollections _Hashtable+Header.swift
[202/523] Compiling OrderedCollections OrderedDictionary+Codable.swift
[203/523] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[204/525] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[205/525] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[206/525] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[207/525] Compiling OrderedCollections OrderedDictionary+Elements.swift
[208/525] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[209/525] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[210/525] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[211/525] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[212/525] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[213/525] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[213/525] Compiling c-atomics.c
[215/525] Compiling ContainersPreview Box.swift
[216/525] Compiling ContainersPreview Inout.swift
[217/525] Compiling ContainersPreview InputSpan.swift
[218/525] Compiling ContainersPreview Shared.swift
[219/525] Emitting module ContainersPreview
[220/525] Compiling OrderedCollections _HashTable+Bucket.swift
[221/525] Compiling OrderedCollections _HashTable+BucketIterator.swift
[222/525] Compiling OrderedCollections _HashTable+Constants.swift
[223/525] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[224/525] Compiling OrderedCollections _HashTable+Testing.swift
[226/527] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[227/527] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[228/527] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[229/527] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[230/527] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[231/527] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[232/527] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[233/540] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[234/540] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[235/540] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[236/540] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[237/540] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[238/540] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[239/540] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[239/540] Compiling xwing.cc
[240/540] Compiling x_sig.cc
[242/580] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[243/580] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[243/580] Compiling x_spki.cc
[245/580] Emitting module NIOConcurrencyHelpers
[245/580] Compiling x_x509a.cc
[247/580] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[248/580] Compiling NIOConcurrencyHelpers NIOLock.swift
[249/580] Compiling DequeModule RigidDeque+Removals.swift
[250/580] Compiling DequeModule RigidDeque+Replacements.swift
[251/580] Compiling DequeModule RigidDeque+Testing.swift
[252/580] Compiling DequeModule RigidDeque.swift
[253/580] Compiling DequeModule UniqueDeque+Append.swift
[254/580] Compiling DequeModule UniqueDeque+Hashable.swift
[255/580] Compiling DequeModule UniqueDeque+Initializers.swift
[256/580] Compiling DequeModule UniqueDeque+Insertions.swift
[257/580] Compiling DequeModule UniqueDeque+Prepend.swift
[258/580] Compiling DequeModule UniqueDeque+Removals.swift
[259/580] Compiling DequeModule UniqueDeque+Consumption.swift
[260/580] Compiling DequeModule UniqueDeque+Container.swift
[261/580] Compiling DequeModule UniqueDeque+Descriptions.swift
[262/580] Compiling DequeModule UniqueDeque+Equatable.swift
[263/580] Compiling DequeModule UniqueDeque+Experimental.swift
[264/580] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[265/580] Compiling DequeModule RigidDeque+Insertions.swift
[266/580] Compiling DequeModule RigidDeque+Prepend.swift
[267/580] Compiling DequeModule _DequeBuffer.swift
[268/580] Compiling DequeModule _DequeBufferHeader.swift
[269/580] Compiling DequeModule RigidDeque+Append.swift
[270/580] Compiling DequeModule RigidDeque+Consumption.swift
[271/580] Compiling DequeModule RigidDeque+Container.swift
[272/580] Compiling DequeModule RigidDeque+Descriptions.swift
[272/580] Compiling x_req.cc
[279/585] Compiling DequeModule Deque+Testing.swift
[280/585] Compiling DequeModule Deque._Storage.swift
[281/585] Compiling DequeModule Deque._UnsafeHandle.swift
[282/585] Compiling DequeModule Deque.swift
[283/585] Compiling DequeModule RigidDeque+Equatable.swift
[284/585] Compiling DequeModule RigidDeque+Experimental.swift
[285/585] Compiling DequeModule RigidDeque+Hashable.swift
[286/585] Compiling DequeModule RigidDeque+Initializers.swift
[287/585] Compiling NIOConcurrencyHelpers lock.swift
[287/585] Compiling x_x509.cc
[294/585] Compiling NIOConcurrencyHelpers atomics.swift
[313/586] Compiling DequeModule Deque+Codable.swift
[314/586] Compiling DequeModule Deque+Collection.swift
[315/586] Compiling DequeModule Deque+CustomReflectable.swift
[316/586] Compiling DequeModule Deque+Descriptions.swift
[317/586] Compiling DequeModule Deque+Equatable.swift
[318/586] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[319/586] Compiling DequeModule Deque+Extras.swift
[320/586] Compiling DequeModule Deque+Hashable.swift
[320/586] Compiling x_name.cc
[321/586] Compiling x_exten.cc
[323/586] Compiling OrderedCollections OrderedSet+Sendable.swift
[324/586] Compiling OrderedCollections OrderedSet+SubSequence.swift
[325/586] Compiling OrderedCollections OrderedSet+Testing.swift
[326/586] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[327/586] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[328/586] Compiling OrderedCollections OrderedSet.swift
[329/586] Compiling OrderedCollections _UnsafeBitset.swift
[329/586] Compiling x_pubkey.cc
[330/586] Compiling x_crl.cc
[332/586] Emitting module OrderedCollections
[345/587] Compiling x_all.cc
[346/587] Compiling x_attrib.cc
[347/601] Compiling x509spki.cc
[348/601] Compiling x_algor.cc
[349/601] Compiling x509rset.cc
[350/601] Compiling x509name.cc
[351/601] Compiling x509_vpm.cc
[352/601] Compiling x509cset.cc
[353/601] Compiling x509_vfy.cc
[354/601] Compiling x509_txt.cc
[355/601] Compiling x509_v3.cc
[357/601] Emitting module DequeModule
[357/601] Compiling x509_trs.cc
[359/601] Compiling DequeModule UniqueDeque+Replacements.swift
[360/601] Compiling DequeModule UniqueDeque.swift
[361/601] Compiling DequeModule _DequeSlot.swift
[362/601] Compiling DequeModule _UnsafeDequeHandle.swift
[363/601] Compiling DequeModule _UnsafeDequeSegments.swift
[364/602] Compiling x509_set.cc
[365/602] Compiling x509_req.cc
[366/602] Compiling x509_obj.cc
[367/602] Compiling x509_def.cc
[368/602] Compiling x509_lu.cc
[369/602] Compiling x509_ext.cc
[370/602] Compiling x509_d2.cc
[371/602] Compiling x509_cmp.cc
[372/602] Compiling x509_att.cc
[374/602] Compiling Jinja Utilities.swift
[374/603] Compiling v3_skey.cc
[375/603] Compiling x509.cc
[376/603] Compiling v3_utl.cc
[377/603] Compiling v3_prn.cc
[378/603] Compiling v3_pmaps.cc
[379/603] Compiling v3_purp.cc
[380/603] Compiling v3_pcons.cc
[381/603] Compiling v3_ncons.cc
[382/603] Compiling v3_ocsp.cc
[383/603] Compiling v3_lib.cc
[384/603] Compiling v3_int.cc
[386/603] Compiling Jinja Tests.swift
[387/603] Compiling Jinja Token.swift
[387/603] Compiling v3_info.cc
[388/603] Compiling v3_ia5.cc
[389/603] Compiling v3_enum.cc
[390/603] Compiling v3_extku.cc
[391/603] Compiling v3_genn.cc
[392/603] Compiling v3_cpols.cc
[393/603] Compiling v3_crld.cc
[394/603] Compiling v3_bitst.cc
[395/603] Compiling v3_conf.cc
[397/603] Compiling Jinja PropertyMembers.swift
[398/603] Compiling Jinja Template.swift
[399/603] Compiling Jinja Macro.swift
[400/603] Compiling Jinja Parser.swift
[401/603] Compiling Jinja AST.swift
[402/603] Compiling Jinja Error.swift
[403/603] Emitting module Jinja
[404/603] Compiling Jinja Value.swift
[404/603] Compiling v3_bcons.cc
[406/603] Compiling Jinja Interpreter.swift
[407/603] Compiling Jinja Lexer.swift
[408/603] Compiling Jinja Filters.swift
[409/603] Compiling Jinja Globals.swift
[409/604] Compiling v3_akeya.cc
[411/604] Compiling v3_alt.cc
[412/604] Compiling v3_akey.cc
[413/604] Compiling t_x509a.cc
[414/604] Compiling t_x509.cc
[415/604] Compiling t_req.cc
[416/604] Compiling rsa_pss.cc
[417/604] Compiling i2d_pr.cc
[418/604] Compiling name_print.cc
[419/604] Compiling t_crl.cc
[420/604] Compiling policy.cc
[421/604] Compiling by_file.cc
[422/604] Compiling by_dir.cc
[423/604] Compiling algorithm.cc
[424/604] Compiling a_verify.cc
[425/604] Compiling a_sign.cc
[426/604] Compiling a_digest.cc
[427/604] Compiling asn1_gen.cc
[428/604] Compiling voprf.cc
[429/604] Compiling trust_token.cc
[430/604] Compiling thread_win.cc
[431/604] Compiling thread_pthread.cc
[432/604] Compiling thread.cc
[433/604] Compiling thread_none.cc
[434/604] Compiling stack.cc
[435/604] Compiling pmbtoken.cc
[436/604] Compiling siphash.cc
[437/604] Compiling slhdsa.cc
[438/604] Compiling spake2plus.cc
[439/604] Compiling sha1.cc
[440/604] Compiling sha512.cc
[441/604] Compiling sha256.cc
[442/604] Compiling rsa_extra.cc
[443/604] Compiling rsa_print.cc
[444/604] Compiling rsa_asn1.cc
[445/604] Compiling refcount.cc
[446/604] Compiling rc4.cc
[447/604] Compiling windows.cc
[448/604] Compiling rsa_crypt.cc
[449/604] Compiling urandom.cc
[450/604] Compiling trusty.cc
[451/604] Compiling rand.cc
[452/604] Compiling getentropy.cc
[453/604] Compiling passive.cc
[454/604] Compiling poly1305_arm_asm.S
[455/604] Compiling deterministic.cc
[456/604] Compiling ios.cc
[457/604] Compiling forkunsafe.cc
[458/604] Compiling fork_detect.cc
[459/604] Compiling pool.cc
[460/604] Compiling poly1305_arm.cc
[461/604] Compiling poly1305_vec.cc
[462/604] Compiling poly1305.cc
[463/604] Compiling pkcs7.cc
[464/604] Compiling pkcs8_x509.cc
[465/604] Compiling p5_pbev2.cc
[466/604] Compiling pkcs8.cc
[467/604] Compiling pem_xaux.cc
[468/604] Compiling pem_pkey.cc
[469/604] Compiling pem_x509.cc
[470/604] Compiling pkcs7_x509.cc
[471/604] Compiling mlkem.cc
[472/604] Compiling obj_xref.cc
[473/604] Compiling pem_pk8.cc
[474/604] Compiling pem_lib.cc
[475/604] Compiling pem_info.cc
[476/604] Compiling pem_all.cc
[477/604] Compiling mldsa.cc
[478/604] Compiling obj.cc
[479/604] Compiling poly_rq_mul.S
[480/604] Compiling pem_oth.cc
[481/604] Compiling mem.cc
[482/604] Compiling fips_shared_support.cc
[483/604] Compiling hrss.cc
[484/604] Compiling md5.cc
[485/604] Compiling lhash.cc
[486/604] Compiling fuzzer_mode.cc
[487/604] Compiling kyber.cc
[488/604] Compiling md4.cc
[489/604] Compiling ex_data.cc
[490/604] Compiling hpke.cc
[491/604] Compiling pbkdf.cc
[492/604] Compiling scrypt.cc
[493/604] Compiling print.cc
[494/604] Compiling sign.cc
[495/604] Compiling p_x25519_asn1.cc
[496/604] Compiling p_x25519.cc
[497/604] Compiling p_rsa_asn1.cc
[498/604] Compiling p_hkdf.cc
[499/604] Compiling p_rsa.cc
[500/604] Compiling p_ed25519_asn1.cc
[501/604] Compiling p_ed25519.cc
[502/604] Compiling p_ec_asn1.cc
[503/604] Compiling p_ec.cc
[504/604] Compiling p_dsa_asn1.cc
[505/604] Compiling p_dh.cc
[506/604] Compiling p_dh_asn1.cc
[507/604] Compiling engine.cc
[508/604] Compiling evp_ctx.cc
[509/604] Compiling err.cc
[510/604] Compiling ecdsa_p1363.cc
[511/604] Compiling evp.cc
[512/604] Compiling evp_asn1.cc
[513/604] Compiling ecdh.cc
[514/604] Compiling ec_derive.cc
[515/604] Compiling ecdsa_asn1.cc
[516/604] Compiling hash_to_curve.cc
[517/604] Compiling dsa.cc
[518/604] Compiling ec_asn1.cc
[519/604] Compiling dsa_asn1.cc
[520/604] Compiling digest_extra.cc
[521/604] Compiling x25519-asm-arm.S
[522/604] Compiling des.cc
[523/604] Compiling params.cc
[524/604] Compiling curve25519_64_adx.cc
[525/604] Compiling spake25519.cc
[526/604] Compiling dh_asn1.cc
[527/604] Compiling curve25519.cc
[528/604] Compiling crypto.cc
[529/604] Compiling cpu_intel.cc
[530/604] Compiling cpu_arm_linux.cc
[531/604] Compiling cpu_arm_freebsd.cc
[532/604] Compiling cpu_aarch64_sysreg.cc
[533/604] Compiling cpu_aarch64_win.cc
[534/604] Compiling cpu_aarch64_openbsd.cc
[535/604] Compiling cpu_aarch64_apple.cc
[536/604] Compiling cpu_aarch64_linux.cc
[537/604] Compiling cpu_aarch64_fuchsia.cc
[538/604] Compiling conf.cc
[539/604] Compiling cms.cc
[540/604] Compiling get_cipher.cc
[541/604] Compiling tls_cbc.cc
[542/604] Compiling e_tls.cc
[543/604] Compiling e_null.cc
[544/604] Compiling e_aeseax.cc
[545/604] Compiling e_rc4.cc
[546/604] Compiling e_rc2.cc
[547/604] Compiling e_chacha20poly1305.cc
[548/604] Compiling e_aesgcmsiv.cc
[549/604] Compiling e_des.cc
[550/604] Compiling e_aesctrhmac.cc
[551/604] Compiling chacha.cc
[552/604] Compiling derive_key.cc
[553/604] Compiling cbb.cc
[554/604] Compiling unicode.cc
[555/604] Compiling buf.cc
[556/604] Compiling cbs.cc
[557/604] Compiling sqrt.cc
[558/604] Compiling ber.cc
[559/604] Compiling exponentiation.cc
[560/604] Compiling asn1_compat.cc
[561/604] Compiling div.cc
[562/604] Compiling blake2.cc
[563/604] Compiling pair.cc
[564/604] Compiling bn_asn1.cc
[565/604] Compiling convert.cc
[566/604] Compiling printf.cc
[567/604] Compiling hexdump.cc
[568/604] Compiling file.cc
[569/604] Compiling bio_mem.cc
[570/604] Compiling fd.cc
[571/604] Compiling base64.cc
[572/604] Compiling errno.cc
[573/604] Compiling bio.cc
[574/604] Compiling tasn_enc.cc
[575/604] Compiling tasn_typ.cc
[576/604] Compiling tasn_utl.cc
[577/604] Compiling tasn_fre.cc
[578/604] Compiling posix_time.cc
[579/604] Compiling tasn_new.cc
[580/604] Compiling f_string.cc
[581/604] Compiling tasn_dec.cc
[582/604] Compiling f_int.cc
[583/604] Compiling asn_pack.cc
[584/604] Compiling asn1_par.cc
[585/604] Compiling bcm.cc
[586/604] Compiling asn1_lib.cc
[587/604] Compiling a_octet.cc
[588/604] Compiling a_utctm.cc
[589/604] Compiling a_type.cc
[590/604] Compiling a_time.cc
[591/604] Compiling a_strex.cc
[592/604] Compiling a_strnid.cc
[593/604] Compiling a_mbstr.cc
[594/604] Compiling a_object.cc
[595/604] Compiling a_i2d_fp.cc
[595/604] Write sources
[597/622] Compiling a_dup.cc
[598/622] Compiling a_int.cc
[599/622] Compiling a_gentm.cc
[600/622] Compiling a_d2i_fp.cc
[602/622] Compiling Atomics UnsafeAtomic.swift
[603/622] Compiling Atomics UnsafeAtomicLazyReference.swift
[604/624] Compiling Atomics ManagedAtomic.swift
[605/624] Compiling Atomics ManagedAtomicLazyReference.swift
[606/624] Compiling Atomics AtomicMemoryOrderings.swift
[607/624] Compiling Atomics DoubleWord.swift
[608/624] Compiling Atomics AtomicStorage.swift
[609/624] Compiling Atomics AtomicValue.swift
[609/624] Compiling aes.cc
[610/624] Compiling a_bool.cc
[612/624] Compiling Atomics IntegerOperations.swift
[613/624] Compiling Atomics Unmanaged extensions.swift
[613/624] Compiling a_bitstr.cc
[615/625] Compiling Atomics AtomicInteger.swift
[616/625] Compiling Atomics AtomicOptionalWrappable.swift
[617/625] Compiling Atomics AtomicReference.swift
[618/632] Compiling CryptoBoringWrapper RandomBytes.swift
[619/632] Compiling CryptoBoringWrapper EllipticCurve.swift
[620/632] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[621/632] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[622/632] Emitting module CryptoBoringWrapper
[623/632] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[624/632] Emitting module Atomics
[625/632] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[626/632] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[628/633] Compiling Atomics IntegerConformances.swift
[629/633] Compiling Atomics PointerConformances.swift
[630/633] Compiling Atomics Primitives.native.swift
[631/633] Compiling Atomics OptionalRawRepresentable.swift
[632/633] Compiling Atomics RawRepresentable.swift
[633/633] Compiling Atomics AtomicBool.swift
[635/781] Compiling NIOCore NIOCoreSendableMetatype.swift
[636/781] Compiling NIOCore NIODecodedAsyncSequence.swift
[637/781] Compiling NIOCore NIOLoopBound.swift
[638/781] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[639/781] Compiling NIOCore NIOScheduledCallback.swift
[640/781] Compiling NIOCore NIOSendable.swift
[641/781] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[642/781] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[643/781] Compiling NIOCore RecvByteBufferAllocator.swift
[644/789] Compiling NIOCore ChannelInvoker.swift
[645/789] Compiling NIOCore ChannelOption.swift
[646/789] Compiling NIOCore ChannelPipeline.swift
[647/789] Compiling NIOCore CircularBuffer.swift
[648/789] Compiling NIOCore Codec.swift
[649/789] Compiling NIOCore ConvenienceOptionSupport.swift
[650/789] Compiling NIOCore DeadChannel.swift
[651/789] Compiling NIOCore DispatchQueue+WithFuture.swift
[652/789] Compiling NIOCore EventLoop+Deprecated.swift
[653/789] Compiling NIOCore EventLoop+SerialExecutor.swift
[654/789] Compiling NIOCore EventLoop.swift
[655/789] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[656/800] Compiling NIOCore EventLoopFuture+Deprecated.swift
[657/800] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[658/800] Compiling NIOCore EventLoopFuture.swift
[659/800] Compiling NIOCore FileDescriptor.swift
[660/800] Compiling NIOCore FileHandle.swift
[661/800] Compiling NIOCore FileRegion.swift
[662/800] Compiling NIOCore GlobalSingletons.swift
[663/800] Compiling NIOCore IO.swift
[664/800] Compiling NIOCore IOData.swift
[665/800] Emitting module Crypto
[666/800] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[667/800] Compiling NIOCore ByteBuffer-conversions.swift
[668/800] Compiling NIOCore ByteBuffer-core.swift
[669/800] Compiling NIOCore ByteBuffer-hex.swift
[670/800] Compiling NIOCore ByteBuffer-int.swift
[671/800] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[672/800] Compiling NIOCore ByteBuffer-multi-int.swift
[673/800] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[674/800] Compiling NIOCore ByteBuffer-views.swift
[675/800] Compiling NIOCore Channel.swift
[676/800] Compiling NIOCore ChannelHandler.swift
[677/800] Compiling NIOCore ChannelHandlers.swift
[678/800] Compiling NIOCore AddressedEnvelope.swift
[679/800] Compiling NIOCore AsyncAwaitSupport.swift
[680/800] Compiling NIOCore AsyncChannel.swift
[681/800] Compiling NIOCore AsyncChannelHandler.swift
[682/800] Compiling NIOCore AsyncChannelInboundStream.swift
[683/800] Compiling NIOCore AsyncChannelOutboundWriter.swift
[684/800] Compiling NIOCore NIOAsyncSequenceProducer.swift
[685/800] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[686/800] Compiling NIOCore NIOAsyncWriter.swift
[687/800] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[688/800] Compiling NIOCore BSDSocketAPI.swift
[689/800] Compiling NIOCore ByteBuffer-aux.swift
[690/800] Compiling NIOCore IPProtocol.swift
[691/800] Compiling NIOCore IntegerBitPacking.swift
[692/800] Compiling NIOCore IntegerTypes.swift
[693/800] Compiling NIOCore Interfaces.swift
[694/800] Compiling NIOCore Linux.swift
[695/800] Compiling NIOCore MarkedCircularBuffer.swift
[696/800] Compiling NIOCore MulticastChannel.swift
[697/800] Compiling NIOCore NIOAny.swift
[698/800] Compiling NIOCore NIOCloseOnErrorHandler.swift
[724/800] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[725/800] Compiling NIOCore SocketAddresses.swift
[726/800] Compiling NIOCore SocketOptionProvider.swift
[727/800] Compiling NIOCore SystemCallHelpers.swift
[728/800] Compiling NIOCore TimeAmount+Duration.swift
[729/800] Compiling NIOCore TypeAssistedChannelHandler.swift
[730/800] Compiling NIOCore UniversalBootstrapSupport.swift
[742/800] Compiling NIOCore Utilities.swift
[743/800] Compiling Crypto MLKEM_boring.swift
[744/800] Compiling Crypto MLKEM_wrapper.swift
[745/800] Compiling Crypto XWing_boring.swift
[746/800] Compiling Crypto KEM-Errors.swift
[747/800] Compiling Crypto KEM.swift
[748/800] Compiling Crypto MLKEM.swift
[749/800] Compiling Crypto XWing.swift
[750/800] Compiling Crypto ECDH_boring.swift
[751/800] Compiling Crypto DH.swift
[752/800] Compiling Crypto ECDH.swift
[753/800] Compiling Crypto ANSIx963.swift
[762/800] Compiling Crypto MLDSA.swift
[763/800] Compiling Crypto Signature.swift
[764/800] Compiling Crypto CryptoKitErrors_boring.swift
[765/800] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[766/800] Compiling Crypto RNG_boring.swift
[767/800] Compiling Crypto SafeCompare_boring.swift
[768/800] Compiling Crypto Zeroization_boring.swift
[769/800] Compiling Crypto PrettyBytes.swift
[770/800] Compiling Crypto SafeCompare.swift
[771/800] Compiling Crypto SecureBytes.swift
[772/800] Compiling Crypto Zeroization.swift
[801/801] Emitting module NIOCore
[803/807] Compiling EventSource EventSource+AsyncHTTPClient.swift
[804/807] Compiling EventSource AsyncEventsSequence.swift
[805/807] Compiling EventSource EventSource.swift
[806/807] Emitting module EventSource
[807/807] Compiling EventSource AsyncSequence+Events.swift
[809/857] 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 |
[810/857] 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 |
[811/857] 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 |
[812/857] 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 |
[813/857] 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 |
[814/857] 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 |
[815/857] 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 |
[816/863] 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 |
[817/863] 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 |
[818/863] 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 |
[819/863] 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 |
[820/863] 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 |
[821/863] 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 |
[822/863] 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 |
[823/863] 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 |     }
[824/863] 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 |     }
[825/863] 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 |     }
[826/863] 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 |     }
[827/863] 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 |     }
[828/863] 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)
[829/863] 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)
[830/863] 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)
[831/863] 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)
[832/863] 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)
[833/863] 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)
[834/863] 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)
[835/863] 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)
[836/863] 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 |
[837/863] 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 |
[838/863] 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 |
[839/863] 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 |
[840/863] 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 |
[841/863] 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 |
[842/863] Compiling HuggingFace HuggingFaceAuthenticationManager.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 |
[843/863] 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:1294:21: error: cannot find 'fnmatch' in scope
1292 |                 guard !globs.isEmpty else { return true }
1293 |                 return globs.contains { glob in
1294 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
1295 |                 }
1296 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 |         let lfsEntries =
1329 |             workItems
1330 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
1331 |             .sorted {
1332 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 |                 return $0.weight > $1.weight
1336 |             }
1337 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 |             guard !globs.isEmpty else { return true }
1550 |             return globs.contains { glob in
1551 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1552 |             }
1553 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 |             let hasMatch = globs.contains { glob in
1723 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1724 |             }
1725 |             if hasMatch {
[844/863] 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:1294:21: error: cannot find 'fnmatch' in scope
1292 |                 guard !globs.isEmpty else { return true }
1293 |                 return globs.contains { glob in
1294 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
1295 |                 }
1296 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 |         let lfsEntries =
1329 |             workItems
1330 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
1331 |             .sorted {
1332 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 |                 return $0.weight > $1.weight
1336 |             }
1337 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 |             guard !globs.isEmpty else { return true }
1550 |             return globs.contains { glob in
1551 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1552 |             }
1553 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 |             let hasMatch = globs.contains { glob in
1723 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1724 |             }
1725 |             if hasMatch {
[845/863] 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:1294:21: error: cannot find 'fnmatch' in scope
1292 |                 guard !globs.isEmpty else { return true }
1293 |                 return globs.contains { glob in
1294 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
1295 |                 }
1296 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 |         let lfsEntries =
1329 |             workItems
1330 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
1331 |             .sorted {
1332 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 |                 return $0.weight > $1.weight
1336 |             }
1337 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 |             guard !globs.isEmpty else { return true }
1550 |             return globs.contains { glob in
1551 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1552 |             }
1553 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 |             let hasMatch = globs.contains { glob in
1723 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1724 |             }
1725 |             if hasMatch {
[846/863] 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:1294:21: error: cannot find 'fnmatch' in scope
1292 |                 guard !globs.isEmpty else { return true }
1293 |                 return globs.contains { glob in
1294 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
1295 |                 }
1296 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 |         let lfsEntries =
1329 |             workItems
1330 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
1331 |             .sorted {
1332 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 |                 return $0.weight > $1.weight
1336 |             }
1337 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 |             guard !globs.isEmpty else { return true }
1550 |             return globs.contains { glob in
1551 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1552 |             }
1553 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 |             let hasMatch = globs.contains { glob in
1723 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1724 |             }
1725 |             if hasMatch {
[847/863] 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:1294:21: error: cannot find 'fnmatch' in scope
1292 |                 guard !globs.isEmpty else { return true }
1293 |                 return globs.contains { glob in
1294 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
1295 |                 }
1296 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 |         let lfsEntries =
1329 |             workItems
1330 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
1331 |             .sorted {
1332 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 |                 return $0.weight > $1.weight
1336 |             }
1337 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 |             guard !globs.isEmpty else { return true }
1550 |             return globs.contains { glob in
1551 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1552 |             }
1553 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 |             let hasMatch = globs.contains { glob in
1723 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1724 |             }
1725 |             if hasMatch {
[848/863] 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:1294:21: error: cannot find 'fnmatch' in scope
1292 |                 guard !globs.isEmpty else { return true }
1293 |                 return globs.contains { glob in
1294 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
1295 |                 }
1296 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 |         let lfsEntries =
1329 |             workItems
1330 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
1331 |             .sorted {
1332 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 |                 return $0.weight > $1.weight
1336 |             }
1337 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 |             guard !globs.isEmpty else { return true }
1550 |             return globs.contains { glob in
1551 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1552 |             }
1553 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 |             let hasMatch = globs.contains { glob in
1723 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1724 |             }
1725 |             if hasMatch {
[849/863] 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 |
/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:1294:21: error: cannot find 'fnmatch' in scope
1292 |                 guard !globs.isEmpty else { return true }
1293 |                 return globs.contains { glob in
1294 |                     fnmatch(glob, entry.path, 0) == 0
     |                     `- error: cannot find 'fnmatch' in scope
1295 |                 }
1296 |             }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1330:40: error: cannot infer contextual base in reference to member 'lfs'
1328 |         let lfsEntries =
1329 |             workItems
1330 |             .filter { $0.transport == .lfs }
     |                                        `- error: cannot infer contextual base in reference to member 'lfs'
1331 |             .sorted {
1332 |                 if $0.weight == $1.weight {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1337:62: error: cannot infer contextual base in reference to member 'lfs'
1335 |                 return $0.weight > $1.weight
1336 |             }
1337 |         let xetEntries = workItems.filter { $0.transport != .lfs }
     |                                                              `- error: cannot infer contextual base in reference to member 'lfs'
1338 |
1339 |         let samplingTask = makeSnapshotProgressSamplingTask(
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1551:17: error: cannot find 'fnmatch' in scope
1549 |             guard !globs.isEmpty else { return true }
1550 |             return globs.contains { glob in
1551 |                 fnmatch(glob, entry.path, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1552 |             }
1553 |         }
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift:1723:17: error: cannot find 'fnmatch' in scope
1721 |             let relativePath = relativePath(from: fileURL, baseDirectory: snapshotPath)
1722 |             let hasMatch = globs.contains { glob in
1723 |                 fnmatch(glob, relativePath, 0) == 0
     |                 `- error: cannot find 'fnmatch' in scope
1724 |             }
1725 |             if hasMatch {
[850/863] 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 |
[851/863] 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 |
[852/863] 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 |
[853/863] 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 |
[854/863] 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 |
[855/863] 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 |
[856/863] 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 |
[857/863] 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 |
[858/863] 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 |
[859/863] 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 |
[860/863] 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 |
[861/863] 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 |
[862/863] 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 |
[863/863] 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 |
BUILD FAILURE 6.2 android