The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-huggingface, reference 0.9.0 (b72195), with Swift 6.3 for Android on 19 Apr 2026 05:05:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/swift-huggingface.git
Reference: 0.9.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-huggingface
 * tag               0.9.0      -> FETCH_HEAD
HEAD is now at b721959 Bump version to 0.9.0
Cloned https://github.com/huggingface/swift-huggingface.git
Revision (git rev-parse @):
b721959445b617d0bf03910b2b4aced345fd93bf
SUCCESS checkout https://github.com/huggingface/swift-huggingface.git at 0.9.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/huggingface/swift-huggingface.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/mattt/EventSource.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.80s)
[1/17416] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.88s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (4.73s)
Fetching https://github.com/apple/swift-nio.git
[1/83172] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.64s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (12.49s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[438/25389] Fetching swift-atomics, swift-collections
[457/30990] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (1.64s)
[13615/29170] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.71s)
[8485/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (4.26s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.90s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (4.65s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.37s)
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.4.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.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
Building for debugging...
[0/395] Write sources
[11/395] Compiling _AtomicsShims.c
[12/395] Compiling KeccakHash.c
[13/395] Compiling CNIOWindows shim.c
[14/395] Compiling KeccakSponge.c
[15/395] Compiling CXKCPShims shims.c
[16/395] Compiling SimpleFIPS202.c
[17/395] Compiling CNIOWASI CNIOWASI.c
[18/395] Compiling CNIOWindows WSAStartup.c
[19/395] Compiling CNIOLinux liburing_shims.c
[20/395] Compiling CNIOOpenBSD shim.c
[21/395] Compiling CNIODarwin shim.c
[22/395] Compiling CNIOLinux shim.c
[23/395] Compiling fiat_p256_adx_sqr.S
[24/395] Compiling fiat_p256_adx_mul.S
[25/395] Compiling fiat_curve25519_adx_square.S
[26/395] Compiling fiat_curve25519_adx_mul.S
[27/395] Compiling md5-x86_64-linux.S
[28/395] Compiling md5-x86_64-apple.S
[29/395] Compiling md5-586-linux.S
[30/395] Compiling md5-586-apple.S
[31/395] Compiling chacha20_poly1305_x86_64-linux.S
[32/395] Compiling CCryptoBoringSSLShims shims.c
[33/395] Compiling KeccakP-1600-opt64.c
[34/395] Compiling chacha20_poly1305_x86_64-apple.S
[35/395] Compiling chacha20_poly1305_armv8-win.S
[36/395] Compiling chacha20_poly1305_armv8-linux.S
[37/395] Compiling chacha20_poly1305_armv8-apple.S
[38/395] Compiling chacha-x86_64-linux.S
[39/395] Compiling chacha-x86-linux.S
[40/395] Compiling chacha-x86_64-apple.S
[41/395] Compiling a_bitstr.cc
[42/395] Write swift-version--4F562202D5529B1.txt
[43/395] Compiling chacha-x86-apple.S
[44/395] Compiling chacha-armv8-win.S
[45/395] Compiling chacha-armv4-linux.S
[46/401] Compiling chacha-armv8-linux.S
[47/401] Compiling chacha-armv8-apple.S
[48/401] Compiling err_data.cc
[49/402] Compiling aes128gcmsiv-x86_64-linux.S
[50/416] Compiling aes128gcmsiv-x86_64-apple.S
[51/419] Compiling x86_64-mont5-linux.S
[52/419] Compiling x86_64-mont5-apple.S
[53/419] Compiling x86_64-mont-linux.S
[54/419] Compiling x86_64-mont-apple.S
[55/419] Compiling x86-mont-linux.S
[56/419] Compiling vpaes-x86_64-linux.S
[57/419] Compiling x86-mont-apple.S
[58/419] Compiling vpaes-x86_64-apple.S
[59/419] Compiling vpaes-x86-apple.S
[60/419] Compiling vpaes-x86-linux.S
[61/419] Compiling vpaes-armv8-win.S
[62/419] Compiling vpaes-armv8-apple.S
[63/419] Compiling vpaes-armv8-linux.S
[64/419] Compiling sha512-x86_64-apple.S
[65/419] Compiling vpaes-armv7-linux.S
[66/419] Compiling sha512-x86_64-linux.S
[67/419] Compiling sha512-armv8-win.S
[68/419] Compiling sha512-armv8-linux.S
[69/419] Compiling sha512-armv8-apple.S
[70/419] Compiling sha512-586-linux.S
[71/419] Compiling sha512-586-apple.S
[72/419] Compiling sha512-armv4-linux.S
[73/419] Compiling sha256-x86_64-linux.S
[74/419] Compiling sha256-x86_64-apple.S
[75/419] Compiling sha256-armv8-win.S
[76/419] Compiling sha256-armv8-linux.S
[77/419] Compiling sha256-armv8-apple.S
[78/419] Compiling sha256-armv4-linux.S
[79/419] Compiling sha256-586-linux.S
[80/419] Compiling sha1-x86_64-linux.S
[81/419] Compiling sha256-586-apple.S
[82/419] Compiling sha1-armv8-win.S
[83/419] Compiling sha1-x86_64-apple.S
[84/419] Compiling sha1-armv8-linux.S
[85/419] Compiling sha1-armv8-apple.S
[86/419] Compiling sha1-armv4-large-linux.S
[87/419] Compiling sha1-586-linux.S
[88/419] Compiling sha1-586-apple.S
[89/419] Compiling rsaz-avx2-linux.S
[90/419] Compiling rsaz-avx2-apple.S
[91/419] Compiling rdrand-x86_64-linux.S
[93/419] Emitting module InternalCollectionsUtilities
[93/421] Compiling rdrand-x86_64-apple.S
[94/421] Compiling p256_beeu-x86_64-asm-linux.S
[95/421] Compiling p256_beeu-x86_64-asm-apple.S
[96/421] Compiling p256_beeu-armv8-asm-win.S
[97/421] Compiling c-nioatomics.c
[98/421] Compiling p256_beeu-armv8-asm-apple.S
[99/421] Compiling p256_beeu-armv8-asm-linux.S
[100/421] Compiling p256-armv8-asm-win.S
[101/421] Compiling p256-x86_64-asm-apple.S
[102/421] Compiling p256-x86_64-asm-linux.S
[103/421] Compiling p256-armv8-asm-apple.S
[104/421] Compiling ghashv8-armv8-win.S
[105/421] Compiling p256-armv8-asm-linux.S
[106/421] Compiling ghashv8-armv8-linux.S
[107/421] Compiling ghashv8-armv8-apple.S
[108/421] Compiling ghashv8-armv7-linux.S
[109/421] Compiling ghash-x86_64-apple.S
[110/421] Compiling ghash-x86_64-linux.S
[111/421] Compiling ghash-x86-linux.S
[112/421] Compiling ghash-x86-apple.S
[113/421] Compiling c-atomics.c
[114/421] Compiling ghash-ssse3-x86_64-linux.S
[115/421] Compiling ghash-ssse3-x86_64-apple.S
[116/421] Compiling ghash-ssse3-x86-linux.S
[117/421] Compiling ghash-neon-armv8-win.S
[118/421] Compiling ghash-ssse3-x86-apple.S
[119/428] Compiling ghash-neon-armv8-apple.S
[120/428] Compiling ghash-neon-armv8-linux.S
[121/428] Compiling ghash-armv4-linux.S
[122/428] Compiling co-586-linux.S
[123/428] Compiling co-586-apple.S
[124/428] Compiling bsaes-armv7-linux.S
[125/428] Compiling bn-586-linux.S
[126/428] Compiling bn-armv8-win.S
[127/428] Compiling bn-armv8-linux.S
[128/428] Compiling bn-armv8-apple.S
[129/428] Compiling armv8-mont-win.S
[130/428] Compiling armv8-mont-apple.S
[131/428] Compiling bn-586-apple.S
[132/428] Compiling armv4-mont-linux.S
[133/428] Compiling armv8-mont-linux.S
[134/428] Compiling aesv8-gcm-armv8-win.S
[135/428] Compiling aesv8-gcm-armv8-linux.S
[136/428] Compiling aesv8-gcm-armv8-apple.S
[137/428] Compiling aesv8-armv8-win.S
[138/428] Compiling aesv8-armv8-linux.S
[139/428] Compiling aesv8-armv7-linux.S
[140/428] Compiling aesv8-armv8-apple.S
[141/428] Compiling aesni-x86_64-apple.S
[142/428] Compiling aesni-x86_64-linux.S
[143/428] Compiling aesni-x86-linux.S
[144/428] Compiling aesni-gcm-x86_64-apple.S
[145/428] Compiling aesni-gcm-x86_64-linux.S
[145/428] Compiling aesni-x86-apple.S
[147/428] Compiling aes-gcm-avx512-x86_64-linux.S
[148/428] Compiling aes-gcm-avx512-x86_64-apple.S
[149/428] Compiling aes-gcm-avx2-x86_64-linux.S
[150/428] Compiling aes-gcm-avx2-x86_64-apple.S
[151/428] Compiling xwing.cc
[152/428] Compiling x_x509a.cc
[153/428] Compiling x_spki.cc
[154/428] Compiling x_x509.cc
[156/428] Compiling InternalCollectionsUtilities _SortedCollection.swift
[157/428] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[158/428] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[159/428] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[160/428] Compiling InternalCollectionsUtilities Span+Extras.swift
[161/428] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[162/428] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[163/428] Compiling InternalCollectionsUtilities Debugging.swift
[164/428] Compiling InternalCollectionsUtilities Descriptions.swift
[165/428] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[166/428] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[167/428] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[168/428] Compiling InternalCollectionsUtilities String+Padding.swift
[169/428] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[170/428] Compiling InternalCollectionsUtilities Integer rank.swift
[171/428] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[172/428] Compiling InternalCollectionsUtilities UInt+reversed.swift
[173/428] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[174/428] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[174/429] Compiling x_sig.cc
[176/429] Emitting module _NIOBase64
[177/429] Compiling _NIOBase64 Base64.swift
[179/430] Compiling NIOConcurrencyHelpers NIOLock.swift
[181/430] Compiling _NIODataStructures Heap.swift
[182/430] Emitting module _NIODataStructures
[183/430] Compiling NIOConcurrencyHelpers lock.swift
[184/430] Compiling _NIODataStructures _TinyArray.swift
[185/430] Compiling _NIODataStructures PriorityQueue.swift
[186/432] Compiling x_req.cc
[188/437] Emitting module NIOConcurrencyHelpers
[189/437] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[190/464] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[191/464] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[192/464] Compiling NIOConcurrencyHelpers atomics.swift
[194/465] Compiling ContainersPreview Producer+Map.swift
[195/465] Compiling ContainersPreview Producer+Reduce.swift
[196/465] Compiling ContainersPreview Producer.swift
[197/465] Compiling ContainersPreview Borrow.swift
[198/465] Compiling ContainersPreview RandomAccessContainer.swift
[199/465] Compiling ContainersPreview RangeExpression2.swift
[200/465] Compiling ContainersPreview RangeReplaceableContainer.swift
[201/465] Compiling ContainersPreview Drain+Map.swift
[202/465] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[203/465] Compiling ContainersPreview BorrowingSequence.swift
[204/465] Compiling ContainersPreview BidirectionalContainer.swift
[205/465] Compiling ContainersPreview Container+Filter.swift
[206/465] Compiling ContainersPreview Container+SpanwiseZip.swift
[207/465] Compiling ContainersPreview Drain+Reduce.swift
[208/465] Compiling ContainersPreview Drain.swift
[209/465] Compiling ContainersPreview Producer+Collect.swift
[210/465] Compiling ContainersPreview Producer+Filter.swift
[211/469] Compiling ContainersPreview Container.swift
[212/469] Compiling ContainersPreview ContainerIterator.swift
[213/469] Compiling ContainersPreview DynamicContainer.swift
[214/469] Compiling ContainersPreview MutableContainer.swift
[215/469] Compiling ContainersPreview PermutableContainer.swift
[216/469] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[217/469] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[218/469] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[219/469] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[220/469] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[221/469] Emitting module ContainersPreview
[221/469] Compiling x_pubkey.cc
[223/469] Compiling ContainersPreview Box.swift
[224/469] Compiling ContainersPreview Inout.swift
[225/469] Compiling ContainersPreview InputSpan.swift
[226/469] Compiling ContainersPreview Shared.swift
[227/469] Compiling ContainersPreview OutputSpan+Extras.swift
[228/469] Compiling ContainersPreview TemporaryAllocation.swift
[229/469] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[230/469] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[231/469] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[232/470] Compiling x_name.cc
[234/510] Compiling DequeModule _DequeBuffer.swift
[235/510] Compiling DequeModule _DequeBufferHeader.swift
[236/510] Compiling DequeModule RigidDeque+Append.swift
[237/510] Compiling DequeModule RigidDeque+Consumption.swift
[238/510] Compiling DequeModule RigidDeque+Container.swift
[239/510] Compiling DequeModule RigidDeque+Descriptions.swift
[240/515] Compiling DequeModule UniqueDeque+Consumption.swift
[241/515] Compiling DequeModule UniqueDeque+Container.swift
[242/515] Compiling DequeModule UniqueDeque+Descriptions.swift
[243/515] Compiling DequeModule UniqueDeque+Equatable.swift
[244/515] Compiling DequeModule UniqueDeque+Experimental.swift
[245/515] Compiling DequeModule RigidDeque+Equatable.swift
[246/515] Compiling DequeModule RigidDeque+Experimental.swift
[247/515] Compiling DequeModule RigidDeque+Hashable.swift
[248/515] Compiling DequeModule RigidDeque+Initializers.swift
[249/515] Compiling DequeModule RigidDeque+Insertions.swift
[250/515] Compiling DequeModule RigidDeque+Prepend.swift
[250/515] Compiling x_exten.cc
[252/515] Compiling DequeModule UniqueDeque+Hashable.swift
[253/515] Compiling DequeModule UniqueDeque+Initializers.swift
[254/515] Compiling DequeModule UniqueDeque+Insertions.swift
[255/515] Compiling DequeModule UniqueDeque+Prepend.swift
[256/515] Compiling DequeModule UniqueDeque+Removals.swift
[257/515] Compiling DequeModule RigidDeque+Removals.swift
[258/515] Compiling DequeModule RigidDeque+Replacements.swift
[259/515] Compiling DequeModule RigidDeque+Testing.swift
[260/515] Compiling DequeModule RigidDeque.swift
[261/515] Compiling DequeModule UniqueDeque+Append.swift
[261/515] Compiling x_attrib.cc
[262/515] Compiling x_crl.cc
[263/515] Compiling x_all.cc
[264/515] Compiling x509spki.cc
[265/515] Compiling x_algor.cc
[267/515] Compiling DequeModule Deque+Extras.swift
[268/515] Compiling DequeModule Deque+Hashable.swift
[269/515] Compiling DequeModule Deque+Testing.swift
[270/515] Compiling DequeModule Deque._Storage.swift
[271/515] Compiling DequeModule Deque._UnsafeHandle.swift
[272/515] Compiling DequeModule Deque.swift
[273/515] Compiling DequeModule Deque+Codable.swift
[274/515] Compiling DequeModule Deque+Collection.swift
[275/515] Compiling DequeModule Deque+CustomReflectable.swift
[276/515] Compiling DequeModule Deque+Descriptions.swift
[277/515] Compiling DequeModule Deque+Equatable.swift
[278/515] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[278/515] Compiling x509rset.cc
[279/515] Compiling x509name.cc
[280/515] Compiling x509_txt.cc
[281/515] Compiling x509cset.cc
[282/515] Compiling x509_vpm.cc
[283/515] Compiling x509_vfy.cc
[284/515] Compiling x509_v3.cc
[285/515] Compiling x509_trs.cc
[287/515] Emitting module DequeModule
[287/515] Compiling x509_set.cc
[288/515] Compiling x509_req.cc
[289/515] Compiling x509_lu.cc
[290/515] Compiling x509_obj.cc
[292/515] Compiling DequeModule UniqueDeque+Replacements.swift
[293/515] Compiling DequeModule UniqueDeque.swift
[294/515] Compiling DequeModule _DequeSlot.swift
[295/515] Compiling DequeModule _UnsafeDequeHandle.swift
[296/515] Compiling DequeModule _UnsafeDequeSegments.swift
[297/516] Compiling x509_ext.cc
[298/516] Compiling x509_def.cc
[299/516] Compiling x509_d2.cc
[300/516] Compiling x509_cmp.cc
[301/516] Compiling x509_att.cc
[302/516] Compiling x509.cc
[303/516] Compiling v3_utl.cc
[304/516] Compiling v3_skey.cc
[305/516] Compiling v3_purp.cc
[306/516] Compiling v3_prn.cc
[307/516] Compiling v3_pmaps.cc
[308/516] Compiling v3_ncons.cc
[309/516] Compiling v3_pcons.cc
[310/516] Compiling v3_ocsp.cc
[311/516] Compiling v3_lib.cc
[312/516] Compiling v3_int.cc
[313/516] Compiling v3_ia5.cc
[314/516] Compiling v3_info.cc
[315/516] Compiling v3_genn.cc
[316/516] Compiling v3_extku.cc
[317/516] Compiling v3_enum.cc
[318/516] Compiling v3_crld.cc
[319/516] Compiling v3_cpols.cc
[320/516] Compiling v3_bitst.cc
[321/516] Compiling v3_conf.cc
[322/516] Compiling v3_bcons.cc
[323/516] Compiling v3_alt.cc
[324/516] Compiling v3_akeya.cc
[325/516] Compiling v3_akey.cc
[326/516] Compiling t_x509.cc
[327/516] Compiling t_x509a.cc
[328/516] Compiling t_req.cc
[329/516] Compiling t_crl.cc
[330/516] Compiling rsa_pss.cc
[331/516] Compiling i2d_pr.cc
[332/516] Compiling policy.cc
[333/516] Compiling name_print.cc
[334/516] Compiling by_file.cc
[335/516] Compiling by_dir.cc
[336/516] Compiling asn1_gen.cc
[337/516] Compiling algorithm.cc
[338/516] Compiling a_verify.cc
[339/516] Compiling a_sign.cc
[340/516] Compiling trust_token.cc
[341/516] Compiling voprf.cc
[342/516] Compiling thread_win.cc
[343/516] Compiling a_digest.cc
[344/516] Compiling thread_pthread.cc
[345/516] Compiling thread.cc
[346/516] Compiling thread_none.cc
[347/516] Compiling stack.cc
[347/516] Compiling siphash.cc
[349/516] Compiling pmbtoken.cc
[350/516] Compiling sha512.cc
[351/516] Compiling sha256.cc
[352/516] Compiling slhdsa.cc
[353/516] Compiling spake2plus.cc
[354/516] Compiling sha1.cc
[355/516] Compiling rsa_extra.cc
[356/516] Compiling rsa_crypt.cc
[357/516] Compiling rsa_print.cc
[358/516] Compiling refcount.cc
[359/516] Compiling rc4.cc
[360/516] Compiling windows.cc
[361/516] Compiling urandom.cc
[362/516] Compiling trusty.cc
[363/516] Compiling rand.cc
[364/516] Compiling rsa_asn1.cc
[365/516] Compiling passive.cc
[366/516] Compiling poly1305_arm_asm.S
[367/516] Compiling ios.cc
[368/516] Compiling getentropy.cc
[369/516] Compiling forkunsafe.cc
[370/516] Compiling deterministic.cc
[371/516] Compiling fork_detect.cc
[372/516] Compiling poly1305_vec.cc
[373/516] Compiling poly1305_arm.cc
[374/516] Compiling poly1305.cc
[375/516] Compiling pool.cc
[376/516] Compiling pkcs8.cc
[377/516] Compiling pkcs7.cc
[378/516] Compiling pem_xaux.cc
[379/516] Compiling pkcs8_x509.cc
[380/516] Compiling pkcs7_x509.cc
[381/516] Compiling p5_pbev2.cc
[382/516] Compiling pem_x509.cc
[383/516] Compiling pem_pkey.cc
[384/516] Compiling obj_xref.cc
[385/516] Compiling pem_pk8.cc
[386/516] Compiling mlkem.cc
[387/516] Compiling pem_oth.cc
[388/516] Compiling pem_info.cc
[389/516] Compiling pem_lib.cc
[390/516] Compiling obj.cc
[391/516] Compiling pem_all.cc
[392/516] Compiling mldsa.cc
[393/516] Compiling poly_rq_mul.S
[394/516] Compiling mem.cc
[395/516] Compiling fips_shared_support.cc
[396/516] Compiling lhash.cc
[397/516] Compiling md5.cc
[398/516] Compiling fuzzer_mode.cc
[399/516] Compiling md4.cc
[400/516] Compiling kyber.cc
[401/516] Compiling hpke.cc
[402/516] Compiling ex_data.cc
[403/516] Compiling hrss.cc
[404/516] Compiling scrypt.cc
[405/516] Compiling print.cc
[406/516] Compiling pbkdf.cc
[407/516] Compiling sign.cc
[408/516] Compiling p_hkdf.cc
[409/516] Compiling p_x25519.cc
[410/516] Compiling p_x25519_asn1.cc
[411/516] Compiling p_rsa_asn1.cc
[412/516] Compiling p_rsa.cc
[413/516] Compiling p_ed25519.cc
[414/516] Compiling p_ed25519_asn1.cc
[415/516] Compiling p_ec_asn1.cc
[416/516] Compiling p_ec.cc
[417/516] Compiling p_dsa_asn1.cc
[418/516] Compiling p_dh_asn1.cc
[419/516] Compiling p_dh.cc
[420/516] Compiling evp_ctx.cc
[421/516] Compiling engine.cc
[422/516] Compiling err.cc
[423/516] Compiling evp_asn1.cc
[424/516] Compiling ecdsa_asn1.cc
[425/516] Compiling ecdsa_p1363.cc
[425/516] Compiling evp.cc
[427/516] Compiling ecdh.cc
[428/516] Compiling ec_derive.cc
[429/516] Compiling dsa_asn1.cc
[430/516] Compiling hash_to_curve.cc
[431/516] Compiling dsa.cc
[432/516] Compiling digest_extra.cc
[433/516] Compiling ec_asn1.cc
[434/516] Compiling x25519-asm-arm.S
[435/516] Compiling params.cc
[436/516] Compiling dh_asn1.cc
[437/516] Compiling des.cc
[438/516] Compiling curve25519_64_adx.cc
[439/516] Compiling spake25519.cc
[440/516] Compiling crypto.cc
[441/516] Compiling cpu_intel.cc
[442/516] Compiling cpu_arm_linux.cc
[443/516] Compiling curve25519.cc
[444/516] Compiling cpu_arm_freebsd.cc
[445/516] Compiling cpu_aarch64_win.cc
[446/516] Compiling cpu_aarch64_openbsd.cc
[447/516] Compiling cpu_aarch64_sysreg.cc
[448/516] Compiling cpu_aarch64_linux.cc
[449/516] Compiling cpu_aarch64_apple.cc
[450/516] Compiling cpu_aarch64_fuchsia.cc
[451/516] Compiling conf.cc
[452/516] Compiling get_cipher.cc
[453/516] Compiling tls_cbc.cc
[454/516] Compiling cms.cc
[455/516] Compiling e_tls.cc
[456/516] Compiling e_rc4.cc
[457/516] Compiling e_rc2.cc
[458/516] Compiling e_null.cc
[459/516] Compiling e_des.cc
[460/516] Compiling e_chacha20poly1305.cc
[461/516] Compiling e_aesctrhmac.cc
[462/516] Compiling e_aesgcmsiv.cc
[463/516] Compiling e_aeseax.cc
[464/516] Compiling derive_key.cc
[465/516] Compiling chacha.cc
[466/516] Compiling buf.cc
[467/516] Compiling unicode.cc
[468/516] Compiling sqrt.cc
[469/516] Compiling cbs.cc
[470/516] Compiling ber.cc
[471/516] Compiling asn1_compat.cc
[472/516] Compiling cbb.cc
[473/516] Compiling div.cc
[474/516] Compiling exponentiation.cc
[475/516] Compiling blake2.cc
[476/516] Compiling printf.cc
[477/516] Compiling pair.cc
[478/516] Compiling bn_asn1.cc
[479/516] Compiling convert.cc
[480/516] Compiling file.cc
[481/516] Compiling hexdump.cc
[482/516] Compiling errno.cc
[483/516] Compiling fd.cc
[484/516] Compiling bio_mem.cc
[485/516] Compiling base64.cc
[486/516] Compiling bio.cc
[487/516] Compiling bcm.cc
[488/516] Compiling tasn_typ.cc
[489/516] Compiling tasn_fre.cc
[490/516] Compiling tasn_enc.cc
[491/516] Compiling tasn_utl.cc
[492/516] Compiling tasn_new.cc
[493/516] Compiling posix_time.cc
[494/516] Compiling f_string.cc
[495/516] Compiling tasn_dec.cc
[496/516] Compiling f_int.cc
[497/516] Compiling asn_pack.cc
[498/516] Compiling asn1_par.cc
[499/516] Compiling asn1_lib.cc
[500/516] Compiling a_utctm.cc
[501/516] Compiling a_time.cc
[502/516] Compiling a_type.cc
[503/516] Compiling a_octet.cc
[504/516] Compiling a_strnid.cc
[505/516] Compiling a_strex.cc
[506/516] Compiling a_object.cc
[507/516] Compiling a_i2d_fp.cc
[508/516] Write sources
[509/516] Compiling a_dup.cc
[510/516] Compiling a_d2i_fp.cc
[511/534] Compiling a_mbstr.cc
[512/534] Compiling a_gentm.cc
[513/534] Compiling a_int.cc
[515/534] Compiling Atomics UnsafeAtomic.swift
[516/534] Compiling Atomics UnsafeAtomicLazyReference.swift
[517/536] Compiling Atomics ManagedAtomic.swift
[518/536] Compiling Atomics ManagedAtomicLazyReference.swift
[518/536] Compiling aes.cc
[520/536] Compiling Atomics AtomicMemoryOrderings.swift
[521/536] Compiling Atomics DoubleWord.swift
[521/536] Compiling a_bool.cc
[523/536] Compiling Atomics OptionalRawRepresentable.swift
[524/536] Compiling Atomics RawRepresentable.swift
[525/536] Compiling Atomics AtomicBool.swift
[526/544] Compiling Atomics IntegerOperations.swift
[527/544] Compiling Atomics Unmanaged extensions.swift
[528/544] Emitting module Atomics
[529/544] Compiling Atomics IntegerConformances.swift
[530/544] Compiling Atomics PointerConformances.swift
[531/544] Compiling Atomics Primitives.native.swift
[532/544] Compiling Atomics AtomicInteger.swift
[533/544] Compiling Atomics AtomicOptionalWrappable.swift
[534/544] Compiling Atomics AtomicReference.swift
[535/544] Compiling Atomics AtomicStorage.swift
[536/544] Compiling Atomics AtomicValue.swift
[538/609] Compiling CryptoBoringWrapper RandomBytes.swift
[539/609] Compiling NIOCore AddressedEnvelope.swift
[540/609] Compiling NIOCore AsyncAwaitSupport.swift
[541/609] Compiling NIOCore AsyncChannel.swift
[542/609] Compiling NIOCore AsyncChannelHandler.swift
[543/609] Compiling NIOCore AsyncChannelInboundStream.swift
[544/609] Compiling NIOCore AsyncChannelOutboundWriter.swift
[545/609] Compiling NIOCore NIOAsyncSequenceProducer.swift
[546/609] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[547/609] Compiling NIOCore NIOAsyncWriter.swift
[548/617] Compiling NIOCore NIOCoreSendableMetatype.swift
[549/617] Compiling NIOCore NIODecodedAsyncSequence.swift
[550/617] Compiling NIOCore NIOLoopBound.swift
[551/617] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[552/617] Compiling NIOCore NIOScheduledCallback.swift
[553/617] Compiling NIOCore NIOSendable.swift
[554/617] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[555/617] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[556/617] Compiling NIOCore RecvByteBufferAllocator.swift
[557/617] Compiling NIOCore EventLoopFuture+Deprecated.swift
[558/617] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[559/617] Compiling NIOCore EventLoopFuture.swift
[560/617] Compiling NIOCore FileDescriptor.swift
[561/617] Compiling NIOCore FileHandle.swift
[562/617] Compiling NIOCore FileRegion.swift
[563/617] Compiling NIOCore GlobalSingletons.swift
[564/617] Compiling NIOCore IO.swift
[565/617] Compiling NIOCore IOData.swift
[566/617] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[567/617] Emitting module CryptoBoringWrapper
[568/617] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[569/617] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[570/617] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[571/617] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[572/617] Compiling CryptoBoringWrapper EllipticCurve.swift
[574/661] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[575/661] Compiling NIOCore BSDSocketAPI.swift
[576/661] Compiling NIOCore ByteBuffer-aux.swift
[577/661] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[578/661] Compiling NIOCore ByteBuffer-conversions.swift
[579/661] Compiling NIOCore ByteBuffer-core.swift
[580/661] Compiling NIOCore ByteBuffer-hex.swift
[581/661] Compiling NIOCore ByteBuffer-int.swift
[582/661] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[583/701] Compiling Crypto Ed25519_boring.swift
[584/701] Compiling Crypto NISTCurvesKeys_boring.swift
[585/701] Compiling Crypto X25519Keys_boring.swift
[586/701] Compiling Crypto Curve25519.swift
[587/701] Compiling Crypto Ed25519Keys.swift
[588/701] Compiling Crypto NISTCurvesKeys.swift
[589/701] Compiling Crypto X25519Keys.swift
[590/701] Compiling Crypto SymmetricKeys.swift
[591/701] Compiling Crypto ASN1Null.swift
[592/701] Compiling Crypto ASN1OctetString.swift
[593/701] Compiling Crypto ASN1Strings.swift
[594/701] Compiling Crypto ArraySliceBigint.swift
[595/701] Compiling Crypto GeneralizedTime.swift
[596/701] Compiling Crypto ObjectIdentifier.swift
[597/701] Compiling Crypto ECDSASignature.swift
[598/701] Compiling Crypto PEMDocument.swift
[599/701] Compiling Crypto PKCS8PrivateKey.swift
[600/701] Compiling Crypto SEC1PrivateKey.swift
[601/701] Compiling Crypto SubjectPublicKeyInfo.swift
[602/701] Compiling Crypto CryptoError_boring.swift
[603/701] Compiling Crypto CryptoKitErrors.swift
[604/701] Compiling Crypto Digest_boring.swift
[605/701] Compiling Crypto Digest.swift
[606/701] Compiling Crypto Digests.swift
[607/701] Compiling Crypto HashFunctions.swift
[608/701] Compiling Crypto HashFunctions_SHA2.swift
[609/701] Compiling Crypto HashFunctions_SHA3.swift
[610/701] Compiling Crypto Digest_xkcp.swift
[611/701] Compiling Crypto HPKE-AEAD.swift
[612/701] Compiling Crypto HPKE-Ciphersuite.swift
[613/701] Compiling Crypto HPKE-KDF.swift
[614/701] Compiling Crypto HPKE-KexKeyDerivation.swift
[615/712] Emitting module Crypto
[616/712] Compiling Crypto AES-GCM.swift
[617/712] Compiling Crypto AES-GCM_boring.swift
[618/712] Compiling Crypto ChaChaPoly_boring.swift
[619/712] Compiling Crypto ChaChaPoly.swift
[620/712] Compiling Crypto Cipher.swift
[621/712] Compiling Crypto Nonces.swift
[622/712] Compiling Crypto ASN1.swift
[623/712] Compiling Crypto ASN1Any.swift
[624/712] Compiling Crypto ASN1BitString.swift
[625/712] Compiling Crypto ASN1Boolean.swift
[626/712] Compiling Crypto ASN1Identifier.swift
[627/712] Compiling Crypto ASN1Integer.swift
[628/712] Compiling Crypto Insecure_HashFunctions.swift
[629/712] Compiling Crypto MLKEM_boring.swift
[630/712] Compiling Crypto MLKEM_wrapper.swift
[631/712] Compiling Crypto XWing_boring.swift
[632/712] Compiling Crypto KEM-Errors.swift
[633/712] Compiling Crypto KEM.swift
[634/712] Compiling Crypto MLKEM.swift
[635/712] Compiling Crypto XWing.swift
[636/712] Compiling Crypto ECDH_boring.swift
[646/712] Compiling Crypto HPKE-Errors.swift
[647/712] Compiling Crypto HPKE.swift
[648/712] Compiling Crypto HPKE-Context.swift
[649/712] Compiling Crypto HPKE-KeySchedule.swift
[650/712] Compiling Crypto HPKE-Modes.swift
[651/712] Compiling Crypto Insecure.swift
[652/712] Compiling Crypto HKDF.swift
[653/712] Compiling Crypto AESWrap.swift
[654/712] Compiling Crypto AESWrap_boring.swift
[666/712] Compiling Crypto HMAC.swift
[667/712] Compiling Crypto MACFunctions.swift
[668/712] Compiling Crypto MessageAuthenticationCode.swift
[669/712] Compiling Crypto AES.swift
[670/712] Compiling Crypto ECDSASignature_boring.swift
[671/712] Compiling Crypto ECDSA_boring.swift
[672/712] Compiling Crypto EdDSA_boring.swift
[673/712] Compiling Crypto MLDSA_boring.swift
[674/712] Compiling Crypto MLDSA_wrapper.swift
[675/712] Compiling Crypto ECDSA.swift
[676/712] Compiling Crypto Ed25519.swift
[677/712] Compiling Crypto HPKE-LabeledExtract.swift
[678/712] Compiling Crypto HPKE-Utils.swift
[679/712] Compiling Crypto DHKEM.swift
[680/712] Compiling Crypto HPKE-KEM-Curve25519.swift
[681/712] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[682/712] Compiling Crypto HPKE-KEM.swift
[698/712] Compiling Crypto DH.swift
[699/712] Compiling Crypto ECDH.swift
[700/712] Compiling Crypto ANSIx963.swift
[701/712] Emitting module NIOCore
[703/713] Compiling Crypto MLDSA.swift
[704/713] Compiling Crypto Signature.swift
[705/713] Compiling Crypto CryptoKitErrors_boring.swift
[706/713] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[707/713] Compiling Crypto RNG_boring.swift
[708/713] Compiling Crypto SafeCompare_boring.swift
[709/713] Compiling Crypto Zeroization_boring.swift
[710/713] Compiling Crypto PrettyBytes.swift
[711/713] Compiling Crypto SafeCompare.swift
[712/713] Compiling Crypto SecureBytes.swift
[713/713] Compiling Crypto Zeroization.swift
[715/719] Compiling EventSource AsyncSequence+Events.swift
[716/719] Compiling EventSource AsyncEventsSequence.swift
[717/719] Emitting module EventSource
[718/719] Compiling EventSource EventSource+AsyncHTTPClient.swift
[719/719] Compiling EventSource EventSource.swift
[721/769] Compiling HuggingFace HubClient+User.swift
/host/spi-builder-workspace/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 |
[722/769] Compiling HuggingFace HubClient.swift
/host/spi-builder-workspace/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 |
[723/769] Compiling HuggingFace Model.swift
/host/spi-builder-workspace/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 |
[724/769] Compiling HuggingFace OAuth.swift
/host/spi-builder-workspace/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 |
[725/769] Compiling HuggingFace Organization.swift
/host/spi-builder-workspace/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 |
[726/769] Compiling HuggingFace Pagination.swift
/host/spi-builder-workspace/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 |
[727/769] Compiling HuggingFace Paper.swift
/host/spi-builder-workspace/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 |
[728/775] Compiling HuggingFace HubClient+Models.swift
/host/spi-builder-workspace/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 |
[729/775] Compiling HuggingFace HubClient+OAuth.swift
/host/spi-builder-workspace/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 |
[730/775] Compiling HuggingFace HubClient+Organizations.swift
/host/spi-builder-workspace/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 |
[731/775] Compiling HuggingFace HubClient+Pagination.swift
/host/spi-builder-workspace/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 |
[732/775] Compiling HuggingFace HubClient+Papers.swift
/host/spi-builder-workspace/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 |
[733/775] Compiling HuggingFace HubClient+Repos.swift
/host/spi-builder-workspace/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 |
[734/775] Compiling HuggingFace HubClient+Spaces.swift
/host/spi-builder-workspace/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 |
[735/775] Compiling HuggingFace InferenceClient.swift
/host/spi-builder-workspace/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 |
[736/775] Compiling HuggingFace Message.swift
/host/spi-builder-workspace/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 |
[737/775] Compiling HuggingFace Provider.swift
/host/spi-builder-workspace/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 |
[738/775] Compiling HuggingFace SpeechToText.swift
/host/spi-builder-workspace/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 |
[739/775] Compiling HuggingFace TextToImage.swift
/host/spi-builder-workspace/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 |
[740/775] Compiling HuggingFace TextToVideo.swift
/host/spi-builder-workspace/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 |
[741/775] Compiling HuggingFace HuggingFaceAuthenticationManager.swift
/host/spi-builder-workspace/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 |
[742/775] Compiling HuggingFace AccessRequest.swift
/host/spi-builder-workspace/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 |
[743/775] Compiling HuggingFace Billing.swift
/host/spi-builder-workspace/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 |
[744/775] Compiling HuggingFace Collection.swift
/host/spi-builder-workspace/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 |
[745/775] Compiling HuggingFace CommaSeparatedList.swift
/host/spi-builder-workspace/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 |
[746/775] Compiling HuggingFace Dataset.swift
/host/spi-builder-workspace/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 |
[747/775] Compiling HuggingFace Discussion.swift
/host/spi-builder-workspace/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 |
[748/775] Compiling HuggingFace File.swift
/host/spi-builder-workspace/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 |
[749/775] Compiling HuggingFace URLSession+Linux.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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/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/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/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/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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/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/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/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/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/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/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 |     }
[750/775] Compiling HuggingFace FileLock.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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/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/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/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/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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/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/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/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/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/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/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 |     }
[751/775] Compiling HuggingFace HTTPClient.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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/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/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/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/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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/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/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/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/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/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/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 |     }
[752/775] Compiling HuggingFace MultipartBuilder.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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/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/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/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/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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/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/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/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/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/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/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 |     }
[753/775] Compiling HuggingFace TokenProvider.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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/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/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/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/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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/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/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/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/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/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/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 |     }
[754/775] Compiling HuggingFace Value.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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/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/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/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/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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/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/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/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/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/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/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)
[755/775] Emitting module HuggingFace
/host/spi-builder-workspace/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/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)
[756/775] Compiling HuggingFace OAuthClient.swift
/host/spi-builder-workspace/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/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)
[757/775] Compiling HuggingFace TokenStorage.swift
/host/spi-builder-workspace/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/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)
[758/775] Compiling HuggingFace CacheLocationProvider.swift
/host/spi-builder-workspace/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/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)
[759/775] Compiling HuggingFace Data+Extensions.swift
/host/spi-builder-workspace/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/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)
[760/775] Compiling HuggingFace JSONDecoder+Extensions.swift
/host/spi-builder-workspace/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/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)
[761/775] Compiling HuggingFace URL+Extensions.swift
/host/spi-builder-workspace/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/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)
[762/775] Compiling HuggingFace Repo.swift
/host/spi-builder-workspace/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 |
[763/775] Compiling HuggingFace ResourceGroup.swift
/host/spi-builder-workspace/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 |
[764/775] Compiling HuggingFace Space.swift
/host/spi-builder-workspace/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 |
[765/775] Compiling HuggingFace Tags.swift
/host/spi-builder-workspace/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 |
[766/775] Compiling HuggingFace User.swift
/host/spi-builder-workspace/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 |
[767/775] Compiling HuggingFace ChatCompletion.swift
/host/spi-builder-workspace/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 |
[768/775] Compiling HuggingFace FeatureExtraction.swift
/host/spi-builder-workspace/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 |
[769/775] Compiling HuggingFace Git.swift
/host/spi-builder-workspace/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:666:57: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 664 |                                 )
 665 |                                 if !FileManager.default.fileExists(atPath: incompleteBlobPath.path) {
 666 |                                     FileManager.default.createFile(atPath: incompleteBlobPath.path, contents: nil)
     |                                                         `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 667 |                                 }
 668 |                                 try appendFileContents(from: tempURL, to: incompleteBlobPath)
/host/spi-builder-workspace/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/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:1365:21: warning: no 'async' operations occur within 'await' expression
1363 |             samplingTask?.cancel()
1364 |             if let samplingTask {
1365 |                 _ = await samplingTask.result
     |                     `- warning: no 'async' operations occur within 'await' expression
1366 |             }
1367 |             throw error
/host/spi-builder-workspace/Sources/HuggingFace/Hub/HubClient+Files.swift:1372:17: warning: no 'async' operations occur within 'await' expression
1370 |         samplingTask?.cancel()
1371 |         if let samplingTask {
1372 |             _ = await samplingTask.result
     |                 `- warning: no 'async' operations occur within 'await' expression
1373 |         }
1374 |
/host/spi-builder-workspace/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/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 {
[770/775] Compiling HuggingFace HubCache.swift
/host/spi-builder-workspace/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:666:57: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 664 |                                 )
 665 |                                 if !FileManager.default.fileExists(atPath: incompleteBlobPath.path) {
 666 |                                     FileManager.default.createFile(atPath: incompleteBlobPath.path, contents: nil)
     |                                                         `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 667 |                                 }
 668 |                                 try appendFileContents(from: tempURL, to: incompleteBlobPath)
