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