Build Information
Failed to build swift-huggingface, reference main (b72195), with Swift 6.2 for Android on 16 Mar 2026 21:47:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.1
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.2
Building package at path: $PWD
https://github.com/huggingface/swift-huggingface.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ed06329bcd62885fa27d8bb2bd26ede56f367c486166aaeeac553557f3a78bad
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/mattt/EventSource.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.39s)
[1/17246] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.40s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (4.16s)
Fetching https://github.com/apple/swift-nio.git
[1/82827] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.96.0 (10.96s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[602/24230] Fetching swift-atomics, swift-collections
[1572/29831] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.89s)
[3837/24230] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.50s)
Fetched https://github.com/apple/swift-collections.git from cache (2.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.26s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.83s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.0 (1.18s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.0 (4.98s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.55s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (1.49s)
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.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.96.0
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Building for debugging...
[0/395] Write sources
[11/395] Compiling _AtomicsShims.c
[12/395] Compiling SimpleFIPS202.c
[13/395] Compiling CXKCPShims shims.c
[14/395] Compiling KeccakSponge.c
[15/395] Compiling KeccakHash.c
[16/395] Compiling CNIOWindows shim.c
[17/395] Compiling CNIOWindows WSAStartup.c
[18/395] Compiling CNIOWASI CNIOWASI.c
[19/395] Compiling CNIOOpenBSD shim.c
[20/395] Compiling CNIOLinux liburing_shims.c
[21/395] Compiling CNIODarwin shim.c
[22/395] Compiling CNIOLinux shim.c
[23/395] Compiling aes.cc
[24/395] Write swift-version--11D90AFD9DD3AB2.txt
[25/395] Compiling a_d2i_fp.cc
[26/395] Compiling KeccakP-1600-opt64.c
[27/395] Compiling a_dup.cc
[28/397] Compiling fiat_p256_adx_sqr.S
[29/401] Compiling fiat_p256_adx_mul.S
[30/419] Compiling fiat_curve25519_adx_square.S
[31/419] Compiling fiat_curve25519_adx_mul.S
[32/419] Compiling md5-x86_64-linux.S
[33/419] Compiling md5-x86_64-apple.S
[34/419] Compiling md5-586-linux.S
[35/419] Compiling a_bitstr.cc
[36/419] Compiling CCryptoBoringSSLShims shims.c
[37/419] Compiling md5-586-apple.S
[38/419] Compiling chacha20_poly1305_x86_64-linux.S
[39/419] Compiling chacha20_poly1305_x86_64-apple.S
[40/419] Compiling chacha20_poly1305_armv8-win.S
[41/419] Compiling chacha20_poly1305_armv8-linux.S
[42/419] Compiling chacha20_poly1305_armv8-apple.S
[43/419] Compiling chacha-x86_64-linux.S
[44/419] Compiling chacha-x86_64-apple.S
[45/419] Compiling chacha-x86-linux.S
[46/419] Compiling chacha-x86-apple.S
[47/419] Compiling chacha-armv8-win.S
[48/419] Compiling chacha-armv8-apple.S
[49/419] Compiling chacha-armv8-linux.S
[50/419] Compiling chacha-armv4-linux.S
[51/419] Compiling aes128gcmsiv-x86_64-linux.S
[52/419] Compiling aes128gcmsiv-x86_64-apple.S
[53/419] Compiling x86_64-mont5-linux.S
[54/419] Compiling x86_64-mont5-apple.S
[55/419] Compiling x86_64-mont-linux.S
[56/419] Compiling x86_64-mont-apple.S
[57/419] Compiling err_data.cc
[58/419] Compiling x86-mont-linux.S
[59/419] Compiling x86-mont-apple.S
[60/419] Compiling vpaes-x86_64-linux.S
[61/419] Compiling vpaes-x86_64-apple.S
[62/419] Compiling vpaes-x86-linux.S
[63/419] Compiling vpaes-x86-apple.S
[64/419] Compiling vpaes-armv8-win.S
[65/419] Compiling vpaes-armv8-linux.S
[66/419] Compiling vpaes-armv8-apple.S
[67/419] Compiling vpaes-armv7-linux.S
[68/419] Compiling sha512-x86_64-linux.S
[69/419] Compiling sha512-x86_64-apple.S
[70/419] Compiling sha512-armv8-win.S
[71/419] Compiling sha512-armv8-apple.S
[72/419] Compiling sha512-armv4-linux.S
[73/419] Compiling sha512-armv8-linux.S
[74/419] Compiling sha512-586-linux.S
[75/419] Compiling sha512-586-apple.S
[76/419] Compiling sha256-x86_64-linux.S
[77/419] Compiling sha256-x86_64-apple.S
[78/419] Compiling sha256-armv8-win.S
[79/419] Compiling sha256-armv8-linux.S
[80/419] Compiling sha256-armv8-apple.S
[81/419] Compiling sha256-armv4-linux.S
[82/419] Compiling sha256-586-linux.S
[83/419] Compiling sha256-586-apple.S
[84/419] Compiling sha1-x86_64-linux.S
[85/419] Compiling sha1-x86_64-apple.S
[86/419] Compiling sha1-armv8-win.S
[87/419] Compiling sha1-armv8-linux.S
[88/419] Compiling sha1-armv8-apple.S
[89/419] Compiling sha1-armv4-large-linux.S
[90/419] Compiling sha1-586-apple.S
[91/419] Compiling sha1-586-linux.S
[92/419] Compiling rsaz-avx2-linux.S
[93/419] Compiling rsaz-avx2-apple.S
[94/419] Compiling rdrand-x86_64-linux.S
[95/419] Compiling rdrand-x86_64-apple.S
[96/419] Compiling p256_beeu-x86_64-asm-linux.S
[97/419] Compiling p256_beeu-x86_64-asm-apple.S
[98/419] Compiling p256_beeu-armv8-asm-win.S
[99/419] Compiling p256_beeu-armv8-asm-apple.S
[100/419] Compiling p256_beeu-armv8-asm-linux.S
[101/419] Compiling p256-x86_64-asm-linux.S
[102/419] Compiling p256-x86_64-asm-apple.S
[103/419] Compiling p256-armv8-asm-win.S
[104/419] Compiling p256-armv8-asm-apple.S
[105/419] Compiling p256-armv8-asm-linux.S
[106/419] Compiling ghashv8-armv8-win.S
[107/419] Compiling ghashv8-armv8-linux.S
[108/419] Compiling ghashv8-armv8-apple.S
[109/419] Compiling ghashv8-armv7-linux.S
[110/419] Compiling ghash-x86_64-apple.S
[111/419] Compiling ghash-x86_64-linux.S
[112/419] Compiling ghash-x86-linux.S
[113/419] Compiling ghash-ssse3-x86_64-linux.S
[114/419] Compiling ghash-ssse3-x86_64-apple.S
[114/419] Compiling ghash-x86-apple.S
[116/419] Compiling ghash-ssse3-x86-apple.S
[117/419] Compiling ghash-neon-armv8-win.S
[118/419] Compiling ghash-ssse3-x86-linux.S
[119/419] Compiling ghash-neon-armv8-apple.S
[120/419] Compiling ghash-neon-armv8-linux.S
[121/419] Compiling ghash-armv4-linux.S
[122/419] Compiling bsaes-armv7-linux.S
[123/419] Compiling co-586-apple.S
[124/419] Compiling co-586-linux.S
[125/419] Compiling bn-armv8-win.S
[126/419] Compiling bn-armv8-apple.S
[127/419] Compiling bn-armv8-linux.S
[128/419] Compiling bn-586-linux.S
[129/419] Compiling bn-586-apple.S
[130/419] Compiling armv8-mont-win.S
[131/419] Compiling armv8-mont-apple.S
[132/419] Compiling armv8-mont-linux.S
[133/419] Compiling armv4-mont-linux.S
[134/419] Compiling aesv8-gcm-armv8-win.S
[135/419] Compiling aesv8-gcm-armv8-apple.S
[136/419] Compiling aesv8-gcm-armv8-linux.S
[137/419] Compiling aesv8-armv8-win.S
[138/419] Compiling aesv8-armv8-linux.S
[139/419] Compiling aesv8-armv8-apple.S
[140/419] Compiling aesv8-armv7-linux.S
[141/419] Compiling aesni-x86_64-apple.S
[142/419] Compiling aesni-x86_64-linux.S
[143/419] Compiling aesni-x86-linux.S
[144/419] Compiling aesni-x86-apple.S
[145/419] Compiling aesni-gcm-x86_64-linux.S
[146/419] Compiling aesni-gcm-x86_64-apple.S
[147/419] Compiling aes-gcm-avx512-x86_64-linux.S
[148/419] Compiling aes-gcm-avx2-x86_64-linux.S
[149/419] Compiling aes-gcm-avx512-x86_64-apple.S
[150/419] Compiling c-nioatomics.c
[151/419] Compiling aes-gcm-avx2-x86_64-apple.S
[152/419] Compiling c-atomics.c
[153/419] Compiling xwing.cc
[154/426] Compiling x_x509a.cc
[155/426] Compiling x_spki.cc
[156/426] Compiling x_x509.cc
[158/426] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[159/426] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[160/426] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[161/426] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[162/426] Compiling InternalCollectionsUtilities Span+Extras.swift
[163/428] Emitting module InternalCollectionsUtilities
[164/428] Compiling InternalCollectionsUtilities String+Padding.swift
[165/428] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[166/428] Compiling InternalCollectionsUtilities Debugging.swift
[167/428] Compiling InternalCollectionsUtilities Descriptions.swift
[168/428] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[169/428] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[170/428] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[171/428] Compiling InternalCollectionsUtilities Integer rank.swift
[172/428] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[173/428] Compiling InternalCollectionsUtilities UInt+reversed.swift
[174/428] Compiling _NIODataStructures PriorityQueue.swift
[175/428] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[176/428] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[177/428] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[178/428] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[179/428] Compiling NIOConcurrencyHelpers NIOLock.swift
[180/428] Compiling InternalCollectionsUtilities _SortedCollection.swift
[181/428] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[182/428] Emitting module _NIOBase64
[183/428] Compiling _NIOBase64 Base64.swift
[185/430] Compiling x_sig.cc
[187/430] Emitting module _NIODataStructures
[188/430] Compiling _NIODataStructures _TinyArray.swift
[189/430] Compiling _NIODataStructures Heap.swift
[191/431] Emitting module NIOConcurrencyHelpers
[192/431] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[193/446] Compiling NIOConcurrencyHelpers atomics.swift
[194/446] Compiling NIOConcurrencyHelpers lock.swift
[195/447] Compiling ContainersPreview Inout.swift
[196/447] Compiling ContainersPreview InputSpan.swift
[197/447] Compiling ContainersPreview Drain.swift
[198/447] Compiling ContainersPreview Producer.swift
[200/448] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[201/448] Compiling ContainersPreview BorrowingSequence.swift
[202/448] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[203/448] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[204/448] Compiling ContainersPreview Container.swift
[205/448] Compiling ContainersPreview ContainerAlgorithms.swift
[206/448] Compiling ContainersPreview Borrow.swift
[207/448] Compiling ContainersPreview Box.swift
[208/448] Compiling ContainersPreview Shared.swift
[209/448] Emitting module ContainersPreview
[210/448] Compiling ContainersPreview OutputSpan+Extras.swift
[211/448] Compiling ContainersPreview TemporaryAllocation.swift
[212/449] Compiling x_name.cc
[213/449] Compiling x_req.cc
[214/484] Compiling x_pubkey.cc
[216/489] Compiling DequeModule _DequeBuffer.swift
[217/489] Compiling DequeModule _DequeBufferHeader.swift
[218/489] Compiling DequeModule RigidDeque+Append.swift
[219/489] Compiling DequeModule RigidDeque+Consumption.swift
[220/489] Compiling DequeModule RigidDeque+Container.swift
[221/489] Compiling DequeModule RigidDeque+Descriptions.swift
[222/494] Compiling DequeModule UniqueDeque+Hashable.swift
[223/494] Compiling DequeModule UniqueDeque+Initializers.swift
[224/494] Compiling DequeModule UniqueDeque+Insertions.swift
[225/494] Compiling DequeModule UniqueDeque+Prepend.swift
[226/494] Compiling DequeModule UniqueDeque+Removals.swift
[227/494] Compiling DequeModule UniqueDeque+Consumption.swift
[228/494] Compiling DequeModule UniqueDeque+Container.swift
[229/494] Compiling DequeModule UniqueDeque+Descriptions.swift
[230/494] Compiling DequeModule UniqueDeque+Equatable.swift
[231/494] Compiling DequeModule UniqueDeque+Experimental.swift
[231/494] Compiling x_exten.cc
[232/494] Compiling x_crl.cc
[233/494] Compiling x_attrib.cc
[235/494] Compiling DequeModule RigidDeque+Removals.swift
[236/494] Compiling DequeModule RigidDeque+Replacements.swift
[237/494] Compiling DequeModule RigidDeque+Testing.swift
[238/494] Compiling DequeModule RigidDeque.swift
[239/494] Compiling DequeModule UniqueDeque+Append.swift
[240/494] Compiling DequeModule RigidDeque+Equatable.swift
[241/494] Compiling DequeModule RigidDeque+Experimental.swift
[242/494] Compiling DequeModule RigidDeque+Hashable.swift
[243/494] Compiling DequeModule RigidDeque+Initializers.swift
[244/494] Compiling DequeModule RigidDeque+Insertions.swift
[245/494] Compiling DequeModule RigidDeque+Prepend.swift
[245/494] Compiling x_all.cc
[246/494] Compiling x_algor.cc
[247/494] Compiling x509spki.cc
[249/494] Compiling DequeModule Deque+Codable.swift
[250/494] Compiling DequeModule Deque+Collection.swift
[251/494] Compiling DequeModule Deque+CustomReflectable.swift
[252/494] Compiling DequeModule Deque+Descriptions.swift
[253/494] Compiling DequeModule Deque+Equatable.swift
[254/494] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[255/494] Compiling DequeModule Deque+Extras.swift
[256/494] Compiling DequeModule Deque+Hashable.swift
[257/494] Compiling DequeModule Deque+Testing.swift
[258/494] Compiling DequeModule Deque._Storage.swift
[259/494] Compiling DequeModule Deque._UnsafeHandle.swift
[260/494] Compiling DequeModule Deque.swift
[260/494] Compiling x509rset.cc
[261/494] Compiling x509name.cc
[262/494] Compiling x509cset.cc
[263/494] Compiling x509_vpm.cc
[264/494] Compiling x509_vfy.cc
[265/494] Compiling x509_v3.cc
[266/494] Compiling x509_txt.cc
[267/494] Compiling x509_set.cc
[268/494] Compiling x509_trs.cc
[269/494] Compiling x509_obj.cc
[270/494] Compiling x509_req.cc
[272/494] Emitting module DequeModule
[272/494] Compiling x509_def.cc
[273/494] Compiling x509_lu.cc
[274/494] Compiling x509_ext.cc
[275/494] Compiling x509_d2.cc
[276/494] Compiling x509_cmp.cc
[278/494] Compiling DequeModule UniqueDeque+Replacements.swift
[279/494] Compiling DequeModule UniqueDeque.swift
[280/494] Compiling DequeModule _DequeSlot.swift
[281/494] Compiling DequeModule _UnsafeDequeHandle.swift
[282/494] Compiling DequeModule _UnsafeDequeSegments.swift
[283/495] Compiling x509_att.cc
[284/495] Compiling x509.cc
[285/495] Compiling v3_skey.cc
[286/495] Compiling v3_purp.cc
[287/495] Compiling v3_utl.cc
[288/495] Compiling v3_prn.cc
[289/495] Compiling v3_pmaps.cc
[290/495] Compiling v3_pcons.cc
[291/495] Compiling v3_ocsp.cc
[292/495] Compiling v3_ncons.cc
[293/495] Compiling v3_int.cc
[294/495] Compiling v3_genn.cc
[295/495] Compiling v3_lib.cc
[296/495] Compiling v3_info.cc
[297/495] Compiling v3_ia5.cc
[298/495] Compiling v3_extku.cc
[299/495] Compiling v3_crld.cc
[300/495] Compiling v3_enum.cc
[301/495] Compiling v3_cpols.cc
[302/495] Compiling v3_conf.cc
[303/495] Compiling v3_bcons.cc
[304/495] Compiling v3_akeya.cc
[305/495] Compiling v3_bitst.cc
[306/495] Compiling v3_alt.cc
[307/495] Compiling t_x509a.cc
[308/495] Compiling v3_akey.cc
[309/495] Compiling t_crl.cc
[310/495] Compiling t_req.cc
[311/495] Compiling t_x509.cc
[312/495] Compiling rsa_pss.cc
[313/495] Compiling policy.cc
[314/495] Compiling i2d_pr.cc
[315/495] Compiling name_print.cc
[316/495] Compiling by_file.cc
[317/495] Compiling by_dir.cc
[318/495] Compiling asn1_gen.cc
[319/495] Compiling algorithm.cc
[320/495] Compiling a_verify.cc
[321/495] Compiling voprf.cc
[322/495] Compiling a_digest.cc
[323/495] Compiling a_sign.cc
[324/495] Compiling thread_pthread.cc
[325/495] Compiling thread_win.cc
[326/495] Compiling trust_token.cc
[327/495] Compiling thread_none.cc
[328/495] Compiling thread.cc
[329/495] Compiling stack.cc
[330/495] Compiling sha256.cc
[331/495] Compiling pmbtoken.cc
[332/495] Compiling spake2plus.cc
[333/495] Compiling siphash.cc
[334/495] Compiling slhdsa.cc
[335/495] Compiling refcount.cc
[336/495] Compiling sha512.cc
[337/495] Compiling sha1.cc
[338/495] Compiling rsa_print.cc
[339/495] Compiling rsa_extra.cc
[340/495] Compiling rc4.cc
[341/495] Compiling rsa_crypt.cc
[342/495] Compiling urandom.cc
[343/495] Compiling windows.cc
[344/495] Compiling trusty.cc
[345/495] Compiling ios.cc
[346/495] Compiling rand.cc
[347/495] Compiling passive.cc
[348/495] Compiling getentropy.cc
[349/495] Compiling poly1305_arm_asm.S
[350/495] Compiling rsa_asn1.cc
[351/495] Compiling fork_detect.cc
[352/495] Compiling deterministic.cc
[353/495] Compiling forkunsafe.cc
[354/495] Compiling poly1305_vec.cc
[355/495] Compiling poly1305_arm.cc
[356/495] Compiling poly1305.cc
[357/495] Compiling pool.cc
[358/495] Compiling pkcs7.cc
[359/495] Compiling pkcs8_x509.cc
[360/495] Compiling pkcs8.cc
[361/495] Compiling pem_x509.cc
[362/495] Compiling p5_pbev2.cc
[363/495] Compiling pem_xaux.cc
[364/495] Compiling pkcs7_x509.cc
[365/495] Compiling pem_pkey.cc
[366/495] Compiling pem_info.cc
[367/495] Compiling mlkem.cc
[368/495] Compiling pem_lib.cc
[369/495] Compiling pem_pk8.cc
[370/495] Compiling obj_xref.cc
[371/495] Compiling pem_oth.cc
[372/495] Compiling obj.cc
[373/495] Compiling pem_all.cc
[374/495] Compiling poly_rq_mul.S
[375/495] Compiling mldsa.cc
[376/495] Compiling kyber.cc
[377/495] Compiling fuzzer_mode.cc
[378/495] Compiling fips_shared_support.cc
[379/495] Compiling mem.cc
[380/495] Compiling lhash.cc
[381/495] Compiling md5.cc
[382/495] Compiling md4.cc
[383/495] Compiling hrss.cc
[384/495] Compiling ex_data.cc
[385/495] Compiling hpke.cc
[386/495] Compiling scrypt.cc
[387/495] Compiling print.cc
[388/495] Compiling p_rsa_asn1.cc
[389/495] Compiling sign.cc
[390/495] Compiling pbkdf.cc
[391/495] Compiling p_x25519_asn1.cc
[392/495] Compiling p_x25519.cc
[393/495] Compiling p_hkdf.cc
[394/495] Compiling p_ec_asn1.cc
[395/495] Compiling p_ed25519_asn1.cc
[396/495] Compiling p_ed25519.cc
[397/495] Compiling p_rsa.cc
[398/495] Compiling p_ec.cc
[399/495] Compiling p_dsa_asn1.cc
[400/495] Compiling p_dh_asn1.cc
[401/495] Compiling p_dh.cc
[402/495] Compiling evp_ctx.cc
[403/495] Compiling evp_asn1.cc
[404/495] Compiling engine.cc
[405/495] Compiling evp.cc
[406/495] Compiling err.cc
[407/495] Compiling ecdsa_p1363.cc
[408/495] Compiling ecdh.cc
[409/495] Compiling ec_derive.cc
[410/495] Compiling ecdsa_asn1.cc
[411/495] Compiling ec_asn1.cc
[412/495] Compiling hash_to_curve.cc
[413/495] Compiling dsa_asn1.cc
[414/495] Compiling dsa.cc
[415/495] Compiling digest_extra.cc
[416/495] Compiling spake25519.cc
[417/495] Compiling x25519-asm-arm.S
[418/495] Compiling params.cc
[419/495] Compiling des.cc
[420/495] Compiling curve25519_64_adx.cc
[421/495] Compiling dh_asn1.cc
[422/495] Compiling cpu_intel.cc
[423/495] Compiling cpu_arm_linux.cc
[424/495] Compiling crypto.cc
[425/495] Compiling cpu_arm_freebsd.cc
[426/495] Compiling curve25519.cc
[427/495] Compiling cpu_aarch64_win.cc
[428/495] Compiling cpu_aarch64_sysreg.cc
[429/495] Compiling cpu_aarch64_openbsd.cc
[430/495] Compiling cpu_aarch64_linux.cc
[431/495] Compiling cpu_aarch64_fuchsia.cc
[432/495] Compiling cpu_aarch64_apple.cc
[433/495] Compiling conf.cc
[434/495] Compiling tls_cbc.cc
[435/495] Compiling e_tls.cc
[436/495] Compiling e_rc4.cc
[437/495] Compiling get_cipher.cc
[438/495] Compiling e_rc2.cc
[439/495] Compiling e_null.cc
[440/495] Compiling cms.cc
[441/495] Compiling e_des.cc
[442/495] Compiling e_chacha20poly1305.cc
[443/495] Compiling e_aeseax.cc
[444/495] Compiling e_aesgcmsiv.cc
[445/495] Compiling chacha.cc
[446/495] Compiling derive_key.cc
[447/495] Compiling e_aesctrhmac.cc
[448/495] Compiling sqrt.cc
[449/495] Compiling buf.cc
[450/495] Compiling unicode.cc
[451/495] Compiling ber.cc
[452/495] Compiling cbb.cc
[453/495] Compiling cbs.cc
[454/495] Compiling exponentiation.cc
[455/495] Compiling asn1_compat.cc
[456/495] Compiling div.cc
[457/495] Compiling printf.cc
[458/495] Compiling blake2.cc
[459/495] Compiling fd.cc
[460/495] Compiling pair.cc
[461/495] Compiling bn_asn1.cc
[462/495] Compiling hexdump.cc
[463/495] Compiling convert.cc
[464/495] Compiling file.cc
[465/495] Compiling bio_mem.cc
[466/495] Compiling bio.cc
[467/495] Compiling errno.cc
[468/495] Compiling base64.cc
[469/495] Compiling tasn_typ.cc
[470/495] Compiling posix_time.cc
[471/495] Compiling tasn_enc.cc
[472/495] Compiling tasn_fre.cc
[473/495] Compiling tasn_utl.cc
[474/495] Compiling tasn_new.cc
[475/495] Compiling tasn_dec.cc
[476/495] Compiling f_string.cc
[477/495] Compiling f_int.cc
[478/495] Compiling asn_pack.cc
[479/495] Compiling asn1_par.cc
[480/495] Compiling a_utctm.cc
[481/495] Compiling asn1_lib.cc
[482/495] Compiling a_time.cc
[483/495] Compiling a_strnid.cc
[484/495] Compiling a_octet.cc
[485/495] Compiling a_type.cc
[486/495] Compiling bcm.cc
[487/495] Write sources
[488/513] Compiling a_strex.cc
[489/513] Compiling a_object.cc
[490/513] Compiling a_i2d_fp.cc
[492/513] Compiling Atomics ManagedAtomic.swift
[493/513] Compiling Atomics ManagedAtomicLazyReference.swift
[494/513] Compiling Atomics UnsafeAtomic.swift
[495/513] Compiling Atomics UnsafeAtomicLazyReference.swift
[495/515] Compiling a_int.cc
[497/515] Compiling Atomics AtomicStorage.swift
[498/515] Compiling Atomics AtomicValue.swift
[499/515] Compiling Atomics AtomicMemoryOrderings.swift
[500/515] Compiling Atomics DoubleWord.swift
[500/515] Compiling a_mbstr.cc
[502/515] Compiling Atomics IntegerOperations.swift
[503/515] Compiling Atomics Unmanaged extensions.swift
[504/515] Compiling Atomics OptionalRawRepresentable.swift
[505/515] Compiling Atomics RawRepresentable.swift
[506/515] Compiling Atomics AtomicBool.swift
[507/515] Compiling Atomics AtomicInteger.swift
[508/515] Compiling Atomics AtomicOptionalWrappable.swift
[509/515] Compiling Atomics AtomicReference.swift
[509/515] Compiling a_bool.cc
[510/515] Compiling a_gentm.cc
[512/523] Compiling Atomics IntegerConformances.swift
[513/523] Compiling Atomics PointerConformances.swift
[514/523] Compiling Atomics Primitives.native.swift
[515/523] Emitting module Atomics
[517/588] Compiling NIOCore NIOCoreSendableMetatype.swift
[518/588] Compiling NIOCore NIODecodedAsyncSequence.swift
[519/588] Compiling NIOCore NIOLoopBound.swift
[520/588] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[521/588] Compiling NIOCore NIOScheduledCallback.swift
[522/588] Compiling NIOCore NIOSendable.swift
[523/588] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[524/588] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[525/588] Compiling NIOCore RecvByteBufferAllocator.swift
[526/596] Compiling CryptoBoringWrapper RandomBytes.swift
[527/596] Compiling NIOCore CircularBuffer.swift
[528/596] Compiling NIOCore Codec.swift
[529/596] Compiling NIOCore ConvenienceOptionSupport.swift
[530/596] Compiling NIOCore DeadChannel.swift
[531/596] Compiling NIOCore DispatchQueue+WithFuture.swift
[532/596] Compiling NIOCore EventLoop+Deprecated.swift
[533/596] Compiling NIOCore EventLoop+SerialExecutor.swift
[534/596] Compiling NIOCore EventLoop.swift
[535/596] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[536/596] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[537/596] Compiling NIOCore EventLoopFuture+Deprecated.swift
[538/596] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[539/596] Compiling NIOCore EventLoopFuture.swift
[540/596] Compiling NIOCore FileDescriptor.swift
[541/596] Compiling NIOCore FileHandle.swift
[542/596] Compiling NIOCore FileRegion.swift
[543/596] Compiling NIOCore GlobalSingletons.swift
[544/596] Compiling NIOCore IO.swift
[545/596] Compiling NIOCore IOData.swift
[546/596] Compiling NIOCore IPProtocol.swift
[547/596] Compiling NIOCore IntegerBitPacking.swift
[548/596] Compiling NIOCore IntegerTypes.swift
[549/596] Compiling NIOCore Interfaces.swift
[550/596] Compiling NIOCore Linux.swift
[551/596] Compiling NIOCore MarkedCircularBuffer.swift
[552/596] Compiling NIOCore MulticastChannel.swift
[553/596] Compiling NIOCore NIOAny.swift
[554/596] Compiling NIOCore NIOCloseOnErrorHandler.swift
[555/596] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[556/596] Emitting module CryptoBoringWrapper
[557/596] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[558/596] Compiling NIOCore SocketAddresses.swift
[559/596] Compiling NIOCore SocketOptionProvider.swift
[560/596] Compiling NIOCore SystemCallHelpers.swift
[561/596] Compiling NIOCore TimeAmount+Duration.swift
[562/596] Compiling NIOCore TypeAssistedChannelHandler.swift
[563/596] Compiling NIOCore UniversalBootstrapSupport.swift
[564/596] Compiling NIOCore Utilities.swift
[565/596] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[566/596] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[567/596] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[568/596] Compiling CryptoBoringWrapper EllipticCurve.swift
[570/680] Compiling Crypto ASN1Null.swift
[571/680] Compiling Crypto ASN1OctetString.swift
[572/680] Compiling Crypto ASN1Strings.swift
[573/680] Compiling Crypto ArraySliceBigint.swift
[574/680] Compiling Crypto GeneralizedTime.swift
[575/680] Compiling Crypto ObjectIdentifier.swift
[576/680] Compiling Crypto ECDSASignature.swift
[577/680] Compiling Crypto PEMDocument.swift
[578/680] Compiling Crypto PKCS8PrivateKey.swift
[579/680] Compiling Crypto SEC1PrivateKey.swift
[580/680] Compiling Crypto SubjectPublicKeyInfo.swift
[581/680] Compiling Crypto CryptoError_boring.swift
[582/691] Emitting module Crypto
[583/691] Compiling Crypto AES-GCM.swift
[584/691] Compiling Crypto AES-GCM_boring.swift
[585/691] Compiling Crypto ChaChaPoly_boring.swift
[586/691] Compiling Crypto ChaChaPoly.swift
[587/691] Compiling Crypto Cipher.swift
[588/691] Compiling Crypto Nonces.swift
[589/691] Compiling Crypto ASN1.swift
[590/691] Compiling Crypto ASN1Any.swift
[591/691] Compiling Crypto ASN1BitString.swift
[592/691] Compiling Crypto ASN1Boolean.swift
[593/691] Compiling Crypto ASN1Identifier.swift
[594/691] Compiling Crypto ASN1Integer.swift
[601/691] Compiling Crypto HPKE-LabeledExtract.swift
[602/691] Compiling Crypto HPKE-Utils.swift
[603/691] Compiling Crypto DHKEM.swift
[622/691] Emitting module NIOCore
[624/697] Compiling Crypto HMAC.swift
[625/697] Compiling Crypto MACFunctions.swift
[626/697] Compiling Crypto MessageAuthenticationCode.swift
[627/697] Compiling Crypto AES.swift
[628/697] Compiling Crypto ECDSASignature_boring.swift
[629/697] Compiling Crypto ECDSA_boring.swift
[630/697] Compiling Crypto EdDSA_boring.swift
[631/697] Compiling Crypto MLDSA_boring.swift
[632/697] Compiling Crypto MLDSA_wrapper.swift
[633/697] Compiling Crypto ECDSA.swift
[634/697] Compiling Crypto Ed25519.swift
[635/697] Compiling Crypto HKDF.swift
[636/697] Compiling Crypto AESWrap.swift
[637/697] Compiling Crypto AESWrap_boring.swift
[638/697] Compiling Crypto Ed25519_boring.swift
[639/697] Compiling Crypto NISTCurvesKeys_boring.swift
[640/697] Compiling Crypto X25519Keys_boring.swift
[641/697] Compiling Crypto Curve25519.swift
[642/697] Compiling Crypto Ed25519Keys.swift
[643/697] Compiling Crypto NISTCurvesKeys.swift
[644/697] Compiling Crypto X25519Keys.swift
[645/697] Compiling Crypto SymmetricKeys.swift
[646/697] Compiling EventSource AsyncEventsSequence.swift
[647/697] Emitting module EventSource
[651/697] Compiling Crypto HPKE-KEM-Curve25519.swift
[652/697] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[653/697] Compiling Crypto HPKE-KEM.swift
[654/697] Compiling Crypto HPKE-Errors.swift
[655/697] Compiling Crypto HPKE.swift
[656/697] Compiling Crypto HPKE-Context.swift
[657/697] Compiling Crypto HPKE-KeySchedule.swift
[658/697] Compiling Crypto HPKE-Modes.swift
[659/697] Compiling Crypto Insecure.swift
[660/697] Compiling Crypto CryptoKitErrors.swift
[661/697] Compiling Crypto Digest_boring.swift
[662/697] Compiling Crypto Digest.swift
[663/697] Compiling Crypto Digests.swift
[664/697] Compiling Crypto HashFunctions.swift
[665/697] Compiling Crypto HashFunctions_SHA2.swift
[666/697] Compiling Crypto HashFunctions_SHA3.swift
[667/697] Compiling Crypto Digest_xkcp.swift
[668/697] Compiling Crypto HPKE-AEAD.swift
[669/697] Compiling Crypto HPKE-Ciphersuite.swift
[670/697] Compiling Crypto HPKE-KDF.swift
[671/697] Compiling Crypto HPKE-KexKeyDerivation.swift
[672/697] Compiling Crypto Insecure_HashFunctions.swift
[673/697] Compiling Crypto MLKEM_boring.swift
[674/697] Compiling Crypto MLKEM_wrapper.swift
[675/697] Compiling Crypto XWing_boring.swift
[676/697] Compiling Crypto KEM-Errors.swift
[677/697] Compiling Crypto KEM.swift
[678/697] Compiling Crypto MLKEM.swift
[679/697] Compiling Crypto XWing.swift
[680/697] Compiling Crypto ECDH_boring.swift
[681/697] Compiling Crypto DH.swift
[682/697] Compiling Crypto ECDH.swift
[683/697] Compiling Crypto ANSIx963.swift
[684/697] Compiling EventSource AsyncSequence+Events.swift
[685/697] Compiling EventSource EventSource+AsyncHTTPClient.swift
[686/697] Compiling EventSource EventSource.swift
[688/698] Compiling Crypto MLDSA.swift
[689/698] Compiling Crypto Signature.swift
[690/698] Compiling Crypto CryptoKitErrors_boring.swift
[691/698] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[692/698] Compiling Crypto RNG_boring.swift
[693/698] Compiling Crypto SafeCompare_boring.swift
[694/698] Compiling Crypto Zeroization_boring.swift
[695/698] Compiling Crypto PrettyBytes.swift
[696/698] Compiling Crypto SafeCompare.swift
[697/698] Compiling Crypto SecureBytes.swift
[698/698] Compiling Crypto Zeroization.swift
[700/748] 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 |
[701/748] 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 |
[702/748] 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 |
[703/748] 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 |
[704/748] 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 |
[705/748] 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 |
[706/748] 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 |
[707/754] 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 |
[708/754] 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 |
[709/754] 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 |
[710/754] 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 |
[711/754] 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 |
[712/754] 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 |
[713/754] 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 |
[714/754] 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 |
[715/754] 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 |
[716/754] 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 |
[717/754] 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 |
[718/754] 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 |
[719/754] 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 |
[720/754] 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 |
[721/754] 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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/HuggingFace/Shared/FileLock.swift:181:16: error: cannot find 'errno' in scope
179 | if result == 0 { return .success }
180 |
181 | switch errno {
| `- error: cannot find 'errno' in scope
182 | case ENOSYS: return .notSupported
183 | case EWOULDBLOCK, EAGAIN: return .wouldBlock
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/HuggingFace/Shared/FileLock.swift:184:32: error: cannot find 'errno' in scope
182 | case ENOSYS: return .notSupported
183 | case EWOULDBLOCK, EAGAIN: return .wouldBlock
184 | default: return .error(errno)
| `- error: cannot find 'errno' in scope
185 | }
186 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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 | }
[722/754] 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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/HuggingFace/Shared/FileLock.swift:181:16: error: cannot find 'errno' in scope
179 | if result == 0 { return .success }
180 |
181 | switch errno {
| `- error: cannot find 'errno' in scope
182 | case ENOSYS: return .notSupported
183 | case EWOULDBLOCK, EAGAIN: return .wouldBlock
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/HuggingFace/Shared/FileLock.swift:184:32: error: cannot find 'errno' in scope
182 | case ENOSYS: return .notSupported
183 | case EWOULDBLOCK, EAGAIN: return .wouldBlock
184 | default: return .error(errno)
| `- error: cannot find 'errno' in scope
185 | }
186 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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 | }
[723/754] 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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/HuggingFace/Shared/FileLock.swift:181:16: error: cannot find 'errno' in scope
179 | if result == 0 { return .success }
180 |
181 | switch errno {
| `- error: cannot find 'errno' in scope
182 | case ENOSYS: return .notSupported
183 | case EWOULDBLOCK, EAGAIN: return .wouldBlock
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/HuggingFace/Shared/FileLock.swift:184:32: error: cannot find 'errno' in scope
182 | case ENOSYS: return .notSupported
183 | case EWOULDBLOCK, EAGAIN: return .wouldBlock
184 | default: return .error(errno)
| `- error: cannot find 'errno' in scope
185 | }
186 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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 | }
[724/754] 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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/HuggingFace/Shared/FileLock.swift:181:16: error: cannot find 'errno' in scope
179 | if result == 0 { return .success }
180 |
181 | switch errno {
| `- error: cannot find 'errno' in scope
182 | case ENOSYS: return .notSupported
183 | case EWOULDBLOCK, EAGAIN: return .wouldBlock
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/HuggingFace/Shared/FileLock.swift:184:32: error: cannot find 'errno' in scope
182 | case ENOSYS: return .notSupported
183 | case EWOULDBLOCK, EAGAIN: return .wouldBlock
184 | default: return .error(errno)
| `- error: cannot find 'errno' in scope
185 | }
186 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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 | }
[725/754] 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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/HuggingFace/Shared/FileLock.swift:181:16: error: cannot find 'errno' in scope
179 | if result == 0 { return .success }
180 |
181 | switch errno {
| `- error: cannot find 'errno' in scope
182 | case ENOSYS: return .notSupported
183 | case EWOULDBLOCK, EAGAIN: return .wouldBlock
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/HuggingFace/Shared/FileLock.swift:184:32: error: cannot find 'errno' in scope
182 | case ENOSYS: return .notSupported
183 | case EWOULDBLOCK, EAGAIN: return .wouldBlock
184 | default: return .error(errno)
| `- error: cannot find 'errno' in scope
185 | }
186 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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 | }
[726/754] 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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/HuggingFace/Shared/FileLock.swift:181:16: error: cannot find 'errno' in scope
179 | if result == 0 { return .success }
180 |
181 | switch errno {
| `- error: cannot find 'errno' in scope
182 | case ENOSYS: return .notSupported
183 | case EWOULDBLOCK, EAGAIN: return .wouldBlock
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/HuggingFace/Shared/FileLock.swift:184:32: error: cannot find 'errno' in scope
182 | case ENOSYS: return .notSupported
183 | case EWOULDBLOCK, EAGAIN: return .wouldBlock
184 | default: return .error(errno)
| `- error: cannot find 'errno' in scope
185 | }
186 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/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)
[727/754] 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)
[728/754] 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)
[729/754] 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)
[730/754] 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)
[731/754] 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)
[732/754] 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)
[733/754] 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)
[734/754] 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 |
[735/754] 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 |
[736/754] 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 |
[737/754] 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 |
[738/754] 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 |
[739/754] 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 |
[740/754] 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 |
[741/754] 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 |
[742/754] 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 |
[743/754] 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 |
[744/754] 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 |
[745/754] 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 |
[746/754] 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 |
[747/754] 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 |
[748/754] 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 {
[749/754] 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 {
[750/754] 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 {
[751/754] 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 {
[752/754] 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 {
[753/754] 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 {
[754/754] 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.2 android