/host/spi-builder-workspace/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/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:1365:21: warning: no 'async' operations occur within 'await' expression
1363 |             samplingTask?.cancel()
1364 |             if let samplingTask {
1365 |                 _ = await samplingTask.result
     |                     `- warning: no 'async' operations occur within 'await' expression
1366 |             }
1367 |             throw error
/host/spi-builder-workspace/Sources/HuggingFace/Hub/HubClient+Files.swift:1372:17: warning: no 'async' operations occur within 'await' expression
1370 |         samplingTask?.cancel()
1371 |         if let samplingTask {
1372 |             _ = await samplingTask.result
     |                 `- warning: no 'async' operations occur within 'await' expression
1373 |         }
1374 |
/host/spi-builder-workspace/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/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 {
[771/775] Compiling HuggingFace HubClient+Collections.swift
/host/spi-builder-workspace/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:666:57: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 664 |                                 )
 665 |                                 if !FileManager.default.fileExists(atPath: incompleteBlobPath.path) {
 666 |                                     FileManager.default.createFile(atPath: incompleteBlobPath.path, contents: nil)
     |                                                         `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 667 |                                 }
 668 |                                 try appendFileContents(from: tempURL, to: incompleteBlobPath)
/host/spi-builder-workspace/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/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:1365:21: warning: no 'async' operations occur within 'await' expression
1363 |             samplingTask?.cancel()
1364 |             if let samplingTask {
1365 |                 _ = await samplingTask.result
     |                     `- warning: no 'async' operations occur within 'await' expression
1366 |             }
1367 |             throw error
/host/spi-builder-workspace/Sources/HuggingFace/Hub/HubClient+Files.swift:1372:17: warning: no 'async' operations occur within 'await' expression
1370 |         samplingTask?.cancel()
1371 |         if let samplingTask {
1372 |             _ = await samplingTask.result
     |                 `- warning: no 'async' operations occur within 'await' expression
1373 |         }
1374 |
/host/spi-builder-workspace/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/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 {
[772/775] Compiling HuggingFace HubClient+Datasets.swift
/host/spi-builder-workspace/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:666:57: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 664 |                                 )
 665 |                                 if !FileManager.default.fileExists(atPath: incompleteBlobPath.path) {
 666 |                                     FileManager.default.createFile(atPath: incompleteBlobPath.path, contents: nil)
     |                                                         `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 667 |                                 }
 668 |                                 try appendFileContents(from: tempURL, to: incompleteBlobPath)
