Build Information
Failed to build swift-huggingface, reference main (b72195), with Swift 6.3 for Android on 19 Apr 2026 05:04:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/swift-huggingface.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/huggingface/swift-huggingface
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-4609320-3":/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.40s)
[1/17416] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.38s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (4.11s)
Fetching https://github.com/apple/swift-nio.git
[1/83172] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.07s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (11.39s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[711/7421] Fetching swift-atomics, swift-system
[1762/30990] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.06s)
[7487/29170] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.06s)
[2122/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (5.91s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (7.76s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.79s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.67s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (3.52s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.98s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.56s)
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.4.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Building for debugging...
[0/395] Write sources
[11/395] Compiling _AtomicsShims.c
[12/395] Compiling CXKCPShims shims.c
[13/395] Compiling SimpleFIPS202.c
[14/395] Compiling KeccakSponge.c
[15/395] Compiling CNIOWindows shim.c
[16/395] Compiling CNIOWindows WSAStartup.c
[17/395] Compiling KeccakHash.c
[18/395] Compiling CNIOWASI CNIOWASI.c
[19/395] Compiling CNIOOpenBSD shim.c
[20/395] Compiling CNIOLinux liburing_shims.c
[20/395] Compiling CNIODarwin shim.c
[22/395] Compiling CNIOLinux shim.c
[23/395] Compiling KeccakP-1600-opt64.c
[24/395] Compiling CCryptoBoringSSLShims shims.c
[25/395] Compiling fiat_p256_adx_sqr.S
[26/395] Compiling e_aesgcmsiv.cc
[27/395] Compiling e_chacha20poly1305.cc
[28/395] Compiling fiat_p256_adx_mul.S
[29/395] Compiling e_aeseax.cc
[30/395] Compiling fiat_curve25519_adx_mul.S
[31/395] Compiling fiat_curve25519_adx_square.S
[32/395] Write swift-version--4F562202D5529B1.txt
[33/395] Compiling md5-x86_64-linux.S
[34/395] Compiling md5-586-linux.S
[35/395] Compiling md5-x86_64-apple.S
[35/395] Compiling chacha20_poly1305_x86_64-linux.S
[37/395] Compiling md5-586-apple.S
[38/401] Compiling chacha20_poly1305_x86_64-apple.S
[39/401] Compiling chacha20_poly1305_armv8-win.S
[40/419] Compiling chacha20_poly1305_armv8-apple.S
[41/419] Compiling chacha20_poly1305_armv8-linux.S
[42/419] Compiling chacha-x86_64-linux.S
[43/419] Compiling chacha-x86_64-apple.S
[44/419] Compiling chacha-x86-linux.S
[45/419] Compiling chacha-x86-apple.S
[46/419] Compiling chacha-armv8-win.S
[47/419] Compiling chacha-armv8-apple.S
[48/419] Compiling chacha-armv8-linux.S
[49/419] Compiling chacha-armv4-linux.S
[50/419] Compiling aes128gcmsiv-x86_64-linux.S
[51/419] Compiling aes128gcmsiv-x86_64-apple.S
[52/419] Compiling x86_64-mont5-linux.S
[53/419] Compiling x86_64-mont-linux.S
[55/419] Emitting module _NIOBase64
[55/419] Compiling x86_64-mont5-apple.S
[56/419] Compiling x86_64-mont-apple.S
[57/419] Compiling x86-mont-linux.S
[58/419] Compiling err_data.cc
[59/419] Compiling x86-mont-apple.S
[60/419] Compiling vpaes-x86_64-linux.S
[62/419] Emitting module InternalCollectionsUtilities
[62/421] Compiling vpaes-x86_64-apple.S
[63/421] Compiling vpaes-x86-linux.S
[64/421] Compiling vpaes-armv8-win.S
[65/421] Compiling vpaes-x86-apple.S
[66/421] Compiling vpaes-armv8-linux.S
[67/421] Compiling vpaes-armv8-apple.S
[68/421] Compiling vpaes-armv7-linux.S
[69/421] Compiling sha512-x86_64-apple.S
[70/421] Compiling sha512-x86_64-linux.S
[71/421] Compiling sha512-armv8-win.S
[72/421] Compiling sha512-armv8-apple.S
[73/421] Compiling sha512-armv8-linux.S
[74/421] Compiling sha512-586-linux.S
[75/421] Compiling sha512-armv4-linux.S
[76/421] Compiling sha512-586-apple.S
[77/421] Compiling sha256-x86_64-linux.S
[78/421] Compiling sha256-armv8-win.S
[79/421] Compiling sha256-x86_64-apple.S
[80/421] Compiling sha256-armv4-linux.S
[81/421] Compiling sha256-armv8-apple.S
[82/421] Compiling sha256-586-linux.S
[83/421] Compiling sha256-586-apple.S
[84/421] Compiling sha256-armv8-linux.S
[85/421] Compiling sha1-x86_64-linux.S
[86/421] Compiling sha1-x86_64-apple.S
[87/421] Compiling sha1-armv8-win.S
[88/421] Compiling sha1-armv8-linux.S
[89/421] Compiling sha1-armv8-apple.S
[90/421] Compiling sha1-armv4-large-linux.S
[91/421] Compiling sha1-586-linux.S
[92/421] Compiling sha1-586-apple.S
[93/421] Compiling rsaz-avx2-linux.S
[94/421] Compiling rsaz-avx2-apple.S
[95/421] Compiling rdrand-x86_64-apple.S
[96/421] Compiling rdrand-x86_64-linux.S
[97/421] Compiling p256_beeu-x86_64-asm-linux.S
[98/421] Compiling p256_beeu-x86_64-asm-apple.S
[99/421] Compiling p256_beeu-armv8-asm-win.S
[100/421] Compiling p256_beeu-armv8-asm-linux.S
[101/421] Compiling p256_beeu-armv8-asm-apple.S
[102/421] Compiling p256-x86_64-asm-linux.S
[103/421] Compiling p256-armv8-asm-win.S
[104/421] Compiling p256-x86_64-asm-apple.S
[105/421] Compiling p256-armv8-asm-linux.S
[106/421] Compiling p256-armv8-asm-apple.S
[107/421] Compiling ghashv8-armv8-win.S
[108/421] Compiling ghashv8-armv8-linux.S
[109/421] Compiling ghashv8-armv8-apple.S
[110/421] Compiling ghashv8-armv7-linux.S
[111/421] Compiling ghash-x86_64-linux.S
[112/421] Compiling ghash-x86_64-apple.S
[113/421] Compiling ghash-x86-linux.S
[114/421] Compiling ghash-x86-apple.S
[115/421] Compiling ghash-ssse3-x86_64-linux.S
[115/421] Compiling ghash-ssse3-x86_64-apple.S
[117/421] Compiling ghash-ssse3-x86-linux.S
[118/421] Compiling c-nioatomics.c
[119/421] Compiling c-atomics.c
[120/421] Compiling ghash-ssse3-x86-apple.S
[121/421] Compiling ghash-neon-armv8-win.S
[122/421] Compiling ghash-neon-armv8-linux.S
[123/421] Compiling ghash-neon-armv8-apple.S
[124/421] Compiling ghash-armv4-linux.S
[125/421] Compiling co-586-linux.S
[126/427] Compiling bsaes-armv7-linux.S
[127/428] Compiling co-586-apple.S
[128/428] Compiling bn-armv8-win.S
[129/428] Compiling bn-armv8-linux.S
[130/428] Compiling bn-armv8-apple.S
[131/428] Compiling bn-586-linux.S
[132/428] Compiling bn-586-apple.S
[133/428] Compiling armv8-mont-win.S
[134/428] Compiling armv8-mont-apple.S
[135/428] Compiling armv8-mont-linux.S
[136/428] Compiling armv4-mont-linux.S
[137/428] Compiling aesv8-gcm-armv8-win.S
[138/428] Compiling aesv8-armv8-win.S
[139/428] Compiling aesv8-gcm-armv8-linux.S
[140/428] Compiling aesv8-armv8-linux.S
[141/428] Compiling aesv8-gcm-armv8-apple.S
[142/428] Compiling aesv8-armv8-apple.S
[143/428] Compiling aesv8-armv7-linux.S
[144/428] Compiling aesni-x86_64-linux.S
[145/428] Compiling aesni-x86_64-apple.S
[146/428] Compiling aesni-x86-apple.S
[147/428] Compiling aesni-gcm-x86_64-linux.S
[147/428] Compiling aesni-x86-linux.S
[149/428] Compiling aesni-gcm-x86_64-apple.S
[150/428] Compiling aes-gcm-avx512-x86_64-apple.S
[151/428] Compiling aes-gcm-avx512-x86_64-linux.S
[152/428] Compiling aes-gcm-avx2-x86_64-linux.S
[153/428] Compiling aes-gcm-avx2-x86_64-apple.S
[155/428] Compiling NIOConcurrencyHelpers lock.swift
[156/428] Compiling InternalCollectionsUtilities _SortedCollection.swift
[157/428] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[158/428] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[159/428] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[160/428] Compiling InternalCollectionsUtilities String+Padding.swift
[161/428] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[162/428] Compiling _NIOBase64 Base64.swift
[163/429] Emitting module NIOConcurrencyHelpers
[163/429] Compiling xwing.cc
[165/429] Compiling InternalCollectionsUtilities Integer rank.swift
[166/429] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[167/429] Compiling InternalCollectionsUtilities UInt+reversed.swift
[168/429] Compiling InternalCollectionsUtilities Debugging.swift
[169/429] Compiling InternalCollectionsUtilities Descriptions.swift
[170/429] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[171/429] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[172/429] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[173/429] Compiling InternalCollectionsUtilities Span+Extras.swift
[174/429] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[175/429] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[176/429] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[177/429] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[178/429] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[179/429] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[181/430] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[182/430] Compiling NIOConcurrencyHelpers NIOLock.swift
[183/430] Compiling NIOConcurrencyHelpers atomics.swift
[185/431] Compiling _NIODataStructures PriorityQueue.swift
[186/431] Compiling _NIODataStructures _TinyArray.swift
[187/431] Compiling _NIODataStructures Heap.swift
[188/431] Emitting module _NIODataStructures
[190/432] Compiling x_x509.cc
[191/432] Compiling x_spki.cc
[192/433] Compiling x_x509a.cc
[194/433] Emitting module ContainersPreview
[194/433] Compiling x_pubkey.cc
[195/433] Compiling x_sig.cc
[196/433] Compiling x_req.cc
[197/433] Compiling x_crl.cc
[198/433] Compiling x_exten.cc
[199/433] Compiling x_name.cc
[200/433] Compiling x_attrib.cc
[201/433] Compiling x_all.cc
[202/433] Compiling x509name.cc
[202/433] Compiling x509spki.cc
[202/433] Compiling x509rset.cc
[202/433] Compiling x_algor.cc
[207/456] Compiling ContainersPreview OutputSpan+Extras.swift
[208/456] Compiling ContainersPreview TemporaryAllocation.swift
[209/456] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[210/456] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[211/456] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[212/461] Compiling ContainersPreview Container.swift
[213/461] Compiling ContainersPreview ContainerIterator.swift
[214/461] Compiling ContainersPreview DynamicContainer.swift
[215/461] Compiling ContainersPreview MutableContainer.swift
[216/461] Compiling ContainersPreview PermutableContainer.swift
[217/461] Compiling ContainersPreview Drain+Reduce.swift
[218/461] Compiling ContainersPreview Drain.swift
[219/461] Compiling ContainersPreview Producer+Collect.swift
[220/461] Compiling ContainersPreview Producer+Filter.swift
[221/469] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[222/469] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[223/469] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[224/469] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[225/469] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[226/469] Compiling ContainersPreview RandomAccessContainer.swift
[227/469] Compiling ContainersPreview RangeExpression2.swift
[228/469] Compiling ContainersPreview RangeReplaceableContainer.swift
[229/469] Compiling ContainersPreview Drain+Map.swift
[230/469] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[231/469] Compiling ContainersPreview BorrowingSequence.swift
[232/469] Compiling ContainersPreview BidirectionalContainer.swift
[233/469] Compiling ContainersPreview Container+Filter.swift
[234/469] Compiling ContainersPreview Container+SpanwiseZip.swift
[235/469] Compiling ContainersPreview Producer+Map.swift
[236/469] Compiling ContainersPreview Producer+Reduce.swift
[237/469] Compiling ContainersPreview Producer.swift
[238/469] Compiling ContainersPreview Borrow.swift
[238/469] Compiling x509cset.cc
[240/469] Compiling ContainersPreview Box.swift
[241/469] Compiling ContainersPreview Inout.swift
[242/469] Compiling ContainersPreview InputSpan.swift
[243/469] Compiling ContainersPreview Shared.swift
[244/470] Compiling x509_vpm.cc
[245/471] Compiling x509_set.cc
[246/471] Compiling x509_txt.cc
[247/471] Compiling x509_v3.cc
[248/471] Compiling x509_vfy.cc
[249/471] Compiling x509_trs.cc
[250/510] Compiling x509_req.cc
[252/510] Compiling DequeModule UniqueDeque+Consumption.swift
[253/510] Compiling DequeModule UniqueDeque+Container.swift
[254/510] Compiling DequeModule UniqueDeque+Descriptions.swift
[255/510] Compiling DequeModule UniqueDeque+Equatable.swift
[256/510] Compiling DequeModule UniqueDeque+Experimental.swift
[257/515] Compiling DequeModule Deque+Codable.swift
[258/515] Compiling DequeModule Deque+Collection.swift
[259/515] Compiling DequeModule Deque+CustomReflectable.swift
[260/515] Compiling DequeModule Deque+Descriptions.swift
[261/515] Compiling DequeModule Deque+Equatable.swift
[262/515] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[262/515] Compiling x509_obj.cc
[264/515] Compiling DequeModule _DequeBuffer.swift
[265/515] Compiling DequeModule _DequeBufferHeader.swift
[266/515] Compiling DequeModule RigidDeque+Append.swift
[267/515] Compiling DequeModule RigidDeque+Consumption.swift
[268/515] Compiling DequeModule RigidDeque+Container.swift
[269/515] Compiling DequeModule RigidDeque+Descriptions.swift
[270/515] Compiling DequeModule RigidDeque+Equatable.swift
[271/515] Compiling DequeModule RigidDeque+Experimental.swift
[272/515] Compiling DequeModule RigidDeque+Hashable.swift
[273/515] Compiling DequeModule RigidDeque+Initializers.swift
[274/515] Compiling DequeModule RigidDeque+Insertions.swift
[275/515] Compiling DequeModule RigidDeque+Prepend.swift
[276/515] Compiling DequeModule UniqueDeque+Hashable.swift
[277/515] Compiling DequeModule UniqueDeque+Initializers.swift
[278/515] Compiling DequeModule UniqueDeque+Insertions.swift
[279/515] Compiling DequeModule UniqueDeque+Prepend.swift
[280/515] Compiling DequeModule UniqueDeque+Removals.swift
[281/515] Compiling DequeModule RigidDeque+Removals.swift
[282/515] Compiling DequeModule RigidDeque+Replacements.swift
[283/515] Compiling DequeModule RigidDeque+Testing.swift
[284/515] Compiling DequeModule RigidDeque.swift
[285/515] Compiling DequeModule UniqueDeque+Append.swift
[285/515] Compiling x509_def.cc
[286/515] Compiling x509_ext.cc
[287/515] Compiling x509_lu.cc
[288/515] Compiling x509_cmp.cc
[289/515] Compiling x509_d2.cc
[290/515] Compiling x509_att.cc
[292/515] Compiling DequeModule Deque+Extras.swift
[293/515] Compiling DequeModule Deque+Hashable.swift
[294/515] Compiling DequeModule Deque+Testing.swift
[295/515] Compiling DequeModule Deque._Storage.swift
[296/515] Compiling DequeModule Deque._UnsafeHandle.swift
[297/515] Compiling DequeModule Deque.swift
[297/515] Compiling x509.cc
[298/515] Compiling v3_utl.cc
[299/515] Compiling v3_purp.cc
[300/515] Compiling v3_skey.cc
[301/515] Compiling v3_pcons.cc
[302/515] Compiling v3_prn.cc
[303/515] Compiling v3_pmaps.cc
[305/515] Emitting module DequeModule
[305/515] Compiling v3_ocsp.cc
[306/515] Compiling v3_lib.cc
[307/515] Compiling v3_info.cc
[308/515] Compiling v3_ncons.cc
[310/515] Compiling DequeModule UniqueDeque+Replacements.swift
[311/515] Compiling DequeModule UniqueDeque.swift
[312/515] Compiling DequeModule _DequeSlot.swift
[313/515] Compiling DequeModule _UnsafeDequeHandle.swift
[314/515] Compiling DequeModule _UnsafeDequeSegments.swift
[314/516] Compiling v3_genn.cc
[315/516] Compiling v3_ia5.cc
[317/516] Compiling v3_int.cc
[318/516] Compiling v3_extku.cc
[319/516] Compiling v3_crld.cc
[320/516] Compiling v3_enum.cc
[321/516] Compiling v3_cpols.cc
[322/516] Compiling v3_bcons.cc
[323/516] Compiling v3_bitst.cc
[324/516] Compiling v3_alt.cc
[325/516] Compiling v3_conf.cc
[326/516] Compiling v3_akey.cc
[327/516] Compiling v3_akeya.cc
[328/516] Compiling t_x509a.cc
[329/516] Compiling t_crl.cc
[330/516] Compiling t_x509.cc
[331/516] Compiling t_req.cc
[332/516] Compiling i2d_pr.cc
[333/516] Compiling by_file.cc
[334/516] Compiling rsa_pss.cc
[335/516] Compiling name_print.cc
[335/516] Compiling policy.cc
[337/516] Compiling by_dir.cc
[338/516] Compiling asn1_gen.cc
[339/516] Compiling algorithm.cc
[340/516] Compiling a_verify.cc
[341/516] Compiling a_digest.cc
[342/516] Compiling trust_token.cc
[343/516] Compiling a_sign.cc
[344/516] Compiling thread_win.cc
[345/516] Compiling voprf.cc
[346/516] Compiling pmbtoken.cc
[347/516] Compiling thread_pthread.cc
[348/516] Compiling thread_none.cc
[349/516] Compiling thread.cc
[350/516] Compiling stack.cc
[351/516] Compiling sha512.cc
[352/516] Compiling siphash.cc
[353/516] Compiling slhdsa.cc
[354/516] Compiling sha256.cc
[355/516] Compiling sha1.cc
[356/516] Compiling spake2plus.cc
[357/516] Compiling rsa_extra.cc
[358/516] Compiling rsa_print.cc
[359/516] Compiling refcount.cc
[360/516] Compiling rc4.cc
[361/516] Compiling rsa_crypt.cc
[362/516] Compiling urandom.cc
[363/516] Compiling rand.cc
[364/516] Compiling windows.cc
[365/516] Compiling trusty.cc
[366/516] Compiling rsa_asn1.cc
[367/516] Compiling getentropy.cc
[368/516] Compiling forkunsafe.cc
[369/516] Compiling poly1305_arm_asm.S
[370/516] Compiling ios.cc
[371/516] Compiling deterministic.cc
[371/516] Compiling passive.cc
[373/516] Compiling fork_detect.cc
[374/516] Compiling poly1305.cc
[375/516] Compiling poly1305_vec.cc
[376/516] Compiling poly1305_arm.cc
[377/516] Compiling pool.cc
[378/516] Compiling pkcs8.cc
[379/516] Compiling pkcs8_x509.cc
[380/516] Compiling p5_pbev2.cc
[381/516] Compiling pkcs7_x509.cc
[382/516] Compiling pem_pkey.cc
[383/516] Compiling pem_xaux.cc
[384/516] Compiling pkcs7.cc
[385/516] Compiling pem_x509.cc
[386/516] Compiling pem_pk8.cc
[387/516] Compiling pem_oth.cc
[388/516] Compiling pem_lib.cc
[389/516] Compiling mlkem.cc
[390/516] Compiling pem_info.cc
[391/516] Compiling obj_xref.cc
[392/516] Compiling pem_all.cc
[393/516] Compiling obj.cc
[394/516] Compiling poly_rq_mul.S
[395/516] Compiling mem.cc
[396/516] Compiling mldsa.cc
[397/516] Compiling fips_shared_support.cc
[398/516] Compiling lhash.cc
[399/516] Compiling md5.cc
[400/516] Compiling md4.cc
[401/516] Compiling kyber.cc
[402/516] Compiling fuzzer_mode.cc
[403/516] Compiling hrss.cc
[404/516] Compiling hpke.cc
[405/516] Compiling pbkdf.cc
[406/516] Compiling ex_data.cc
[407/516] Compiling scrypt.cc
[408/516] Compiling print.cc
[409/516] Compiling sign.cc
[410/516] Compiling p_x25519_asn1.cc
[411/516] Compiling p_rsa.cc
[412/516] Compiling p_x25519.cc
[413/516] Compiling p_ec_asn1.cc
[414/516] Compiling p_rsa_asn1.cc
[415/516] Compiling p_dsa_asn1.cc
[416/516] Compiling p_hkdf.cc
[417/516] Compiling p_dh_asn1.cc
[418/516] Compiling p_ed25519_asn1.cc
[419/516] Compiling p_ed25519.cc
[420/516] Compiling p_ec.cc
[421/516] Compiling evp.cc
[422/516] Compiling p_dh.cc
[423/516] Compiling err.cc
[424/516] Compiling evp_ctx.cc
[425/516] Compiling ecdsa_p1363.cc
[426/516] Compiling engine.cc
[427/516] Compiling evp_asn1.cc
[428/516] Compiling ecdh.cc
[429/516] Compiling bcm.cc
[430/516] Compiling ecdsa_asn1.cc
[431/516] Compiling ec_asn1.cc
[432/516] Compiling hash_to_curve.cc
[433/516] Compiling ec_derive.cc
[434/516] Compiling dh_asn1.cc
[435/516] Compiling dsa.cc
[436/516] Compiling x25519-asm-arm.S
[437/516] Compiling dsa_asn1.cc
[438/516] Compiling curve25519.cc
[439/516] Compiling curve25519_64_adx.cc
[440/516] Compiling params.cc
[441/516] Compiling digest_extra.cc
[442/516] Compiling cpu_arm_linux.cc
[443/516] Compiling des.cc
[444/516] Compiling cpu_arm_freebsd.cc
[445/516] Compiling cpu_aarch64_linux.cc
[446/516] Compiling spake25519.cc
[447/516] Compiling cpu_aarch64_fuchsia.cc
[448/516] Compiling cpu_intel.cc
[449/516] Compiling crypto.cc
[450/516] Compiling conf.cc
[451/516] Compiling cpu_aarch64_win.cc
[452/516] Compiling cpu_aarch64_sysreg.cc
[453/516] Compiling cpu_aarch64_openbsd.cc
[454/516] Compiling e_tls.cc
[455/516] Compiling cms.cc
[456/516] Compiling e_des.cc
[457/516] Compiling cpu_aarch64_apple.cc
[458/516] Compiling get_cipher.cc
[459/516] Compiling tls_cbc.cc
[460/516] Compiling chacha.cc
[461/516] Compiling e_rc4.cc
[462/516] Compiling e_rc2.cc
[463/516] Compiling e_null.cc
[464/516] Compiling e_aesctrhmac.cc
[465/516] Compiling derive_key.cc
[466/516] Compiling cbs.cc
[467/516] Compiling exponentiation.cc
[468/516] Compiling ber.cc
[469/516] Compiling convert.cc
[470/516] Compiling unicode.cc
[471/516] Compiling buf.cc
[472/516] Compiling sqrt.cc
[473/516] Compiling cbb.cc
[474/516] Compiling div.cc
[475/516] Compiling asn1_compat.cc
[476/516] Compiling hexdump.cc
[477/516] Compiling printf.cc
[478/516] Compiling blake2.cc
[479/516] Compiling bn_asn1.cc
[480/516] Compiling errno.cc
[481/516] Compiling pair.cc
[482/516] Compiling file.cc
[483/516] Compiling tasn_typ.cc
[484/516] Compiling bio_mem.cc
[485/516] Compiling fd.cc
[486/516] Compiling tasn_new.cc
[487/516] Compiling base64.cc
[488/516] Compiling bio.cc
[489/516] Compiling f_string.cc
[490/516] Compiling asn1_par.cc
[491/516] Compiling tasn_fre.cc
[492/516] Compiling tasn_enc.cc
[493/516] Compiling tasn_utl.cc
[494/516] Compiling posix_time.cc
[495/516] Compiling f_int.cc
[496/516] Compiling asn_pack.cc
[497/516] Compiling tasn_dec.cc
[498/516] Compiling asn1_lib.cc
[499/516] Compiling a_octet.cc
[500/516] Compiling a_type.cc
[501/516] Compiling a_strnid.cc
[502/516] Compiling a_strex.cc
[503/516] Compiling a_utctm.cc
[504/516] Compiling a_time.cc
[505/516] Compiling a_mbstr.cc
[506/516] Compiling a_object.cc
[507/516] Compiling a_i2d_fp.cc
[508/516] Write sources
[509/534] Compiling a_d2i_fp.cc
[510/534] Compiling a_dup.cc
[511/534] Compiling a_int.cc
[512/534] Compiling Atomics UnsafeAtomic.swift
[513/534] Compiling Atomics UnsafeAtomicLazyReference.swift
[514/536] Compiling a_gentm.cc
[516/536] Compiling Atomics AtomicMemoryOrderings.swift
[517/536] Compiling Atomics DoubleWord.swift
[518/536] Compiling Atomics ManagedAtomic.swift
[519/536] Compiling Atomics ManagedAtomicLazyReference.swift
[519/536] Compiling a_bool.cc
[520/536] Compiling aes.cc
[522/536] Compiling Atomics OptionalRawRepresentable.swift
[523/536] Compiling Atomics RawRepresentable.swift
[524/536] Compiling Atomics AtomicBool.swift
[524/536] Compiling a_bitstr.cc
[526/544] Compiling Atomics AtomicInteger.swift
[527/544] Compiling Atomics AtomicOptionalWrappable.swift
[528/544] Compiling Atomics AtomicReference.swift
[529/544] Compiling Atomics AtomicStorage.swift
[530/544] Compiling Atomics AtomicValue.swift
[531/544] Compiling Atomics IntegerOperations.swift
[532/544] Compiling Atomics Unmanaged extensions.swift
[533/544] Emitting module Atomics
[534/544] Compiling Atomics IntegerConformances.swift
[535/544] Compiling Atomics PointerConformances.swift
[536/544] Compiling Atomics Primitives.native.swift
[538/609] Compiling CryptoBoringWrapper RandomBytes.swift
[539/609] Compiling NIOCore EventLoopFuture+Deprecated.swift
[540/609] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[541/609] Compiling NIOCore EventLoopFuture.swift
[542/609] Compiling NIOCore FileDescriptor.swift
[543/609] Compiling NIOCore FileHandle.swift
[544/609] Compiling NIOCore FileRegion.swift
[545/609] Compiling NIOCore GlobalSingletons.swift
[546/609] Compiling NIOCore IO.swift
[547/609] Compiling NIOCore IOData.swift
[548/617] Compiling NIOCore IPProtocol.swift
[549/617] Compiling NIOCore IntegerBitPacking.swift
[550/617] Compiling NIOCore IntegerTypes.swift
[551/617] Compiling NIOCore Interfaces.swift
[552/617] Compiling NIOCore Linux.swift
[553/617] Compiling NIOCore MarkedCircularBuffer.swift
[554/617] Compiling NIOCore MulticastChannel.swift
[555/617] Compiling NIOCore NIOAny.swift
[556/617] Compiling NIOCore NIOCloseOnErrorHandler.swift
[557/617] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[558/617] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[559/617] Compiling NIOCore BSDSocketAPI.swift
[560/617] Compiling NIOCore ByteBuffer-aux.swift
[561/617] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[562/617] Compiling NIOCore ByteBuffer-conversions.swift
[563/617] Compiling NIOCore ByteBuffer-core.swift
[564/617] Compiling NIOCore ByteBuffer-hex.swift
[565/617] Compiling NIOCore ByteBuffer-int.swift
[566/617] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[567/617] Compiling NIOCore AddressedEnvelope.swift
[568/617] Compiling NIOCore AsyncAwaitSupport.swift
[569/617] Compiling NIOCore AsyncChannel.swift
[570/617] Compiling NIOCore AsyncChannelHandler.swift
[571/617] Compiling NIOCore AsyncChannelInboundStream.swift
[572/617] Compiling NIOCore AsyncChannelOutboundWriter.swift
[573/617] Compiling NIOCore NIOAsyncSequenceProducer.swift
[574/617] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[575/617] Compiling NIOCore NIOAsyncWriter.swift
[576/617] Emitting module CryptoBoringWrapper
[577/617] Compiling NIOCore CircularBuffer.swift
[578/617] Compiling NIOCore Codec.swift
[579/617] Compiling NIOCore ConvenienceOptionSupport.swift
[580/617] Compiling NIOCore DeadChannel.swift
[581/617] Compiling NIOCore DispatchQueue+WithFuture.swift
[582/617] Compiling NIOCore EventLoop+Deprecated.swift
[583/617] Compiling NIOCore EventLoop+SerialExecutor.swift
[584/617] Compiling NIOCore EventLoop.swift
[585/617] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[586/617] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[587/617] Compiling CryptoBoringWrapper EllipticCurve.swift
[588/617] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[589/617] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[590/617] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[592/619] Compiling NIOCore ByteBuffer-multi-int.swift
[593/619] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[594/619] Compiling NIOCore ByteBuffer-views.swift
[595/619] Compiling NIOCore Channel.swift
[596/619] Compiling NIOCore ChannelHandler.swift
[597/619] Compiling NIOCore ChannelHandlers.swift
[598/619] Compiling NIOCore ChannelInvoker.swift
[599/619] Compiling NIOCore ChannelOption.swift
[600/619] Compiling NIOCore ChannelPipeline.swift
[601/619] Compiling NIOCore NIOCoreSendableMetatype.swift
[602/619] Compiling NIOCore NIODecodedAsyncSequence.swift
[603/619] Compiling NIOCore NIOLoopBound.swift
[604/619] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[605/619] Compiling NIOCore NIOScheduledCallback.swift
[606/619] Compiling NIOCore NIOSendable.swift
[607/619] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[608/619] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[609/619] Compiling NIOCore RecvByteBufferAllocator.swift
[610/701] Emitting module NIOCore
[611/701] Compiling Crypto HPKE-LabeledExtract.swift
[612/701] Compiling Crypto HPKE-Utils.swift
[613/701] Compiling Crypto DHKEM.swift
[614/701] Compiling Crypto HPKE-KEM-Curve25519.swift
[615/701] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[616/701] Compiling Crypto HPKE-KEM.swift
[617/701] Compiling Crypto HPKE-Errors.swift
[618/701] Compiling Crypto HPKE.swift
[619/701] Compiling Crypto HPKE-Context.swift
[620/701] Compiling Crypto HPKE-KeySchedule.swift
[621/701] Compiling Crypto HPKE-Modes.swift
[622/701] Compiling Crypto Insecure.swift
[630/701] Compiling Crypto CryptoKitErrors.swift
[632/713] Emitting module Crypto
[633/718] Compiling Crypto HKDF.swift
[634/718] Compiling Crypto AESWrap.swift
[635/718] Compiling Crypto AESWrap_boring.swift
[636/718] Compiling Crypto Ed25519_boring.swift
[637/718] Compiling Crypto NISTCurvesKeys_boring.swift
[638/718] Compiling Crypto X25519Keys_boring.swift
[639/718] Compiling Crypto Curve25519.swift
[640/718] Compiling Crypto Ed25519Keys.swift
[641/718] Compiling Crypto NISTCurvesKeys.swift
[642/718] Compiling Crypto X25519Keys.swift
[643/718] Compiling Crypto SymmetricKeys.swift
[644/718] Emitting module EventSource
[646/718] Compiling Crypto Digest_boring.swift
[647/718] Compiling Crypto Digest.swift
[648/718] Compiling Crypto Digests.swift
[649/718] Compiling Crypto HashFunctions.swift
[650/718] Compiling Crypto HashFunctions_SHA2.swift
[651/718] Compiling Crypto HashFunctions_SHA3.swift
[652/718] Compiling Crypto Digest_xkcp.swift
[653/718] Compiling Crypto HPKE-AEAD.swift
[654/718] Compiling Crypto HPKE-Ciphersuite.swift
[655/718] Compiling Crypto HPKE-KDF.swift
[656/718] Compiling Crypto HPKE-KexKeyDerivation.swift
[657/718] Compiling Crypto ASN1Null.swift
[658/718] Compiling Crypto ASN1OctetString.swift
[659/718] Compiling Crypto ASN1Strings.swift
[660/718] Compiling Crypto ArraySliceBigint.swift
[661/718] Compiling Crypto GeneralizedTime.swift
[662/718] Compiling Crypto ObjectIdentifier.swift
[663/718] Compiling Crypto ECDSASignature.swift
[664/718] Compiling Crypto PEMDocument.swift
[665/718] Compiling Crypto PKCS8PrivateKey.swift
[666/718] Compiling Crypto SEC1PrivateKey.swift
[667/718] Compiling Crypto SubjectPublicKeyInfo.swift
[668/718] Compiling Crypto CryptoError_boring.swift
[669/718] Compiling Crypto AES-GCM.swift
[670/718] Compiling Crypto AES-GCM_boring.swift
[671/718] Compiling Crypto ChaChaPoly_boring.swift
[672/718] Compiling Crypto ChaChaPoly.swift
[673/718] Compiling Crypto Cipher.swift
[674/718] Compiling Crypto Nonces.swift
[675/718] Compiling Crypto ASN1.swift
[676/718] Compiling Crypto ASN1Any.swift
[677/718] Compiling Crypto ASN1BitString.swift
[678/718] Compiling Crypto ASN1Boolean.swift
[679/718] Compiling Crypto ASN1Identifier.swift
[680/718] Compiling Crypto ASN1Integer.swift
[681/718] Compiling Crypto HMAC.swift
[682/718] Compiling Crypto MACFunctions.swift
[683/718] Compiling Crypto MessageAuthenticationCode.swift
[684/718] Compiling Crypto AES.swift
[685/718] Compiling Crypto ECDSASignature_boring.swift
[686/718] Compiling Crypto ECDSA_boring.swift
[687/718] Compiling Crypto EdDSA_boring.swift
[688/718] Compiling Crypto MLDSA_boring.swift
[689/718] Compiling Crypto MLDSA_wrapper.swift
[690/718] Compiling Crypto ECDSA.swift
[691/718] Compiling Crypto Ed25519.swift
[692/718] Compiling EventSource AsyncSequence+Events.swift
[693/718] Compiling EventSource EventSource+AsyncHTTPClient.swift
[694/718] Compiling EventSource AsyncEventsSequence.swift
[695/718] Compiling EventSource EventSource.swift
[697/719] Compiling Crypto Insecure_HashFunctions.swift
[698/719] Compiling Crypto MLKEM_boring.swift
[699/719] Compiling Crypto MLKEM_wrapper.swift
[700/719] Compiling Crypto XWing_boring.swift
[701/719] Compiling Crypto KEM-Errors.swift
[702/719] Compiling Crypto KEM.swift
[703/719] Compiling Crypto MLKEM.swift
[704/719] Compiling Crypto XWing.swift
[705/719] Compiling Crypto ECDH_boring.swift
[706/719] Compiling Crypto DH.swift
[707/719] Compiling Crypto ECDH.swift
[708/719] Compiling Crypto ANSIx963.swift
[709/719] Compiling Crypto MLDSA.swift
[710/719] Compiling Crypto Signature.swift
[711/719] Compiling Crypto CryptoKitErrors_boring.swift
[712/719] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[713/719] Compiling Crypto RNG_boring.swift
[714/719] Compiling Crypto SafeCompare_boring.swift
[715/719] Compiling Crypto Zeroization_boring.swift
[716/719] Compiling Crypto PrettyBytes.swift
[717/719] Compiling Crypto SafeCompare.swift
[718/719] Compiling Crypto SecureBytes.swift
[719/719] Compiling Crypto Zeroization.swift
[721/769] 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 |
[722/769] 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 |
[723/769] 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 |
[724/769] 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 |
[725/769] 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 |
[726/769] 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 |
[727/769] 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 |
[728/775] 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 |
[729/775] 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 |
[730/775] 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 |
[731/775] 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 |
[732/775] 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 |
[733/775] 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 |
[734/775] 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 |
[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 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 |
[757/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 |
[758/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 |
[759/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 |
[760/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 |
[761/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 |
[762/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 |
[763/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)
[764/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)
[765/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)
[766/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)
[767/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)
[768/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)
[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