/host/spi-builder-workspace/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/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:1365:21: warning: no 'async' operations occur within 'await' expression
1363 |             samplingTask?.cancel()
1364 |             if let samplingTask {
1365 |                 _ = await samplingTask.result
     |                     `- warning: no 'async' operations occur within 'await' expression
1366 |             }
1367 |             throw error
/host/spi-builder-workspace/Sources/HuggingFace/Hub/HubClient+Files.swift:1372:17: warning: no 'async' operations occur within 'await' expression
1370 |         samplingTask?.cancel()
1371 |         if let samplingTask {
1372 |             _ = await samplingTask.result
     |                 `- warning: no 'async' operations occur within 'await' expression
1373 |         }
1374 |
/host/spi-builder-workspace/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/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 {
[773/775] Compiling HuggingFace HubClient+Discussions.swift
/host/spi-builder-workspace/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:666:57: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 664 |                                 )
 665 |                                 if !FileManager.default.fileExists(atPath: incompleteBlobPath.path) {
 666 |                                     FileManager.default.createFile(atPath: incompleteBlobPath.path, contents: nil)
     |                                                         `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 667 |                                 }
 668 |                                 try appendFileContents(from: tempURL, to: incompleteBlobPath)
/host/spi-builder-workspace/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/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:1365:21: warning: no 'async' operations occur within 'await' expression
1363 |             samplingTask?.cancel()
1364 |             if let samplingTask {
1365 |                 _ = await samplingTask.result
     |                     `- warning: no 'async' operations occur within 'await' expression
1366 |             }
1367 |             throw error
/host/spi-builder-workspace/Sources/HuggingFace/Hub/HubClient+Files.swift:1372:17: warning: no 'async' operations occur within 'await' expression
1370 |         samplingTask?.cancel()
1371 |         if let samplingTask {
1372 |             _ = await samplingTask.result
     |                 `- warning: no 'async' operations occur within 'await' expression
1373 |         }
1374 |
/host/spi-builder-workspace/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/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 {
[774/775] Compiling HuggingFace HubClient+Files.swift
/host/spi-builder-workspace/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:666:57: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 664 |                                 )
 665 |                                 if !FileManager.default.fileExists(atPath: incompleteBlobPath.path) {
 666 |                                     FileManager.default.createFile(atPath: incompleteBlobPath.path, contents: nil)
     |                                                         `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 667 |                                 }
 668 |                                 try appendFileContents(from: tempURL, to: incompleteBlobPath)
/host/spi-builder-workspace/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/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:1365:21: warning: no 'async' operations occur within 'await' expression
1363 |             samplingTask?.cancel()
1364 |             if let samplingTask {
1365 |                 _ = await samplingTask.result
     |                     `- warning: no 'async' operations occur within 'await' expression
1366 |             }
1367 |             throw error
/host/spi-builder-workspace/Sources/HuggingFace/Hub/HubClient+Files.swift:1372:17: warning: no 'async' operations occur within 'await' expression
1370 |         samplingTask?.cancel()
1371 |         if let samplingTask {
1372 |             _ = await samplingTask.result
     |                 `- warning: no 'async' operations occur within 'await' expression
1373 |         }
1374 |
/host/spi-builder-workspace/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/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 {
[775/775] Compiling HuggingFace HubClient+Git.swift
/host/spi-builder-workspace/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:666:57: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 664 |                                 )
 665 |                                 if !FileManager.default.fileExists(atPath: incompleteBlobPath.path) {
 666 |                                     FileManager.default.createFile(atPath: incompleteBlobPath.path, contents: nil)
     |                                                         `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
 667 |                                 }
 668 |                                 try appendFileContents(from: tempURL, to: incompleteBlobPath)
/host/spi-builder-workspace/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/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/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/Sources/HuggingFace/Hub/HubClient+Files.swift:1365:21: warning: no 'async' operations occur within 'await' expression
1363 |             samplingTask?.cancel()
1364 |             if let samplingTask {
1365 |                 _ = await samplingTask.result
     |                     `- warning: no 'async' operations occur within 'await' expression
1366 |             }
1367 |             throw error
/host/spi-builder-workspace/Sources/HuggingFace/Hub/HubClient+Files.swift:1372:17: warning: no 'async' operations occur within 'await' expression
1370 |         samplingTask?.cancel()
1371 |         if let samplingTask {
1372 |             _ = await samplingTask.result
     |                 `- warning: no 'async' operations occur within 'await' expression
1373 |         }
1374 |
/host/spi-builder-workspace/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/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 {
BUILD FAILURE 6.3 android